Language

AdvancedPlatformMetricsRuleProperties Class

Definition

An object that defines the advanced platform metrics rule.

public class AdvancedPlatformMetricsRuleProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.AdvancedPlatformMetricsRuleProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.AdvancedPlatformMetricsRuleProperties>
type AdvancedPlatformMetricsRuleProperties = class
    interface IJsonModel<AdvancedPlatformMetricsRuleProperties>
    interface IPersistableModel<AdvancedPlatformMetricsRuleProperties>
Public Class AdvancedPlatformMetricsRuleProperties
Implements IJsonModel(Of AdvancedPlatformMetricsRuleProperties), IPersistableModel(Of AdvancedPlatformMetricsRuleProperties)
Inheritance
AdvancedPlatformMetricsRuleProperties
Implements

Constructors

Name Description
AdvancedPlatformMetricsRuleProperties(Boolean, AdvancedPlatformMetricsRuleConfig)

Initializes a new instance of AdvancedPlatformMetricsRuleProperties.

Properties

Name Description
IsEnabled

A boolean flag which enables the advanced platform metrics rule.

LastModifiedOn

Gets the last modification date and time of the advanced platform metrics rule in UTC.

MetricsEmitted

The metrics emitted by the rule. Metrics are mapped according to the rule type from RuleTypeProperty. Rule type to metrics mapping: ContainerLevelCapacityMetrics => {ContainerUsedSize, ContainerBlobCount}.

RuleConfig

Configuration for the advanced platform metrics rule.

RuleType

Indicates the type of the advanced platform metrics rule. Possible values include: ContainerLevelCapacityMetrics.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AdvancedPlatformMetricsRuleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AdvancedPlatformMetricsRuleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AdvancedPlatformMetricsRuleProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AdvancedPlatformMetricsRuleProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AdvancedPlatformMetricsRuleProperties>.Write(ModelReaderWriterOptions)

Applies to