SearchMonitoredResourceAssociationsDetails

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

Bases: object

The information required to search monitored resource associations.

Attributes

SORT_BY_ASSOC_TYPE A constant which can be used with the sort_by property of a SearchMonitoredResourceAssociationsDetails.
SORT_BY_TIME_CREATED A constant which can be used with the sort_by property of a SearchMonitoredResourceAssociationsDetails.
SORT_ORDER_ASC A constant which can be used with the sort_order property of a SearchMonitoredResourceAssociationsDetails.
SORT_ORDER_DESC A constant which can be used with the sort_order property of a SearchMonitoredResourceAssociationsDetails.
association_type Gets the association_type of this SearchMonitoredResourceAssociationsDetails.
compartment_id [Required] Gets the compartment_id of this SearchMonitoredResourceAssociationsDetails.
destination_resource_id Gets the destination_resource_id of this SearchMonitoredResourceAssociationsDetails.
destination_resource_name Gets the destination_resource_name of this SearchMonitoredResourceAssociationsDetails.
destination_resource_type Gets the destination_resource_type of this SearchMonitoredResourceAssociationsDetails.
sort_by Gets the sort_by of this SearchMonitoredResourceAssociationsDetails.
sort_order Gets the sort_order of this SearchMonitoredResourceAssociationsDetails.
source_resource_id Gets the source_resource_id of this SearchMonitoredResourceAssociationsDetails.
source_resource_name Gets the source_resource_name of this SearchMonitoredResourceAssociationsDetails.
source_resource_type Gets the source_resource_type of this SearchMonitoredResourceAssociationsDetails.

Methods

__init__(**kwargs) Initializes a new SearchMonitoredResourceAssociationsDetails object with values from keyword arguments.
SORT_BY_ASSOC_TYPE = 'ASSOC_TYPE'

A constant which can be used with the sort_by property of a SearchMonitoredResourceAssociationsDetails. This constant has a value of “ASSOC_TYPE”

SORT_BY_TIME_CREATED = 'TIME_CREATED'

A constant which can be used with the sort_by property of a SearchMonitoredResourceAssociationsDetails. This constant has a value of “TIME_CREATED”

SORT_ORDER_ASC = 'ASC'

A constant which can be used with the sort_order property of a SearchMonitoredResourceAssociationsDetails. This constant has a value of “ASC”

SORT_ORDER_DESC = 'DESC'

A constant which can be used with the sort_order property of a SearchMonitoredResourceAssociationsDetails. This constant has a value of “DESC”

__init__(**kwargs)

Initializes a new SearchMonitoredResourceAssociationsDetails 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 SearchMonitoredResourceAssociationsDetails.
  • source_resource_id (str) – The value to assign to the source_resource_id property of this SearchMonitoredResourceAssociationsDetails.
  • source_resource_name (str) – The value to assign to the source_resource_name property of this SearchMonitoredResourceAssociationsDetails.
  • source_resource_type (str) – The value to assign to the source_resource_type property of this SearchMonitoredResourceAssociationsDetails.
  • destination_resource_id (str) – The value to assign to the destination_resource_id property of this SearchMonitoredResourceAssociationsDetails.
  • destination_resource_name (str) – The value to assign to the destination_resource_name property of this SearchMonitoredResourceAssociationsDetails.
  • destination_resource_type (str) – The value to assign to the destination_resource_type property of this SearchMonitoredResourceAssociationsDetails.
  • association_type (str) – The value to assign to the association_type property of this SearchMonitoredResourceAssociationsDetails.
  • sort_by (str) – The value to assign to the sort_by property of this SearchMonitoredResourceAssociationsDetails. Allowed values for this property are: “TIME_CREATED”, “ASSOC_TYPE”
  • sort_order (str) – The value to assign to the sort_order property of this SearchMonitoredResourceAssociationsDetails. Allowed values for this property are: “ASC”, “DESC”
association_type

Gets the association_type of this SearchMonitoredResourceAssociationsDetails. Association type filter to search associated resources.

Returns:The association_type of this SearchMonitoredResourceAssociationsDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this SearchMonitoredResourceAssociationsDetails. Compartment Identifier OCID.

Returns:The compartment_id of this SearchMonitoredResourceAssociationsDetails.
Return type:str
destination_resource_id

Gets the destination_resource_id of this SearchMonitoredResourceAssociationsDetails. Destination Monitored Resource Identifier OCID.

Returns:The destination_resource_id of this SearchMonitoredResourceAssociationsDetails.
Return type:str
destination_resource_name

Gets the destination_resource_name of this SearchMonitoredResourceAssociationsDetails. Source Monitored Resource Name.

Returns:The destination_resource_name of this SearchMonitoredResourceAssociationsDetails.
Return type:str
destination_resource_type

Gets the destination_resource_type of this SearchMonitoredResourceAssociationsDetails. Source Monitored Resource Type.

Returns:The destination_resource_type of this SearchMonitoredResourceAssociationsDetails.
Return type:str
sort_by

Gets the sort_by of this SearchMonitoredResourceAssociationsDetails. The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for assocType is descending.

Allowed values for this property are: “TIME_CREATED”, “ASSOC_TYPE”

Returns:The sort_by of this SearchMonitoredResourceAssociationsDetails.
Return type:str
sort_order

Gets the sort_order of this SearchMonitoredResourceAssociationsDetails. The sort order to use, either ‘ASC’ or ‘DESC’.

Allowed values for this property are: “ASC”, “DESC”

Returns:The sort_order of this SearchMonitoredResourceAssociationsDetails.
Return type:str
source_resource_id

Gets the source_resource_id of this SearchMonitoredResourceAssociationsDetails. Source Monitored Resource Identifier OCID.

Returns:The source_resource_id of this SearchMonitoredResourceAssociationsDetails.
Return type:str
source_resource_name

Gets the source_resource_name of this SearchMonitoredResourceAssociationsDetails. Source Monitored Resource Name.

Returns:The source_resource_name of this SearchMonitoredResourceAssociationsDetails.
Return type:str
source_resource_type

Gets the source_resource_type of this SearchMonitoredResourceAssociationsDetails. Source Monitored Resource Type.

Returns:The source_resource_type of this SearchMonitoredResourceAssociationsDetails.
Return type:str