Compartilhar via


PostgreSqlServerMetadata Class

Definition

Database server metadata.

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

Properties

Location

Location of database server.

Sku

SKU for the database server. This object is empty for PG single server.

StorageMb

Storage size in MB for database server.

Version

Version for database engine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlServerMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlServerMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlServerMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlServerMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlServerMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to