Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.BotService to add versio…
Browse files Browse the repository at this point in the history
…n preview/2021-05-01 (Azure#14225)

* Adds base for updating Microsoft.BotService from version stable/2021-03-01 to version 2021-05-01

* Updates readme

* Updates API version in new specs and examples

* add operation result api's to support async operations

* add private links support

* fix issues in examples

* fix more errors

* fix prettier issues

* add missing private links operation. some more fixes

* fix model validation errors

* address comments

* remove properties bag

* remove unintentional change in unrelated api

* update example

* change api version to have preview suffix

* fix lint and model validation errors

* change folder name to preview to match api version

* add breaking changes from base branch

* fix api version

* fix prettier warnings

* update readme

* Update specification/botservice/resource-manager/readme.md

Co-authored-by: JianyeXi <[email protected]>

* check if rename works

* remove system data since it's not support for other botservice

* remove references to common types.json resource to avoid conflicts

Co-authored-by: Swagat Mishra <[email protected]>
Co-authored-by: JianyeXi <[email protected]>
  • Loading branch information
3 people authored and mkarmark committed Jul 20, 2021
1 parent 2117ded commit 3498727
Show file tree
Hide file tree
Showing 42 changed files with 4,828 additions and 8 deletions.

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

0 comments on commit 3498727

Please sign in to comment.