AzureStorageInfoValue Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AzureStorageInfoValue
- com.
Implements
public final class AzureStorageInfoValue
implements JsonSerializable<AzureStorageInfoValue>
Azure Files or Blob Storage access information value for dictionary storage.
Constructor Summary
Constructor | Description |
---|---|
AzureStorageInfoValue() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accessKey()
Get the access |
String |
accountName()
Get the account |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
mountPath()
Get the mount |
Azure |
protocol()
Get the protocol property: Mounting protocol to use for the storage account. |
String |
shareName()
Get the share |
Azure |
state()
Get the state property: State of the storage account. |
Json |
toJson(JsonWriter jsonWriter) |
Azure |
type()
Get the type property: Type of storage. |
void |
validate()
Validates the instance. |
Azure |
withAccessKey(String accessKey)
Set the access |
Azure |
withAccountName(String accountName)
Set the account |
Azure |
withMountPath(String mountPath)
Set the mount |
Azure |
withProtocol(AzureStorageProtocol protocol)
Set the protocol property: Mounting protocol to use for the storage account. |
Azure |
withShareName(String shareName)
Set the share |
Azure |
withType(AzureStorageType type)
Set the type property: Type of storage. |
Methods inherited from java.lang.Object
Constructor Details
AzureStorageInfoValue
public AzureStorageInfoValue()
Creates an instance of AzureStorageInfoValue class.
Method Details
accessKey
public String accessKey()
Get the accessKey property: Access key for the storage account.
Returns:
accountName
public String accountName()
Get the accountName property: Name of the storage account.
Returns:
fromJson
public static AzureStorageInfoValue fromJson(JsonReader jsonReader)
Reads an instance of AzureStorageInfoValue from the JsonReader.
Parameters:
Returns:
Throws:
mountPath
public String mountPath()
Get the mountPath property: Path to mount the storage within the site's runtime environment.
Returns:
protocol
public AzureStorageProtocol protocol()
Get the protocol property: Mounting protocol to use for the storage account.
Returns:
shareName
public String shareName()
Get the shareName property: Name of the file share (container name, for Blob storage).
Returns:
state
public AzureStorageState state()
Get the state property: State of the storage account.
Returns:
toJson
type
public AzureStorageType type()
Get the type property: Type of storage.
Returns:
validate
public void validate()
Validates the instance.
withAccessKey
public AzureStorageInfoValue withAccessKey(String accessKey)
Set the accessKey property: Access key for the storage account.
Parameters:
Returns:
withAccountName
public AzureStorageInfoValue withAccountName(String accountName)
Set the accountName property: Name of the storage account.
Parameters:
Returns:
withMountPath
public AzureStorageInfoValue withMountPath(String mountPath)
Set the mountPath property: Path to mount the storage within the site's runtime environment.
Parameters:
Returns:
withProtocol
public AzureStorageInfoValue withProtocol(AzureStorageProtocol protocol)
Set the protocol property: Mounting protocol to use for the storage account.
Parameters:
Returns:
withShareName
public AzureStorageInfoValue withShareName(String shareName)
Set the shareName property: Name of the file share (container name, for Blob storage).
Parameters:
Returns:
withType
public AzureStorageInfoValue withType(AzureStorageType type)
Set the type property: Type of storage.
Parameters:
Returns:
Applies to
Azure SDK for Java