Delen via


DeploymentPropertiesExtended Class

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

Implements

public final class DeploymentPropertiesExtended
implements JsonSerializable<DeploymentPropertiesExtended>

Deployment properties with additional details.

Constructor Summary

Constructor Description
DeploymentPropertiesExtended()

Creates an instance of DeploymentPropertiesExtended class.

Method Summary

Modifier and Type Method and Description
String correlationId()

Get the correlationId property: The correlation ID of the deployment.

DebugSetting debugSetting()

Get the debugSetting property: The debug setting of the deployment.

List<Dependency> dependencies()

Get the dependencies property: The list of deployment dependencies.

List<DeploymentDiagnosticsDefinition> diagnostics()

Get the diagnostics property: Contains diagnostic information collected during validation process.

String duration()

Get the duration property: The duration of the template deployment.

ManagementError error()

Get the error property: The deployment error.

static DeploymentPropertiesExtended fromJson(JsonReader jsonReader)

Reads an instance of DeploymentPropertiesExtended from the JsonReader.

DeploymentMode mode()

Get the mode property: The deployment mode.

OnErrorDeploymentExtended onErrorDeployment()

Get the onErrorDeployment property: The deployment on error behavior.

List<ResourceReference> outputResources()

Get the outputResources property: Array of provisioned resources.

Object outputs()

Get the outputs property: Key/value pairs that represent deployment output.

Object parameters()

Get the parameters property: Deployment parameters.

ParametersLink parametersLink()

Get the parametersLink property: The URI referencing the parameters.

List<ProviderInner> providers()

Get the providers property: The list of resource providers needed for the deployment.

ProvisioningState provisioningState()

Get the provisioningState property: Denotes the state of provisioning.

String templateHash()

Get the templateHash property: The hash produced for the template.

TemplateLink templateLink()

Get the templateLink property: The URI referencing the template.

OffsetDateTime timestamp()

Get the timestamp property: The timestamp of the template deployment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ResourceReference> validatedResources()

Get the validatedResources property: Array of validated resources.

ValidationLevel validationLevel()

Get the validationLevel property: The validation level of the deployment.

DeploymentPropertiesExtended withValidationLevel(ValidationLevel validationLevel)

Set the validationLevel property: The validation level of the deployment.

Methods inherited from java.lang.Object

Constructor Details

DeploymentPropertiesExtended

public DeploymentPropertiesExtended()

Creates an instance of DeploymentPropertiesExtended class.

Method Details

correlationId

public String correlationId()

Get the correlationId property: The correlation ID of the deployment.

Returns:

the correlationId value.

debugSetting

public DebugSetting debugSetting()

Get the debugSetting property: The debug setting of the deployment.

Returns:

the debugSetting value.

dependencies

public List dependencies()

Get the dependencies property: The list of deployment dependencies.

Returns:

the dependencies value.

diagnostics

public List diagnostics()

Get the diagnostics property: Contains diagnostic information collected during validation process.

Returns:

the diagnostics value.

duration

public String duration()

Get the duration property: The duration of the template deployment.

Returns:

the duration value.

error

public ManagementError error()

Get the error property: The deployment error.

Returns:

the error value.

fromJson

public static DeploymentPropertiesExtended fromJson(JsonReader jsonReader)

Reads an instance of DeploymentPropertiesExtended from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

mode

public DeploymentMode mode()

Get the mode property: The deployment mode. Possible values are Incremental and Complete.

Returns:

the mode value.

onErrorDeployment

public OnErrorDeploymentExtended onErrorDeployment()

Get the onErrorDeployment property: The deployment on error behavior.

Returns:

the onErrorDeployment value.

outputResources

public List outputResources()

Get the outputResources property: Array of provisioned resources.

Returns:

the outputResources value.

outputs

public Object outputs()

Get the outputs property: Key/value pairs that represent deployment output.

Returns:

the outputs value.

parameters

public Object parameters()

Get the parameters property: Deployment parameters.

Returns:

the parameters value.

parametersLink

public ParametersLink parametersLink()

Get the parametersLink property: The URI referencing the parameters.

Returns:

the parametersLink value.

providers

public List providers()

Get the providers property: The list of resource providers needed for the deployment.

Returns:

the providers value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Denotes the state of provisioning.

Returns:

the provisioningState value.

templateHash

public String templateHash()

Get the templateHash property: The hash produced for the template.

Returns:

the templateHash value.

templateLink

public TemplateLink templateLink()

Get the templateLink property: The URI referencing the template.

Returns:

the templateLink value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: The timestamp of the template deployment.

Returns:

the timestamp 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: Array of validated resources.

Returns:

the validatedResources value.

validationLevel

public ValidationLevel validationLevel()

Get the validationLevel property: The validation level of the deployment.

Returns:

the validationLevel value.

withValidationLevel

public DeploymentPropertiesExtended withValidationLevel(ValidationLevel validationLevel)

Set the validationLevel property: The validation level of the deployment.

Parameters:

validationLevel - the validationLevel value to set.

Returns:

the DeploymentPropertiesExtended object itself.

Applies to