Поделиться через


MockableSqlSubscriptionResource.GetLongTermRetentionManagedInstanceBackupsWithLocationAsync Method

Definition

Lists the long term retention backups for managed databases in a given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups
  • Operation Id: LongTermRetentionManagedInstanceBackups_ListByLocation
  • Default Api Version: 2023-08-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionBackupData> GetLongTermRetentionManagedInstanceBackupsWithLocationAsync(Azure.ResourceManager.Sql.Models.SubscriptionResourceGetLongTermRetentionManagedInstanceBackupsWithLocationOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLongTermRetentionManagedInstanceBackupsWithLocationAsync : Azure.ResourceManager.Sql.Models.SubscriptionResourceGetLongTermRetentionManagedInstanceBackupsWithLocationOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionBackupData>
override this.GetLongTermRetentionManagedInstanceBackupsWithLocationAsync : Azure.ResourceManager.Sql.Models.SubscriptionResourceGetLongTermRetentionManagedInstanceBackupsWithLocationOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionBackupData>
Public Overridable Function GetLongTermRetentionManagedInstanceBackupsWithLocationAsync (options As SubscriptionResourceGetLongTermRetentionManagedInstanceBackupsWithLocationOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedInstanceLongTermRetentionBackupData)

Parameters

options
SubscriptionResourceGetLongTermRetentionManagedInstanceBackupsWithLocationOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ManagedInstanceLongTermRetentionBackupData that may take multiple service requests to iterate over.

Exceptions

options is null.

Applies to