ProductApiOperationsExtensions.ListByProductAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists a collection of the APIs associated with a product.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiContract>> ListByProductAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member ListByProductAsync : Microsoft.Azure.Management.ApiManagement.IProductApiOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiContract>>
<Extension()>
Public Function ListByProductAsync (operations As IProductApiOperations, resourceGroupName As String, serviceName As String, productId As String, Optional odataQuery As ODataQuery(Of ApiContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ApiContract))
Parameters
- operations
- IProductApiOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- serviceName
- String
The name of the API Management service.
- productId
- String
Product identifier. Must be unique in the current API Management service instance.
- odataQuery
- ODataQuery<ApiContract>
OData parameters to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.