共用方式為


ApiReleaseOperationsExtensions.ListByService Method

Definition

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 Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract> ListByService (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);
static member ListByService : Microsoft.Azure.Management.ApiManagement.IApiReleaseOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiReleaseContract>
<Extension()>
Public Function ListByService (operations As IApiReleaseOperations, resourceGroupName As String, serviceName As String, apiId As String, Optional odataQuery As ODataQuery(Of ApiReleaseContract) = Nothing) As 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.

Returns

Applies to