Class OnErrorDeploymentExtended
java.lang.Object
com.azure.resourcemanager.resources.models.OnErrorDeploymentExtended
Deployment on error behavior with additional details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentName property: The deployment to be used on error case.Get the provisioningState property: The state of the provisioning for the on error deployment.type()Get the type property: The deployment on error behavior type.voidvalidate()Validates the instance.withDeploymentName(String deploymentName) Set the deploymentName property: The deployment to be used on error case.Set the type property: The deployment on error behavior type.
-
Constructor Details
-
OnErrorDeploymentExtended
public OnErrorDeploymentExtended()
-
-
Method Details
-
provisioningState
Get the provisioningState property: The state of the provisioning for the on error deployment.- Returns:
- the provisioningState value.
-
type
Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.- Returns:
- the type value.
-
withType
Set the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.- Parameters:
type- the type value to set.- Returns:
- the OnErrorDeploymentExtended object itself.
-
deploymentName
Get the deploymentName property: The deployment to be used on error case.- Returns:
- the deploymentName value.
-
withDeploymentName
Set the deploymentName property: The deployment to be used on error case.- Parameters:
deploymentName- the deploymentName value to set.- Returns:
- the OnErrorDeploymentExtended object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-