Skip to content
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

[Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01 #14225

Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e53136e
Adds base for updating Microsoft.BotService from version stable/2021-…
swagatmishra2007 Apr 30, 2021
ce006fc
Updates readme
swagatmishra2007 Apr 30, 2021
7b7a2dc
Updates API version in new specs and examples
swagatmishra2007 Apr 30, 2021
008e724
add operation result api's to support async operations
May 4, 2021
2435dac
add private links support
May 4, 2021
36a8838
fix issues in examples
May 4, 2021
dd2426f
fix more errors
May 4, 2021
1046a41
fix prettier issues
May 4, 2021
40bfaa7
add missing private links operation. some more fixes
May 5, 2021
cc3d3c2
fix model validation errors
May 5, 2021
715470c
address comments
May 10, 2021
d2ce294
Merge branch 'master' into dev-botservice-Microsoft.BotService-2021-0…
swagatmishra2007 May 10, 2021
99c2002
remove properties bag
May 11, 2021
5b18738
remove unintentional change in unrelated api
May 11, 2021
a7b8b10
update example
May 11, 2021
ecc5b41
change api version to have preview suffix
May 12, 2021
11260be
fix lint and model validation errors
May 17, 2021
8d9d690
change folder name to preview to match api version
May 19, 2021
c78bcfd
add breaking changes from base branch
May 19, 2021
b01d4d3
fix api version
May 19, 2021
2c5de11
fix prettier warnings
May 19, 2021
e4850da
update readme
May 20, 2021
4469612
Update specification/botservice/resource-manager/readme.md
swagatmishra2007 May 20, 2021
690c0e3
check if rename works
May 21, 2021
e66ecbf
remove system data since it's not support for other botservice
May 21, 2021
46543b2
remove references to common types.json resource to avoid conflicts
May 26, 2021
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2021-05-01-preview",
"parameters": {
"name": "testbotname",
"type": "string"
}
},
"responses": {
"200": {
"body": {
"valid": true,
"message": "custom message from server"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"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",
"isIsolated": false,
"schemaTransformationVersion": "1.0"
}
}
},
"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",
"isIsolated": false,
"schemaTransformationVersion": "1.0"
}
}
},
"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",
"isIsolated": false,
"schemaTransformationVersion": "1.0"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"resourceName": "samplebotname"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"resourceName": "samplebotname",
"channelName": "EmailChannel"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"resourceName": "samplebotname",
"connectionName": "sampleConnection"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"resourceName": "samplebotname",
"channelName": "DirectLineSpeechChannel"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "res6977",
"resourceName": "sto2527",
"privateEndpointConnectionName": "{privateEndpointConnectionName}",
"api-version": "2021-05-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"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
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"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
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"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",
"isIsolated": false,
"schemaTransformationVersion": "1.0"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"resourceName": "samplebotname",
"channelName": "EmailChannel"
},
"responses": {
"200": {
"body": {
"location": "global",
"properties": {
"channelName": "EmailChannel",
"properties": {
"emailAddress": "[email protected]",
"password": "pwd",
"isEnabled": true
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2021-05-01-preview",
"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"
}
]
}
}
}
}
}
Loading