다음을 통해 공유


ServiceUnitsOperationsExtensions.ListAsync Method

Definition

Lists the service units under a service in the service topology.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource>> ListAsync (this Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource>>
<Extension()>
Public Function ListAsync (operations As IServiceUnitsOperations, resourceGroupName As String, serviceTopologyName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ServiceUnitResource))

Parameters

operations
IServiceUnitsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serviceTopologyName
String

The name of the service topology .

serviceName
String

The name of the service resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to