ApiReleaseOperationsExtensions.ListByServiceAsync 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 releases of an API. An API release is created when making an API Revision current. Releases are also used to rollback to previous revisions. Results will be paged and can be constrained by the $top and $skip parameters.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IApiReleaseOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IApiReleaseOperations, resourceGroupName As String, serviceName As String, apiId As String, Optional odataQuery As ODataQuery(Of ApiReleaseContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ApiReleaseContract))
Parameters
- operations
- IApiReleaseOperations
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<ApiReleaseContract>
OData parameters to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET