Class ResourceScopeType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ResourceScopeType>
com.azure.resourcemanager.appservice.models.ResourceScopeType
public final class ResourceScopeType
extends com.azure.core.util.ExpandableStringEnum<ResourceScopeType>
Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceScopeTypeStatic value ServerFarm for ResourceScopeType.static final ResourceScopeTypeStatic value Subscription for ResourceScopeType.static final ResourceScopeTypeStatic value WebSite for ResourceScopeType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceScopeTypefromString(String name) Creates or finds a ResourceScopeType from its string representation.static Collection<ResourceScopeType>values()Gets known ResourceScopeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SERVER_FARM
Static value ServerFarm for ResourceScopeType. -
SUBSCRIPTION
Static value Subscription for ResourceScopeType. -
WEB_SITE
Static value WebSite for ResourceScopeType.
-
-
Constructor Details
-
ResourceScopeType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ResourceScopeType value.
-
-
Method Details
-
fromString
Creates or finds a ResourceScopeType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ResourceScopeType.
-
values
Gets known ResourceScopeType values.- Returns:
- known ResourceScopeType values.
-
fromString(String)factory method.