Udostępnij za pośrednictwem


ClustersOperationsExtensions.ListByResourceGroupAsync Method

Definition

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

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

Parameters

operations
IClustersOperations

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