ImagePolicyConfig¶
- class oci.container_engine.models.ImagePolicyConfig(**kwargs)¶
Bases:
objectThe properties that define a image verification policy.
Methods:
__init__(**kwargs)Initializes a new ImagePolicyConfig object with values from keyword arguments.
Attributes:
Gets the is_policy_enabled of this ImagePolicyConfig.
Gets the key_details of this ImagePolicyConfig.
- __init__(**kwargs)¶
Initializes a new ImagePolicyConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_policy_enabled (bool) – The value to assign to the is_policy_enabled property of this ImagePolicyConfig.
key_details (list[oci.container_engine.models.KeyDetails]) – The value to assign to the key_details property of this ImagePolicyConfig.
- property is_policy_enabled¶
Gets the is_policy_enabled of this ImagePolicyConfig. Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- Returns
The is_policy_enabled of this ImagePolicyConfig.
- Return type
bool
- property key_details¶
Gets the key_details of this ImagePolicyConfig. A list of KMS key details.
- Returns
The key_details of this ImagePolicyConfig.
- Return type