-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Cmk support for Azure healthbot #16520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...lthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/GetOperations.json
This file contains hidden or 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-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" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
64 changes: 64 additions & 0 deletions
64
...ource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ListBotsByResourceGroup.json
This file contains hidden or 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-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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
44 changes: 44 additions & 0 deletions
44
...source-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ListBotsBySubscription.json
This file contains hidden or 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-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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
77 changes: 77 additions & 0 deletions
77
.../resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceCreationPut.json
This file contains hidden or 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-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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...source-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceDeletionDelete.json
This file contains hidden or 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-08-24", | ||
| "subscriptionId": "subid", | ||
| "botName": "samplebotname" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
...hbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceInfoGet.json
This file contains hidden or 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-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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
75 changes: 75 additions & 0 deletions
75
.../resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceUpdatePatch.json
This file contains hidden or 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-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" | ||
| }, | ||
| "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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.