AdvancedPlatformMetricsRuleProperties Class
An object that defines the advanced platform metrics rule.
Constructor
AdvancedPlatformMetricsRuleProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
rule_type
|
Indicates the type of the advanced platform metrics rule. Possible values include: ContainerLevelCapacityMetrics. "ContainerLevelCapacityMetrics" |
|
enabled
|
A boolean flag which enables the advanced platform metrics rule. Required. |
|
last_modified_time
|
Gets the last modification date and time of the advanced platform metrics rule in UTC. |
|
metrics_emitted
|
The metrics emitted by the rule. Metrics are mapped according to the rule type from RuleTypeProperty. Rule type to metrics mapping: ContainerLevelCapacityMetrics => {ContainerUsedSize, ContainerBlobCount}. |
|
rule_config
|
Configuration for the advanced platform metrics rule. Required. |
Attributes
enabled
A boolean flag which enables the advanced platform metrics rule. Required.
enabled: bool
last_modified_time
Gets the last modification date and time of the advanced platform metrics rule in UTC.
last_modified_time: datetime | None
metrics_emitted
The metrics emitted by the rule. Metrics are mapped according to the rule type from RuleTypeProperty. Rule type to metrics mapping: ContainerLevelCapacityMetrics => {ContainerUsedSize, ContainerBlobCount}.
metrics_emitted: list[typing.Union[str, ForwardRef('_models.MetricsEmitted')]] | None
rule_config
Configuration for the advanced platform metrics rule. Required.
rule_config: _models.AdvancedPlatformMetricsRuleConfig
rule_type
Indicates the type of the advanced platform metrics rule. Possible values include: ContainerLevelCapacityMetrics. "ContainerLevelCapacityMetrics"
rule_type: str | _models.AdvancedPlatformMetricsRuleType | None