CreateImagePolicyConfigDetails

class oci.container_engine.models.CreateImagePolicyConfigDetails(**kwargs)

Bases: object

The properties that define a image verification policy.

Methods:

__init__(**kwargs)

Initializes a new CreateImagePolicyConfigDetails object with values from keyword arguments.

Attributes:

is_policy_enabled

Gets the is_policy_enabled of this CreateImagePolicyConfigDetails.

key_details

Gets the key_details of this CreateImagePolicyConfigDetails.

__init__(**kwargs)

Initializes a new CreateImagePolicyConfigDetails 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 CreateImagePolicyConfigDetails.

  • key_details (list[oci.container_engine.models.KeyDetails]) – The value to assign to the key_details property of this CreateImagePolicyConfigDetails.

property is_policy_enabled

Gets the is_policy_enabled of this CreateImagePolicyConfigDetails. 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 CreateImagePolicyConfigDetails.

Return type

bool

property key_details

Gets the key_details of this CreateImagePolicyConfigDetails. A list of KMS key details.

Returns

The key_details of this CreateImagePolicyConfigDetails.

Return type

list[oci.container_engine.models.KeyDetails]