Share via


UsageModel Class

Definition

A usage model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.UsageModelTypeConverter))]
public class UsageModel : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IUsageModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.UsageModelTypeConverter))>]
type UsageModel = class
    interface IUsageModel
    interface IJsonSerializable
Public Class UsageModel
Implements IUsageModel
Inheritance
UsageModel
Attributes
Implements

Constructors

UsageModel()

Creates an new UsageModel instance.

Properties

DisplayDescription

String to display for this usage model.

ModelName

Non-localized keyword name for this usage model.

TargetType

The type of Storage Target to which this model is applicable (only nfs3 as of this version).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UsageModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UsageModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IUsageModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UsageModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to