ChangeUnifiedAuditPolicyCompartmentDetails

class oci.data_safe.models.ChangeUnifiedAuditPolicyCompartmentDetails(**kwargs)

Bases: object

Details for which compartment to move the resource to.

Methods:

__init__(**kwargs)

Initializes a new ChangeUnifiedAuditPolicyCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeUnifiedAuditPolicyCompartmentDetails.

__init__(**kwargs)

Initializes a new ChangeUnifiedAuditPolicyCompartmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

compartment_id (str) – The value to assign to the compartment_id property of this ChangeUnifiedAuditPolicyCompartmentDetails.

property compartment_id

[Required] Gets the compartment_id of this ChangeUnifiedAuditPolicyCompartmentDetails. The OCID of the compartment where you want to move the unified audit policy.

Returns

The compartment_id of this ChangeUnifiedAuditPolicyCompartmentDetails.

Return type

str