Skip to main content

executes

Creates, updates, deletes, gets or lists an executes resource.

Overview

Nameexecutes
TypeResource
Idazure.monitor_query.executes

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
executeexecworkspace_id, endpoint, api_versionPreferExecute an Analytics query. Executes an Analytics query for data. Here _ is an example for using POST with an Analytics query.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_versionstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client apiVersion parameter. (default: )
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
workspace_idstringPrimary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal. Required.
PreferstringOptional. The prefer header to set server timeout, query statistics and visualization information. Default value is None.

Lifecycle Methods

Execute an Analytics query. Executes an Analytics query for data. Here _ is an example for using POST with an Analytics query.

EXEC azure.monitor_query.executes.execute 
@workspace_id='{{ workspace_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@api_version='{{ api_version }}' --required,
@Prefer='{{ Prefer }}'
;