MockableNetworkSubscriptionResource.GetPrivateLinkServicesAsync Method

Definition

Gets all private link service in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices.
  • Operation Id. : PrivateLinkServices_ListBySubscription.
  • Default Api Version. : 2025-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.PrivateLinkServiceResource> GetPrivateLinkServicesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.PrivateLinkServiceResource>
override this.GetPrivateLinkServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.PrivateLinkServiceResource>
Public Overridable Function GetPrivateLinkServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PrivateLinkServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to