Freigeben über


RecoveryServicesBackupExtensions.GetBackupStatus Methode

Definition

Abrufen der status für die Containersicherung

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
  • Vorgang IdBackupStatus_Get
public static Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult> GetBackupStatus (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetBackupStatus : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult>
<Extension()>
Public Function GetBackupStatus (subscriptionResource As SubscriptionResource, location As AzureLocation, content As BackupStatusContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BackupStatusResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Azure-Region, um api zu erreichen.

content
BackupStatusContent

Anforderung des Containersicherungsstatus.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: