forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Health Bot MSI support (Azure#14787)
* Azure Health Bot - copy the existing version into new directory structure. * Azure Health Bot - Updates for new API, including: 1. Azure Health Bot MSI support in API 2021-06-10. 2. Examples fixes. 3. Azure Health Bot naming (not Microsoft Healthcare Bot).
- Loading branch information
1 parent
85a5f6f
commit 10873ac
Showing
11 changed files
with
1,193 additions
and
4 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...lthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-10" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...ource-manager/Microsoft.HealthBot/stable/2021-06-10/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,64 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2021-06-10" | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...source-manager/Microsoft.HealthBot/stable/2021-06-10/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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2021-06-10" | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
.../resource-manager/Microsoft.HealthBot/stable/2021-06-10/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,77 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2021-06-10", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...source-manager/Microsoft.HealthBot/stable/2021-06-10/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": "2021-06-10", | ||
"subscriptionId": "subid", | ||
"botName": "samplebotname" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...hbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/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,41 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2021-06-10", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
.../resource-manager/Microsoft.HealthBot/stable/2021-06-10/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,75 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "healthbotClient", | ||
"api-version": "2021-06-10", | ||
"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" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.