DeploymentValidateResultInner Class

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

Implements

public final class DeploymentValidateResultInner
implements JsonSerializable<DeploymentValidateResultInner>

Information from validate template deployment response.

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.

String id()

Get the id property: The ID of the deployment.

String name()

Get the name property: The name of the deployment.

DeploymentPropertiesExtended properties()

Get the properties property: The template deployment properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the deployment.

Methods inherited from java.lang.Object

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.

id

public String id()

Get the id property: The ID of the deployment.

Returns:

the id value.

name

public String name()

Get the name property: The name of the deployment.

Returns:

the name value.

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:

type

public String type()

Get the type property: The type of the deployment.

Returns:

the type value.

Applies to