MockableCognitiveServicesSubscriptionResource.GetDeletedAccountsAsync 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.
Returns all the resources of a particular type belonging to a subscription.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts.
- Operation Id. : DeletedAccounts_ListDeletedAccounts.
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
A collection of CognitiveServicesDeletedAccountResource that may take multiple service requests to iterate over.