From 6e931b357b683ef7874e88c9ae88d997288a1780 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 16 Apr 2021 06:24:08 +0000 Subject: [PATCH] CodeGen from PR 13716 in Azure/azure-rest-api-specs Add optional param - private DNS zone to server API (#13716) * Add optional param - private DNS zone to server API * Follow comment to resolve go sdk issue. --- .../Microsoft.DBforPostgreSQL.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json b/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json index e69ae07732..404bd91a13 100644 --- a/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json +++ b/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json @@ -348,6 +348,16 @@ "format": "date-time", "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." }, + "privateDnsZoneArguments": { + "oneOf": [ + { + "$ref": "#/definitions/ServerPropertiesPrivateDnsZoneArguments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, "sourceResourceGroupName": { "type": "string", "description": "The resource group name of source serve PostgreSQL server name to restore from." @@ -413,6 +423,15 @@ } } }, + "ServerPropertiesPrivateDnsZoneArguments": { + "type": "object", + "properties": { + "privateDnsZoneArmResourceId": { + "type": "string", + "description": "private dns zone arm resource id." + } + } + }, "Sku": { "type": "object", "properties": {