共用方式為


OnErrorDeploymentExtended Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.OnErrorDeploymentExtended

public class OnErrorDeploymentExtended

Deployment on error behavior with additional details.

Constructor Summary

Constructor Description
OnErrorDeploymentExtended()

Method Summary

Modifier and Type Method and Description
java.lang.String deploymentName()

Get the deployment to be used on error case.

java.lang.String provisioningState()

Get the state of the provisioning for the on error deployment.

OnErrorDeploymentType type()

Get the deployment on error behavior type.

OnErrorDeploymentExtended withDeploymentName(String deploymentName)

Set the deployment to be used on error case.

OnErrorDeploymentExtended withType(OnErrorDeploymentType type)

Set the deployment on error behavior type.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OnErrorDeploymentExtended

public OnErrorDeploymentExtended()

Method Details

deploymentName

public String deploymentName()

Get the deployment to be used on error case.

Returns:

the deploymentName value

provisioningState

public String provisioningState()

Get the state of the provisioning for the on error deployment.

Returns:

the provisioningState value

type

public OnErrorDeploymentType type()

Get the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.

Returns:

the type value

withDeploymentName

public OnErrorDeploymentExtended withDeploymentName(String deploymentName)

Set the deployment to be used on error case.

Parameters:

deploymentName - the deploymentName value to set

Returns:

the OnErrorDeploymentExtended object itself.

withType

public OnErrorDeploymentExtended withType(OnErrorDeploymentType type)

Set the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.

Parameters:

type - the type value to set

Returns:

the OnErrorDeploymentExtended object itself.

Applies to