Share via


MetricAvailability Class

Definition

Retention policy of a resource metric.

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

Constructors

MetricAvailability()

Creates an new MetricAvailability instance.

Properties

BlobDuration
TimeGrain

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetricAvailability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetricAvailability.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetricAvailability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to