Compartilhar via


ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerBackupProperties Method

Definition

Initializes a new instance of MySqlFlexibleServerBackupProperties.

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

Parameters

backupRetentionDays
Nullable<Int32>

Backup retention days for the server.

backupIntervalHours
Nullable<Int32>

Backup interval hours for the server.

geoRedundantBackup
Nullable<MySqlFlexibleServerEnableStatusEnum>

Whether or not geo redundant backup is enabled.

earliestRestoreOn
Nullable<DateTimeOffset>

Earliest restore point creation time (ISO8601 format).

Returns

A new MySqlFlexibleServerBackupProperties instance for mocking.

Applies to