From 636e558981c3bf36c4cf1c41f11a99e253aeff30 Mon Sep 17 00:00:00 2001 From: Praful Johari Date: Wed, 5 Jun 2024 11:45:16 -0700 Subject: [PATCH 1/2] Bug fix for version 05-15-preview --- .../preview/2024-05-15-preview/services.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json index 242e5ea9b239..cbed2e0ea282 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json @@ -310,7 +310,6 @@ "type": "object", "properties": { "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" } } From ad0e12303fa0ee2ba2987677c9ee30e75ddeb5ba Mon Sep 17 00:00:00 2001 From: Praful Johari Date: Thu, 6 Jun 2024 11:06:18 -0700 Subject: [PATCH 2/2] Renamed models for better naming --- .../preview/2024-05-15-preview/services.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json index cbed2e0ea282..34b08bbbc4f8 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-05-15-preview/services.json @@ -395,8 +395,8 @@ } } }, - "DataTransferServiceResourceCreateUpdateParameters": { - "description": "Parameters for Create or Update request for DataTransferServiceResource", + "DataTransferServiceResourceCreateUpdateProperties": { + "description": "Properties for Create or Update request for DataTransferServiceResource", "type": "object", "x-ms-discriminator-value": "DataTransfer", "allOf": [ @@ -405,8 +405,8 @@ } ] }, - "SqlDedicatedGatewayServiceResourceCreateUpdateParameters": { - "description": "Parameters for Create or Update request for SqlDedicatedGatewayServiceResource", + "SqlDedicatedGatewayServiceResourceCreateUpdateProperties": { + "description": "Properties for Create or Update request for SqlDedicatedGatewayServiceResource", "type": "object", "x-ms-discriminator-value": "SqlDedicatedGateway", "allOf": [ @@ -503,8 +503,8 @@ } } }, - "GraphAPIComputeServiceResourceCreateUpdateParameters": { - "description": "Parameters for Create or Update request for GraphAPIComputeServiceResource", + "GraphAPIComputeServiceResourceCreateUpdateProperties": { + "description": "Properties for Create or Update request for GraphAPIComputeServiceResource", "type": "object", "x-ms-discriminator-value": "GraphAPICompute", "allOf": [ @@ -543,8 +543,8 @@ } } }, - "MaterializedViewsBuilderServiceResourceCreateUpdateParameters": { - "description": "Parameters for Create or Update request for MaterializedViewsBuilderServiceResource", + "MaterializedViewsBuilderServiceResourceCreateUpdateProperties": { + "description": "Properties for Create or Update request for MaterializedViewsBuilderServiceResource", "type": "object", "x-ms-discriminator-value": "MaterializedViewsBuilder", "allOf": [