Skip to main content

boundaries

Creates, updates, deletes, gets or lists a boundaries resource.

Overview

Nameboundaries
TypeResource
Idazure_extras.agrifood_farming.boundaries

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
create_or_updateinsertparty_id, boundary_id, endpointCreates or updates a boundary resource.
create_or_updatereplaceparty_id, boundary_id, endpointCreates or updates a boundary resource.
deletedeleteparty_id, boundary_id, endpointDeletes a specified boundary resource under a particular party.
get_rawexecparty_id, boundary_id, endpointGets a specified boundary resource under a particular party.
list_rawexecendpointparentType, type, minArea, maxArea, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, skipTokenReturns a paginated list of boundary resources across all parties.
searchexecendpointSearch for boundaries across all parties by fields and intersecting geometry.
list_by_party_idexecparty_id, endpointparentType, type, minArea, maxArea, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, skipTokenReturns a paginated list of boundary resources under a particular party.
search_by_party_idexecparty_id, endpointSearch for boundaries by fields and intersecting geometry.
get_cascade_delete_job_detailsexecjob_id, endpointGet cascade delete job for specified boundary.
create_cascade_delete_jobexecjob_id, partyId, boundaryId, endpointCreate a cascade delete job for specified boundary.
get_overlapexecparty_id, boundary_id, otherPartyId, otherBoundaryId, endpointReturns overlapping area between two boundary Ids.

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
boundaryIdstringID of the boundary to be deleted. Required.
boundary_idstringId of the boundary. Required.
endpointstringThe service endpoint host (no scheme). (default: )
job_idstringJob ID supplied by end user. Required.
otherBoundaryIdstringId of the other boundary. Required.
otherPartyIdstringPartyId of the other field. Required.
partyIdstringID of the associated party. Required.
party_idstringId of the party. Required.
maxAreanumberMaximum acreage of the boundary (inclusive). Default value is None.
maxCreatedDateTimestring (date-time)Maximum creation date of resource (inclusive). Default value is None.
maxLastModifiedDateTimestring (date-time)Maximum last modified date of resource (inclusive). Default value is None.
minAreanumberMinimum area of the boundary (inclusive). Default value is None.
minCreatedDateTimestring (date-time)Minimum creation date of resource (inclusive). Default value is None.
minLastModifiedDateTimestring (date-time)Minimum last modified date of resource (inclusive). Default value is None.
parentTypestringType of the parent it belongs to. Default value is None.
skipTokenstringSkip token for getting next set of results. Default value is None.
typestringType it belongs to. Default value is None.

INSERT examples

Creates or updates a boundary resource.

INSERT INTO azure_extras.agrifood_farming.boundaries (
party_id,
boundary_id,
endpoint
)
SELECT
'{{ party_id }}',
'{{ boundary_id }}',
'{{ endpoint }}'
;

REPLACE examples

Creates or updates a boundary resource.

REPLACE azure_extras.agrifood_farming.boundaries
SET
-- No updatable properties
WHERE
party_id = '{{ party_id }}' --required
AND boundary_id = '{{ boundary_id }}' --required
AND endpoint = '{{ endpoint }}' --required;

DELETE examples

Deletes a specified boundary resource under a particular party.

DELETE FROM azure_extras.agrifood_farming.boundaries
WHERE party_id = '{{ party_id }}' --required
AND boundary_id = '{{ boundary_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Gets a specified boundary resource under a particular party.

EXEC azure_extras.agrifood_farming.boundaries.get_raw 
@party_id='{{ party_id }}' --required,
@boundary_id='{{ boundary_id }}' --required,
@endpoint='{{ endpoint }}' --required
;