Share via


PrivateLinkScopesOperationsExtensions.ListAsync Method

Definition

Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope>> ListAsync (this Microsoft.Azure.Management.Monitor.IPrivateLinkScopesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Monitor.IPrivateLinkScopesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope>>
<Extension()>
Public Function ListAsync (operations As IPrivateLinkScopesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AzureMonitorPrivateLinkScope))

Parameters

operations
IPrivateLinkScopesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to