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

BackupStatusOperationsExtensions.GetAsync 方法

定义

获取容器备份状态

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupStatusResponse> GetAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupStatusOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupStatusRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupStatusOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupStatusRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupStatusResponse>
<Extension()>
Public Function GetAsync (operations As IBackupStatusOperations, azureRegion As String, parameters As BackupStatusRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BackupStatusResponse)

参数

operations
IBackupStatusOperations

此扩展方法的操作组。

azureRegion
String

要命中 Api 的 Azure 区域

parameters
BackupStatusRequest

容器备份状态请求

cancellationToken
CancellationToken

取消标记。

返回

适用于