Partager via


ResourceMetricDefinitionProperties1 Class

Definition

ResourceMetricDefinition resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceMetricDefinitionProperties1TypeConverter))]
public class ResourceMetricDefinitionProperties1 : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceMetricDefinitionProperties1
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceMetricDefinitionProperties1TypeConverter))>]
type ResourceMetricDefinitionProperties1 = class
    interface IResourceMetricDefinitionProperties1
    interface IJsonSerializable
Public Class ResourceMetricDefinitionProperties1
Implements IResourceMetricDefinitionProperties1
Inheritance
ResourceMetricDefinitionProperties1
Attributes
Implements

Constructors

ResourceMetricDefinitionProperties1()

Creates an new ResourceMetricDefinitionProperties1 instance.

Properties

MetricAvailability

List of time grains supported for the metric together with retention period.

PrimaryAggregationType

Primary aggregation type.

Property

Resource metric definition properties.

ResourceUri

Resource URI.

Unit

Unit of the metric.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceMetricDefinitionProperties1.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceMetricDefinitionProperties1.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceMetricDefinitionProperties1.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceMetricDefinitionProperties1 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to