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

      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://<storageAccountName>.blob.core.windows.net/<containerName>.
      Returns:
      the value value.
    • 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://<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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.