共用方式為


MockableSqlSubscriptionResource.GetDeletedServersAsync Method

Definition

Gets a list of all deleted servers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers
  • Operation Id: DeletedServers_List
  • Default Api Version: 2020-11-01-preview
  • Resource: DeletedServerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource> GetDeletedServersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource>
override this.GetDeletedServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource>
Public Overridable Function GetDeletedServersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to