AzureProfile Class

Definition

Azure profile for client.

public final class AzureProfile
Inheritance
java.lang.Object
AzureProfile

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

AzureProfile(AzureEnvironment environment)

Creates AzureProfile instance with Azure environment. The global environment is AZURE. The tenant ID and subscription ID can be set via environment variables. The environment variables are expected as below:

  • AZURE_TENANT_ID
  • AZURE_SUBSCRIPTION_ID
AzureProfile(String tenantId, String subscriptionId, AzureEnvironment environment)

Creates AzureProfile instance with tenant ID, subscription ID and Azure environment. The global environment is AZURE.

Methods

getEnvironment()

Gets Azure environment.

getSubscriptionId()

Gets subscription ID.

getTenantId()

Gets tenant ID.

Applies to