Share via


BotResource.GetPrivateLinkResourcesByBotResourceAsync Method

Definition

Gets the private link resources that need to be created for a Bot.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to