Partager via


RecoveryServicesBackupExtensions.GetBackupStatus Méthode

Définition

Obtenir le status de sauvegarde de conteneur

  • Chemin de la demande/Abonnements/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
  • IdBackupStatus_Get d’opération
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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

location
AzureLocation

Région Azure pour atteindre l’API.

content
BackupStatusContent

Demande d’état de sauvegarde de conteneur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à