FunctionsDeploymentStorage Class

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

Implements

public final class FunctionsDeploymentStorage
implements JsonSerializable<FunctionsDeploymentStorage>

Storage for deployed package used by the function app.

Constructor Summary

Constructor Description
FunctionsDeploymentStorage()

Creates an instance of FunctionsDeploymentStorage class.

Method Summary

Modifier and Type Method and Description
FunctionsDeploymentStorageAuthentication authentication()

Get the authentication property: Authentication method to access the storage account for deployment.

static FunctionsDeploymentStorage fromJson(JsonReader jsonReader)

Reads an instance of FunctionsDeploymentStorage from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
FunctionsDeploymentStorageType type()

Get the type property: Property to select Azure Storage type.

void validate()

Validates the instance.

String value()

Get the value property: Property to set the URL for the selected Azure Storage type.

FunctionsDeploymentStorage withAuthentication(FunctionsDeploymentStorageAuthentication authentication)

Set the authentication property: Authentication method to access the storage account for deployment.

FunctionsDeploymentStorage withType(FunctionsDeploymentStorageType type)

Set the type property: Property to select Azure Storage type.

FunctionsDeploymentStorage withValue(String value)

Set the value property: Property to set the URL for the selected Azure Storage type.

Methods inherited from java.lang.Object

Constructor Details

FunctionsDeploymentStorage

public FunctionsDeploymentStorage()

Creates an instance of FunctionsDeploymentStorage class.

Method Details

authentication

public FunctionsDeploymentStorageAuthentication authentication()

Get the authentication property: Authentication method to access the storage account for deployment.

Returns:

the authentication value.

fromJson

public static FunctionsDeploymentStorage fromJson(JsonReader jsonReader)

Reads an instance of FunctionsDeploymentStorage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionsDeploymentStorage 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 FunctionsDeploymentStorage.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public FunctionsDeploymentStorageType type()

Get the type property: Property to select Azure Storage type. Available options: blobContainer.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/.

Returns:

the value value.

withAuthentication

public FunctionsDeploymentStorage withAuthentication(FunctionsDeploymentStorageAuthentication authentication)

Set the authentication property: Authentication method to access the storage account for deployment.

Parameters:

authentication - the authentication value to set.

Returns:

the FunctionsDeploymentStorage object itself.

withType

public FunctionsDeploymentStorage withType(FunctionsDeploymentStorageType type)

Set the type property: Property to select Azure Storage type. Available options: blobContainer.

Parameters:

type - the type value to set.

Returns:

the FunctionsDeploymentStorage object itself.

withValue

public FunctionsDeploymentStorage withValue(String value)

Set the value property: Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/.

Parameters:

value - the value value to set.

Returns:

the FunctionsDeploymentStorage object itself.

Applies to