From 677f6141b52c4bf20de10e3d9e037355891dd364 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 8 Jan 2021 02:23:49 +0000 Subject: [PATCH] CodeGen from PR 12306 in Azure/azure-rest-api-specs AAS - Fix Swagger Correctness Issue (#12306) * add missing property and fix status type * fxi nit * add missing property * fix prettier * no message * fix nit --- .../Microsoft.AnalysisServices.json | 40 ++++++++++++++++++- .../Microsoft.AnalysisServices.json | 26 +++++++++++- .../Microsoft.AnalysisServices.json | 37 ++++++++++++++++- 3 files changed, 100 insertions(+), 3 deletions(-) diff --git a/schemas/2016-05-16/Microsoft.AnalysisServices.json b/schemas/2016-05-16/Microsoft.AnalysisServices.json index 2e7fa85c5a..2c6f06ecdf 100644 --- a/schemas/2016-05-16/Microsoft.AnalysisServices.json +++ b/schemas/2016-05-16/Microsoft.AnalysisServices.json @@ -104,6 +104,30 @@ "backupBlobContainerUri": { "type": "string", "description": "The container URI of backup blob." + }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" } }, "description": "Properties of Analysis Services resource." @@ -111,6 +135,20 @@ "ResourceSku": { "type": "object", "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 8, + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of instances in the read only query pool." + }, "name": { "type": "string", "description": "Name of the SKU level." @@ -158,4 +196,4 @@ "description": "An array of administrator user identities" } } -} \ No newline at end of file +} diff --git a/schemas/2017-07-14/Microsoft.AnalysisServices.json b/schemas/2017-07-14/Microsoft.AnalysisServices.json index c70ccc4296..0d8aa8f9d2 100644 --- a/schemas/2017-07-14/Microsoft.AnalysisServices.json +++ b/schemas/2017-07-14/Microsoft.AnalysisServices.json @@ -115,6 +115,30 @@ } ], "description": "The gateway details." + }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" } }, "description": "Properties of Analysis Services resource." @@ -179,4 +203,4 @@ "description": "An array of administrator user identities" } } -} \ No newline at end of file +} diff --git a/schemas/2017-08-01/Microsoft.AnalysisServices.json b/schemas/2017-08-01/Microsoft.AnalysisServices.json index 4db55cebbe..c5cbd29ccb 100644 --- a/schemas/2017-08-01/Microsoft.AnalysisServices.json +++ b/schemas/2017-08-01/Microsoft.AnalysisServices.json @@ -127,6 +127,18 @@ ], "description": "An array of firewall rules." }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, "querypoolConnectionMode": { "oneOf": [ { @@ -141,6 +153,29 @@ } ], "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values: Specifying readOnly when capacity is 1 results in error." + }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the SKU name and Azure pricing tier for Analysis Services resource." } }, "description": "Properties of Analysis Services resource." @@ -268,4 +303,4 @@ "description": "An array of administrator user identities." } } -} \ No newline at end of file +}