Dela via


PostgreSqlSku Class

Definition

Billing information related properties of a server.

public class PostgreSqlSku : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku>
type PostgreSqlSku = class
    interface IJsonModel<PostgreSqlSku>
    interface IPersistableModel<PostgreSqlSku>
Public Class PostgreSqlSku
Implements IJsonModel(Of PostgreSqlSku), IPersistableModel(Of PostgreSqlSku)
Inheritance
PostgreSqlSku
Implements

Constructors

PostgreSqlSku(String)

Initializes a new instance of PostgreSqlSku.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PostgreSqlSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlSku>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PostgreSqlSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to