Partilhar via


MockableBotServiceSubscriptionResource.GetBotsAsync(CancellationToken) Method

Definition

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

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices.
  • Operation Id. : Bots_List.
  • Default Api Version. : 2023-09-15-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.BotService.BotResource> GetBotsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetBotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BotService.BotResource>
override this.GetBotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BotService.BotResource>
Public Overridable Function GetBotsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BotResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to