Class DeploymentExtensionDefinition

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

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

    • DeploymentExtensionDefinition

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

    • alias

      public String alias()
      Get the alias property: The alias of the extension as defined in the deployment template.
      Returns:
      the alias value.
    • name

      public String name()
      Get the name property: The extension name.
      Returns:
      the name value.
    • version

      public String version()
      Get the version property: The extension version.
      Returns:
      the version value.
    • configId

      public String configId()
      Get the configId property: The extension configuration ID. It uniquely identifies a deployment control plane within an extension.
      Returns:
      the configId value.
    • config

      Get the config property: The extension configuration.
      Returns:
      the config value.
    • 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<DeploymentExtensionDefinition>
      Throws:
      IOException
    • fromJson

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