Skip to content

Commit a877b65

Browse files
zhixzhanLeiwang3SQL
authored andcommitted
Review request for Microsoft.BotService to update version stable/2021-03-01 (Azure#16377)
* fix api error * update * update * update example * prettier fix
1 parent d12c298 commit a877b65

File tree

5 files changed

+259
-7
lines changed

5 files changed

+259
-7
lines changed

specification/botservice/resource-manager/Microsoft.BotService/preview/2021-05-01-preview/botservice.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,24 @@
15621562
"readOnly": true,
15631563
"description": "The bot's endpoint version"
15641564
},
1565+
"allSettings": {
1566+
"description": "Contains resource all settings defined as key/value pairs.",
1567+
"type": "object",
1568+
"additionalProperties": {
1569+
"type": "string"
1570+
}
1571+
},
1572+
"parameters": {
1573+
"description": "Contains resource parameters defined as key/value pairs.",
1574+
"type": "object",
1575+
"additionalProperties": {
1576+
"type": "string"
1577+
}
1578+
},
1579+
"manifestUrl": {
1580+
"type": "string",
1581+
"description": "The bot's manifest url"
1582+
},
15651583
"msaAppType": {
15661584
"type": "string",
15671585
"description": "Microsoft App Type for the bot",
@@ -1634,10 +1652,18 @@
16341652
"type": "string",
16351653
"description": "The CMK Url"
16361654
},
1655+
"cmekEncryptionStatus": {
1656+
"type": "string",
1657+
"description": "The CMK encryption status"
1658+
},
16371659
"isIsolated": {
16381660
"type": "boolean",
16391661
"description": "Whether the bot is in an isolated network"
16401662
},
1663+
"isStreamingSupported": {
1664+
"type": "boolean",
1665+
"description": "Whether the bot is streaming supported"
1666+
},
16411667
"isDeveloperAppInsightsApiKeySet": {
16421668
"type": "boolean",
16431669
"description": "Whether the bot is developerAppInsightsApiKey set"
@@ -1670,6 +1696,15 @@
16701696
"appPasswordHint": {
16711697
"type": "string",
16721698
"description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret"
1699+
},
1700+
"provisioningState": {
1701+
"type": "string",
1702+
"readOnly": true,
1703+
"description": "Provisioning state of the resource"
1704+
},
1705+
"publishingCredentials": {
1706+
"type": "string",
1707+
"description": "Publishing credentials of the resource"
16731708
}
16741709
},
16751710
"description": "The parameters to provide for the Bot.",
@@ -1746,6 +1781,11 @@
17461781
"etag": {
17471782
"type": "string",
17481783
"description": "Entity Tag of the resource"
1784+
},
1785+
"provisioningState": {
1786+
"type": "string",
1787+
"readOnly": true,
1788+
"description": "Provisioning state of the resource"
17491789
}
17501790
}
17511791
},
@@ -1923,6 +1963,10 @@
19231963
"provisioningState": {
19241964
"type": "string",
19251965
"description": "Provisioning state of the resource"
1966+
},
1967+
"location": {
1968+
"type": "string",
1969+
"description": "Location of the resource"
19261970
}
19271971
}
19281972
},
@@ -1943,6 +1987,14 @@
19431987
"incomingCallRoute": {
19441988
"type": "string",
19451989
"description": "Webhook for Microsoft Teams channel calls"
1990+
},
1991+
"deploymentEnvironment": {
1992+
"type": "string",
1993+
"description": "Deployment environment for Microsoft Teams channel calls"
1994+
},
1995+
"acceptedTerms": {
1996+
"type": "boolean",
1997+
"description": "Whether this channel accepted terms"
19461998
}
19471999
},
19482000
"description": "The parameters to provide for the Microsoft Teams channel.",
@@ -2077,6 +2129,10 @@
20772129
"type": "string",
20782130
"description": "Location of the resource"
20792131
},
2132+
"provisioningState": {
2133+
"type": "string",
2134+
"description": "Provisioning state of the resource"
2135+
},
20802136
"etag": {
20812137
"type": "string",
20822138
"description": "Entity Tag of the resource"
@@ -2124,6 +2180,10 @@
21242180
"provisioningState": {
21252181
"type": "string",
21262182
"description": "Provisioning state of the resource"
2183+
},
2184+
"location": {
2185+
"type": "string",
2186+
"description": "Location of the resource"
21272187
}
21282188
}
21292189
},
@@ -2656,6 +2716,10 @@
26562716
"items": {
26572717
"$ref": "#/definitions/ConnectionSettingParameter"
26582718
}
2719+
},
2720+
"provisioningState": {
2721+
"type": "string",
2722+
"description": "Provisioning state of the resource"
26592723
}
26602724
},
26612725
"description": "Properties for a Connection Setting Item"
@@ -2740,6 +2804,23 @@
27402804
"type": "string",
27412805
"description": "Default Name for the Service Provider",
27422806
"readOnly": true
2807+
},
2808+
"metadata": {
2809+
"type": "object",
2810+
"description": "Meta data for the Service Provider",
2811+
"readOnly": true,
2812+
"properties": {
2813+
"constraints": {
2814+
"description": "the constraints of the bot meta data.",
2815+
"type": "object",
2816+
"properties": {
2817+
"required": {
2818+
"description": "Whether required the constraints of the bot meta data.",
2819+
"type": "boolean"
2820+
}
2821+
}
2822+
}
2823+
}
27432824
}
27442825
},
27452826
"description": "Extra Parameters specific to each Service Provider"

specification/botservice/resource-manager/Microsoft.BotService/preview/2021-05-01-preview/examples/ListChannelsByBotService.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"properties": {
2626
"channelName": "FacebookChannel",
2727
"properties": {
28-
"verifyToken": "othertoken",
2928
"appId": "id",
30-
"appSecret": null,
3129
"callbackUrl": "appid",
3230
"isEnabled": true,
3331
"pages": [

0 commit comments

Comments
 (0)