Sdílet prostřednictvím


BackupRequestProperties Class

Definition

BackupRequest resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupRequestPropertiesTypeConverter))]
public class BackupRequestProperties : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IBackupRequestProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupRequestPropertiesTypeConverter))>]
type BackupRequestProperties = class
    interface IBackupRequestProperties
    interface IJsonSerializable
Public Class BackupRequestProperties
Implements IBackupRequestProperties
Inheritance
BackupRequestProperties
Attributes
Implements

Constructors

BackupRequestProperties()

Creates an new BackupRequestProperties instance.

Properties

BackupName

Name of the backup.

BackupScheduleFrequencyInterval

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

BackupScheduleFrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

BackupScheduleKeepAtLeastOneBackup

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

BackupScheduleLastExecutionTime

Last time when this schedule was triggered.

BackupScheduleRetentionPeriodInDay

After how many days backups should be deleted.

BackupScheduleStartTime

When the schedule should start working.

Database

Databases included in the backup.

Enabled

True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.

StorageAccountUrl

SAS URL to the container.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupRequestProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IBackupRequestProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to