Share via


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

Name Description
PostgreSqlFlexibleServerStorage()

Initializes a new instance of PostgreSqlFlexibleServerStorage.

Properties

Name Description
AutoGrow

Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size.

Iops

Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.

StorageSizeInGB

Size of storage assigned to a server.

StorageType

Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS.

Throughput

Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.

Tier

Storage tier of a server.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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