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

ServiceTier Class

public final class ServiceTier
extends ExpandableStringEnum<ServiceTier>

The service tier used for processing the request.

Field Summary

Modifier and Type Field and Description
static final ServiceTier DEFAULT

Service tier option for default.

static final ServiceTier SCALE

Service tier option for scale.

Constructor Summary

Constructor Description
ServiceTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceTier value.

Method Summary

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

Creates or finds a ServiceTier from its string representation.

static Collection<ServiceTier> values()

Get known ServiceTier values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final ServiceTier DEFAULT

Service tier option for default.

SCALE

public static final ServiceTier SCALE

Service tier option for scale.

Constructor Details

ServiceTier

@Deprecated
public ServiceTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceTier value.

Method Details

fromString

public static ServiceTier fromString(String name)

Creates or finds a ServiceTier from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceTier.

values

public static Collection<ServiceTier> values()

Get known ServiceTier values.

Returns:

a collection of known ServiceTier values.

Applies to