HostEndpointSettingsModeTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. batch. models. HostEndpointSettingsModeTypes
- com.
- com.
public final class HostEndpointSettingsModeTypes
extends ExpandableStringEnum<HostEndpointSettingsModeTypes>
Specifies the access control policy execution mode.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Host |
AUDIT
In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. |
|
static final
Host |
ENFORCE
Enforce mode is the recommended mode of operation and system will enforce the access control policy. |
Constructor Summary
| Constructor | Description |
|---|---|
| HostEndpointSettingsModeTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Host |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Host |
fromString(String name)
Creates or finds a Host |
|
static
Collection<Host |
values()
Gets known Host |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUDIT
public static final HostEndpointSettingsModeTypes AUDIT
In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints.
ENFORCE
public static final HostEndpointSettingsModeTypes ENFORCE
Enforce mode is the recommended mode of operation and system will enforce the access control policy. This property cannot be used together with 'inVMAccessControlProfileReferenceId'.
Constructor Details
HostEndpointSettingsModeTypes
@Deprecated
public HostEndpointSettingsModeTypes()
Deprecated
Creates a new instance of HostEndpointSettingsModeTypes value.
Method Details
fromString
public static HostEndpointSettingsModeTypes fromString(String name)
Creates or finds a HostEndpointSettingsModeTypes from its string representation.
Parameters:
Returns:
values
public static Collection<HostEndpointSettingsModeTypes> values()
Gets known HostEndpointSettingsModeTypes values.
Returns: