共用方式為


RecoveryServicesBackupExtensions.GetBackupStatus Method

Definition

Get the container backup status

  • Request Path: /Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
  • Operation Id: BackupStatus_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)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

Azure region to hit Api.

content
BackupStatusContent

Container Backup Status Request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or content is null.

Applies to