ChangeAlertPolicyCompartmentDetails¶
-
class
oci.data_safe.models.
ChangeAlertPolicyCompartmentDetails
(**kwargs)¶ Bases:
object
The details used to change the compartment of an alert policy.
Methods
__init__
(**kwargs)Initializes a new ChangeAlertPolicyCompartmentDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this ChangeAlertPolicyCompartmentDetails. -
__init__
(**kwargs)¶ Initializes a new ChangeAlertPolicyCompartmentDetails 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 ChangeAlertPolicyCompartmentDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this ChangeAlertPolicyCompartmentDetails. The OCID of the compartment where the alert policy has to be moved.
Returns: The compartment_id of this ChangeAlertPolicyCompartmentDetails. Return type: str
-