ResourceScopeType Class

public final class ResourceScopeType
extends ExpandableStringEnum<ResourceScopeType>

Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.

Field Summary

Modifier and Type Field and Description
static final ResourceScopeType SERVER_FARM

Static value ServerFarm for ResourceScopeType.

static final ResourceScopeType SUBSCRIPTION

Static value Subscription for ResourceScopeType.

static final ResourceScopeType WEB_SITE

Static value WebSite for ResourceScopeType.

Constructor Summary

Constructor Description
ResourceScopeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceScopeType value.

Method Summary

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

Creates or finds a ResourceScopeType from its string representation.

static Collection<ResourceScopeType> values()

Gets known ResourceScopeType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SERVER_FARM

public static final ResourceScopeType SERVER_FARM

Static value ServerFarm for ResourceScopeType.

SUBSCRIPTION

public static final ResourceScopeType SUBSCRIPTION

Static value Subscription for ResourceScopeType.

WEB_SITE

public static final ResourceScopeType WEB_SITE

Static value WebSite for ResourceScopeType.

Constructor Details

ResourceScopeType

@Deprecated
public ResourceScopeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceScopeType value.

Method Details

fromString

public static ResourceScopeType fromString(String name)

Creates or finds a ResourceScopeType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceScopeType.

values

public static Collection values()

Gets known ResourceScopeType values.

Returns:

known ResourceScopeType values.

Applies to