forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new API version to accommodate a new spoTenantAdminUrl proper…
…ty (Azure#7579) * copied 2021-10-20 to 2022-06-15 * - Added spoTenantAdminUrl property - Updated examples and the spec to make sure spoAdminTenantUrl is patchable. - Fixed prettier errors - copied 2021-10-20 to 2022-06-15 - corrected API version in 2022-06-15 folder - Restored 2021-10-20 version to its original state - made the latest API version a default tag in readme.md - made spoTenantAdminUrl required in the new API (Azure#7586) - Fixed required property for spoTenantAdminUrl (Azure#7588) * Corrected PATCH schema and example (Azure#7601)
- Loading branch information
Showing
10 changed files
with
911 additions
and
1 deletion.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...anager/Microsoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2022-06-15-preview", | ||
"body": { | ||
"location": "westus", | ||
"tags": { | ||
"additionalProp1": "string1", | ||
"additionalProp2": "string2", | ||
"additionalProp3": "string3" | ||
}, | ||
"properties": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
} | ||
}, | ||
"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": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...anager/Microsoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-06-15-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...e-manager/Microsoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2022-06-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": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...-manager/Microsoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"api-version": "2022-06-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": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
}, | ||
{ | ||
"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": { | ||
"spoTenantAdminUrl": "https://test456-admin.sharepoint.com" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...oft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"api-version": "2022-06-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": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
}, | ||
{ | ||
"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": { | ||
"spoTenantAdminUrl": "https://test456-admin.sharepoint.com" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...rosoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_ProcessDocuments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2022-06-15-preview", | ||
"body": { | ||
"value": [ | ||
{ | ||
"documentId": "A6026870-6172-47CA-A3BE-4A3C8DC70A22", | ||
"eventId": "AF91B20E-5440-44D1-B05C-677AEF30AF12", | ||
"meterId": "9F27F6E2-97EC-4674-A4C1-EC630AD0D583", | ||
"quantity": 17, | ||
"eventDateTime": "2022-01-24T10:32:28Z" | ||
}, | ||
{ | ||
"documentId": "FC89016A-791F-44AB-90E6-F74D851D1C7C", | ||
"eventId": "821E1C11-3E8E-495B-B96A-4EAD0AC179FF", | ||
"meterId": "9F27F6E2-97EC-4674-A4C1-EC630AD0D583", | ||
"quantity": 11, | ||
"eventDateTime": "2022-01-24T10:32:28Z" | ||
}, | ||
{ | ||
"documentId": "74783E0B-2A0F-4B74-93ED-39F97836C0F2", | ||
"eventId": "28EC2A8C-E618-49BC-A9E0-7D36C85948A8", | ||
"meterId": "9F27F6E2-97EC-4674-A4C1-EC630AD0D583", | ||
"quantity": 23, | ||
"eventDateTime": "2022-01-24T10:32:28Z" | ||
}, | ||
{ | ||
"documentId": "991A1923-F7CB-43E8-ADA8-939787D5C56B", | ||
"eventId": "2553462F-8435-4090-9A57-CF602E25D009", | ||
"meterId": "9F27F6E2-97EC-4674-A4C1-EC630AD0D583", | ||
"quantity": 31, | ||
"eventDateTime": "2022-01-24T10:32:28Z" | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"responseStatus": "Success" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...anager/Microsoft.Syntex/preview/2022-06-15-preview/examples/DocumentProcessor_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2022-06-15-preview", | ||
"body": { | ||
"tags": { | ||
"additionalProp1": "string4", | ||
"additionalProp2": "string5", | ||
"additionalProp3": "string6" | ||
}, | ||
"properties": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
} | ||
}, | ||
"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": { | ||
"spoTenantAdminUrl": "https://test123-admin.sharepoint.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...esource-manager/Microsoft.Syntex/preview/2022-06-15-preview/examples/Operations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "microsoft.syntex/documentProcessors/processorName/processDocument", | ||
"display": { | ||
"provider": "Microsoft.Syntex", | ||
"resource": "microsoft.syntex/documentProcessors", | ||
"operation": "POST", | ||
"description": "Processes a document." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.