你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MySqlSku Class

Definition

Billing information related properties of a server.

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

Constructors

Name Description
MySqlSku(String)

Initializes a new instance of MySqlSku.

Properties

Name Description
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

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MySqlSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to