Share via


SkuResource Class

Definition

Fulfills ARM Contract requirement to list all available SKUS for a resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.SkuResourceTypeConverter))]
public class SkuResource : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ISkuResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.SkuResourceTypeConverter))>]
type SkuResource = class
    interface ISkuResource
    interface IJsonSerializable
Public Class SkuResource
Implements ISkuResource
Inheritance
SkuResource
Attributes
Implements

Constructors

SkuResource()

Creates an new SkuResource instance.

Properties

CapacityDefault

Gets or sets the default capacity.

CapacityMaximum

Gets or sets the maximum.

CapacityMinimum

Gets or sets the minimum.

CapacityScaleType

Gets or sets the type of the scale.

ResourceType

The resource type name.

SkuName

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

SkuTier

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SkuResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ISkuResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SkuResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to