AssociateMonitoredResourcesDetails¶
-
class
oci.stack_monitoring.models.
AssociateMonitoredResourcesDetails
(**kwargs)¶ Bases:
object
The information required to create new monitored resource association.
Methods
__init__
(**kwargs)Initializes a new AssociateMonitoredResourcesDetails object with values from keyword arguments. Attributes
association_type
[Required] Gets the association_type of this AssociateMonitoredResourcesDetails. compartment_id
[Required] Gets the compartment_id of this AssociateMonitoredResourcesDetails. destination_resource_id
[Required] Gets the destination_resource_id of this AssociateMonitoredResourcesDetails. source_resource_id
[Required] Gets the source_resource_id of this AssociateMonitoredResourcesDetails. -
__init__
(**kwargs)¶ Initializes a new AssociateMonitoredResourcesDetails 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 AssociateMonitoredResourcesDetails.
- association_type (str) – The value to assign to the association_type property of this AssociateMonitoredResourcesDetails.
- source_resource_id (str) – The value to assign to the source_resource_id property of this AssociateMonitoredResourcesDetails.
- destination_resource_id (str) – The value to assign to the destination_resource_id property of this AssociateMonitoredResourcesDetails.
-
association_type
¶ [Required] Gets the association_type of this AssociateMonitoredResourcesDetails. Association type to be created between source and destination resources.
Returns: The association_type of this AssociateMonitoredResourcesDetails. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this AssociateMonitoredResourcesDetails. Compartment Identifier OCID.
Returns: The compartment_id of this AssociateMonitoredResourcesDetails. Return type: str
-