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.void
Set the cloud type.void
setSubscriptionId
(String subscriptionId) Set the subscription id.void
setTenantId
(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.ProfileOptions
Get the tenant id.- Returns:
- the tenant id.
-
setTenantId
Set the tenant id.- Parameters:
tenantId
- The tenant id.
-
getSubscriptionId
Description copied from interface:AzureProfileOptionsProvider.ProfileOptions
Get the subscription id.- Returns:
- the subscription id.
-
setSubscriptionId
Set the subscription id.- Parameters:
subscriptionId
- The subscription id.
-
getCloudType
Description copied from interface:AzureProfileOptionsProvider.ProfileOptions
Get the cloud type.- Returns:
- the cloud type.
-
setCloudType
Set the cloud type.- Parameters:
cloudType
- the cloud type.
-
getEnvironment
Description copied from class:AzureProfileOptionsAdapter
Get the Azure environment.- Specified by:
getEnvironment
in interfaceAzureProfileOptionsProvider.ProfileOptions
- Specified by:
getEnvironment
in classAzureProfileOptionsAdapter
- Returns:
- The Azure environment.
-