Share via


ServicesOperationsExtensions.ListAsync Method

Definition

Gets the list of service resources created in the specified Service Fabric application resource.

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

Parameters

operations
IServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

applicationName
String

The name of the application resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets all service resources created or in the process of being created in the Service Fabric application resource.

Applies to