Partager via


CloudServiceUpgradeMode Class

public final class CloudServiceUpgradeMode
extends ExpandableStringEnum<CloudServiceUpgradeMode>

Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are

**Auto**

**Manual**

**Simultaneous**

If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.

Field Summary

Modifier and Type Field and Description
static final CloudServiceUpgradeMode AUTO

Static value Auto for CloudServiceUpgradeMode.

static final CloudServiceUpgradeMode MANUAL

Static value Manual for CloudServiceUpgradeMode.

static final CloudServiceUpgradeMode SIMULTANEOUS

Static value Simultaneous for CloudServiceUpgradeMode.

Constructor Summary

Constructor Description
CloudServiceUpgradeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CloudServiceUpgradeMode value.

Method Summary

Modifier and Type Method and Description
static CloudServiceUpgradeMode fromString(String name)

Creates or finds a CloudServiceUpgradeMode from its string representation.

static Collection<CloudServiceUpgradeMode> values()

Gets known CloudServiceUpgradeMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTO

public static final CloudServiceUpgradeMode AUTO

Static value Auto for CloudServiceUpgradeMode.

MANUAL

public static final CloudServiceUpgradeMode MANUAL

Static value Manual for CloudServiceUpgradeMode.

SIMULTANEOUS

public static final CloudServiceUpgradeMode SIMULTANEOUS

Static value Simultaneous for CloudServiceUpgradeMode.

Constructor Details

CloudServiceUpgradeMode

@Deprecated
public CloudServiceUpgradeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CloudServiceUpgradeMode value.

Method Details

fromString

public static CloudServiceUpgradeMode fromString(String name)

Creates or finds a CloudServiceUpgradeMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CloudServiceUpgradeMode.

values

public static Collection values()

Gets known CloudServiceUpgradeMode values.

Returns:

known CloudServiceUpgradeMode values.

Applies to