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

RecoveryServicesBackupExtensions.GetBackupStatusAsync 方法

定义

获取容器备份状态

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
  • 操作IdBackupStatus_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>> GetBackupStatusAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetBackupStatusAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>>
<Extension()>
Public Function GetBackupStatusAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As BackupStatusContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupStatusResult))

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

location
AzureLocation

要命中 Api 的 Azure 区域。

content
BackupStatusContent

容器备份状态请求。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于