Skip to content

Commit

Permalink
New API version: 2022-09-15-preview (Azure#8815)
Browse files Browse the repository at this point in the history
* initial copy of 2022-06-15-preview API

* changed API version

* Updated readme.md to incorporate a new version

* Updated resource schema

* removed processDocuments operation, associated types and examples

* Updated examples to match new schema

* Fixed prettier errors
  • Loading branch information
yurych committed Sep 30, 2022
1 parent 7bfabd6 commit 323d9c6
Show file tree
Hide file tree
Showing 9 changed files with 746 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"resourceGroupName": "mygroup",
"processorName": "myprocessor",
"api-version": "2022-09-15-preview",
"body": {
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor",
"name": "myprocessor",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"resourceGroupName": "mygroup",
"processorName": "myprocessor",
"api-version": "2022-09-15-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"resourceGroupName": "mygroup",
"processorName": "myprocessor",
"api-version": "2022-09-15-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor",
"name": "myprocessor",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"api-version": "2022-09-15-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor1",
"name": "myprocessor1",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
},
{
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor2",
"name": "myprocessor2",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"resourceGroupName": "mygroup",
"api-version": "2022-09-15-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor1",
"name": "myprocessor1",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
},
{
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor2",
"name": "myprocessor2",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string1",
"additionalProp2": "string2",
"additionalProp3": "string3"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b",
"resourceGroupName": "mygroup",
"processorName": "myprocessor",
"api-version": "2022-09-15-preview",
"body": {
"tags": {
"additionalProp1": "string4",
"additionalProp2": "string5",
"additionalProp3": "string6"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/cd0d3cc8-cae2-4559-b882-cd707170799b/resourceGroups/mygroup/providers/microsoft.syntex/documentProcessors/myprocessor",
"name": "myprocessor",
"type": "microsoft.syntex/documentprocessors",
"location": "westus",
"tags": {
"additionalProp1": "string4",
"additionalProp2": "string5",
"additionalProp3": "string6"
},
"properties": {
"spoTenantUrl": "https://test123.sharepoint.com",
"spoTenantId": "e9bb744b-9558-4dc6-9e50-a3297e3332fa"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2022-09-15-preview"
},
"responses": {
"200": {
"body": {
"value": []
}
}
}
}
Loading

0 comments on commit 323d9c6

Please sign in to comment.