你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppServiceModelFactory.WebAppBackupInfo 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

backupName
String

备份的名称。

isEnabled
Nullable<Boolean>

如果启用备份计划,则为 True (在这种情况下必须包含) ;如果应禁用备份计划,则为 false。

storageAccountUri
Uri

容器的 SAS URL。

backupSchedule
WebAppBackupSchedule

如果定期执行备份,则计划备份。

databases
IEnumerable<AppServiceDatabaseBackupSetting>

备份中包含的数据库。

kind
String

资源类型。

返回

用于模拟的新 WebAppBackupInfo 实例。

适用于