通过


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

CloudServiceSlotType Class

public final class CloudServiceSlotType
extends ExpandableStringEnum<CloudServiceSlotType>

Slot type for the cloud service. Possible values are

**Production**

**Staging**

If not specified, the default value is Production.

Field Summary

Modifier and Type Field and Description
static final CloudServiceSlotType PRODUCTION

Static value Production for CloudServiceSlotType.

static final CloudServiceSlotType STAGING

Static value Staging for CloudServiceSlotType.

Constructor Summary

Constructor Description
CloudServiceSlotType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CloudServiceSlotType value.

Method Summary

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

Creates or finds a CloudServiceSlotType from its string representation.

static Collection<CloudServiceSlotType> values()

Gets known CloudServiceSlotType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRODUCTION

public static final CloudServiceSlotType PRODUCTION

Static value Production for CloudServiceSlotType.

STAGING

public static final CloudServiceSlotType STAGING

Static value Staging for CloudServiceSlotType.

Constructor Details

CloudServiceSlotType

@Deprecated
public CloudServiceSlotType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CloudServiceSlotType value.

Method Details

fromString

public static CloudServiceSlotType fromString(String name)

Creates or finds a CloudServiceSlotType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CloudServiceSlotType.

values

public static Collection<CloudServiceSlotType> values()

Gets known CloudServiceSlotType values.

Returns:

known CloudServiceSlotType values.

Applies to