Share via


CognitiveServicesExtensions.GetDeletedAccounts 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: 2024-10-01
  • Resource: CognitiveServicesDeletedAccountResource
public static Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource> GetDeletedAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>
<Extension()>
Public Function GetDeletedAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesDeletedAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to