Class DeploymentStackValidateProperties

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

public final class DeploymentStackValidateProperties extends Object implements com.azure.json.JsonSerializable<DeploymentStackValidateProperties>
The Deployment stack validation result details.
  • Constructor Details

    • DeploymentStackValidateProperties

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

    • actionOnUnmanage

      public ActionOnUnmanage actionOnUnmanage()
      Get the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
      Returns:
      the actionOnUnmanage value.
    • withActionOnUnmanage

      public DeploymentStackValidateProperties withActionOnUnmanage(ActionOnUnmanage actionOnUnmanage)
      Set the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
      Parameters:
      actionOnUnmanage - the actionOnUnmanage value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • correlationId

      public String correlationId()
      Get the correlationId property: The correlation id of the Deployment stack validate operation. It is in GUID format and is used for tracing.
      Returns:
      the correlationId value.
    • withCorrelationId

      public DeploymentStackValidateProperties withCorrelationId(String correlationId)
      Set the correlationId property: The correlation id of the Deployment stack validate operation. It is in GUID format and is used for tracing.
      Parameters:
      correlationId - the correlationId value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • denySettings

      public DenySettings denySettings()
      Get the denySettings property: The Deployment stack deny settings.
      Returns:
      the denySettings value.
    • withDenySettings

      public DeploymentStackValidateProperties withDenySettings(DenySettings denySettings)
      Set the denySettings property: The Deployment stack deny settings.
      Parameters:
      denySettings - the denySettings value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • deploymentScope

      public String deploymentScope()
      Get the deploymentScope property: The Deployment stack deployment scope.
      Returns:
      the deploymentScope value.
    • withDeploymentScope

      public DeploymentStackValidateProperties withDeploymentScope(String deploymentScope)
      Set the deploymentScope property: The Deployment stack deployment scope.
      Parameters:
      deploymentScope - the deploymentScope value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • description

      public String description()
      Get the description property: The Deployment stack validation description.
      Returns:
      the description value.
    • withDescription

      public DeploymentStackValidateProperties withDescription(String description)
      Set the description property: The Deployment stack validation description.
      Parameters:
      description - the description value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • parameters

      public Map<String,DeploymentParameter> parameters()
      Get the parameters property: Deployment parameters.
      Returns:
      the parameters value.
    • withParameters

      public DeploymentStackValidateProperties withParameters(Map<String,DeploymentParameter> parameters)
      Set the parameters property: Deployment parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • templateLink

      public DeploymentStacksTemplateLink templateLink()
      Get the templateLink property: The URI of the template.
      Returns:
      the templateLink value.
    • withTemplateLink

      public DeploymentStackValidateProperties withTemplateLink(DeploymentStacksTemplateLink templateLink)
      Set the templateLink property: The URI of the template.
      Parameters:
      templateLink - the templateLink value to set.
      Returns:
      the DeploymentStackValidateProperties object itself.
    • validatedResources

      public List<ResourceReference> validatedResources()
      Get the validatedResources property: The array of resources that were validated.
      Returns:
      the validatedResources value.
    • withValidatedResources

      public DeploymentStackValidateProperties withValidatedResources(List<ResourceReference> validatedResources)
      Set the validatedResources property: The array of resources that were validated.
      Parameters:
      validatedResources - the validatedResources value to set.
      Returns:
      the DeploymentStackValidateProperties 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<DeploymentStackValidateProperties>
      Throws:
      IOException
    • fromJson

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