Sdílet prostřednictvím


AutoBackupSettings Class

Definition

Configure backups for databases in your SQL virtual machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AutoBackupSettingsTypeConverter))]
public class AutoBackupSettings : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAutoBackupSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AutoBackupSettingsTypeConverter))>]
type AutoBackupSettings = class
    interface IAutoBackupSettings
    interface IJsonSerializable
Public Class AutoBackupSettings
Implements IAutoBackupSettings
Inheritance
AutoBackupSettings
Attributes
Implements

Constructors

AutoBackupSettings()

Creates an new AutoBackupSettings instance.

Properties

BackupScheduleType

Backup schedule type.

BackupSystemDb

Include or exclude system databases from auto backup.

DaysOfWeek

Days of the week for the backups when FullBackupFrequency is set to Weekly.

Enable

Enable or disable autobackup on SQL virtual machine.

EnableEncryption

Enable or disable encryption for backup on SQL virtual machine.

FullBackupFrequency

Frequency of full backups. In both cases, full backups begin during the next scheduled time window.

FullBackupStartTime

Start time of a given day during which full backups can take place. 0-23 hours.

FullBackupWindowHour

Duration of the time window of a given day during which full backups can take place. 1-23 hours.

LogBackupFrequency

Frequency of log backups. 5-60 minutes.

Password

Password for encryption on backup.

RetentionPeriod

Retention period of backup: 1-90 days.

StorageAccessKey

Storage account key where backup will be taken to.

StorageAccountUrl

Storage account url where backup will be taken to.

StorageContainerName

Storage container name where backup will be taken to.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoBackupSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoBackupSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAutoBackupSettings.

FromJsonString(String)

Creates a new instance of AutoBackupSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoBackupSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to