通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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