Skip to content

Commit

Permalink
Azure Healthbot - new API for async support and new tier (#12006)
Browse files Browse the repository at this point in the history
* 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
guy-microsoft and qiaozha authored Dec 15, 2020
1 parent cc7c570 commit 516657c
Show file tree
Hide file tree
Showing 21 changed files with 2,225 additions and 1 deletion.
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": ""
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 516657c

Please sign in to comment.