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 Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentStackValidateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.Get the correlationId property: The correlation id of the Deployment stack validate operation.Get the denySettings property: The Deployment stack deny settings.Get the deploymentScope property: The Deployment stack deployment scope.Get the description property: The Deployment stack validation description.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentStackValidateProperties from the JsonReader.Get the parameters property: Deployment parameters.Get the templateLink property: The URI of the template.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the validatedResources property: The array of resources that were validated.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.withCorrelationId(String correlationId) Set the correlationId property: The correlation id of the Deployment stack validate operation.withDenySettings(DenySettings denySettings) Set the denySettings property: The Deployment stack deny settings.withDeploymentScope(String deploymentScope) Set the deploymentScope property: The Deployment stack deployment scope.withDescription(String description) Set the description property: The Deployment stack validation description.withParameters(Map<String, DeploymentParameter> parameters) Set the parameters property: Deployment parameters.withTemplateLink(DeploymentStacksTemplateLink templateLink) Set the templateLink property: The URI of the template.withValidatedResources(List<ResourceReference> validatedResources) Set the validatedResources property: The array of resources that were validated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeploymentStackValidateProperties
public DeploymentStackValidateProperties()Creates an instance of DeploymentStackValidateProperties class.
-
-
Method Details
-
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
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
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
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
Get the denySettings property: The Deployment stack deny settings.- Returns:
- the denySettings value.
-
withDenySettings
Set the denySettings property: The Deployment stack deny settings.- Parameters:
denySettings- the denySettings value to set.- Returns:
- the DeploymentStackValidateProperties object itself.
-
deploymentScope
Get the deploymentScope property: The Deployment stack deployment scope.- Returns:
- the deploymentScope value.
-
withDeploymentScope
Set the deploymentScope property: The Deployment stack deployment scope.- Parameters:
deploymentScope- the deploymentScope value to set.- Returns:
- the DeploymentStackValidateProperties object itself.
-
description
Get the description property: The Deployment stack validation description.- Returns:
- the description value.
-
withDescription
Set the description property: The Deployment stack validation description.- Parameters:
description- the description value to set.- Returns:
- the DeploymentStackValidateProperties object itself.
-
parameters
Get the parameters property: Deployment parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Deployment parameters.- Parameters:
parameters- the parameters value to set.- Returns:
- the DeploymentStackValidateProperties object itself.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-