AddCompartmentDetails

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

Bases: object

Parameter for an existing compartment to be added to a security zone.

Methods

__init__(**kwargs) Initializes a new AddCompartmentDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this AddCompartmentDetails.
__init__(**kwargs)

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

[Required] Gets the compartment_id of this AddCompartmentDetails. The OCID of the compartment to be added to the security zone.

Returns:The compartment_id of this AddCompartmentDetails.
Return type:str