Class DeploymentExtensionConfigItem

java.lang.Object
com.azure.resourcemanager.resources.models.DeploymentExtensionConfigItem
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentExtensionConfigItem>

public final class DeploymentExtensionConfigItem extends Object implements com.azure.json.JsonSerializable<DeploymentExtensionConfigItem>
The DeploymentExtensionConfigItem model.
  • Constructor Details

    • DeploymentExtensionConfigItem

      public DeploymentExtensionConfigItem()
      Creates an instance of DeploymentExtensionConfigItem class.
  • Method Details

    • type

      Get the type property: The value type of the extension config property.
      Returns:
      the type value.
    • value

      public Object value()
      Get the value property: The value of the extension config property.
      Returns:
      the value value.
    • withValue

      public DeploymentExtensionConfigItem withValue(Object value)
      Set the value property: The value of the extension config property.
      Parameters:
      value - the value value to set.
      Returns:
      the DeploymentExtensionConfigItem object itself.
    • keyVaultReference

      public KeyVaultParameterReference keyVaultReference()
      Get the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.
      Returns:
      the keyVaultReference value.
    • withKeyVaultReference

      public DeploymentExtensionConfigItem withKeyVaultReference(KeyVaultParameterReference keyVaultReference)
      Set the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.
      Parameters:
      keyVaultReference - the keyVaultReference value to set.
      Returns:
      the DeploymentExtensionConfigItem 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<DeploymentExtensionConfigItem>
      Throws:
      IOException
    • fromJson

      public static DeploymentExtensionConfigItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DeploymentExtensionConfigItem from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DeploymentExtensionConfigItem 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 DeploymentExtensionConfigItem.