RestrictionLevel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. RestrictionLevel
- com.
- com.
public final class RestrictionLevel
extends ExpandableStringEnum<RestrictionLevel>
The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Restriction |
READ_ONLY
Static value Read |
static final
Restriction |
UNRESTRICTED
Static value Unrestricted for Restriction |
Constructor Summary
Constructor | Description |
---|---|
RestrictionLevel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Restriction |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Restriction |
fromString(String name)
Creates or finds a Restriction |
static
Collection<Restriction |
values()
Gets known Restriction |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
READ_ONLY
public static final RestrictionLevel READ_ONLY
Static value ReadOnly for RestrictionLevel.
UNRESTRICTED
public static final RestrictionLevel UNRESTRICTED
Static value Unrestricted for RestrictionLevel.
Constructor Details
RestrictionLevel
@Deprecated
public RestrictionLevel()
Deprecated
Creates a new instance of RestrictionLevel value.
Method Details
fromString
public static RestrictionLevel fromString(String name)
Creates or finds a RestrictionLevel from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known RestrictionLevel values.
Returns: