共用方式為


AuthorizationServerOperationsExtensions.ListByServiceAsync Method

Definition

Lists a collection of authorization servers defined within a service instance.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IAuthorizationServerOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IAuthorizationServerOperations, resourceGroupName As String, serviceName As String, Optional odataQuery As ODataQuery(Of AuthorizationServerContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AuthorizationServerContract))

Parameters

operations
IAuthorizationServerOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

odataQuery
ODataQuery<AuthorizationServerContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to