GroupOperationsExtensions.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 a collection of groups defined within a service instance. https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-create-groups
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GroupContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IGroupOperations operations, string resourceGroupName, string serviceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.GroupContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IGroupOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.GroupContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GroupContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IGroupOperations, resourceGroupName As String, serviceName As String, Optional odataQuery As ODataQuery(Of GroupContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GroupContract))
Parameters
- operations
- IGroupOperations
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<GroupContract>
OData parameters to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.