ApiProductOperationsExtensions.ListByApisAsync 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 all Products, which the API is part of.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ProductContract>> ListByApisAsync (this Microsoft.Azure.Management.ApiManagement.IApiProductOperations operations, string resourceGroupName, string serviceName, string apiId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ProductContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByApisAsync : Microsoft.Azure.Management.ApiManagement.IApiProductOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ProductContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ProductContract>>
<Extension()>
Public Function ListByApisAsync (operations As IApiProductOperations, resourceGroupName As String, serviceName As String, apiId As String, Optional odataQuery As ODataQuery(Of ProductContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProductContract))
Parameters
- operations
- IApiProductOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- serviceName
- String
The name of the API Management service.
- apiId
- String
API identifier. Must be unique in the current API Management service instance.
- odataQuery
- ODataQuery<ProductContract>
OData parameters to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.