MonitoredResourcesCountAggregation

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

Bases: object

The count of resources for specified dimension.

Methods

__init__(**kwargs) Initializes a new MonitoredResourcesCountAggregation object with values from keyword arguments.

Attributes

count [Required] Gets the count of this MonitoredResourcesCountAggregation.
dimensions [Required] Gets the dimensions of this MonitoredResourcesCountAggregation.
__init__(**kwargs)

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

Parameters:
  • dimensions (dict(str, str)) – The value to assign to the dimensions property of this MonitoredResourcesCountAggregation.
  • count (int) – The value to assign to the count property of this MonitoredResourcesCountAggregation.
count

[Required] Gets the count of this MonitoredResourcesCountAggregation. the value of this metric

Returns:The count of this MonitoredResourcesCountAggregation.
Return type:int
dimensions

[Required] Gets the dimensions of this MonitoredResourcesCountAggregation. Qualifiers provided in a metric definition. Available dimensions vary based on groupBy parameter. Each dimension takes the form of a key-value pair.

Example: “resourceType”: “oci_autonomous_database”

Returns:The dimensions of this MonitoredResourcesCountAggregation.
Return type:dict(str, str)