MetricSpecification Class

Description of metrics specification.

Inheritance
MetricSpecification

Constructor

MetricSpecification(*, name: typing.Union[str, NoneType] = None, display_name: typing.Union[str, NoneType] = None, display_description: typing.Union[str, NoneType] = None, unit: typing.Union[str, NoneType] = None, aggregation_type: typing.Union[str, NoneType] = None, availabilities: typing.Union[typing.List[_ForwardRef('Availability')], NoneType] = None, enable_regional_mdm_account: typing.Union[bool, NoneType] = None, fill_gap_with_zero: typing.Union[bool, NoneType] = None, metric_filter_pattern: typing.Union[str, NoneType] = None, dimensions: typing.Union[typing.List[_ForwardRef('Dimension')], NoneType] = None, is_internal: typing.Union[bool, NoneType] = None, source_mdm_account: typing.Union[str, NoneType] = None, source_mdm_namespace: typing.Union[str, NoneType] = None, resource_id_dimension_name_override: typing.Union[str, NoneType] = None, **kwargs)

Parameters

name
str

The name of the metric.

display_name
str

The display name of the metric.

display_description
str

The description of the metric.

unit
str

Units the metric to be displayed in.

aggregation_type
str

The aggregation type.

availabilities
list[Availability]

List of availability.

enable_regional_mdm_account
bool

Whether regional MDM account enabled.

fill_gap_with_zero
bool

Whether gaps would be filled with zeros.

metric_filter_pattern
str

Pattern for the filter of the metric.

dimensions
list[Dimension]

List of dimensions.

is_internal
bool

Whether the metric is internal.

source_mdm_account
str

The source MDM account.

source_mdm_namespace
str

The source MDM namespace.

resource_id_dimension_name_override
str

The resource Id dimension name override.