Skip to content

Commit afbf096

Browse files
authored
[Hub Generated] Review request for Microsoft.BotService to add version stable/2020-06-02 (#11976)
* update swagger api * add custom words * remove secret in examples * test validation * test validation * test validation * suppress verifyToken * suppress verifyToken * suppress verifyToken * suppress verifyToken * suppress verifyToken * suppress verifyToken * suppress verifyToken
1 parent 04b72a3 commit afbf096

16 files changed

+70
-37
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ cloudsimple
335335
clustermonitoring
336336
clustername
337337
CMAF
338+
CMEK
338339
Cmdkey
339340
cmdlet
340341
CMMI

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/botservice.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,14 @@
12771277
"luisKey": {
12781278
"type": "string",
12791279
"description": "The LUIS Key"
1280+
},
1281+
"isCmekEnabled": {
1282+
"type": "boolean",
1283+
"description": "Whether Cmek is enabled"
1284+
},
1285+
"cmekKeyVaultUrl": {
1286+
"type": "string",
1287+
"description": "The CMK Url"
12801288
}
12811289
},
12821290
"description": "The parameters to provide for the Bot.",
@@ -1428,7 +1436,6 @@
14281436
"description": "The parameters to provide for the Facebook channel.",
14291437
"required": [
14301438
"appId",
1431-
"appSecret",
14321439
"isEnabled"
14331440
]
14341441
},
@@ -1446,8 +1453,7 @@
14461453
},
14471454
"description": "A Facebook page for Facebook channel registration",
14481455
"required": [
1449-
"id",
1450-
"accessToken"
1456+
"id"
14511457
]
14521458
},
14531459
"EmailChannel": {
@@ -1484,7 +1490,6 @@
14841490
"description": "The parameters to provide for the Email channel.",
14851491
"required": [
14861492
"emailAddress",
1487-
"password",
14881493
"isEnabled"
14891494
]
14901495
},
@@ -1622,7 +1627,6 @@
16221627
"description": "The parameters to provide for the Kik channel.",
16231628
"required": [
16241629
"userName",
1625-
"apiKey",
16261630
"isEnabled"
16271631
]
16281632
},
@@ -1724,7 +1728,6 @@
17241728
},
17251729
"description": "The parameters to provide for the Telegram channel.",
17261730
"required": [
1727-
"accessToken",
17281731
"isEnabled"
17291732
]
17301733
},
@@ -1772,7 +1775,6 @@
17721775
"required": [
17731776
"phone",
17741777
"accountSID",
1775-
"authToken",
17761778
"isEnabled"
17771779
]
17781780
},
@@ -1844,9 +1846,6 @@
18441846
},
18451847
"description": "The parameters to provide for the Slack channel.",
18461848
"required": [
1847-
"clientId",
1848-
"clientSecret",
1849-
"verificationToken",
18501849
"isEnabled"
18511850
]
18521851
},

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/CreateBot.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"luisappid2"
2929
],
3030
"luisKey": "luiskey",
31-
"msaAppId": "exampleappid"
31+
"msaAppId": "exampleappid",
32+
"isCmekEnabled": true,
33+
"cmekKeyVaultUrl": "https://myCmekKey"
3234
}
3335
}
3436
},
@@ -64,7 +66,9 @@
6466
],
6567
"enabledChannels": [
6668
"facebook"
67-
]
69+
],
70+
"isCmekEnabled": true,
71+
"cmekKeyVaultUrl": "https://myCmekKey"
6872
}
6973
}
7074
},
@@ -97,7 +101,9 @@
97101
],
98102
"enabledChannels": [
99103
"facebook"
100-
]
104+
],
105+
"isCmekEnabled": true,
106+
"cmekKeyVaultUrl": "https://myCmekKey"
101107
}
102108
}
103109
}

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/GetBot.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
],
3838
"enabledChannels": [
3939
"facebook"
40-
]
40+
],
41+
"isCmekEnabled": true,
42+
"cmekKeyVaultUrl": "https://myCmekKey"
4143
}
4244
}
4345
}

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/GetConnection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"name": "sampleConnection",
1616
"properties": {
1717
"clientId": "sampleclientid",
18-
"clientSecret": "samplesecret",
18+
"clientSecret": null,
1919
"scopes": "samplescope",
2020
"serviceProviderId": "serviceproviderid",
2121
"serviceProviderDisplayName": "serviceProviderDisplayName",

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/GetLineChannel.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"lineRegistrations": [
1717
{
1818
"generatedId": "id",
19-
"channelSecret": "channelSecret",
20-
"channelAccessToken": "channelAccessToken"
19+
"channelSecret": null,
20+
"channelAccessToken": null
2121
}
2222
],
2323
"callbackUrl": "http://callbackUrl",

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/ListBotsByResourceGroup.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
],
3939
"enabledChannels": [
4040
"facebook"
41-
]
41+
],
42+
"isCmekEnabled": true,
43+
"cmekKeyVaultUrl": "https://myCmekKey"
4244
}
4345
}
4446
]

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/ListBotsBySubscription.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
],
3838
"enabledChannels": [
3939
"facebook"
40-
]
40+
],
41+
"isCmekEnabled": true,
42+
"cmekKeyVaultUrl": "https://myCmekKey"
4143
}
4244
}
4345
]

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/ListChannelsByBotService.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"properties": {
2828
"verifyToken": "othertoken",
2929
"appId": "id",
30-
"appSecret": "secret",
30+
"appSecret": null,
3131
"callbackUrl": "appid",
3232
"isEnabled": true,
3333
"pages": [
3434
{
35-
"accessToken": "token",
35+
"accessToken": null,
3636
"id": "id"
3737
}
3838
]

specification/botservice/resource-manager/Microsoft.BotService/stable/2020-06-02/examples/ListConnectionsByBotService.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"name": "sampleConnection",
1414
"properties": {
1515
"clientId": "sampleclientid",
16-
"clientSecret": "samplesecret",
16+
"clientSecret": null,
1717
"scopes": "samplescope",
1818
"serviceProviderId": "serviceproviderid",
1919
"parameters": [

0 commit comments

Comments
 (0)