From 10e516982509bc5119a87a38a3090890384c7324 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 25 May 2023 19:35:22 +0000 Subject: [PATCH] CodeGen from PR 24087 in Azure/azure-rest-api-specs [PostgreSQL] New api version 2023-03-01-preview - Migrations API property update, enum values update. Network property changes ported. (#24087) * Port network property fix from api version 2022-12-01 to 2023-03-01-preview * FIx request and response for Migrations api for the new version 2023-03-01-preview * Fix prettier errors * Add more example for Migrations api * Fix model validation and prettier errors * Update default tag for postgresql flexible servers in readme.md to assist in auto-generation of SDK * Update the duplicate entity name for Serverku used in Migrations.json to avoid errors * Revert "Update the duplicate entity name for Serverku used in Migrations.json to avoid errors" This reverts commit 01712362ac9c0327acfa8be3f49a8d5bd6417b66. * Update duplicate entity name ServerSku in Capabilities.json to avoid duplicate entity name errors. --- .../2022-11-08/Microsoft.DBforPostgreSQL.json | 920 ---------- .../2022-12-01/Microsoft.DBforPostgreSQL.json | 25 +- .../Microsoft.DBforPostgreSQL.json | 1481 +++++++++++++++++ schemas/common/autogeneratedResources.json | 22 +- 4 files changed, 1498 insertions(+), 950 deletions(-) delete mode 100644 schemas/2022-11-08/Microsoft.DBforPostgreSQL.json create mode 100644 schemas/2023-03-01-preview/Microsoft.DBforPostgreSQL.json diff --git a/schemas/2022-11-08/Microsoft.DBforPostgreSQL.json b/schemas/2022-11-08/Microsoft.DBforPostgreSQL.json deleted file mode 100644 index 55d32fb8d1..0000000000 --- a/schemas/2022-11-08/Microsoft.DBforPostgreSQL.json +++ /dev/null @@ -1,920 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-11-08/Microsoft.DBforPostgreSQL.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DBforPostgreSQL", - "description": "Microsoft DBforPostgreSQL Resource Types", - "resourceDefinitions": { - "serverGroupsv2": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-11-08" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?![0-9]+$)(?!-)[a-z0-9-]{3,40}(?