語言

AdvancedPlatformMetricsRule Class

Definition

The advanced platform metrics rule for the storage account.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AdvancedPlatformMetricsRuleTypeConverter))]
public class AdvancedPlatformMetricsRule : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IAdvancedPlatformMetricsRule, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AdvancedPlatformMetricsRuleTypeConverter))>]
type AdvancedPlatformMetricsRule = class
    interface IAdvancedPlatformMetricsRule
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class AdvancedPlatformMetricsRule
Implements IAdvancedPlatformMetricsRule, IValidates
Inheritance
AdvancedPlatformMetricsRule
Attributes
Implements

Constructors

Name Description
AdvancedPlatformMetricsRule()

Creates an new AdvancedPlatformMetricsRule instance.

Properties

Name Description
Enabled

A boolean flag which enables the advanced platform metrics rule.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

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

Name

The name of the resource

ResourceGroupName

Gets the resource group name

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.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AdvancedPlatformMetricsRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AdvancedPlatformMetricsRule.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AdvancedPlatformMetricsRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to