Skip to main content

execute_with_resource_ids

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

Overview

Nameexecute_with_resource_ids
TypeResource
Idazure.monitor_query.execute_with_resource_ids

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
execute_with_resource_idexecresource_id, endpoint, api_versionPreferExecute an Analytics query using resource ID. Executes an Analytics query for data in the context of a resource. 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: )
resource_idstringThe identifier of the resource. Required.
PreferstringOptional. The prefer header to set server timeout, query statistics and visualization information. Default value is None.

Lifecycle Methods

Execute an Analytics query using resource ID. Executes an Analytics query for data in the context of a resource. Here _ is an example for using POST with an Analytics query.

EXEC azure.monitor_query.execute_with_resource_ids.execute_with_resource_id 
@resource_id='{{ resource_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@api_version='{{ api_version }}' --required,
@Prefer='{{ Prefer }}'
;