Condividi tramite


ArmAppServiceModelFactory.WebAppBackupInfo Method

Definition

Initializes a new instance of WebAppBackupInfo.

public static Azure.ResourceManager.AppService.Models.WebAppBackupInfo WebAppBackupInfo (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string backupName = default, bool? isEnabled = default, Uri storageAccountUri = default, Azure.ResourceManager.AppService.Models.WebAppBackupSchedule backupSchedule = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> databases = default, string kind = default);
static member WebAppBackupInfo : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<bool> * Uri * Azure.ResourceManager.AppService.Models.WebAppBackupSchedule * seq<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> * string -> Azure.ResourceManager.AppService.Models.WebAppBackupInfo
Public Shared Function WebAppBackupInfo (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional backupName As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional storageAccountUri As Uri = Nothing, Optional backupSchedule As WebAppBackupSchedule = Nothing, Optional databases As IEnumerable(Of AppServiceDatabaseBackupSetting) = Nothing, Optional kind As String = Nothing) As WebAppBackupInfo

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

backupName
String

Name of the backup.

isEnabled
Nullable<Boolean>

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

storageAccountUri
Uri

SAS URL to the container.

backupSchedule
WebAppBackupSchedule

Schedule for the backup if it is executed periodically.

databases
IEnumerable<AppServiceDatabaseBackupSetting>

Databases included in the backup.

kind
String

Kind of resource.

Returns

A new WebAppBackupInfo instance for mocking.

Applies to