Sdílet prostřednictvím


TenantAccessOperationsExtensions.ListByServiceAsync Method

Definition

Returns list of access infos - for Git and Management endpoints.

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

Parameters

operations
ITenantAccessOperations

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<AccessInformationContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to