다음을 통해 공유


UpgradeMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.compute.models.UpgradeMode

public enum UpgradeMode
extends Enum<UpgradeMode>

Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time.

Fields

AUTOMATIC

Enum value Automatic.

MANUAL

Enum value Manual.

ROLLING

Enum value Rolling.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static UpgradeMode fromString(String value)

Parses a serialized value to a UpgradeMode instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed UpgradeMode object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static UpgradeMode valueOf(String name)

Parameters

name
String

Returns

values()

public static UpgradeMode[] values()

Returns

Applies to