共用方式為


EventHubsNamespaceResource.GetPrivateLinkResources(CancellationToken) Method

Definition

Gets lists of resources that supports Privatelinks.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateLinkResources
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-01-01
public virtual Azure.Pageable<Azure.ResourceManager.EventHubs.Models.EventHubsPrivateLinkResourceData> GetPrivateLinkResources (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.Models.EventHubsPrivateLinkResourceData>
override this.GetPrivateLinkResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.Models.EventHubsPrivateLinkResourceData>
Public Overridable Function GetPrivateLinkResources (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EventHubsPrivateLinkResourceData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to