Class OnErrorDeployment

java.lang.Object
com.microsoft.azure.management.resources.OnErrorDeployment

public class OnErrorDeployment extends Object
Deployment on error behavior.
  • Constructor Details

    • OnErrorDeployment

      public OnErrorDeployment()
  • Method Details

    • 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
    • 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:
      type - the type value to set
      Returns:
      the OnErrorDeployment object itself.
    • deploymentName

      public String deploymentName()
      Get the deployment to be used on error case.
      Returns:
      the deploymentName value
    • withDeploymentName

      public OnErrorDeployment withDeploymentName(String deploymentName)
      Set the deployment to be used on error case.
      Parameters:
      deploymentName - the deploymentName value to set
      Returns:
      the OnErrorDeployment object itself.