MonitoredResourceAssociationSummary

class oci.stack_monitoring.models.MonitoredResourceAssociationSummary(**kwargs)

Bases: object

Summary of the monitored resource association.

Methods:

__init__(**kwargs)

Initializes a new MonitoredResourceAssociationSummary object with values from keyword arguments.

Attributes:

association_type

[Required] Gets the association_type of this MonitoredResourceAssociationSummary.

defined_tags

Gets the defined_tags of this MonitoredResourceAssociationSummary.

destination_resource_details

Gets the destination_resource_details of this MonitoredResourceAssociationSummary.

destination_resource_id

[Required] Gets the destination_resource_id of this MonitoredResourceAssociationSummary.

freeform_tags

Gets the freeform_tags of this MonitoredResourceAssociationSummary.

source_resource_details

Gets the source_resource_details of this MonitoredResourceAssociationSummary.

source_resource_id

[Required] Gets the source_resource_id of this MonitoredResourceAssociationSummary.

system_tags

Gets the system_tags of this MonitoredResourceAssociationSummary.

time_created

Gets the time_created of this MonitoredResourceAssociationSummary.

__init__(**kwargs)

Initializes a new MonitoredResourceAssociationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • association_type (str) – The value to assign to the association_type property of this MonitoredResourceAssociationSummary.

  • source_resource_id (str) – The value to assign to the source_resource_id property of this MonitoredResourceAssociationSummary.

  • destination_resource_id (str) – The value to assign to the destination_resource_id property of this MonitoredResourceAssociationSummary.

  • time_created (datetime) – The value to assign to the time_created property of this MonitoredResourceAssociationSummary.

  • source_resource_details (oci.stack_monitoring.models.AssociationResourceDetails) – The value to assign to the source_resource_details property of this MonitoredResourceAssociationSummary.

  • destination_resource_details (oci.stack_monitoring.models.AssociationResourceDetails) – The value to assign to the destination_resource_details property of this MonitoredResourceAssociationSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MonitoredResourceAssociationSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MonitoredResourceAssociationSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MonitoredResourceAssociationSummary.

property association_type

[Required] Gets the association_type of this MonitoredResourceAssociationSummary. Association type between source and destination resources.

Returns

The association_type of this MonitoredResourceAssociationSummary.

Return type

str

property defined_tags

Gets the defined_tags of this MonitoredResourceAssociationSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this MonitoredResourceAssociationSummary.

Return type

dict(str, dict(str, object))

property destination_resource_details

Gets the destination_resource_details of this MonitoredResourceAssociationSummary.

Returns

The destination_resource_details of this MonitoredResourceAssociationSummary.

Return type

oci.stack_monitoring.models.AssociationResourceDetails

property destination_resource_id

[Required] Gets the destination_resource_id of this MonitoredResourceAssociationSummary. Destination Monitored Resource Identifier OCID.

Returns

The destination_resource_id of this MonitoredResourceAssociationSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this MonitoredResourceAssociationSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this MonitoredResourceAssociationSummary.

Return type

dict(str, str)

property source_resource_details

Gets the source_resource_details of this MonitoredResourceAssociationSummary.

Returns

The source_resource_details of this MonitoredResourceAssociationSummary.

Return type

oci.stack_monitoring.models.AssociationResourceDetails

property source_resource_id

[Required] Gets the source_resource_id of this MonitoredResourceAssociationSummary. Source Monitored Resource Identifier OCID.

Returns

The source_resource_id of this MonitoredResourceAssociationSummary.

Return type

str

property system_tags

Gets the system_tags of this MonitoredResourceAssociationSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this MonitoredResourceAssociationSummary.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this MonitoredResourceAssociationSummary. The association creation time. An RFC3339 formatted datetime string.

Returns

The time_created of this MonitoredResourceAssociationSummary.

Return type

datetime