Skip to content

Commit 5fadbae

Browse files
author
SDKAuto
committed
CodeGen from PR 18136 in Azure/azure-rest-api-specs
Merge 6f6362a895b7251658772579ee6810f5a5c3bec5 into ef5677519414f25524105ae9e792d660d65bfb81
1 parent c2fb062 commit 5fadbae

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

schemas/2019-06-01-preview/Microsoft.Sql.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,10 @@
676676
"type": "string",
677677
"description": "The resource identifier of the source database associated with create operation of this database."
678678
},
679+
"sourceResourceId": {
680+
"type": "string",
681+
"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 "
682+
},
679683
"storageAccountType": {
680684
"oneOf": [
681685
{

schemas/2021-05-01-preview/Microsoft.Sql.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3686,7 +3686,7 @@
36863686
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
36873687
}
36883688
],
3689-
"description": "The number of secondary replicas associated with the database that are used to provide high availability."
3689+
"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."
36903690
},
36913691
"isLedgerOn": {
36923692
"oneOf": [
@@ -3769,7 +3769,7 @@
37693769
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
37703770
}
37713771
],
3772-
"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."
3772+
"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."
37733773
},
37743774
"recoverableDatabaseId": {
37753775
"type": "string",
@@ -3845,6 +3845,10 @@
38453845
"type": "string",
38463846
"description": "The resource identifier of the source database associated with create operation of this database."
38473847
},
3848+
"sourceResourceId": {
3849+
"type": "string",
3850+
"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 "
3851+
},
38483852
"zoneRedundant": {
38493853
"oneOf": [
38503854
{

schemas/2021-08-01-preview/Microsoft.Sql.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3887,6 +3887,10 @@
38873887
"type": "string",
38883888
"description": "The resource identifier of the source database associated with create operation of this database."
38893889
},
3890+
"sourceResourceId": {
3891+
"type": "string",
3892+
"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 "
3893+
},
38903894
"zoneRedundant": {
38913895
"oneOf": [
38923896
{

0 commit comments

Comments
 (0)