ChangeSecurityPolicyCompartmentDetails

class oci.cloud_guard.models.ChangeSecurityPolicyCompartmentDetails(**kwargs)

Bases: object

Parameters to be used to move a security policy to a different compartment.

Methods:

__init__(**kwargs)

Initializes a new ChangeSecurityPolicyCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeSecurityPolicyCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeSecurityPolicyCompartmentDetails. The OCID of the compartment into which the resource should be moved.

Returns

The compartment_id of this ChangeSecurityPolicyCompartmentDetails.

Return type

str