Enum DeploymentMode

java.lang.Object
java.lang.Enum<DeploymentMode>
com.azure.resourcemanager.resources.models.DeploymentMode
All Implemented Interfaces:
Serializable, Comparable<DeploymentMode>, java.lang.constant.Constable

public enum DeploymentMode extends Enum<DeploymentMode>
The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
  • Enum Constant Details

    • INCREMENTAL

      public static final DeploymentMode INCREMENTAL
      Enum value Incremental.
    • COMPLETE

      public static final DeploymentMode COMPLETE
      Enum value Complete.
  • Method Details

    • values

      public static DeploymentMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DeploymentMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static DeploymentMode fromString(String value)
      Parses a serialized value to a DeploymentMode instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed DeploymentMode object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DeploymentMode>