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

ProtectedItemOperationStatusesOperationsExtensions.Get 方法

定义

提取操作的状态,例如触发备份、还原。 状态可以是正在进行、已完成或失败。 有关操作的所有可能状态,可以参考 OperationStatus 枚举。 某些操作创建作业。 此方法返回与操作关联的作业列表。

public static Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus Get(this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectedItemOperationStatusesOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string operationId);
static member Get : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectedItemOperationStatusesOperations * string * string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus
<Extension()>
Public Function Get (operations As IProtectedItemOperationStatusesOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, operationId As String) As OperationStatus

参数

operations
IProtectedItemOperationStatusesOperations

此扩展方法的操作组。

vaultName
String

恢复服务保管库的名称。

resourceGroupName
String

恢复服务保管库所在的资源组的名称。

fabricName
String

与备份项关联的结构名称。

containerName
String

与备份项关联的容器名称。

protectedItemName
String

要提取其详细信息的备份项名称。

operationId
String

OperationID 表示需要提取其状态的操作。

返回

适用于