public enum AdmissionRule.EnforcementMode extends Enum<AdmissionRule.EnforcementMode> implements ProtocolMessageEnum
Defines the possible actions when a pod creation is denied by an admission rule.
Protobuf enum google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
DRYRUN_AUDIT_LOG_ONLY | Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass. |
DRYRUN_AUDIT_LOG_ONLY_VALUE | Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass. |
ENFORCED_BLOCK_AND_AUDIT_LOG | Enforce the admission rule by blocking the pod creation. |
ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE | Enforce the admission rule by blocking the pod creation. |
ENFORCEMENT_MODE_UNSPECIFIED | Do not use. |
ENFORCEMENT_MODE_UNSPECIFIED_VALUE | Do not use. |
UNRECOGNIZED |
Static Methods
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |