Class FunctionsDeploymentStorage
java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsDeploymentStorage
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FunctionsDeploymentStorage>
public final class FunctionsDeploymentStorage
extends Object
implements com.azure.json.JsonSerializable<FunctionsDeploymentStorage>
Storage for deployed package used by the function app.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FunctionsDeploymentStorage class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: Authentication method to access the storage account for deployment.static FunctionsDeploymentStorage
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionsDeploymentStorage from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: Property to select Azure Storage type.void
validate()
Validates the instance.value()
Get the value property: Property to set the URL for the selected Azure Storage type.withAuthentication
(FunctionsDeploymentStorageAuthentication authentication) Set the authentication property: Authentication method to access the storage account for deployment.Set the type property: Property to select Azure Storage type.Set the value property: Property to set the URL for the selected Azure Storage type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FunctionsDeploymentStorage
public FunctionsDeploymentStorage()Creates an instance of FunctionsDeploymentStorage class.
-
-
Method Details
-
type
Get the type property: Property to select Azure Storage type. Available options: blobContainer.- Returns:
- the type value.
-
withType
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.
-
value
Get the value property: Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://<storageAccountName>.blob.core.windows.net/<containerName>.- Returns:
- the value value.
-
withValue
Set the value property: Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://<storageAccountName>.blob.core.windows.net/<containerName>.- Parameters:
value
- the value value to set.- Returns:
- the FunctionsDeploymentStorage object itself.
-
authentication
Get the authentication property: Authentication method to access the storage account for deployment.- Returns:
- the authentication 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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<FunctionsDeploymentStorage>
- Throws:
IOException
-
fromJson
public static FunctionsDeploymentStorage fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-