Enum DeploymentMode
- All Implemented Interfaces:
Serializable,Comparable<DeploymentMode>,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentModefromString(String value) Parses a serialized value to a DeploymentMode instance.toString()static DeploymentModeReturns the enum constant of this type with the specified name.static DeploymentMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INCREMENTAL
Enum value Incremental. -
COMPLETE
Enum value Complete.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromString
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
- Overrides:
toStringin classEnum<DeploymentMode>
-