Condividi tramite


PostgreSqlFlexibleServerStorage Class

Definition

Storage properties of a server.

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

Constructors

PostgreSqlFlexibleServerStorage()

Initializes a new instance of PostgreSqlFlexibleServerStorage.

Properties

AutoGrow

Flag to enable / disable Storage Auto grow for flexible server.

Iops

Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS.

StorageSizeInGB

Max storage allowed for a server.

StorageType

Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified.

Throughput

Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS.

Tier

Name of storage tier for IOPS.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlFlexibleServerStorage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlFlexibleServerStorage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlFlexibleServerStorage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlFlexibleServerStorage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlFlexibleServerStorage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to