OnErrorDeploymentExtended Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.OnErrorDeploymentExtended

Implements

public final class OnErrorDeploymentExtended
implements JsonSerializable<OnErrorDeploymentExtended>

Deployment on error behavior with additional details.

Method Summary

Modifier and Type Method and Description
String deploymentName()

Get the deploymentName property: The deployment to be used on error case.

static OnErrorDeploymentExtended fromJson(JsonReader jsonReader)

Reads an instance of OnErrorDeploymentExtended from the JsonReader.

String provisioningState()

Get the provisioningState property: The state of the provisioning for the on error deployment.

JsonWriter toJson(JsonWriter jsonWriter)
OnErrorDeploymentType type()

Get the type property: The deployment on error behavior type.

Methods inherited from java.lang.Object

Method Details

deploymentName

public String deploymentName()

Get the deploymentName property: The deployment to be used on error case.

Returns:

the deploymentName value.

fromJson

public static OnErrorDeploymentExtended fromJson(JsonReader jsonReader)

Reads an instance of OnErrorDeploymentExtended from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public String provisioningState()

Get the provisioningState property: The state of the provisioning for the on error deployment.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public OnErrorDeploymentType type()

Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.

Returns:

the type value.

Applies to