SearchAssociatedResourcesDetails

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

Bases: object

The criteria for searching associated monitored resources.

Methods:

__init__(**kwargs)

Initializes a new SearchAssociatedResourcesDetails object with values from keyword arguments.

Attributes:

association_types

Gets the association_types of this SearchAssociatedResourcesDetails.

compartment_id

[Required] Gets the compartment_id of this SearchAssociatedResourcesDetails.

limit_level

Gets the limit_level of this SearchAssociatedResourcesDetails.

resource_id

Gets the resource_id of this SearchAssociatedResourcesDetails.

resource_type

Gets the resource_type of this SearchAssociatedResourcesDetails.

__init__(**kwargs)

Initializes a new SearchAssociatedResourcesDetails 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 SearchAssociatedResourcesDetails.

  • resource_type (str) – The value to assign to the resource_type property of this SearchAssociatedResourcesDetails.

  • resource_id (str) – The value to assign to the resource_id property of this SearchAssociatedResourcesDetails.

  • limit_level (int) – The value to assign to the limit_level property of this SearchAssociatedResourcesDetails.

  • association_types (list[str]) – The value to assign to the association_types property of this SearchAssociatedResourcesDetails.

property association_types

Gets the association_types of this SearchAssociatedResourcesDetails. Association types filter to be searched for finding associated resources.

Returns

The association_types of this SearchAssociatedResourcesDetails.

Return type

list[str]

property compartment_id

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

Returns

The compartment_id of this SearchAssociatedResourcesDetails.

Return type

str

property limit_level

Gets the limit_level of this SearchAssociatedResourcesDetails. The field which determines the depth of hierarchy while searching for associated resources. Possible values - 0 for all levels. And positive number to indicate different levels. Default value is 1, which indicates 1st level associations.

Returns

The limit_level of this SearchAssociatedResourcesDetails.

Return type

int

property resource_id

Gets the resource_id of this SearchAssociatedResourcesDetails. Monitored resource identifier for which the associated resources should be fetched. Either resourceId or resourceType should be provided.

Returns

The resource_id of this SearchAssociatedResourcesDetails.

Return type

str

property resource_type

Gets the resource_type of this SearchAssociatedResourcesDetails. A filter to return associated resources that match resources of type. Either resourceId or resourceType should be provided.

Returns

The resource_type of this SearchAssociatedResourcesDetails.

Return type

str