BulkCreateUnifiedAuditPolicyDetails¶
- class oci.data_safe.models.BulkCreateUnifiedAuditPolicyDetails(**kwargs)¶
Bases:
objectThe details required to bulk create unified audit policies.
Methods:
__init__(**kwargs)Initializes a new BulkCreateUnifiedAuditPolicyDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this BulkCreateUnifiedAuditPolicyDetails.
Gets the policy_names of this BulkCreateUnifiedAuditPolicyDetails.
[Required] Gets the security_policy_id of this BulkCreateUnifiedAuditPolicyDetails.
Gets the should_preserve_casing of this BulkCreateUnifiedAuditPolicyDetails.
[Required] Gets the target_id of this BulkCreateUnifiedAuditPolicyDetails.
Gets the unified_audit_policy_definition_ids of this BulkCreateUnifiedAuditPolicyDetails.
- __init__(**kwargs)¶
Initializes a new BulkCreateUnifiedAuditPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
security_policy_id (str) – The value to assign to the security_policy_id property of this BulkCreateUnifiedAuditPolicyDetails.
target_id (str) – The value to assign to the target_id property of this BulkCreateUnifiedAuditPolicyDetails.
unified_audit_policy_definition_ids (list[str]) – The value to assign to the unified_audit_policy_definition_ids property of this BulkCreateUnifiedAuditPolicyDetails.
policy_names (list[str]) – The value to assign to the policy_names property of this BulkCreateUnifiedAuditPolicyDetails.
compartment_id (str) – The value to assign to the compartment_id property of this BulkCreateUnifiedAuditPolicyDetails.
should_preserve_casing (bool) – The value to assign to the should_preserve_casing property of this BulkCreateUnifiedAuditPolicyDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this BulkCreateUnifiedAuditPolicyDetails. The OCID of the compartment in which to create the unified audit policy.
- Returns
The compartment_id of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
str
- property policy_names¶
Gets the policy_names of this BulkCreateUnifiedAuditPolicyDetails. The list of unified audit policy names to be imported.
- Returns
The policy_names of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
list[str]
- property security_policy_id¶
[Required] Gets the security_policy_id of this BulkCreateUnifiedAuditPolicyDetails. The OCID of the security policy corresponding to the unified audit policy.
- Returns
The security_policy_id of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
str
- property should_preserve_casing¶
Gets the should_preserve_casing of this BulkCreateUnifiedAuditPolicyDetails. Indicates whether the casing of the policy names provided in the request payload should be preserved during creation. By default all policy names will be converted to upper case.
- Returns
The should_preserve_casing of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
bool
- property target_id¶
[Required] Gets the target_id of this BulkCreateUnifiedAuditPolicyDetails. The OCID of the target database.
- Returns
The target_id of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
str
- property unified_audit_policy_definition_ids¶
Gets the unified_audit_policy_definition_ids of this BulkCreateUnifiedAuditPolicyDetails. The list of unified audit policy definition ocids. If unified audit policy definition ids are provided, the imported audit policy will be associated to the specified unified audit policy definition based on the policy name. Else, for every audit policy that gets imported, a new unified audit policy definition will be created.
- Returns
The unified_audit_policy_definition_ids of this BulkCreateUnifiedAuditPolicyDetails.
- Return type
list[str]