BackupRequest Class

Definition

Description of a backup which will be performed.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupRequestTypeConverter))]
public class BackupRequest : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IBackupRequest, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupRequestTypeConverter))>]
type BackupRequest = class
    interface IBackupRequest
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class BackupRequest
Implements IBackupRequest, IValidates
Inheritance
BackupRequest
Attributes
Implements

Constructors

BackupRequest()

Creates an new BackupRequest 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.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

StorageAccountUrl

SAS URL to the container.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupRequest.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to