Compartilhar via


DeploymentStackValidateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.DeploymentStackValidateProperties

Implements

public final class DeploymentStackValidateProperties
implements JsonSerializable<DeploymentStackValidateProperties>

The Deployment stack validation result details.

Constructor Summary

Constructor Description
DeploymentStackValidateProperties()

Creates an instance of DeploymentStackValidateProperties class.

Method Summary

Modifier and Type Method and Description
ActionOnUnmanage actionOnUnmanage()

Get the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.

String correlationId()

Get the correlationId property: The correlation id of the Deployment stack validate operation.

DenySettings denySettings()

Get the denySettings property: The Deployment stack deny settings.

String deploymentScope()

Get the deploymentScope property: The Deployment stack deployment scope.

String description()

Get the description property: The Deployment stack validation description.

static DeploymentStackValidateProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentStackValidateProperties from the JsonReader.

Map<String,DeploymentParameter> parameters()

Get the parameters property: Deployment parameters.

DeploymentStacksTemplateLink templateLink()

Get the templateLink property: The URI of the template.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ResourceReference> validatedResources()

Get the validatedResources property: The array of resources that were validated.

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.

DeploymentStackValidateProperties withCorrelationId(String correlationId)

Set the correlationId property: The correlation id of the Deployment stack validate operation.

DeploymentStackValidateProperties withDenySettings(DenySettings denySettings)

Set the denySettings property: The Deployment stack deny settings.

DeploymentStackValidateProperties withDeploymentScope(String deploymentScope)

Set the deploymentScope property: The Deployment stack deployment scope.

DeploymentStackValidateProperties withDescription(String description)

Set the description property: The Deployment stack validation description.

DeploymentStackValidateProperties withParameters(Map<String,DeploymentParameter> parameters)

Set the parameters property: Deployment parameters.

DeploymentStackValidateProperties withTemplateLink(DeploymentStacksTemplateLink templateLink)

Set the templateLink property: The URI of the template.

DeploymentStackValidateProperties withValidatedResources(List<ResourceReference> validatedResources)

Set the validatedResources property: The array of resources that were validated.

Methods inherited from java.lang.Object

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.

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.

denySettings

public DenySettings denySettings()

Get the denySettings property: The Deployment stack deny settings.

Returns:

the denySettings value.

deploymentScope

public String deploymentScope()

Get the deploymentScope property: The Deployment stack deployment scope.

Returns:

the deploymentScope value.

description

public String description()

Get the description property: The Deployment stack validation description.

Returns:

the description value.

fromJson

public static DeploymentStackValidateProperties fromJson(JsonReader jsonReader)

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.

parameters

public Map parameters()

Get the parameters property: Deployment parameters.

Returns:

the parameters value.

templateLink

public DeploymentStacksTemplateLink templateLink()

Get the templateLink property: The URI of the template.

Returns:

the templateLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validatedResources

public List validatedResources()

Get the validatedResources property: The array of resources that were validated.

Returns:

the validatedResources 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.

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.

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.

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.

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.

withParameters

public DeploymentStackValidateProperties withParameters(Map parameters)

Set the parameters property: Deployment parameters.

Parameters:

parameters - the parameters value to set.

Returns:

the DeploymentStackValidateProperties object itself.

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.

withValidatedResources

public DeploymentStackValidateProperties withValidatedResources(List validatedResources)

Set the validatedResources property: The array of resources that were validated.

Parameters:

validatedResources - the validatedResources value to set.

Returns:

the DeploymentStackValidateProperties object itself.

Applies to