Enum AdmissionRule.EnforcementMode (1.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Static 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 = 2;
|
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.
DRYRUN_AUDIT_LOG_ONLY = 2;
|
ENFORCED_BLOCK_AND_AUDIT_LOG | Enforce the admission rule by blocking the pod creation.
ENFORCED_BLOCK_AND_AUDIT_LOG = 1;
|
ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE | Enforce the admission rule by blocking the pod creation.
ENFORCED_BLOCK_AND_AUDIT_LOG = 1;
|
ENFORCEMENT_MODE_UNSPECIFIED | Do not use.
ENFORCEMENT_MODE_UNSPECIFIED = 0;
|
ENFORCEMENT_MODE_UNSPECIFIED_VALUE | Do not use.
ENFORCEMENT_MODE_UNSPECIFIED = 0;
|
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() | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-15 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]