Azure.Configurable Interface

public interface Configurable extends AzureConfigurable

The interface allowing configurations to be made on the client.

Method Summary

Modifier and Type Method and Description
Azure.Authenticated authenticate(AzureTokenCredentials credentials)

Authenticates API access based on the provided credentials.

Azure.Authenticated authenticate(File credentialsFile)

Authenticates API access using a properties file containing the required credentials.

Inherited Members

Method Details

authenticate

public Authenticated authenticate(AzureTokenCredentials credentials)

Authenticates API access based on the provided credentials.

Parameters:

credentials - The credentials to authenticate API access with

Returns:

the authenticated Azure client

authenticate

public Authenticated authenticate(File credentialsFile)

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 as authenticate(File credentialsFile).

Returns:

Authenticated Azure client

Throws:

IOException - exceptions thrown from file access

Applies to