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