Skip to content

Commit

Permalink
CodeGen from PR 16760 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview (#16760)

* rename

* change to enum

* fix bug

* fix example
  • Loading branch information
SDKAuto committed Nov 17, 2021
1 parent 3a6d332 commit d2d42e8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
26 changes: 15 additions & 11 deletions schemas/2021-03-01/Microsoft.BotService.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,17 +476,6 @@
],
"description": "Whether the bot is developerAppInsightsApiKey set"
},
"isIsolated": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is in an isolated network"
},
"isStreamingSupported": {
"oneOf": [
{
Expand Down Expand Up @@ -567,6 +556,21 @@
],
"description": "Contains resource parameters defined as key/value pairs."
},
"publicNetworkAccess": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is in an isolated network."
},
"publishingCredentials": {
"type": "string",
"description": "Publishing credentials of the resource"
Expand Down
26 changes: 15 additions & 11 deletions schemas/2021-05-01-preview/Microsoft.BotService.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,17 +518,6 @@
],
"description": "Whether the bot is developerAppInsightsApiKey set"
},
"isIsolated": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is in an isolated network"
},
"isStreamingSupported": {
"oneOf": [
{
Expand Down Expand Up @@ -609,6 +598,21 @@
],
"description": "Contains resource parameters defined as key/value pairs."
},
"publicNetworkAccess": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is in an isolated network."
},
"publishingCredentials": {
"type": "string",
"description": "Publishing credentials of the resource"
Expand Down

0 comments on commit d2d42e8

Please sign in to comment.