AzureStorageInfoValue Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.AzureStorageInfoValue

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 AzureStorageInfoValue class.

Method Summary

Modifier and Type Method and Description
String accessKey()

Get the accessKey property: Access key for the storage account.

String accountName()

Get the accountName property: Name of the storage account.

static AzureStorageInfoValue fromJson(JsonReader jsonReader)

Reads an instance of AzureStorageInfoValue from the JsonReader.

String mountPath()

Get the mountPath property: Path to mount the storage within the site's runtime environment.

AzureStorageProtocol protocol()

Get the protocol property: Mounting protocol to use for the storage account.

String shareName()

Get the shareName property: Name of the file share (container name, for Blob storage).

AzureStorageState state()

Get the state property: State of the storage account.

JsonWriter toJson(JsonWriter jsonWriter)
AzureStorageType type()

Get the type property: Type of storage.

void validate()

Validates the instance.

AzureStorageInfoValue withAccessKey(String accessKey)

Set the accessKey property: Access key for the storage account.

AzureStorageInfoValue withAccountName(String accountName)

Set the accountName property: Name of the storage account.

AzureStorageInfoValue withMountPath(String mountPath)

Set the mountPath property: Path to mount the storage within the site's runtime environment.

AzureStorageInfoValue withProtocol(AzureStorageProtocol protocol)

Set the protocol property: Mounting protocol to use for the storage account.

AzureStorageInfoValue withShareName(String shareName)

Set the shareName property: Name of the file share (container name, for Blob storage).

AzureStorageInfoValue 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:

the accessKey value.

accountName

public String accountName()

Get the accountName property: Name of the storage account.

Returns:

the accountName value.

fromJson

public static AzureStorageInfoValue fromJson(JsonReader jsonReader)

Reads an instance of AzureStorageInfoValue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureStorageInfoValue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AzureStorageInfoValue.

mountPath

public String mountPath()

Get the mountPath property: Path to mount the storage within the site's runtime environment.

Returns:

the mountPath value.

protocol

public AzureStorageProtocol protocol()

Get the protocol property: Mounting protocol to use for the storage account.

Returns:

the protocol value.

shareName

public String shareName()

Get the shareName property: Name of the file share (container name, for Blob storage).

Returns:

the shareName value.

state

public AzureStorageState state()

Get the state property: State of the storage account.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AzureStorageType type()

Get the type property: Type of storage.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAccessKey

public AzureStorageInfoValue withAccessKey(String accessKey)

Set the accessKey property: Access key for the storage account.

Parameters:

accessKey - the accessKey value to set.

Returns:

the AzureStorageInfoValue object itself.

withAccountName

public AzureStorageInfoValue withAccountName(String accountName)

Set the accountName property: Name of the storage account.

Parameters:

accountName - the accountName value to set.

Returns:

the AzureStorageInfoValue object itself.

withMountPath

public AzureStorageInfoValue withMountPath(String mountPath)

Set the mountPath property: Path to mount the storage within the site's runtime environment.

Parameters:

mountPath - the mountPath value to set.

Returns:

the AzureStorageInfoValue object itself.

withProtocol

public AzureStorageInfoValue withProtocol(AzureStorageProtocol protocol)

Set the protocol property: Mounting protocol to use for the storage account.

Parameters:

protocol - the protocol value to set.

Returns:

the AzureStorageInfoValue object itself.

withShareName

public AzureStorageInfoValue withShareName(String shareName)

Set the shareName property: Name of the file share (container name, for Blob storage).

Parameters:

shareName - the shareName value to set.

Returns:

the AzureStorageInfoValue object itself.

withType

public AzureStorageInfoValue withType(AzureStorageType type)

Set the type property: Type of storage.

Parameters:

type - the type value to set.

Returns:

the AzureStorageInfoValue object itself.

Applies to