-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Healthbot - new API for async support and new tier (#12006)
* New API: 1. More async support. 2. New tier name "C0". * New API: 1. More async support. 2. New tier name "C0". * New API: 1. More async support. 2. New tier name "C0". * New API: 1. More async support. 2. New tier name "C0". * add readme and fix a bunch of issues * Fixes to swagger. * Fixes to swagger. * Fixes to swagger. * Example names. * Update readme.az.md Co-authored-by: qiaozha <qiaozha@microsoft.com>
- Loading branch information
1 parent
cc7c570
commit 516657c
Showing
21 changed files
with
2,225 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...anager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/CheckNameAvailability.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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-08-preview", | ||
"subscriptionId": "subscription-id", | ||
"parameters": { | ||
"name": "MyBot", | ||
"type": "string" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"message": "" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...source-manager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/GetOperations.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": { | ||
"api-version": "2020-12-08-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.HealthBot/healthbot/botName/read", | ||
"display": { | ||
"provider": "Microsoft Healthcare Bot", | ||
"resource": "Microsoft Healthcare Bot name availability", | ||
"operation": "Check bot name availability", | ||
"description": "Check bot name availability" | ||
}, | ||
"origin": "user,system" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ListBotsByResourceGroup.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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2020-12-08-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...nager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ListBotsBySubscription.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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2020-12-08-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...-manager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ResourceCreationPut.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,61 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2020-12-08-preview", | ||
"subscriptionId": "subid", | ||
"botName": "samplebotname", | ||
"parameters": { | ||
"location": "East US", | ||
"sku": { | ||
"name": "F0" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage", | ||
"provisioningState": "Provisioning" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...nager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ResourceDeletionDelete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2020-12-08-preview", | ||
"subscriptionId": "subid", | ||
"botName": "samplebotname" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...urce-manager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ResourceInfoGet.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,32 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2020-12-08-preview", | ||
"subscriptionId": "subid", | ||
"botName": "samplebotname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...-manager/Microsoft.HealthBot/preview/2020-12-08-preview/examples/ResourceUpdatePatch.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,59 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2020-12-08-preview", | ||
"subscriptionId": "subid", | ||
"botName": "samplebotname", | ||
"parameters": { | ||
"sku": { | ||
"name": "F0" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"location": "East US", | ||
"name": "samplebotname", | ||
"type": "Microsoft.HealthBot/healthBots", | ||
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname", | ||
"sku": { | ||
"name": "F0" | ||
}, | ||
"properties": { | ||
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage" | ||
}, | ||
"systemData": { | ||
"createdBy": "jack@outlook.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-05-05T17:18:19.1234567Z", | ||
"lastModifiedBy": "ryan@outlook.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.