Package com.microsoft.azure.management
Interface Azure.Configurable
- All Superinterfaces:
AzureConfigurable<Azure.Configurable>
- Enclosing class:
- Azure
The interface allowing configurations to be made on the client.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(com.microsoft.azure.credentials.AzureTokenCredentials credentials) Authenticates API access based on the provided credentials.authenticate
(File credentialsFile) Authenticates API access using a properties file containing the required credentials.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable
useHttpClientThreadPool, withAuxiliaryCredentials, withCallbackExecutor, withConnectionPool, withConnectionTimeout, withDispatcher, withInterceptor, withLogLevel, withMaxIdleConnections, withProtocols, withProxy, withProxyAuthenticator, withReadTimeout, withUserAgent
-
Method Details
-
authenticate
Authenticates API access based on the provided credentials.- Parameters:
credentials
- The credentials to authenticate API access with- Returns:
- the authenticated Azure client
-
authenticate
Authenticates API access using a properties file containing the required credentials.- Parameters:
credentialsFile
- the file containing the credentials in the standard Java properties file format following the same schema asAzure.authenticate(File)
.- Returns:
- Authenticated Azure client
- Throws:
IOException
- exceptions thrown from file access
-