UsagePermissionType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. devtestlabs. models. UsagePermissionType
- com.
- com.
public final class UsagePermissionType
extends ExpandableStringEnum<UsagePermissionType>
The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Usage |
ALLOW
Static value Allow for Usage |
|
static final
Usage |
DEFAULT
Static value Default for Usage |
|
static final
Usage |
DENY
Static value Deny for Usage |
Constructor Summary
| Constructor | Description |
|---|---|
| UsagePermissionType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Usage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Usage |
fromString(String name)
Creates or finds a Usage |
|
static
Collection<Usage |
values()
Gets known Usage |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final UsagePermissionType ALLOW
Static value Allow for UsagePermissionType.
DEFAULT
public static final UsagePermissionType DEFAULT
Static value Default for UsagePermissionType.
DENY
public static final UsagePermissionType DENY
Static value Deny for UsagePermissionType.
Constructor Details
UsagePermissionType
@Deprecated
public UsagePermissionType()
Deprecated
Creates a new instance of UsagePermissionType value.
Method Details
fromString
public static UsagePermissionType fromString(String name)
Creates or finds a UsagePermissionType from its string representation.
Parameters:
Returns:
values
public static Collection<UsagePermissionType> values()
Gets known UsagePermissionType values.
Returns: