Sdílet prostřednictvím


ArmAppServiceModelFactory.WebAppBackupData Method

Definition

Initializes a new instance of WebAppBackupData.

public static Azure.ResourceManager.AppService.WebAppBackupData WebAppBackupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? backupId = default, Uri storageAccountUri = default, string blobName = default, string backupName = default, Azure.ResourceManager.AppService.Models.WebAppBackupStatus? status = default, long? sizeInBytes = default, DateTimeOffset? createdOn = default, string log = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> databases = default, bool? isScheduled = default, DateTimeOffset? lastRestoreOn = default, DateTimeOffset? finishedOn = default, string correlationId = default, long? websiteSizeInBytes = default, string kind = default);
static member WebAppBackupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * Uri * string * string * Nullable<Azure.ResourceManager.AppService.Models.WebAppBackupStatus> * Nullable<int64> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int64> * string -> Azure.ResourceManager.AppService.WebAppBackupData
Public Shared Function WebAppBackupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional backupId As Nullable(Of Integer) = Nothing, Optional storageAccountUri As Uri = Nothing, Optional blobName As String = Nothing, Optional backupName As String = Nothing, Optional status As Nullable(Of WebAppBackupStatus) = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional log As String = Nothing, Optional databases As IEnumerable(Of AppServiceDatabaseBackupSetting) = Nothing, Optional isScheduled As Nullable(Of Boolean) = Nothing, Optional lastRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional correlationId As String = Nothing, Optional websiteSizeInBytes As Nullable(Of Long) = Nothing, Optional kind As String = Nothing) As WebAppBackupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

backupId
Nullable<Int32>

Id of the backup.

storageAccountUri
Uri

SAS URL for the storage account container which contains this backup.

blobName
String

Name of the blob which contains data for this backup.

backupName
String

Name of this backup.

status
Nullable<WebAppBackupStatus>

Backup status.

sizeInBytes
Nullable<Int64>

Size of the backup in bytes.

createdOn
Nullable<DateTimeOffset>

Timestamp of the backup creation.

log
String

Details regarding this backup. Might contain an error message.

databases
IEnumerable<AppServiceDatabaseBackupSetting>

List of databases included in the backup.

isScheduled
Nullable<Boolean>

True if this backup has been created due to a schedule being triggered.

lastRestoreOn
Nullable<DateTimeOffset>

Timestamp of a last restore operation which used this backup.

finishedOn
Nullable<DateTimeOffset>

Timestamp when this backup finished.

correlationId
String

Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.

websiteSizeInBytes
Nullable<Int64>

Size of the original web app which has been backed up.

kind
String

Kind of resource.

Returns

A new WebAppBackupData instance for mocking.

Applies to