Skip to content

Commit 75bbf8d

Browse files
Azure Healthbot swagger (#11681)
* Azure Healthbot swagger . * Fixes according to review. * Fixes according to review. * Fixes according to review.
1 parent 9936295 commit 75bbf8d

24 files changed

+2277
-0
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ HCRP
742742
HDFS
743743
hdinsight
744744
Headnode
745+
healthbot
745746
healthcareapis
746747
Heatbeat
747748
heatmap
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-10-20-preview",
4+
"subscriptionId": "subscription-id",
5+
"parameters": {
6+
"name": "MyBot",
7+
"type": "string"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": true,
14+
"message": ""
15+
}
16+
}
17+
}
18+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-10-20-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.HealthBot/healthbot/botName/read",
11+
"display": {
12+
"provider": "Microsoft Healthcare Bot",
13+
"resource": "Microsoft Healthcare Bot name availability",
14+
"operation": "Check bot name availability",
15+
"description": "Check bot name availability"
16+
},
17+
"origin": "user,system"
18+
}
19+
]
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscription-id",
4+
"resourceGroupName": "OneResourceGroupName",
5+
"api-version": "2020-10-20-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"location": "East US",
13+
"name": "samplebotname",
14+
"type": "Microsoft.HealthBot/healthBots",
15+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
16+
"sku": {
17+
"name": "F0"
18+
},
19+
"properties": {
20+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
21+
},
22+
"systemData": {
23+
"createdBy": "jack@outlook.com",
24+
"createdByType": "User",
25+
"createdAt": "2020-05-05T17:18:19.1234567Z",
26+
"lastModifiedBy": "ryan@outlook.com",
27+
"lastModifiedByType": "User",
28+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
29+
}
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscription-id",
4+
"resourceGroupName": "OneResourceGroupName",
5+
"api-version": "2020-10-20-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"location": "East US",
13+
"name": "samplebotname",
14+
"type": "Microsoft.HealthBot/healthBots",
15+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
16+
"sku": {
17+
"name": "F0"
18+
},
19+
"properties": {
20+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
21+
},
22+
"systemData": {
23+
"createdBy": "jack@outlook.com",
24+
"createdByType": "User",
25+
"createdAt": "2020-05-05T17:18:19.1234567Z",
26+
"lastModifiedBy": "ryan@outlook.com",
27+
"lastModifiedByType": "User",
28+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
29+
}
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2020-10-20-preview",
5+
"subscriptionId": "subid",
6+
"resourceName": "MyBot",
7+
"parameters": {
8+
"location": "East US",
9+
"sku": {
10+
"name": "F0"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"location": "East US",
18+
"name": "samplebotname",
19+
"type": "Microsoft.HealthBot/healthBots",
20+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
21+
"sku": {
22+
"name": "F0"
23+
},
24+
"properties": {
25+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
26+
},
27+
"systemData": {
28+
"createdBy": "jack@outlook.com",
29+
"createdByType": "User",
30+
"createdAt": "2020-05-05T17:18:19.1234567Z",
31+
"lastModifiedBy": "ryan@outlook.com",
32+
"lastModifiedByType": "User",
33+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
34+
}
35+
}
36+
},
37+
"201": {
38+
"body": {
39+
"location": "East US",
40+
"name": "samplebotname",
41+
"type": "Microsoft.HealthBot/healthBots",
42+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
43+
"sku": {
44+
"name": "F0"
45+
},
46+
"properties": {
47+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage",
48+
"provisioningState": "Provisioning"
49+
},
50+
"systemData": {
51+
"createdBy": "jack@outlook.com",
52+
"createdByType": "User",
53+
"createdAt": "2020-05-05T17:18:19.1234567Z",
54+
"lastModifiedBy": "ryan@outlook.com",
55+
"lastModifiedByType": "User",
56+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
57+
}
58+
}
59+
}
60+
}
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2020-10-20-preview",
5+
"subscriptionId": "subid",
6+
"resourceName": "MyBot"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2020-10-20-preview",
5+
"subscriptionId": "subid",
6+
"resourceName": "MyBot"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "East US",
12+
"name": "samplebotname",
13+
"type": "Microsoft.HealthBot/healthBots",
14+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
15+
"sku": {
16+
"name": "F0"
17+
},
18+
"properties": {
19+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
20+
},
21+
"systemData": {
22+
"createdBy": "jack@outlook.com",
23+
"createdByType": "User",
24+
"createdAt": "2020-05-05T17:18:19.1234567Z",
25+
"lastModifiedBy": "ryan@outlook.com",
26+
"lastModifiedByType": "User",
27+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
28+
}
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2020-10-20-preview",
5+
"subscriptionId": "subid",
6+
"resourceName": "MyBot",
7+
"parameters": {
8+
"sku": {
9+
"name": "F0"
10+
}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"location": "East US",
17+
"name": "samplebotname",
18+
"type": "Microsoft.HealthBot/healthBots",
19+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
20+
"sku": {
21+
"name": "F0"
22+
},
23+
"properties": {
24+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
25+
},
26+
"systemData": {
27+
"createdBy": "jack@outlook.com",
28+
"createdByType": "User",
29+
"createdAt": "2020-05-05T17:18:19.1234567Z",
30+
"lastModifiedBy": "ryan@outlook.com",
31+
"lastModifiedByType": "User",
32+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
33+
}
34+
}
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)