Share via


ResourceSku Class

Definition

A resource SKU.

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

Constructors

ResourceSku()

Creates an new ResourceSku instance.

Properties

Capability

A list of capabilities of this SKU, such as throughput or ops/sec.

Location

The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).

LocationInfo

The set of locations where the SKU is available.

Name

The name of this SKU.

ResourceType

The type of resource the SKU applies to.

Restriction

The restrictions preventing this SKU from being used. This is empty if there are no restrictions.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceSku.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to