Share via


ManagedClustersOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets the list of Service Fabric cluster resources created in the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IManagedClustersOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagedCluster))

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets all Service Fabric cluster resources created or in the process of being created in the resource group.

Applies to