你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RecoveryPointsOperationsExtensions.GetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供使用 RecoveryPointID 标识的备份数据的信息。 这是一个异步操作。 若要了解操作的状态,请调用 GetProtectedItemOperationResult API。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResource> GetAsync(this Microsoft.Azure.Management.RecoveryServices.Backup.IRecoveryPointsOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string recoveryPointId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IRecoveryPointsOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResource>
<Extension()>
Public Function GetAsync (operations As IRecoveryPointsOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, recoveryPointId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecoveryPointResource)
参数
- operations
- IRecoveryPointsOperations
此扩展方法的操作组。
- vaultName
- String
恢复服务保管库的名称。
- resourceGroupName
- String
恢复服务保管库所在的资源组的名称。
- fabricName
- String
与备份项关联的结构名称。
- containerName
- String
与备份项关联的容器名称。
- protectedItemName
- String
需要提取其备份数据的备份项名称。
- recoveryPointId
- String
RecoveryPointID 表示要提取的备份数据。
- cancellationToken
- CancellationToken
取消标记。