AzureMonitorLogsClient.QueryDataAsync 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.
Run query and list results V2
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Table> QueryDataAsync(Azure.Connectors.Sdk.AzureMonitorLogs.Models.QueryDataInput input, string subscription, string resourceGroup, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member QueryDataAsync : Azure.Connectors.Sdk.AzureMonitorLogs.Models.QueryDataInput * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Table>
override this.QueryDataAsync : Azure.Connectors.Sdk.AzureMonitorLogs.Models.QueryDataInput * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Table>
Public Overridable Function QueryDataAsync (input As QueryDataInput, subscription As String, resourceGroup As String, resourceType As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Table)
Parameters
- input
- QueryDataInput
The request body.
- subscription
- String
Subscription
- resourceGroup
- String
Resource Group
- resourceType
- String
Resource Type
- resourceName
- String
Resource Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Run query and list results V2 response.
Remarks
Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.