document_processors
Creates, updates, deletes, gets or lists a document_processors
resource.
Overview
Name | document_processors |
Type | Resource |
Id | azure_extras.syntex.document_processors |
Fields
- vw_document_processors
- document_processors
Name | Datatype | Description |
---|---|---|
location | text | The geo-location where the resource lives |
processorName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
spo_tenant_id | text | field from the properties object |
spo_tenant_url | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Document processor properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | processorName, resourceGroupName, subscriptionId | Returns a document processor for a given name. |
list | SELECT | subscriptionId | Returns document processors in the subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Returns document processors in a resource group. |
create | INSERT | processorName, resourceGroupName, subscriptionId | Creates a document processor resource for a given name. |
delete | DELETE | processorName, resourceGroupName, subscriptionId | Deletes document processor resource for a given name. |
update | UPDATE | processorName, resourceGroupName, subscriptionId | Updates a document processor resource for a given name. |
SELECT
examples
Returns document processors in the subscription.
- vw_document_processors
- document_processors
SELECT
location,
processorName,
provisioning_state,
resourceGroupName,
spo_tenant_id,
spo_tenant_url,
subscriptionId,
tags
FROM azure_extras.syntex.vw_document_processors
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure_extras.syntex.document_processors
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new document_processors
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.syntex.document_processors (
processorName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ processorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: spoTenantUrl
value: string
- name: spoTenantId
value: string
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 }}';