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

ArmDataProtectionBackupModelFactory.DataProtectionBackupPolicyData 方法

定义

初始化 DataProtectionBackupPolicyData 的新实例。

public static Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupPolicyData DataProtectionBackupPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupPolicyPropertiesBase properties = default);
static member DataProtectionBackupPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupPolicyPropertiesBase -> Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupPolicyData
Public Shared Function DataProtectionBackupPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As DataProtectionBackupPolicyPropertiesBase = Nothing) As DataProtectionBackupPolicyData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

properties
DataProtectionBackupPolicyPropertiesBase

BaseBackupPolicyResource 属性请注意 DataProtectionBackupPolicyPropertiesBase 是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 RuleBasedBackupPolicy

返回

用于模拟的新 DataProtectionBackupPolicyData 实例。

适用于