語言

AdvancedPlatformMetricsRuleProperties Class

Definition

An object that defines the advanced platform metrics rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AdvancedPlatformMetricsRulePropertiesTypeConverter))]
public class AdvancedPlatformMetricsRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IAdvancedPlatformMetricsRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AdvancedPlatformMetricsRulePropertiesTypeConverter))>]
type AdvancedPlatformMetricsRuleProperties = class
    interface IAdvancedPlatformMetricsRuleProperties
    interface IJsonSerializable
Public Class AdvancedPlatformMetricsRuleProperties
Implements IAdvancedPlatformMetricsRuleProperties
Inheritance
AdvancedPlatformMetricsRuleProperties
Attributes
Implements

Constructors

Name Description
AdvancedPlatformMetricsRuleProperties()

Creates an new AdvancedPlatformMetricsRuleProperties instance.

Properties

Name Description
Enabled

A boolean flag which enables the advanced platform metrics rule.

LastModifiedTime

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}.

RuleConfigFilterType

The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter.

RuleConfigFilterValue

The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names.

RuleType

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AdvancedPlatformMetricsRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AdvancedPlatformMetricsRuleProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IAdvancedPlatformMetricsRuleProperties.

FromJsonString(String)

Creates a new instance of AdvancedPlatformMetricsRuleProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AdvancedPlatformMetricsRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to