Partager via


DeploymentValidateResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.DeploymentValidateResultInner

Implements

public final class DeploymentValidateResultInner
implements JsonSerializable<DeploymentValidateResultInner>

Information from validate template deployment response.

Constructor Summary

Constructor Description
DeploymentValidateResultInner()

Creates an instance of DeploymentValidateResultInner class.

Method Summary

Modifier and Type Method and Description
ManagementError error()

Get the error property: The deployment validation error.

static DeploymentValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentValidateResultInner from the JsonReader.

DeploymentPropertiesExtended properties()

Get the properties property: The template deployment properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DeploymentValidateResultInner withProperties(DeploymentPropertiesExtended properties)

Set the properties property: The template deployment properties.

Methods inherited from java.lang.Object

Constructor Details

DeploymentValidateResultInner

public DeploymentValidateResultInner()

Creates an instance of DeploymentValidateResultInner class.

Method Details

error

public ManagementError error()

Get the error property: The deployment validation error.

Returns:

the error value.

fromJson

public static DeploymentValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentValidateResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeploymentValidateResultInner 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 DeploymentValidateResultInner.

properties

public DeploymentPropertiesExtended properties()

Get the properties property: The template deployment properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public DeploymentValidateResultInner withProperties(DeploymentPropertiesExtended properties)

Set the properties property: The template deployment properties.

Parameters:

properties - the properties value to set.

Returns:

the DeploymentValidateResultInner object itself.

Applies to