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.
Initial commit of microsoft.syntex to RPSaaSMaster branch (Azure#6063)
* Initial commit of microsoft.syntex to RPSaaSMaster branch - Dev syntex microsoft.syntex 2021 10 20 preview (Azure#5281) - Aligned resource type names with the guidelines (plural, camelCase) - Updated provider name in URIs to lower case and provider type to plural camelCase - Updated examples to match specification - Updated DocumentProperties with new required fields, added processDocuments request (Azure#5971) - Changed suffix from -preview to -privatepreview (Azure#6047) - Corrected description field (Azure#6059) - Reverted back to -preview from -privatepreview (Azure#6061) * Added Syntex to custom-words.txt * Fixed 'Missing required property: meterId' * Fixed "the 'openapi-subtype' is unset" error * Fixing Lint(RPaaS) errors: - x-ms-long-running-operation - provisioningState * More Lint(RPaaS) errors: - x-ms-long-running-operation-options - provisioningState directly in the properties bag * ModelValidation: fixed position of provisioningState * Fixed OneUnderscoreInOperationId LintDiff errors * Fixing "Resource provider naming must follow the pascal case" errors. * Fixing systemData error * Fixed location of the types.json, which is in common-types * Fixed location of systemData in the DocumentProcessorResource * Another re-positioning of systemData * Started referencing the Resource from common-types * Changed base resource of DocumentProcessorResource from Resource to TrackedResource * Corrected update example by adding location property * correctly placed location property in the update request * Fixed update LintDiff error * Fixed Delete 204 LintDiff error * Fixed XmsIdentifierValidation errors * Fixed operation response * Fixed errors related to x-ms-pageable * Fixed duplicate example Operation IDs * Fixed x-ms-long-running-operation - related error * Added description field to ResponseStatus * Fixed a spelling error * Fixed azure-asyncoperation - related error * fixed prettier errors * Addressed feedback from ARM review board meeting (Azure#6107) * Removed processDocument operation * Removed DocumentProcessorProperties and ProvisioningState * Fixed examples after removing DocumentProperties and ProvisioningState * Removed x-ms-long-running-operation and 201/202 return codes * Revert "Removed DocumentProcessorProperties and ProvisioningState" This reverts commit 2e621471a91c6453a2e9a154604a608dbe059ee4. * Removed processorName property after reverting DocumentProperties back * Simplified ProvisioningState to have only 2 states to reflect non-async resource creation status * Removed depricated status codes from the examples * Made sure that only tags property of the DocumentProcessorResource can be patched. * Added "Canceled" terminal state per Sanjai's feedback.
- Loading branch information
Showing
17 changed files
with
1,032 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2141,6 +2141,7 @@ Sybase | |
Syncer | ||
syncfunctiontriggers | ||
synonymmaps | ||
Syntex | ||
syntheticmonitorlocations | ||
sysctl | ||
Sysctl | ||
|
31 changes: 31 additions & 0 deletions
31
...anager/Microsoft.Syntex/preview/2021-10-20-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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2021-10-20-preview", | ||
"body": { | ||
"location": "westus", | ||
"tags": { | ||
"additionalProp1": "string1", | ||
"additionalProp2": "string2", | ||
"additionalProp3": "string3" | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...anager/Microsoft.Syntex/preview/2021-10-20-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": "2021-10-20-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...e-manager/Microsoft.Syntex/preview/2021-10-20-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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2021-10-20-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...-manager/Microsoft.Syntex/preview/2021-10-20-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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"api-version": "2021-10-20-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" | ||
} | ||
}, | ||
{ | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...oft.Syntex/preview/2021-10-20-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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"api-version": "2021-10-20-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" | ||
} | ||
}, | ||
{ | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...rosoft.Syntex/preview/2021-10-20-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": "2021-10-20-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" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...anager/Microsoft.Syntex/preview/2021-10-20-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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "cd0d3cc8-cae2-4559-b882-cd707170799b", | ||
"resourceGroupName": "mygroup", | ||
"processorName": "myprocessor", | ||
"api-version": "2021-10-20-preview", | ||
"body": { | ||
"tags": { | ||
"additionalProp1": "string4", | ||
"additionalProp2": "string5", | ||
"additionalProp3": "string6" | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...esource-manager/Microsoft.Syntex/preview/2021-10-20-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": "2021-10-20-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.