共用方式為


MockableRecoveryServicesBackupSubscriptionResource.GetBackupStatusAsync Method

Definition

Get the container backup status

  • Request Path: /Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
  • Operation Id: BackupStatus_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>> GetBackupStatusAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBackupStatusAsync : Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>>
override this.GetBackupStatusAsync : Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>>
Public Overridable Function GetBackupStatusAsync (location As AzureLocation, content As BackupStatusContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupStatusResult))

Parameters

location
AzureLocation

Azure region to hit Api.

content
BackupStatusContent

Container Backup Status Request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to