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

GatewayApiOperationsExtensions.ListByService 方法

定义

列出与网关关联的 API 集合。

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> ListByService(this Microsoft.Azure.Management.ApiManagement.IGatewayApiOperations operations, string resourceGroupName, string serviceName, string gatewayId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> odataQuery = default);
static member ListByService : Microsoft.Azure.Management.ApiManagement.IGatewayApiOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiContract>
<Extension()>
Public Function ListByService (operations As IGatewayApiOperations, resourceGroupName As String, serviceName As String, gatewayId As String, Optional odataQuery As ODataQuery(Of ApiContract) = Nothing) As IPage(Of ApiContract)

参数

operations
IGatewayApiOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

serviceName
String

API 管理服务的名称。

gatewayId
String

网关实体标识符。 在当前API 管理服务实例中必须是唯一的。 不得具有值“managed”

odataQuery
ODataQuery<ApiContract>

要应用于操作的 OData 参数。

返回

适用于