Skip to content
Prev Previous commit
Next Next commit
nit, javadoc
  • Loading branch information
XiaofeiCao committed Nov 27, 2024
commit 0b7a344e1376d0fddcb17e660996d8c603663603
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ public AzureProfile(String tenantId, String subscriptionId, AzureCloud azureClou
}

/**
* <p>Note: Only use this constructor for custom Azure cloud/endpoints.
* Use {@link AzureProfile#AzureProfile(String, String, AzureCloud)} for global environment.</p>
* Creates AzureProfile instance with Azure environment. The global environment is {@link AzureEnvironment#AZURE}.
* The tenant ID and subscription ID can be set via environment variables. The environment variables are expected
* as below:
* <ul>
* <li>{@link Configuration#PROPERTY_AZURE_TENANT_ID AZURE_TENANT_ID}</li>
* <li>{@link Configuration#PROPERTY_AZURE_SUBSCRIPTION_ID AZURE_SUBSCRIPTION_ID}</li>
* </ul>
* <p>Note: Only use this constructor for custom Azure cloud/endpoints.
* Use {@link AzureProfile#AzureProfile(String, String, AzureCloud)} for global environment.</p>
*
* @param environment the Azure environment
* @see AzureProfile#AzureProfile(AzureCloud)
Expand All @@ -85,10 +85,10 @@ public AzureProfile(AzureEnvironment environment) {
}

/**
* Creates AzureProfile instance with tenant ID, subscription ID and Azure environment.
* The global environment is {@link AzureEnvironment#AZURE}.
* <p>Note: Only use this constructor for custom Azure cloud/endpoints.
* Use {@link AzureProfile#AzureProfile(String, String, AzureCloud)} for global environment.</p>
* Creates AzureProfile instance with tenant ID, subscription ID and Azure environment.
* The global environment is {@link AzureEnvironment#AZURE}.
*
* @param tenantId the tenant ID required for Graph Rbac
* @param subscriptionId the subscription ID required for resource management
Expand Down
Loading