Compartir a través de


ResourceUsage Class

Definition

Output of check resource usage API.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.ResourceUsageTypeConverter))]
public class ResourceUsage : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResourceUsage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.ResourceUsageTypeConverter))>]
type ResourceUsage = class
    interface IResourceUsage
    interface IJsonSerializable
Public Class ResourceUsage
Implements IResourceUsage
Inheritance
ResourceUsage
Attributes
Implements

Constructors

ResourceUsage()

Creates an new ResourceUsage instance.

Properties

CurrentValue

Actual value of usage on the specified resource type.

Limit

Quota of the specified resource type.

ResourceType

Resource type for which the usage is provided.

Unit

Unit of the usage. e.g. count.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceUsage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceUsage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResourceUsage.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceUsage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to