Share via


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerBackupProperties Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerBackupProperties.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties PostgreSqlFlexibleServerBackupProperties (int? backupRetentionDays = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerGeoRedundantBackupEnum? geoRedundantBackup = default, DateTimeOffset? earliestRestoreOn = default);
static member PostgreSqlFlexibleServerBackupProperties : Nullable<int> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerGeoRedundantBackupEnum> * Nullable<DateTimeOffset> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties
Public Shared Function PostgreSqlFlexibleServerBackupProperties (Optional backupRetentionDays As Nullable(Of Integer) = Nothing, Optional geoRedundantBackup As Nullable(Of PostgreSqlFlexibleServerGeoRedundantBackupEnum) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing) As PostgreSqlFlexibleServerBackupProperties

Parameters

backupRetentionDays
Nullable<Int32>

Backup retention days for the server.

geoRedundantBackup
Nullable<PostgreSqlFlexibleServerGeoRedundantBackupEnum>

A value indicating whether Geo-Redundant backup is enabled on the server.

earliestRestoreOn
Nullable<DateTimeOffset>

The earliest restore point time (ISO8601 format) for server.

Returns

A new PostgreSqlFlexibleServerBackupProperties instance for mocking.

Applies to