ResourceNameStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. ResourceNameStatus
- com.
- com.
public final class ResourceNameStatus
extends ExpandableStringEnum<ResourceNameStatus>
Is the resource name Allowed or Reserved.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Resource |
ALLOWED
Static value Allowed for Resource |
static final
Resource |
RESERVED
Static value Reserved for Resource |
Constructor Summary
Constructor | Description |
---|---|
ResourceNameStatus() |
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
ALLOWED
public static final ResourceNameStatus ALLOWED
Static value Allowed for ResourceNameStatus.
RESERVED
public static final ResourceNameStatus RESERVED
Static value Reserved for ResourceNameStatus.
Constructor Details
ResourceNameStatus
@Deprecated
public ResourceNameStatus()
Deprecated
Creates a new instance of ResourceNameStatus value.
Method Details
fromString
public static ResourceNameStatus fromString(String name)
Creates or finds a ResourceNameStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ResourceNameStatus values.
Returns:
Applies to
Azure SDK for Java