seasons
Creates, updates, deletes, gets or lists a seasons resource.
Overview
| Name | seasons |
| Type | Resource |
| Id | azure_extras.agrifood_farming.seasons |
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 | season_id, endpoint | Creates or updates a season resource. | |
create_or_update | replace | season_id, endpoint | Creates or updates a season resource. | |
delete | delete | season_id, endpoint | Deletes a specified season resource. | |
get_raw | exec | season_id, endpoint | Gets a specified season resource. | |
list_raw | exec | endpoint | minStartDateTime, maxStartDateTime, minEndDateTime, maxEndDateTime, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, skipToken | Returns a paginated list of season 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: ) |
season_id | string | Id of the season. Required. |
maxCreatedDateTime | string (date-time) | Maximum creation date of resource (inclusive). Default value is None. |
maxEndDateTime | string (date-time) | Maximum season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. Default value is None. |
maxLastModifiedDateTime | string (date-time) | Maximum last modified date of resource (inclusive). Default value is None. |
maxStartDateTime | string (date-time) | Maximum season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. Default value is None. |
minCreatedDateTime | string (date-time) | Minimum creation date of resource (inclusive). Default value is None. |
minEndDateTime | string (date-time) | Minimum season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. Default value is None. |
minLastModifiedDateTime | string (date-time) | Minimum last modified date of resource (inclusive). Default value is None. |
minStartDateTime | string (date-time) | Minimum season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. Default value is None. |
skipToken | string | Skip token for getting next set of results. Default value is None. |
INSERT examples
- create_or_update
- Manifest
Creates or updates a season resource.
INSERT INTO azure_extras.agrifood_farming.seasons (
season_id,
endpoint
)
SELECT
'{{ season_id }}',
'{{ endpoint }}'
;
# Description fields are for documentation purposes
- name: seasons
props:
- name: season_id
value: "{{ season_id }}"
description: Required parameter for the seasons resource.
- name: endpoint
value: "{{ endpoint }}"
description: Required parameter for the seasons resource.
REPLACE examples
- create_or_update
Creates or updates a season resource.
REPLACE azure_extras.agrifood_farming.seasons
SET
-- No updatable properties
WHERE
season_id = '{{ season_id }}' --required
AND endpoint = '{{ endpoint }}' --required;
DELETE examples
- delete
Deletes a specified season resource.
DELETE FROM azure_extras.agrifood_farming.seasons
WHERE season_id = '{{ season_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;
Lifecycle Methods
- get_raw
- list_raw
Gets a specified season resource.
EXEC azure_extras.agrifood_farming.seasons.get_raw
@season_id='{{ season_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Returns a paginated list of season resources.
EXEC azure_extras.agrifood_farming.seasons.list_raw
@endpoint='{{ endpoint }}' --required,
@minStartDateTime='{{ minStartDateTime }}',
@maxStartDateTime='{{ maxStartDateTime }}',
@minEndDateTime='{{ minEndDateTime }}',
@maxEndDateTime='{{ maxEndDateTime }}',
@minCreatedDateTime='{{ minCreatedDateTime }}',
@maxCreatedDateTime='{{ maxCreatedDateTime }}',
@minLastModifiedDateTime='{{ minLastModifiedDateTime }}',
@maxLastModifiedDateTime='{{ maxLastModifiedDateTime }}',
@skipToken='{{ skipToken }}'
;