DevCenterSku Class

Definition

The resource model definition representing SKU for DevCenter resources

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.DevCenterSkuTypeConverter))]
public class DevCenterSku : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IDevCenterSku, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.DevCenterSkuTypeConverter))>]
type DevCenterSku = class
    interface IDevCenterSku
    interface IJsonSerializable
    interface ISku
    interface IValidates
Public Class DevCenterSku
Implements IDevCenterSku, IValidates
Inheritance
DevCenterSku
Attributes
Implements

Constructors

DevCenterSku()

Creates an new DevCenterSku instance.

Properties

Capability

Collection of name/value pairs to describe the SKU capabilities.

Capacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Family

If the service has different generations of hardware, for the same SKU, then that can be captured here.

Location

SKU supported locations.

Name

The name of the SKU. Ex - P3. It is typically a letter+number code

ResourceType

The name of the resource type

Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

Tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevCenterSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevCenterSku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IDevCenterSku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevCenterSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to