你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServicesOperationsExtensions.ListAsync 方法

定义

获取在指定的 Service Fabric 应用程序资源中创建的服务资源的列表。

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)

参数

operations
IServicesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

clusterName
String

群集资源的名称。

applicationName
String

应用程序资源的名称。

cancellationToken
CancellationToken

取消标记。

返回

注解

获取在 Service Fabric 应用程序资源中创建或创建过程中的所有服务资源。

适用于