ResourceUsage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The usage and limit (quota) for a resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ResourceUsageTypeConverter))]
public class ResourceUsage : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IResourceUsage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.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 |
The current usage of this resource. |
Limit |
The limit (quota) for this resource. |
NameLocalizedValue |
Localized name for this resource type. |
NameValue |
Canonical name for this resource type. |
Unit |
Unit that the limit and usages are expressed in, such as '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.StorageCache.Models.Api20230501.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() |