Partager via


IDataSourcesOperations.ListByWorkspaceWithHttpMessagesAsync Méthode

Définition

Obtient la première page des instances de source de données dans un espace de travail avec le lien vers la page suivante.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.OperationalInsights.Models.DataSource>>> ListByWorkspaceWithHttpMessagesAsync(Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.OperationalInsights.Models.DataSourceFilter> odataQuery, string resourceGroupName, string workspaceName, string skiptoken = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByWorkspaceWithHttpMessagesAsync : Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.OperationalInsights.Models.DataSourceFilter> * string * string * string * 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.OperationalInsights.Models.DataSource>>>
Public Function ListByWorkspaceWithHttpMessagesAsync (odataQuery As ODataQuery(Of DataSourceFilter), resourceGroupName As String, workspaceName As String, Optional skiptoken As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of DataSource)))

Paramètres

odataQuery
ODataQuery<DataSourceFilter>

Paramètres OData à appliquer à l’opération.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName
String

Nom de l’espace de travail.

skiptoken
String

Point de départ de la collection d’instances de source de données.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à