From 78e2e6863e2de3885f409895786833d6cbec5793 Mon Sep 17 00:00:00 2001 From: Sravan Thupili Date: Tue, 28 Sep 2021 14:53:31 -0700 Subject: [PATCH 1/5] Added correct description for sqlpool createMode description --- .../Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2020-12-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-03-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-05-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-06-01/sqlPool.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json index 10292fb1b266..ee5ed8275a6c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json @@ -5290,7 +5290,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index 1298d955c40b..4d6fa178e503 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 91471a1dce62..6a908b55c447 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index 2abc435c2498..2951bcdc84e5 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -5347,7 +5347,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index d171a782e9dd..32b45aec2c54 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index c621add9b4e7..8cd2107ea0f5 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index 3dc8cfb2fdbf..7a2ab165ad33 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "What is this?" + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." }, "creationDate": { "type": "string", From 91ac703db968328b553ee6feeebcf21e5da12b9e Mon Sep 17 00:00:00 2001 From: Sravan Thupili Date: Wed, 29 Sep 2021 15:19:01 -0700 Subject: [PATCH 2/5] Added correct description for sqlpool createMode description --- .../Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2020-12-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-03-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-05-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-06-01/sqlPool.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json index ee5ed8275a6c..1399e50c4f1d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json @@ -5290,7 +5290,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index 4d6fa178e503..b195b4af062d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 6a908b55c447..62df26ad1f26 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index 2951bcdc84e5..fc6f0587ab73 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -5347,7 +5347,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index 32b45aec2c54..2192c6a484e4 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index 8cd2107ea0f5..ad459eb4690a 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index 7a2ab165ad33..f2ae79cfb72e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverable sqlpool resource ID to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. sourceDatabaseId must be specified. If sourceDatabaseId is the sqlpool's original resource ID, then sourceSqlpoolDeletionDate must be specified.Otherwise sourceDatabaseId must be the restorable dropped sqlpool resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time." + "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", From 3e621d5319031ac3c156bc7208fd8372d4bb5488 Mon Sep 17 00:00:00 2001 From: Sravan Thupili Date: Wed, 29 Sep 2021 16:01:08 -0700 Subject: [PATCH 3/5] Added correct description for sqlpool createMode description --- .../Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2020-12-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-03-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-05-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-06-01/sqlPool.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json index 1399e50c4f1d..f11b2c5824f5 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json @@ -5290,7 +5290,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index b195b4af062d..cc58c0da9cb2 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 62df26ad1f26..8cb3d6fb2881 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index fc6f0587ab73..bc8551fea5af 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -5347,7 +5347,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index 2192c6a484e4..3f5a35066056 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index ad459eb4690a..7e3042736a3c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index f2ae79cfb72e..39e9ebaed923 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -5351,7 +5351,7 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sqlpool creation.\n\nDefault: regular sqlpool creation.\n\nPointInTimeRestore: Creates a sqlpool by restoring a point in time backup of an existing sqlpool. sourceDatabaseId must be specified as the resource ID of the existing sqlpool, and restorePointInTime must be specified.\n\nRecovery: Creates a sqlpool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sqlpool by restoring a backup of a deleted sqlpool. SourceDatabaseId should be the sqlpool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", From 2f338561be19487dcfae71c4f2b664748ee31f31 Mon Sep 17 00:00:00 2001 From: Sravan Thupili Date: Thu, 7 Oct 2021 13:05:03 -0700 Subject: [PATCH 4/5] Modified createMode as Enum and modelAsString --- .../preview/2019-06-01-preview/sqlPool.json | 12 +++++++++++- .../preview/2021-04-01-preview/sqlPool.json | 14 ++++++++++++-- .../preview/2021-06-01-preview/sqlPool.json | 12 +++++++++++- .../stable/2020-12-01/sqlPool.json | 12 +++++++++++- .../stable/2021-03-01/sqlPool.json | 12 +++++++++++- .../stable/2021-05-01/sqlPool.json | 14 ++++++++++++-- .../stable/2021-06-01/sqlPool.json | 14 ++++++++++++-- 7 files changed, 80 insertions(+), 10 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json index f11b2c5824f5..9bbe44b009f4 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json @@ -5290,7 +5290,17 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index cc58c0da9cb2..d85fcf0019f3 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -5349,9 +5349,19 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 8cb3d6fb2881..6de76dcb05f4 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5351,7 +5351,17 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index bc8551fea5af..156c2dd42c3d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -5347,7 +5347,17 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index 3f5a35066056..814991415eab 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -5351,7 +5351,17 @@ }, "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index 7e3042736a3c..b9ab2f012e2c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -5349,9 +5349,19 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index 39e9ebaed923..8213c9bb662e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -5349,9 +5349,19 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ], + "x-ms-enum": { + "name": "createMode", + "modelAsString": true + } }, "creationDate": { "type": "string", From f45439dd6708e8dad7dc7f9a205eae2fffc58539 Mon Sep 17 00:00:00 2001 From: Sravan Thupili Date: Thu, 7 Oct 2021 17:19:22 -0700 Subject: [PATCH 5/5] prettier fix --- .../Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json | 4 ++-- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2020-12-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-03-01/sqlPool.json | 2 +- .../Microsoft.Synapse/stable/2021-05-01/sqlPool.json | 4 ++-- .../Microsoft.Synapse/stable/2021-06-01/sqlPool.json | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json index 9bbe44b009f4..53ad82642757 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json @@ -5297,7 +5297,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index d85fcf0019f3..168d541a900e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -5349,7 +5349,7 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", "enum": [ @@ -5358,7 +5358,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 6de76dcb05f4..67d098c031f9 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5358,7 +5358,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index 156c2dd42c3d..194fbfdeb7dd 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -5354,7 +5354,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index 814991415eab..50d955f008ae 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -5358,7 +5358,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index b9ab2f012e2c..c9a6d2349ce8 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -5349,7 +5349,7 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", "enum": [ @@ -5358,7 +5358,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index 8213c9bb662e..d7f948e8006e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -5349,7 +5349,7 @@ "description": "Snapshot time to restore", "format": "date-time" }, - "createMode": { + "createMode": { "type": "string", "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", "enum": [ @@ -5358,7 +5358,7 @@ "Recovery", "Restore" ], - "x-ms-enum": { + "x-ms-enum": { "name": "createMode", "modelAsString": true }