你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApiReleaseOperationsExtensions.ListByService 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
列出 API 的所有版本。 将某个 API 修订版设为当前版本时创建 API 版本。 版本还用于回滚到以前的修订版。 结果将会分页,并可由 $top 和 $skip 参数约束。
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)
参数
- operations
- IApiReleaseOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组的名称。
- serviceName
- String
API 管理服务的名称。
- apiId
- String
API 标识符。 在当前API 管理服务实例中必须是唯一的。
- odataQuery
- ODataQuery<ApiReleaseContract>
要应用于操作的 OData 参数。