Share via


MockableNetworkSubscriptionResource.GetPrivateLinkServices 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-09-01
  • Resource: PrivateLinkServiceResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.PrivateLinkServiceResource> GetPrivateLinkServices (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.PrivateLinkServiceResource>
override this.GetPrivateLinkServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.PrivateLinkServiceResource>
Public Overridable Function GetPrivateLinkServices (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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