Class AzureStorageInfoValue
- java.lang.Object
-
- com.microsoft.azure.management.appservice.AzureStorageInfoValue
-
public class AzureStorageInfoValue extends Object
Azure Files or Blob Storage access information value for dictionary storage.
-
-
Constructor Summary
Constructors Constructor Description AzureStorageInfoValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessKey()Get access key for the storage account.StringaccountName()Get name of the storage account.StringmountPath()Get path to mount the storage within the site's runtime environment.StringshareName()Get name of the file share (container name, for Blob storage).AzureStorageStatestate()Get state of the storage account.AzureStorageTypetype()Get type of storage.AzureStorageInfoValuewithAccessKey(String accessKey)Set access key for the storage account.AzureStorageInfoValuewithAccountName(String accountName)Set name of the storage account.AzureStorageInfoValuewithMountPath(String mountPath)Set path to mount the storage within the site's runtime environment.AzureStorageInfoValuewithShareName(String shareName)Set name of the file share (container name, for Blob storage).AzureStorageInfoValuewithType(AzureStorageType type)Set type of storage.
-
-
-
Method Detail
-
type
public AzureStorageType type()
Get type of storage. Possible values include: 'AzureFiles', 'AzureBlob'.- Returns:
- the type value
-
withType
public AzureStorageInfoValue withType(AzureStorageType type)
Set type of storage. Possible values include: 'AzureFiles', 'AzureBlob'.- Parameters:
type- the type value to set- Returns:
- the AzureStorageInfoValue object itself.
-
accountName
public String accountName()
Get name of the storage account.- Returns:
- the accountName value
-
withAccountName
public AzureStorageInfoValue withAccountName(String accountName)
Set name of the storage account.- Parameters:
accountName- the accountName value to set- Returns:
- the AzureStorageInfoValue object itself.
-
shareName
public String shareName()
Get name of the file share (container name, for Blob storage).- Returns:
- the shareName value
-
withShareName
public AzureStorageInfoValue withShareName(String shareName)
Set name of the file share (container name, for Blob storage).- Parameters:
shareName- the shareName value to set- Returns:
- the AzureStorageInfoValue object itself.
-
accessKey
public String accessKey()
Get access key for the storage account.- Returns:
- the accessKey value
-
withAccessKey
public AzureStorageInfoValue withAccessKey(String accessKey)
Set access key for the storage account.- Parameters:
accessKey- the accessKey value to set- Returns:
- the AzureStorageInfoValue object itself.
-
mountPath
public String mountPath()
Get path to mount the storage within the site's runtime environment.- Returns:
- the mountPath value
-
withMountPath
public AzureStorageInfoValue withMountPath(String mountPath)
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
public AzureStorageState state()
Get state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'.- Returns:
- the state value
-
-