Skip to content

Commit

Permalink
Added a new API version to accommodate a new spoTenantAdminUrl proper…
Browse files Browse the repository at this point in the history
…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
yurych committed Sep 30, 2022
1 parent ad44417 commit 7bfabd6
Show file tree
Hide file tree
Showing 10 changed files with 911 additions and 1 deletion.
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
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."
}
}
]
}
}
}
}
Loading

0 comments on commit 7bfabd6

Please sign in to comment.