RequestSummarizedMetricExtensionsResourcesDetails¶
-
class
oci.stack_monitoring.models.RequestSummarizedMetricExtensionsResourcesDetails(**kwargs)¶ Bases:
objectFiltering criteria data to be specified in the request. Either metricExtensionId or compartmentId must be passed even when no other filter property is passed.
Attributes
ASSOCIATION_STATUS_DISABLEDA constant which can be used with the association_status property of a RequestSummarizedMetricExtensionsResourcesDetails. ASSOCIATION_STATUS_ENABLEDA constant which can be used with the association_status property of a RequestSummarizedMetricExtensionsResourcesDetails. GROUP_BY_METRIC_EXTENSION_IDA constant which can be used with the group_by property of a RequestSummarizedMetricExtensionsResourcesDetails. SORT_BY_COUNTA constant which can be used with the sort_by property of a RequestSummarizedMetricExtensionsResourcesDetails. SORT_ORDER_ASCA constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsResourcesDetails. SORT_ORDER_DESCA constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsResourcesDetails. association_statusGets the association_status of this RequestSummarizedMetricExtensionsResourcesDetails. compartment_idGets the compartment_id of this RequestSummarizedMetricExtensionsResourcesDetails. group_byGets the group_by of this RequestSummarizedMetricExtensionsResourcesDetails. metric_extension_idGets the metric_extension_id of this RequestSummarizedMetricExtensionsResourcesDetails. resource_idGets the resource_id of this RequestSummarizedMetricExtensionsResourcesDetails. resource_typeGets the resource_type of this RequestSummarizedMetricExtensionsResourcesDetails. sort_byGets the sort_by of this RequestSummarizedMetricExtensionsResourcesDetails. sort_orderGets the sort_order of this RequestSummarizedMetricExtensionsResourcesDetails. Methods
__init__(**kwargs)Initializes a new RequestSummarizedMetricExtensionsResourcesDetails object with values from keyword arguments. -
ASSOCIATION_STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the association_status property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “DISABLED”
-
ASSOCIATION_STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the association_status property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “ENABLED”
-
GROUP_BY_METRIC_EXTENSION_ID= 'METRIC_EXTENSION_ID'¶ A constant which can be used with the group_by property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “METRIC_EXTENSION_ID”
-
SORT_BY_COUNT= 'COUNT'¶ A constant which can be used with the sort_by property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “COUNT”
-
SORT_ORDER_ASC= 'ASC'¶ A constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “ASC”
-
SORT_ORDER_DESC= 'DESC'¶ A constant which can be used with the sort_order property of a RequestSummarizedMetricExtensionsResourcesDetails. This constant has a value of “DESC”
-
__init__(**kwargs)¶ Initializes a new RequestSummarizedMetricExtensionsResourcesDetails 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 RequestSummarizedMetricExtensionsResourcesDetails.
- resource_type (str) – The value to assign to the resource_type property of this RequestSummarizedMetricExtensionsResourcesDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this RequestSummarizedMetricExtensionsResourcesDetails.
- association_status (str) – The value to assign to the association_status property of this RequestSummarizedMetricExtensionsResourcesDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- resource_id (str) – The value to assign to the resource_id property of this RequestSummarizedMetricExtensionsResourcesDetails.
- group_by (str) – The value to assign to the group_by property of this RequestSummarizedMetricExtensionsResourcesDetails. Allowed values for this property are: “METRIC_EXTENSION_ID”
- sort_by (str) – The value to assign to the sort_by property of this RequestSummarizedMetricExtensionsResourcesDetails. Allowed values for this property are: “COUNT”
- sort_order (str) – The value to assign to the sort_order property of this RequestSummarizedMetricExtensionsResourcesDetails. Allowed values for this property are: “ASC”, “DESC”
-
association_status¶ Gets the association_status of this RequestSummarizedMetricExtensionsResourcesDetails. Filter to return metric extensions based on input enable status i.e. Enabled/Disabled
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The association_status of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
compartment_id¶ Gets the compartment_id of this RequestSummarizedMetricExtensionsResourcesDetails. Compartment Identifier OCID
Returns: The compartment_id of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
group_by¶ Gets the group_by of this RequestSummarizedMetricExtensionsResourcesDetails. The field to group by
Allowed values for this property are: “METRIC_EXTENSION_ID”
Returns: The group_by of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
metric_extension_id¶ Gets the metric_extension_id of this RequestSummarizedMetricExtensionsResourcesDetails. The OCID of Metric Extension resource
Returns: The metric_extension_id of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
resource_id¶ Gets the resource_id of this RequestSummarizedMetricExtensionsResourcesDetails. The OCID of Monitored Resource
Returns: The resource_id of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
resource_type¶ Gets the resource_type of this RequestSummarizedMetricExtensionsResourcesDetails. Resource type to which Metric Extension applies
Returns: The resource_type of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
sort_by¶ Gets the sort_by of this RequestSummarizedMetricExtensionsResourcesDetails. Result will ne sorted by this parameter value
Allowed values for this property are: “COUNT”
Returns: The sort_by of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-
sort_order¶ Gets the sort_order of this RequestSummarizedMetricExtensionsResourcesDetails. Sort orders
Allowed values for this property are: “ASC”, “DESC”
Returns: The sort_order of this RequestSummarizedMetricExtensionsResourcesDetails. Return type: str
-