Skip to content

Commit 1cc9472

Browse files
Add new PES SKU to Healthbot (#24201)
* create new api version * Add PES SKU name * update examples api-version versions reference * fix api version * Fix default version * add 201 response header example * fix example --------- Co-authored-by: Arie Schwartzman <ariesch.microsoft.com> Co-authored-by: Arie Schwartzman <[email protected]>
1 parent 601e3d4 commit 1cc9472

File tree

11 files changed

+1376
-1
lines changed

11 files changed

+1376
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-05-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.Healthbot/healthbots/read",
11+
"display": {
12+
"provider": "Azure Health Bot",
13+
"resource": "Azure Health Bot",
14+
"operation": "Read Azure Health Bot",
15+
"description": "Read Azure Health Bot"
16+
},
17+
"origin": "user,system"
18+
},
19+
{
20+
"name": "Microsoft.Healthbot/healthbots/write",
21+
"display": {
22+
"provider": "Azure Health Bot",
23+
"resource": "Azure Health Bot",
24+
"operation": "Write Azure Health Bot",
25+
"description": "Writes Azure Health Bot"
26+
},
27+
"origin": "user,system"
28+
},
29+
{
30+
"name": "Microsoft.Healthbot/healthbots/delete",
31+
"display": {
32+
"provider": "Azure Health Bot",
33+
"resource": "Azure Health Bot",
34+
"operation": "Delete Azure Health Bot",
35+
"description": "Deletes Azure Health Bot"
36+
},
37+
"origin": "user,system"
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscription-id",
4+
"resourceGroupName": "OneResourceGroupName",
5+
"api-version": "2023-05-01"
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/samplebotname-1yhd91k"
21+
},
22+
"systemData": {
23+
"createdBy": "[email protected]",
24+
"createdByType": "User",
25+
"createdAt": "2020-05-05T17:18:19.1234567Z",
26+
"lastModifiedBy": "[email protected]",
27+
"lastModifiedByType": "User",
28+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
29+
}
30+
},
31+
{
32+
"location": "East US",
33+
"name": "samplebotname2",
34+
"type": "Microsoft.HealthBot/healthBots",
35+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
36+
"sku": {
37+
"name": "S1"
38+
},
39+
"identity": {
40+
"userAssignedIdentities": {
41+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
42+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
43+
},
44+
"principalId": "principalId",
45+
"tenantId": "tenantId",
46+
"type": "SystemAssigned, UserAssigned"
47+
},
48+
"properties": {
49+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
50+
},
51+
"systemData": {
52+
"createdBy": "[email protected]",
53+
"createdByType": "User",
54+
"createdAt": "2020-05-05T17:18:19.1234567Z",
55+
"lastModifiedBy": "[email protected]",
56+
"lastModifiedByType": "User",
57+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
58+
}
59+
}
60+
]
61+
}
62+
}
63+
}
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscription-id",
4+
"resourceGroupName": "OneResourceGroupName",
5+
"api-version": "2023-05-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"location": "East US",
13+
"name": "samplebotname2",
14+
"type": "Microsoft.HealthBot/healthBots",
15+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
16+
"sku": {
17+
"name": "S1"
18+
},
19+
"identity": {
20+
"userAssignedIdentities": {
21+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
22+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
23+
},
24+
"principalId": "principalId",
25+
"tenantId": "tenantId",
26+
"type": "SystemAssigned, UserAssigned"
27+
},
28+
"properties": {
29+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
30+
},
31+
"systemData": {
32+
"createdBy": "[email protected]",
33+
"createdByType": "User",
34+
"createdAt": "2020-05-05T17:18:19.1234567Z",
35+
"lastModifiedBy": "[email protected]",
36+
"lastModifiedByType": "User",
37+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
38+
}
39+
}
40+
]
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2023-05-01",
5+
"subscriptionId": "subid",
6+
"botName": "samplebotname"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"secrets": [
12+
{
13+
"keyName": "APP_SECRET",
14+
"value": "XXXXX"
15+
},
16+
{
17+
"keyName": "WEBCHAT_SECRET",
18+
"value": "XXXXX"
19+
},
20+
{
21+
"keyName": "API_JWT_SECRET",
22+
"value": "XXXXX"
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2023-05-01",
5+
"subscriptionId": "subid",
6+
"botName": "samplebotname"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"keyName": "API_JWT_SECRET",
12+
"value": "XXXXX"
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2023-05-01",
5+
"subscriptionId": "subid",
6+
"botName": "samplebotname",
7+
"parameters": {
8+
"location": "East US",
9+
"sku": {
10+
"name": "F0"
11+
},
12+
"identity": {
13+
"userAssignedIdentities": {
14+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
15+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
16+
},
17+
"type": "SystemAssigned, UserAssigned"
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"location": "East US",
25+
"name": "samplebotname",
26+
"type": "Microsoft.HealthBot/healthBots",
27+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
28+
"sku": {
29+
"name": "F0"
30+
},
31+
"identity": {
32+
"userAssignedIdentities": {
33+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
34+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
35+
},
36+
"principalId": "principalId",
37+
"tenantId": "tenantId",
38+
"type": "SystemAssigned, UserAssigned"
39+
},
40+
"properties": {
41+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
42+
},
43+
"systemData": {
44+
"createdBy": "[email protected]",
45+
"createdByType": "User",
46+
"createdAt": "2020-05-05T17:18:19.1234567Z",
47+
"lastModifiedBy": "[email protected]",
48+
"lastModifiedByType": "User",
49+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
50+
}
51+
}
52+
},
53+
"201": {
54+
"body": {
55+
"location": "East US",
56+
"name": "samplebotname",
57+
"type": "Microsoft.HealthBot/healthBots",
58+
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
59+
"sku": {
60+
"name": "F0"
61+
},
62+
"properties": {
63+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso",
64+
"provisioningState": "Provisioning"
65+
},
66+
"systemData": {
67+
"createdBy": "[email protected]",
68+
"createdByType": "User",
69+
"createdAt": "2020-05-05T17:18:19.1234567Z",
70+
"lastModifiedBy": "[email protected]",
71+
"lastModifiedByType": "User",
72+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
73+
}
74+
}
75+
}
76+
}
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2023-05-01",
5+
"subscriptionId": "subid",
6+
"botName": "samplebotname"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
12+
}
13+
},
14+
"202": {
15+
"headers": {
16+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
17+
}
18+
},
19+
"204": {
20+
"headers": {
21+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "healthbotClient",
4+
"api-version": "2023-05-01",
5+
"subscriptionId": "subid",
6+
"botName": "samplebotname"
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+
"identity": {
19+
"userAssignedIdentities": {
20+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
21+
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
22+
},
23+
"principalId": "principalId",
24+
"tenantId": "tenantId",
25+
"type": "SystemAssigned, UserAssigned"
26+
},
27+
"properties": {
28+
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
29+
},
30+
"systemData": {
31+
"createdBy": "[email protected]",
32+
"createdByType": "User",
33+
"createdAt": "2020-05-05T17:18:19.1234567Z",
34+
"lastModifiedBy": "[email protected]",
35+
"lastModifiedByType": "User",
36+
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
37+
}
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)