-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Hailiu/bot service web app settings #12995
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
markcowl
merged 15 commits into
Azure:master
from
hailiu2586:hailiu/botService-webAppSettings
Apr 1, 2021
Merged
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6fa8467
add webAppBotSettings get operation
hailiu2586 61897b2
Revert "add webAppBotSettings get operation"
hailiu2586 28cbeec
add api-version 2021-03-01 with webAppBotSettings
hailiu2586 b488619
rename sub type from webAppBotSettings to hostSettings
hailiu2586 558040b
add more descriptive descriptions to HostSettings
hailiu2586 4a63953
update api-version to 2021-03-01 for examples
hailiu2586 f2c1d22
add new bot kind
hailiu2586 6d10198
Update specification/botservice/resource-manager/Microsoft.BotService…
hailiu2586 3c2a0e9
Update specification/botservice/resource-manager/Microsoft.BotService…
hailiu2586 476851e
rename check name availability definition names
hailiu2586 e8df0bc
add azurebot as custom words
hailiu2586 890bb24
fix custom-words.txt file name
hailiu2586 7ed5cf2
put custom words in the right place
hailiu2586 0537f89
rename HostSettings defintion to HostSettingsResponse
hailiu2586 8c29d9f
revert definition names so SDK back compat is not broken
hailiu2586 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
2,651 changes: 2,651 additions & 0 deletions
2,651
...cation/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/botservice.json
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...source-manager/Microsoft.BotService/stable/2021-03-01/examples/CheckNameAvailability.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,17 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-06-02", | ||
| "parameters": { | ||
| "name": "testbotname", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "valid": true, | ||
| "message": "custom message from server" | ||
| } | ||
| } | ||
| } | ||
| } | ||
111 changes: 111 additions & 0 deletions
111
...otservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/CreateBot.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,111 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "parameters": { | ||
| "location": "West US", | ||
| "sku": { | ||
| "name": "S1" | ||
| }, | ||
| "etag": "etag1", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "kind": "sdk", | ||
| "properties": { | ||
| "description": "The description of the bot", | ||
| "developerAppInsightKey": "appinsightskey", | ||
| "developerAppInsightsApiKey": "appinsightsapikey", | ||
| "developerAppInsightsApplicationId": "appinsightsappid", | ||
| "displayName": "The Name of the bot", | ||
| "endpoint": "http://mybot.coffee", | ||
| "iconUrl": "http://myicon", | ||
| "luisAppIds": [ | ||
| "luisappid1", | ||
| "luisappid2" | ||
| ], | ||
| "luisKey": "luiskey", | ||
| "msaAppId": "exampleappid", | ||
| "isCmekEnabled": true, | ||
| "cmekKeyVaultUrl": "https://myCmekKey" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "name": "samplebotname", | ||
| "type": "Microsoft.BotService/botServices", | ||
| "id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.BotService/botServices/samplebotname", | ||
| "kind": "sdk", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "description": "The description of the bot", | ||
| "developerAppInsightKey": "appinsightskey", | ||
| "developerAppInsightsApplicationId": "appinsightsappid", | ||
| "displayName": "The Name of the bot", | ||
| "endpoint": "http://mybot.coffee", | ||
| "endpointVersion": "version", | ||
| "iconUrl": "http://myicon", | ||
| "luisAppIds": [ | ||
| "luisappid1", | ||
| "luisappid2" | ||
| ], | ||
| "msaAppId": "msaappid", | ||
| "configuredChannels": [ | ||
| "facebook", | ||
| "groupme" | ||
| ], | ||
| "enabledChannels": [ | ||
| "facebook" | ||
| ], | ||
| "isCmekEnabled": true, | ||
| "cmekKeyVaultUrl": "https://myCmekKey" | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "name": "samplebotname", | ||
| "type": "Microsoft.BotService/botServices", | ||
| "id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.BotService/botServices/samplebotname", | ||
| "kind": "sdk", | ||
| "properties": { | ||
| "description": "The description of the bot", | ||
| "developerAppInsightsApplicationId": "appinsightsappid", | ||
| "displayName": "The Name of the bot", | ||
| "endpoint": "http://mybot.coffee", | ||
| "endpointVersion": "version", | ||
| "iconUrl": "http://myicon", | ||
| "luisAppIds": [ | ||
| "luisappid1", | ||
| "luisappid2" | ||
| ], | ||
| "msaAppId": "msaappid", | ||
| "configuredChannels": [ | ||
| "facebook", | ||
| "groupme" | ||
| ], | ||
| "enabledChannels": [ | ||
| "facebook" | ||
| ], | ||
| "isCmekEnabled": true, | ||
| "cmekKeyVaultUrl": "https://myCmekKey" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
...otservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/DeleteBot.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,12 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...rvice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/DeleteChannel.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": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "EmailChannel" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...ce/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/DeleteConnection.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": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "connectionName": "sampleConnection" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...anager/Microsoft.BotService/stable/2021-03-01/examples/DeleteDirectLineSpeechChannel.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": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "DirectLineSpeechChannel" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
36 changes: 36 additions & 0 deletions
36
...rce-manager/Microsoft.BotService/stable/2021-03-01/examples/DirectlineRegenerateKeys.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,36 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "DirectLineChannel", | ||
| "parameters": { | ||
| "siteName": "testSiteName", | ||
| "key": "key1" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "global", | ||
| "properties": { | ||
| "channelName": "DirectLineChannel", | ||
| "properties": { | ||
| "sites": [ | ||
| { | ||
| "siteId": "abcd", | ||
| "siteName": "Default Site", | ||
| "key": "key1", | ||
| "key2": "key2", | ||
| "isEnabled": true, | ||
| "isV1Enabled": true, | ||
| "isV3Enabled": true | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
25 changes: 25 additions & 0 deletions
25
...ice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetAlexaChannel.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,25 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "AlexaChannel" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "global", | ||
| "properties": { | ||
| "channelName": "AlexaChannel", | ||
| "properties": { | ||
| "alexaSkillId": "alexa skill id", | ||
| "urlFragment": "XUrlFragmentX", | ||
| "serviceEndpointUri": "https://domain/XUrlFragmentX/botId", | ||
| "isEnabled": true | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
47 changes: 47 additions & 0 deletions
47
...n/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetBot.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,47 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "name": "samplebotname", | ||
| "type": "Microsoft.BotService/botServices", | ||
| "id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.BotService/botServices/samplebotname", | ||
| "kind": "sdk", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "description": "The description of the bot", | ||
| "developerAppInsightKey": "appinsightskey", | ||
| "developerAppInsightsApplicationId": "appinsightsappid", | ||
| "displayName": "The Name of the bot", | ||
| "endpoint": "http://mybot.coffee", | ||
| "endpointVersion": "version", | ||
| "iconUrl": "http://myicon", | ||
| "luisAppIds": [ | ||
| "luisappid1", | ||
| "luisappid2" | ||
| ], | ||
| "msaAppId": "msaappid", | ||
| "configuredChannels": [ | ||
| "facebook", | ||
| "groupme" | ||
| ], | ||
| "enabledChannels": [ | ||
| "facebook" | ||
| ], | ||
| "isCmekEnabled": true, | ||
| "cmekKeyVaultUrl": "https://myCmekKey" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
24 changes: 24 additions & 0 deletions
24
...tservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetChannel.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,24 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "EmailChannel" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "global", | ||
| "properties": { | ||
| "channelName": "EmailChannel", | ||
| "properties": { | ||
| "emailAddress": "[email protected]", | ||
| "password": "pwd", | ||
| "isEnabled": true | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
36 changes: 36 additions & 0 deletions
36
...rvice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetConnection.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,36 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "connectionName": "sampleConnection" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "global", | ||
| "id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.BotService/botServices/samplebotname/connections/sampleConnection", | ||
| "etag": "etag1", | ||
| "name": "sampleConnection", | ||
| "properties": { | ||
| "clientId": "sampleclientid", | ||
| "clientSecret": null, | ||
| "scopes": "samplescope", | ||
| "serviceProviderId": "serviceproviderid", | ||
| "serviceProviderDisplayName": "serviceProviderDisplayName", | ||
| "parameters": [ | ||
| { | ||
| "key": "key1", | ||
| "value": "value1" | ||
| }, | ||
| { | ||
| "key": "key2", | ||
| "value": "value2" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
26 changes: 26 additions & 0 deletions
26
...e-manager/Microsoft.BotService/stable/2021-03-01/examples/GetDirectLineSpeechChannel.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,26 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2020-06-02", | ||
| "resourceName": "samplebotname", | ||
| "channelName": "DirectLineSpeechChannel" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "global", | ||
| "properties": { | ||
| "channelName": "DirectLineSpeechChannel", | ||
| "properties": { | ||
| "cognitiveServicesSubscriptionId": "Cognitive services subscription ID", | ||
| "customVoiceDeploymentId": "Custom voice deployment ID", | ||
| "customSpeechModelId": "Custom speech model ID", | ||
| "isDefaultBotForCogSvcAccount": true, | ||
| "isEnabled": true | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.