OnErrorDeployment Class
- java.
lang. Object - com.
microsoft. azure. management. resources. OnErrorDeployment
- com.
public class OnErrorDeployment
Deployment on error behavior.
Constructor Summary
Constructor | Description | |
---|---|---|
OnErrorDeployment() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deploymentName()
Get the deployment to be used on error case. |
On |
type()
Get the deployment on error behavior type. |
On |
withDeploymentName(String deploymentName)
Set the deployment to be used on error case. |
On |
withType(OnErrorDeploymentType type)
Set the deployment on error behavior type. |
Methods inherited from java.lang.Object
Constructor Details
OnErrorDeployment
public OnErrorDeployment()
Method Details
deploymentName
public String deploymentName()
Get the deployment to be used on error case.
Returns:
type
public OnErrorDeploymentType type()
Get the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.
Returns:
withDeploymentName
public OnErrorDeployment withDeploymentName(String deploymentName)
Set the deployment to be used on error case.
Parameters:
Returns:
withType
public OnErrorDeployment withType(OnErrorDeploymentType type)
Set the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.
Parameters:
Returns:
Applies to
Azure SDK for Java