你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DataProtectionBackupJobProperties 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DataProtectionBackupJobProperties 的新实例。
public DataProtectionBackupJobProperties (string activityId, string backupInstanceFriendlyName, Azure.Core.ResourceIdentifier dataSourceId, Azure.Core.AzureLocation dataSourceLocation, string dataSourceName, string dataSourceType, bool isUserTriggered, string operation, string operationCategory, bool isProgressEnabled, string sourceResourceGroup, string sourceSubscriptionId, DateTimeOffset startOn, string status, string subscriptionId, System.Collections.Generic.IEnumerable<string> supportedActions, string vaultName);
new Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties : string * string * Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * string * string * bool * string * string * bool * string * string * DateTimeOffset * string * string * seq<string> * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties
Public Sub New (activityId As String, backupInstanceFriendlyName As String, dataSourceId As ResourceIdentifier, dataSourceLocation As AzureLocation, dataSourceName As String, dataSourceType As String, isUserTriggered As Boolean, operation As String, operationCategory As String, isProgressEnabled As Boolean, sourceResourceGroup As String, sourceSubscriptionId As String, startOn As DateTimeOffset, status As String, subscriptionId As String, supportedActions As IEnumerable(Of String), vaultName As String)
参数
- activityId
- String
作业活动 ID。
- backupInstanceFriendlyName
- String
备份实例的名称。
- dataSourceId
- ResourceIdentifier
DataSource 的 ARM ID。
- dataSourceLocation
- AzureLocation
数据源的位置。
- dataSourceName
- String
用户友好数据源的名称。
- dataSourceType
- String
DataSource 的类型。
- isUserTriggered
- Boolean
指示作业是临时 (true) 还是计划 (false) 。
- operation
- String
它指示作业的类型,即 Backup:full/log/diff ;Restore:ALR/OLR;分层:备份/存档;管理:ConfigureProtection/UnConfigure。
- operationCategory
- String
它指示作业的类型,即备份/还原/分层/管理。
- isProgressEnabled
- Boolean
指示是否为作业启用进度。
- sourceResourceGroup
- String
资源组数据源的名称。
- sourceSubscriptionId
- String
对应于 DataSource 的 SubscriptionId。
- startOn
- DateTimeOffset
作业 (的 StartTime(UTC) )。
- status
- String
作业的状态,如 InProgress/Success/Failed/Cancelled/SuccessWithWarning。
- subscriptionId
- String
相应备份保管库的订阅 ID。
- supportedActions
- IEnumerable<String>
支持的操作列表。
- vaultName
- String
保管库的名称。
例外
activityId
、 backupInstanceFriendlyName
、 dataSourceId
、 dataSourceName
、 dataSourceType
、 operation
、 operationCategory
、 sourceResourceGroup
、 sourceSubscriptionId
、 status
、 subscriptionId
、 supportedActions
或 vaultName
为 null。