Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2021-08-24"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Healthbot/healthbots/read",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Read Azure Health Bot",
"description": "Read Azure Health Bot"
},
"origin": "user,system"
},
{
"name": "Microsoft.Healthbot/healthbots/write",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Write Azure Health Bot",
"description": "Writes Azure Health Bot"
},
"origin": "user,system"
},
{
"name": "Microsoft.Healthbot/healthbots/delete",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Delete Azure Health Bot",
"description": "Deletes Azure Health Bot"
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-08-24"
},
"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/samplebotname-1yhd91k"
},
"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"
}
},
{
"location": "East US",
"name": "samplebotname2",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
"sku": {
"name": "S1"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
},
"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,44 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-08-24"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "East US",
"name": "samplebotname2",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
"sku": {
"name": "S1"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
},
"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,77 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2021-08-24",
"subscriptionId": "subid",
"botName": "samplebotname",
"parameters": {
"location": "East US",
"sku": {
"name": "F0"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"type": "SystemAssigned, UserAssigned"
}
}
},
"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"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
},
"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",
"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": "2021-08-24",
"subscriptionId": "subid",
"botName": "samplebotname"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2021-08-24",
"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"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
},
"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,75 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2021-08-24",
"subscriptionId": "subid",
"botName": "samplebotname",
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"type": "SystemAssigned, UserAssigned"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be inside "parameters" below. Also it will be nice if the example shows the usage of the new properties added.

"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"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
},
"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"
},
"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