Compartilhar via


ServiceUnitsOperationsExtensions.ListAsync Método

Definição

Lista as unidades de serviço em um serviço na topologia de serviço.

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))

Parâmetros

operations
IServiceUnitsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

serviceTopologyName
String

O nome da topologia de serviço .

serviceName
String

O nome do recurso de serviço.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a