Share via


ClustersOperationsExtensions.ListAsync Method

Definition

Gets the Log Analytics clusters in a subscription.

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

Parameters

operations
IClustersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to