Class DeploymentPropertiesExtended

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

public final class DeploymentPropertiesExtended extends Object implements com.azure.json.JsonSerializable<DeploymentPropertiesExtended>
Deployment properties with additional details.
  • Constructor Details

    • DeploymentPropertiesExtended

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Denotes the state of provisioning.
      Returns:
      the provisioningState value.
    • correlationId

      public String correlationId()
      Get the correlationId property: The correlation ID of the deployment.
      Returns:
      the correlationId value.
    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: The timestamp of the template deployment.
      Returns:
      the timestamp value.
    • duration

      public String duration()
      Get the duration property: The duration of the template deployment.
      Returns:
      the duration value.
    • outputs

      public Object outputs()
      Get the outputs property: Key/value pairs that represent deployment output.
      Returns:
      the outputs value.
    • providers

      public List<ProviderInner> providers()
      Get the providers property: The list of resource providers needed for the deployment.
      Returns:
      the providers value.
    • dependencies

      public List<Dependency> dependencies()
      Get the dependencies property: The list of deployment dependencies.
      Returns:
      the dependencies value.
    • templateLink

      public TemplateLink templateLink()
      Get the templateLink property: The URI referencing the template.
      Returns:
      the templateLink value.
    • parameters

      public Object parameters()
      Get the parameters property: Deployment parameters.
      Returns:
      the parameters value.
    • parametersLink

      public ParametersLink parametersLink()
      Get the parametersLink property: The URI referencing the parameters.
      Returns:
      the parametersLink value.
    • extensions

      public List<DeploymentExtensionDefinition> extensions()
      Get the extensions property: The extensions used in this deployment.
      Returns:
      the extensions value.
    • mode

      public DeploymentMode mode()
      Get the mode property: The deployment mode. Possible values are Incremental and Complete.
      Returns:
      the mode value.
    • debugSetting

      public DebugSetting debugSetting()
      Get the debugSetting property: The debug setting of the deployment.
      Returns:
      the debugSetting value.
    • onErrorDeployment

      public OnErrorDeploymentExtended onErrorDeployment()
      Get the onErrorDeployment property: The deployment on error behavior.
      Returns:
      the onErrorDeployment value.
    • templateHash

      public String templateHash()
      Get the templateHash property: The hash produced for the template.
      Returns:
      the templateHash value.
    • outputResources

      public List<ResourceReference> outputResources()
      Get the outputResources property: Array of provisioned resources.
      Returns:
      the outputResources value.
    • validatedResources

      public List<ResourceReference> validatedResources()
      Get the validatedResources property: Array of validated resources.
      Returns:
      the validatedResources value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: The deployment error.
      Returns:
      the error value.
    • diagnostics

      public List<DeploymentDiagnosticsDefinition> diagnostics()
      Get the diagnostics property: Contains diagnostic information collected during validation process.
      Returns:
      the diagnostics value.
    • validationLevel

      public ValidationLevel validationLevel()
      Get the validationLevel property: The validation level of the deployment.
      Returns:
      the validationLevel value.
    • withValidationLevel

      public DeploymentPropertiesExtended withValidationLevel(ValidationLevel validationLevel)
      Set the validationLevel property: The validation level of the deployment.
      Parameters:
      validationLevel - the validationLevel value to set.
      Returns:
      the DeploymentPropertiesExtended 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<DeploymentPropertiesExtended>
      Throws:
      IOException
    • fromJson

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