Class AzureProfileProperties
java.lang.Object
com.azure.spring.cloud.core.properties.profile.AzureProfileOptionsAdapter
com.azure.spring.cloud.core.properties.profile.AzureProfileProperties
- All Implemented Interfaces:
AzureProfileOptionsProvider.ProfileOptions
The AzureProfile defines the properties related to an Azure subscription.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the cloud type.Get the Azure environment.Get the subscription id.Get the tenant id.voidSet the cloud type.voidsetSubscriptionId(String subscriptionId) Set the subscription id.voidsetTenantId(String tenantId) Set the tenant id.Methods inherited from class com.azure.spring.cloud.core.properties.profile.AzureProfileOptionsAdapter
changeEnvironmentAccordingToCloud, decideAzureManagementEnvironment
-
Constructor Details
-
AzureProfileProperties
public AzureProfileProperties()
-
-
Method Details
-
getTenantId
Description copied from interface:AzureProfileOptionsProvider.ProfileOptionsGet the tenant id.- Returns:
- the tenant id.
-
setTenantId
Set the tenant id.- Parameters:
tenantId- The tenant id.
-
getSubscriptionId
Description copied from interface:AzureProfileOptionsProvider.ProfileOptionsGet the subscription id.- Returns:
- the subscription id.
-
setSubscriptionId
Set the subscription id.- Parameters:
subscriptionId- The subscription id.
-
getCloudType
Description copied from interface:AzureProfileOptionsProvider.ProfileOptionsGet the cloud type.- Returns:
- the cloud type.
-
setCloudType
Set the cloud type.- Parameters:
cloudType- the cloud type.
-
getEnvironment
Description copied from class:AzureProfileOptionsAdapterGet the Azure environment.- Specified by:
getEnvironmentin interfaceAzureProfileOptionsProvider.ProfileOptions- Specified by:
getEnvironmentin classAzureProfileOptionsAdapter- Returns:
- The Azure environment.
-