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: 2023-11-01
  • Resource: PrivateLinkServiceResource
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

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

Applies to