Share via


PostgreSqlStorageProfile Class

Definition

Storage Profile properties of a server.

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

Constructors

PostgreSqlStorageProfile()

Initializes a new instance of PostgreSqlStorageProfile.

Properties

BackupRetentionDays

Backup retention days for the server.

GeoRedundantBackup

Enable Geo-redundant or not for server backup.

StorageAutogrow

Enable Storage Auto Grow.

StorageInMB

Max storage allowed for a server.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlStorageProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlStorageProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlStorageProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlStorageProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlStorageProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to