sensor_mappings
Creates, updates, deletes, gets or lists a sensor_mappings resource.
Overview
| Name | sensor_mappings |
| Type | Resource |
| Id | azure_extras.agrifood_farming.sensor_mappings |
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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_or_update | insert | sensor_mapping_id, endpoint | Create a sensor mapping entity. | |
create_or_update | replace | sensor_mapping_id, endpoint | Create a sensor mapping entity. | |
delete | delete | sensor_mapping_id, endpoint | Deletes a sensor mapping entity. | |
get_raw | exec | sensor_mapping_id, endpoint | Gets a sensor mapping entity. | |
list_raw | exec | endpoint | minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, skipToken | Returns a paginated list of sensor mapping resources. |
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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
sensor_mapping_id | string | Id of the sensor mapping resource. Required. |
maxCreatedDateTime | string (date-time) | Maximum creation date of resource (inclusive). Default value is None. |
maxLastModifiedDateTime | string (date-time) | Maximum last modified date of resource (inclusive). Default value is None. |
minCreatedDateTime | string (date-time) | Minimum creation date of resource (inclusive). Default value is None. |
minLastModifiedDateTime | string (date-time) | Minimum last modified date of resource (inclusive). Default value is None. |
skipToken | string | Skip token for getting next set of results. Default value is None. |
INSERT examples
- create_or_update
- Manifest
Create a sensor mapping entity.
INSERT INTO azure_extras.agrifood_farming.sensor_mappings (
sensor_mapping_id,
endpoint
)
SELECT
'{{ sensor_mapping_id }}',
'{{ endpoint }}'
;
# Description fields are for documentation purposes
- name: sensor_mappings
props:
- name: sensor_mapping_id
value: "{{ sensor_mapping_id }}"
description: Required parameter for the sensor_mappings resource.
- name: endpoint
value: "{{ endpoint }}"
description: Required parameter for the sensor_mappings resource.
REPLACE examples
- create_or_update
Create a sensor mapping entity.
REPLACE azure_extras.agrifood_farming.sensor_mappings
SET
-- No updatable properties
WHERE
sensor_mapping_id = '{{ sensor_mapping_id }}' --required
AND endpoint = '{{ endpoint }}' --required;
DELETE examples
- delete
Deletes a sensor mapping entity.
DELETE FROM azure_extras.agrifood_farming.sensor_mappings
WHERE sensor_mapping_id = '{{ sensor_mapping_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;
Lifecycle Methods
- get_raw
- list_raw
Gets a sensor mapping entity.
EXEC azure_extras.agrifood_farming.sensor_mappings.get_raw
@sensor_mapping_id='{{ sensor_mapping_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Returns a paginated list of sensor mapping resources.
EXEC azure_extras.agrifood_farming.sensor_mappings.list_raw
@endpoint='{{ endpoint }}' --required,
@minCreatedDateTime='{{ minCreatedDateTime }}',
@maxCreatedDateTime='{{ maxCreatedDateTime }}',
@minLastModifiedDateTime='{{ minLastModifiedDateTime }}',
@maxLastModifiedDateTime='{{ maxLastModifiedDateTime }}',
@skipToken='{{ skipToken }}'
;