AccessControlRulesMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. AccessControlRulesMode
- com.
- com.
public final class AccessControlRulesMode
extends ExpandableStringEnum<AccessControlRulesMode>
This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Access |
AUDIT
Static value Audit for Access |
static final
Access |
DISABLED
Static value Disabled for Access |
static final
Access |
ENFORCE
Static value Enforce for Access |
Constructor Summary
Constructor | Description |
---|---|
AccessControlRulesMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Access |
fromString(String name)
Creates or finds a Access |
static
Collection<Access |
values()
Gets known Access |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUDIT
public static final AccessControlRulesMode AUDIT
Static value Audit for AccessControlRulesMode.
DISABLED
public static final AccessControlRulesMode DISABLED
Static value Disabled for AccessControlRulesMode.
ENFORCE
public static final AccessControlRulesMode ENFORCE
Static value Enforce for AccessControlRulesMode.
Constructor Details
AccessControlRulesMode
@Deprecated
public AccessControlRulesMode()
Deprecated
Creates a new instance of AccessControlRulesMode value.
Method Details
fromString
public static AccessControlRulesMode fromString(String name)
Creates or finds a AccessControlRulesMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AccessControlRulesMode values.
Returns:
Applies to
Azure SDK for Java