Compartilhar via


PartialSku Class

Definition

Common SKU definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.PartialSkuTypeConverter))]
public class PartialSku : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IPartialSku
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.PartialSkuTypeConverter))>]
type PartialSku = class
    interface IPartialSku
    interface IJsonSerializable
Public Class PartialSku
Implements IPartialSku
Inheritance
PartialSku
Attributes
Implements

Constructors

PartialSku()

Creates an new PartialSku instance.

Properties

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.

Name

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

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 PartialSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PartialSku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IPartialSku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PartialSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to