Share via


MockableCognitiveServicesSubscriptionResource.GetDeletedAccountsAsync Method

Definition

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts
  • Operation Id: DeletedAccounts_List
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesDeletedAccountResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource> GetDeletedAccountsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>
override this.GetDeletedAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>
Public Overridable Function GetDeletedAccountsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesDeletedAccountResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to