共用方式為


ServiceBusNamespaceResource.GetPrivateLinkResourcesAsync Method

Definition

Gets lists of resources that supports Privatelinks.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to