IPrivateLinkServices.ListBySubscriptionAsync(Boolean, CancellationToken) Method

Definition

Lists all private link services in a subscription asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IPrivateLinkService>> ListBySubscriptionAsync (bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySubscriptionAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IPrivateLinkService>>
Public Function ListBySubscriptionAsync (Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IPrivateLinkService))

Parameters

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

Task<IPagedCollection<IPrivateLinkService>>

Applies to