RequestSummarizedMetricExtensionsMetricsDetails

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

Bases: object

Filtering criteria data to be specified in the request. Either metricExtensionId or compartmentId must be passed even when no other filter property is passed.

Attributes:

SORT_BY_COUNT

A constant which can be used with the sort_by property of a RequestSummarizedMetricExtensionsMetricsDetails.

SORT_ORDER_ASC

A constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsMetricsDetails.

SORT_ORDER_DESC

A constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsMetricsDetails.

compartment_id

Gets the compartment_id of this RequestSummarizedMetricExtensionsMetricsDetails.

contains_metric_with_name

Gets the contains_metric_with_name of this RequestSummarizedMetricExtensionsMetricsDetails.

metric_extension_id

Gets the metric_extension_id of this RequestSummarizedMetricExtensionsMetricsDetails.

resource_type

Gets the resource_type of this RequestSummarizedMetricExtensionsMetricsDetails.

sort_by

Gets the sort_by of this RequestSummarizedMetricExtensionsMetricsDetails.

sort_order

Gets the sort_order of this RequestSummarizedMetricExtensionsMetricsDetails.

Methods:

__init__(**kwargs)

Initializes a new RequestSummarizedMetricExtensionsMetricsDetails object with values from keyword arguments.

SORT_BY_COUNT = 'COUNT'

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

SORT_ORDER_ASC = 'ASC'

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

SORT_ORDER_DESC = 'DESC'

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

__init__(**kwargs)

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

Parameters
  • metric_extension_id (str) – The value to assign to the metric_extension_id property of this RequestSummarizedMetricExtensionsMetricsDetails.

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

  • compartment_id (str) – The value to assign to the compartment_id property of this RequestSummarizedMetricExtensionsMetricsDetails.

  • contains_metric_with_name (str) – The value to assign to the contains_metric_with_name property of this RequestSummarizedMetricExtensionsMetricsDetails.

  • sort_by (str) – The value to assign to the sort_by property of this RequestSummarizedMetricExtensionsMetricsDetails. Allowed values for this property are: “COUNT”

  • sort_order (str) – The value to assign to the sort_order property of this RequestSummarizedMetricExtensionsMetricsDetails. Allowed values for this property are: “ASC”, “DESC”

property compartment_id

Gets the compartment_id of this RequestSummarizedMetricExtensionsMetricsDetails. Compartment Identifier OCID

Returns

The compartment_id of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str

property contains_metric_with_name

Gets the contains_metric_with_name of this RequestSummarizedMetricExtensionsMetricsDetails. Filter for metric extension resources which contain the given metric name

Returns

The contains_metric_with_name of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str

property metric_extension_id

Gets the metric_extension_id of this RequestSummarizedMetricExtensionsMetricsDetails. The OCID of Metric Extension resource

Returns

The metric_extension_id of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str

property resource_type

Gets the resource_type of this RequestSummarizedMetricExtensionsMetricsDetails. Resource type to which Metric Extension applies

Returns

The resource_type of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str

property sort_by

Gets the sort_by of this RequestSummarizedMetricExtensionsMetricsDetails. Result will ne sorted by this parameter value

Allowed values for this property are: “COUNT”

Returns

The sort_by of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str

property sort_order

Gets the sort_order of this RequestSummarizedMetricExtensionsMetricsDetails. Sort orders

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

Returns

The sort_order of this RequestSummarizedMetricExtensionsMetricsDetails.

Return type

str