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-preview (Azure#16760)

* rename

* change to enum

* fix bug

* fix example
  • Loading branch information
ssss141414 authored and LeiWang3 committed Mar 31, 2022
1 parent dbc653d commit 8120e26
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1656,9 +1656,18 @@
"type": "string",
"description": "The CMK encryption status"
},
"isIsolated": {
"type": "boolean",
"description": "Whether the bot is in an isolated network"
"publicNetworkAccess": {
"description": "Whether the bot is in an isolated network",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "PublicNetworkAccess",
"modelAsString": true
},
"default": "Enabled"
},
"isStreamingSupported": {
"type": "boolean",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down Expand Up @@ -78,7 +78,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down Expand Up @@ -119,7 +119,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0",
"disableLocalAuth": true,
"privateEndpointConnections": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down Expand Up @@ -78,7 +78,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down Expand Up @@ -121,7 +121,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1380,9 +1380,18 @@
"type": "string",
"description": "The CMK encryption status"
},
"isIsolated": {
"type": "boolean",
"description": "Whether the bot is in an isolated network"
"publicNetworkAccess": {
"description": "Whether the bot is in an isolated network",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "PublicNetworkAccess",
"modelAsString": true
},
"default": "Enabled"
},
"isStreamingSupported": {
"type": "boolean",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"msaAppId": "exampleappid",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -71,7 +71,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -108,7 +108,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"msaAppId": "msaappid",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -71,7 +71,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -110,7 +110,7 @@
],
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"publicNetworkAccess": "Enabled",
"schemaTransformationVersion": "1.0"
}
}
Expand Down

0 comments on commit 8120e26

Please sign in to comment.