Share via


Sku Class

Definition

Billing information related properties of a server.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.SkuTypeConverter))]
public class Sku : Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ISku
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.SkuTypeConverter))>]
type Sku = class
    interface ISku
    interface IJsonSerializable
Public Class Sku
Implements ISku
Inheritance
Sku
Attributes
Implements

Constructors

Sku()

Creates an new Sku instance.

Properties

Capacity

The scale up/out capacity, representing server's compute units.

Family

The family of hardware.

Name

The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.

Size

The size code, to be interpreted by resource as appropriate.

Tier

The tier of the particular SKU, e.g. Basic.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Sku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Sku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ISku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Sku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to