From 4b6ca68798024e4658b92c103cbe1b48ec411c30 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 8 Mar 2022 23:06:18 +0000 Subject: [PATCH] CodeGen from PR 18136 in Azure/azure-rest-api-specs Merge e1b2a6f12a5ded71ad6258bdc38c5a4723fab6e8 into ef5677519414f25524105ae9e792d660d65bfb81 --- schemas/2019-06-01-preview/Microsoft.Sql.json | 4 ++++ schemas/2021-05-01-preview/Microsoft.Sql.json | 8 ++++++-- schemas/2021-08-01-preview/Microsoft.Sql.json | 4 ++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/schemas/2019-06-01-preview/Microsoft.Sql.json b/schemas/2019-06-01-preview/Microsoft.Sql.json index d440a75399..1848439b28 100644 --- a/schemas/2019-06-01-preview/Microsoft.Sql.json +++ b/schemas/2019-06-01-preview/Microsoft.Sql.json @@ -676,6 +676,10 @@ "type": "string", "description": "The resource identifier of the source database associated with create operation of this database." }, + "sourceResourceId": { + "type": "string", + "description": "The resource identifier of the source associated with the create operation of this database.\r\n\r\nWhen sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.\r\n\r\nWhen createMode is PointInTimeRestore, sourceResourceId must be the resource ID of an existing database or existing sql pool, and restorePointInTime must be specified.\r\n\r\nWhen createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool.\r\n\r\nWhen createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.\r\n\r\nThis property allows to restore across subscriptions which is only supported for DataWarehouse edition.\r\n\r\nWhen source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant " + }, "storageAccountType": { "oneOf": [ { diff --git a/schemas/2021-05-01-preview/Microsoft.Sql.json b/schemas/2021-05-01-preview/Microsoft.Sql.json index b0812b8c7d..51f57a576f 100644 --- a/schemas/2021-05-01-preview/Microsoft.Sql.json +++ b/schemas/2021-05-01-preview/Microsoft.Sql.json @@ -3686,7 +3686,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of secondary replicas associated with the database that are used to provide high availability." + "description": "The number of secondary replicas associated with the database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool." }, "isLedgerOn": { "oneOf": [ @@ -3769,7 +3769,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region." + "description": "The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale database within an elastic pool." }, "recoverableDatabaseId": { "type": "string", @@ -3845,6 +3845,10 @@ "type": "string", "description": "The resource identifier of the source database associated with create operation of this database." }, + "sourceResourceId": { + "type": "string", + "description": "The resource identifier of the source associated with the create operation of this database.\r\n\r\nWhen sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.\r\n\r\nWhen createMode is PointInTimeRestore, sourceResourceId must be the resource ID of an existing database or existing sql pool, and restorePointInTime must be specified.\r\n\r\nWhen createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool.\r\n\r\nWhen createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.\r\n\r\nThis property allows to restore across subscriptions which is only supported for DataWarehouse edition.\r\n\r\nWhen source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant " + }, "zoneRedundant": { "oneOf": [ { diff --git a/schemas/2021-08-01-preview/Microsoft.Sql.json b/schemas/2021-08-01-preview/Microsoft.Sql.json index 15b97557cc..eb352f50b3 100644 --- a/schemas/2021-08-01-preview/Microsoft.Sql.json +++ b/schemas/2021-08-01-preview/Microsoft.Sql.json @@ -3887,6 +3887,10 @@ "type": "string", "description": "The resource identifier of the source database associated with create operation of this database." }, + "sourceResourceId": { + "type": "string", + "description": "The resource identifier of the source associated with the create operation of this database.\r\n\r\nWhen sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.\r\n\r\nWhen createMode is PointInTimeRestore, sourceResourceId must be the resource ID of an existing database or existing sql pool, and restorePointInTime must be specified.\r\n\r\nWhen createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool.\r\n\r\nWhen createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.\r\n\r\nThis property allows to restore across subscriptions which is only supported for DataWarehouse edition.\r\n\r\nWhen source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant " + }, "zoneRedundant": { "oneOf": [ {