Skip to main content

document_processors

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

Overview

Namedocument_processors
TypeResource
Idazure_extras.syntex.document_processors

Fields

NameDatatypeDescription
locationtextThe geo-location where the resource lives
processorNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
spo_tenant_idtextfield from the properties object
spo_tenant_urltextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTprocessorName, resourceGroupName, subscriptionIdReturns a document processor for a given name.
listSELECTsubscriptionIdReturns document processors in the subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdReturns document processors in a resource group.
createINSERTprocessorName, resourceGroupName, subscriptionIdCreates a document processor resource for a given name.
deleteDELETEprocessorName, resourceGroupName, subscriptionIdDeletes document processor resource for a given name.
updateUPDATEprocessorName, resourceGroupName, subscriptionIdUpdates a document processor resource for a given name.

SELECT examples

Returns document processors in the subscription.

SELECT
location,
processorName,
provisioning_state,
resourceGroupName,
spo_tenant_id,
spo_tenant_url,
subscriptionId,
tags
FROM azure_extras.syntex.vw_document_processors
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new document_processors resource.

/*+ create */
INSERT INTO azure_extras.syntex.document_processors (
processorName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ processorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a document_processors resource.

/*+ update */
UPDATE azure_extras.syntex.document_processors
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
processorName = '{{ processorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified document_processors resource.

/*+ delete */
DELETE FROM azure_extras.syntex.document_processors
WHERE processorName = '{{ processorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';