Share via


UsageProperties Class

Definition

Usage resource specific properties

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

Constructors

UsageProperties()

Creates an new UsageProperties instance.

Properties

ComputeMode

Compute mode used for this usage.

CurrentValue

The current value of the resource counter.

DisplayName

Friendly name shown in the UI.

Limit

The resource limit.

NextResetTime

Next reset time for the resource counter.

ResourceName

Name of the quota resource.

SiteMode

Site mode used for this usage.

Unit

Units of measurement for the quota resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UsageProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UsageProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UsageProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to