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

ProductApiOperationsExtensions.ListByProduct 方法

定义

列出与产品关联的 API 集合。

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> ListByProduct(this Microsoft.Azure.Management.ApiManagement.IProductApiOperations operations, string resourceGroupName, string serviceName, string productId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> odataQuery = default);
static member ListByProduct : Microsoft.Azure.Management.ApiManagement.IProductApiOperations * 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 ListByProduct (operations As IProductApiOperations, resourceGroupName As String, serviceName As String, productId As String, Optional odataQuery As ODataQuery(Of ApiContract) = Nothing) As IPage(Of ApiContract)

参数

operations
IProductApiOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

serviceName
String

API 管理服务的名称。

productId
String

产品标识符。 在当前API 管理服务实例中必须是唯一的。

odataQuery
ODataQuery<ApiContract>

要应用于操作的 OData 参数。

返回

适用于