Skip to content

Commit 73839f1

Browse files
feat(graph): add SyntexDocumentProcessor (#24)
1 parent bf86272 commit 73839f1

4 files changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SyntexDocumentProcessor
2+
3+
Represents Microsoft Syntex document processor resources, which provide AI-based document processing capabilities integrated with SharePoint Online.
4+
5+
**Labels:** `:ArmResource:SyntexDocumentProcessor`
6+
7+
**Properties:**
8+
9+
- `id` - Resource ID (primary key)
10+
- `spoTenantId` - SharePoint Online tenant ID
11+
- `spoTenantUrl` - SharePoint Online tenant URL
12+
13+
## Examples
14+
15+
```cypher
16+
// Find all Syntex document processors
17+
MATCH (sdp:SyntexDocumentProcessor)
18+
RETURN sdp.id, sdp.spoTenantId, sdp.spoTenantUrl
19+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Syntex Document Processors"
2+
label: "{{ LABELS.SyntexDocumentProcessor }}"
3+
table_name: "resources"
4+
resource_type: "microsoft.syntex/documentprocessors"
5+
properties:
6+
- "/id"
7+
- "/properties"
8+
cypher: |
9+
UNWIND $batch AS row
10+
MERGE (obj:{{ LABELS.ArmResource }} {id: toLower(row.id)})
11+
SET obj:{{ LABELS.SyntexDocumentProcessor }}
12+
13+
SET obj += {
14+
spoTenantId: row.properties.spoTenantId,
15+
spoTenantUrl: row.properties.spoTenantUrl
16+
}

src/graph/config/constants.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ LABELS:
180180
StorageAccountDFS: "StorageAccountDFS"
181181
Subscription: "Subscription"
182182
SynapseWorkspace: "SynapseWorkspace"
183+
SyntexDocumentProcessor: "SyntexDocumentProcessor"
183184
Tenant: "Tenant"
184185
UserAssignedIdentity: "UserAssignedIdentity"
185186
VirtualMachine: "VirtualMachine"

zensical.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ nav = [
246246
{ "SignalR" = [
247247
"analysis/arm-nodes/signalr/signalr.md",
248248
] },
249+
{ "Syntex" = [
250+
"analysis/arm-nodes/syntex/syntex-document-processor.md",
251+
] },
249252
{ "Web" = [
250253
"analysis/arm-nodes/web/server-farm.md",
251254
"analysis/arm-nodes/web/web-site.md",

0 commit comments

Comments
 (0)