Share via


ResourceMetricAvailability Class

Definition

Metrics availability and retention.

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

Constructors

ResourceMetricAvailability()

Creates an new ResourceMetricAvailability instance.

Properties

Retention

Retention period for the current time grain.

TimeGrain

Time grain .

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceMetricAvailability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceMetricAvailability.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceMetricAvailability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to