Class AzureStorageInfoValue
java.lang.Object
com.microsoft.azure.management.appservice.AzureStorageInfoValue
Azure Files or Blob Storage access information value for dictionary storage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet access key for the storage account.Get name of the storage account.Get path to mount the storage within the site's runtime environment.Get name of the file share (container name, for Blob storage).state()
Get state of the storage account.type()
Get type of storage.withAccessKey
(String accessKey) Set access key for the storage account.withAccountName
(String accountName) Set name of the storage account.withMountPath
(String mountPath) Set path to mount the storage within the site's runtime environment.withShareName
(String shareName) Set name of the file share (container name, for Blob storage).withType
(AzureStorageType type) Set type of storage.
-
Constructor Details
-
AzureStorageInfoValue
public AzureStorageInfoValue()
-
-
Method Details
-
type
Get type of storage. Possible values include: 'AzureFiles', 'AzureBlob'.- Returns:
- the type value
-
withType
Set type of storage. Possible values include: 'AzureFiles', 'AzureBlob'.- Parameters:
type
- the type value to set- Returns:
- the AzureStorageInfoValue object itself.
-
accountName
Get name of the storage account.- Returns:
- the accountName value
-
withAccountName
Set name of the storage account.- Parameters:
accountName
- the accountName value to set- Returns:
- the AzureStorageInfoValue object itself.
-
accessKey
Get access key for the storage account.- Returns:
- the accessKey value
-
withAccessKey
Set access key for the storage account.- Parameters:
accessKey
- the accessKey value to set- Returns:
- the AzureStorageInfoValue object itself.
-
mountPath
Get path to mount the storage within the site's runtime environment.- Returns:
- the mountPath value
-
withMountPath
Set path to mount the storage within the site's runtime environment.- Parameters:
mountPath
- the mountPath value to set- Returns:
- the AzureStorageInfoValue object itself.
-
state
Get state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'.- Returns:
- the state value
-