Condividi tramite


UpgradePreference Class

public final class UpgradePreference
extends ExpandableStringEnum<UpgradePreference>

Upgrade Preference.

Field Summary

Modifier and Type Field and Description
static final UpgradePreference EARLY

This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'.

static final UpgradePreference LATE

This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'.

static final UpgradePreference MANUAL

ASEv3 only.

static final UpgradePreference NONE

No preference on when this App Service Environment will be upgraded.

Constructor Summary

Constructor Description
UpgradePreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradePreference value.

Method Summary

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

Creates or finds a UpgradePreference from its string representation.

static Collection<UpgradePreference> values()

Gets known UpgradePreference values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EARLY

public static final UpgradePreference EARLY

This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'.

LATE

public static final UpgradePreference LATE

This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'.

MANUAL

public static final UpgradePreference MANUAL

ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically.

NONE

public static final UpgradePreference NONE

No preference on when this App Service Environment will be upgraded.

Constructor Details

UpgradePreference

@Deprecated
public UpgradePreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradePreference value.

Method Details

fromString

public static UpgradePreference fromString(String name)

Creates or finds a UpgradePreference from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpgradePreference.

values

public static Collection<UpgradePreference> values()

Gets known UpgradePreference values.

Returns:

known UpgradePreference values.

Applies to