ResourceScopeType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. ResourceScopeType
- com.
- com.
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
Resource |
SERVER_FARM
Static value Server |
static final
Resource |
SUBSCRIPTION
Static value Subscription for Resource |
static final
Resource |
WEB_SITE
Static value Web |
Constructor Summary
Constructor | Description |
---|---|
ResourceScopeType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromString(String name)
Creates or finds a Resource |
static
Collection<Resource |
values()
Gets known Resource |
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
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:
Returns:
values
public static Collection
Gets known ResourceScopeType values.
Returns:
Applies to
Azure SDK for Java