Compartir a través de


LoggerOperationsExtensions.ListByServiceAsync Método

Definición

Enumera una colección de registradores de la instancia de servicio especificada https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-log-event-hubs

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

Parámetros

operations
ILoggerOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

odataQuery
ODataQuery<LoggerContract>

Parámetros de OData que se aplicarán a la operación.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a