ManagedClustersOperationsExtensions.ListByResourceGroupAsync(IManagedClustersOperations, String, CancellationToken) 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.ServiceFabric.Models.ManagedCluster>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabric.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
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<ManagedCluster>>

Remarks

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

Applies to