共用方式為


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: PrivateLinkResources_ListByBotResource
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

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

Applies to