Partilhar via


IEventHubsOperations.ListByNamespaceWithHttpMessagesAsync Método

Definição

Obtém todos os Hubs de Eventos em um Namespace.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner>>> ListByNamespaceWithHttpMessagesAsync (string resourceGroupName, string namespaceName, int? skip = default, int? top = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByNamespaceWithHttpMessagesAsync : string * string * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner>>>
Public Function ListByNamespaceWithHttpMessagesAsync (resourceGroupName As String, namespaceName As String, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of EventhubInner)))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos dentro da assinatura do azure.

namespaceName
String

O nome do namespace

skip
Nullable<Int32>

Skip só será usado se uma operação anterior retornar um resultado parcial. Se uma resposta anterior contiver um elemento nextLink, o valor do elemento nextLink incluirá um parâmetro skip que especifica um ponto de partida a ser usado para chamadas subsequentes.

top
Nullable<Int32>

Pode ser usado para limitar o número de resultados ao N usageDetails mais recente.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Aplica-se a