RecoveryServicesBackupExtensions.GetBackupStatusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the container backup status
- Request Path: /Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus
- Operation Id: BackupStatus_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))
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.