Skip to content

Commit

Permalink
CodeGen from PR 16431 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Add track2 batch 4 mysql-->cognitiveservices (#16431)

* Add track2 batch 4 mysql-->cognitiveservices

* resourcehealth-->sqlvirtualmachine
  • Loading branch information
SDKAuto committed Jan 5, 2022
1 parent dabeaa1 commit 2176865
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 317 deletions.
185 changes: 9 additions & 176 deletions schemas/2021-03-01/Microsoft.BotService.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,29 +388,10 @@
"BotProperties": {
"type": "object",
"properties": {
"allSettings": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Contains resource all settings defined as key/value pairs."
},
"appPasswordHint": {
"type": "string",
"description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret"
},
"cmekEncryptionStatus": {
"type": "string",
"description": "The CMK encryption status"
},
"cmekKeyVaultUrl": {
"type": "string",
"description": "The CMK Url"
Expand All @@ -431,17 +412,6 @@
"type": "string",
"description": "The Application Insights App Id"
},
"disableLocalAuth": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication."
},
"displayName": {
"type": "string",
"description": "The Name of the bot"
Expand All @@ -465,18 +435,7 @@
],
"description": "Whether Cmek is enabled"
},
"isDeveloperAppInsightsApiKeySet": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is developerAppInsightsApiKey set"
},
"isStreamingSupported": {
"isIsolated": {
"oneOf": [
{
"type": "boolean"
Expand All @@ -485,7 +444,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the bot is streaming supported"
"description": "Whether the bot is in an isolated network"
},
"luisAppIds": {
"oneOf": [
Expand All @@ -505,83 +464,17 @@
"type": "string",
"description": "The LUIS Key"
},
"manifestUrl": {
"type": "string",
"description": "The bot's manifest url"
},
"msaAppId": {
"type": "string",
"description": "Microsoft App Id for the bot"
},
"msaAppMSIResourceId": {
"type": "string",
"description": "Microsoft App Managed Identity Resource Id for the bot"
},
"msaAppTenantId": {
"type": "string",
"description": "Microsoft App Tenant Id for the bot"
},
"msaAppType": {
"oneOf": [
{
"type": "string",
"enum": [
"UserAssignedMSI",
"SingleTenant",
"MultiTenant"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Microsoft App Type for the bot."
},
"openWithHint": {
"type": "string",
"description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring"
},
"parameters": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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"
},
"schemaTransformationVersion": {
"type": "string",
"description": "The channel schema transformation version for the bot"
},
"storageResourceId": {
"type": "string",
"description": "The storage resourceId for the bot"
}
},
"required": [
Expand Down Expand Up @@ -848,16 +741,7 @@
"$ref": "#/definitions/DirectLineSpeechChannel"
}
],
"properties": {
"etag": {
"type": "string",
"description": "Entity Tag of the resource"
},
"location": {
"type": "string",
"description": "Specifies the location of the resource."
}
},
"properties": {},
"description": "Channel definition"
},
"ConnectionSettingParameter": {
Expand Down Expand Up @@ -885,14 +769,6 @@
"type": "string",
"description": "Client Secret associated with the Connection Setting"
},
"id": {
"type": "string",
"description": "Id associated with the Connection Setting."
},
"name": {
"type": "string",
"description": "Name associated with the Connection Setting."
},
"parameters": {
"oneOf": [
{
Expand All @@ -907,10 +783,6 @@
],
"description": "Service Provider Parameters associated with the Connection Setting"
},
"provisioningState": {
"type": "string",
"description": "Provisioning state of the resource"
},
"scopes": {
"type": "string",
"description": "Scopes associated with the Connection Setting"
Expand Down Expand Up @@ -955,10 +827,6 @@
"DirectLineChannelProperties": {
"type": "object",
"properties": {
"DirectLineEmbedCode": {
"type": "string",
"description": "Direct Line embed code of the resource"
},
"sites": {
"oneOf": [
{
Expand All @@ -979,17 +847,6 @@
"DirectLineSite": {
"type": "object",
"properties": {
"isBlockUserUploadEnabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether this site is enabled for block user upload."
},
"isEnabled": {
"oneOf": [
{
Expand Down Expand Up @@ -1434,25 +1291,10 @@
"MsTeamsChannelProperties": {
"type": "object",
"properties": {
"acceptedTerms": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether this channel accepted terms"
},
"callingWebHook": {
"type": "string",
"description": "Webhook for Microsoft Teams channel calls"
},
"deploymentEnvironment": {
"type": "string",
"description": "Deployment environment for Microsoft Teams channel calls"
},
"enableCalling": {
"oneOf": [
{
Expand All @@ -1464,10 +1306,6 @@
],
"description": "Enable calling for Microsoft Teams channel"
},
"incomingCallRoute": {
"type": "string",
"description": "Webhook for Microsoft Teams channel calls"
},
"isEnabled": {
"oneOf": [
{
Expand Down Expand Up @@ -1612,10 +1450,6 @@
"type": "string",
"description": "Group mode for Skype channel"
},
"incomingCallRoute": {
"type": "string",
"description": "Incoming call route for Skype channel"
},
"isEnabled": {
"oneOf": [
{
Expand Down Expand Up @@ -1880,7 +1714,7 @@
"WebChatSite": {
"type": "object",
"properties": {
"isEnabled": {
"enablePreview": {
"oneOf": [
{
"type": "boolean"
Expand All @@ -1889,28 +1723,27 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether this site is enabled for DirectLine channel"
"description": "Whether this site is enabled for preview versions of Webchat"
},
"isWebchatPreviewEnabled": {
"isEnabled": {
"oneOf": [
{
"type": "boolean",
"default": false
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether this site is enabled for preview versions of Webchat"
"description": "Whether this site is enabled for DirectLine channel"
},
"siteName": {
"type": "string",
"description": "Site name"
}
},
"required": [
"enablePreview",
"isEnabled",
"isWebchatPreviewEnabled",
"siteName"
],
"description": "A site for the Webchat channel"
Expand Down
Loading

0 comments on commit 2176865

Please sign in to comment.