Condividi tramite


CognitiveServicesAccountResource.GetPrivateLinkResourcesAsync Method

Definition

Gets the private link resources that need to be created for a Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateLinkResources
  • Operation Id: PrivateLinkResources_List
  • Default Api Version: 2024-10-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesPrivateLinkResource> GetPrivateLinkResourcesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesPrivateLinkResource>
override this.GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesPrivateLinkResource>
Public Overridable Function GetPrivateLinkResourcesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesPrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to