diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Capabilities.json index d96391dc261f..ec99577a8b9c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Capabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Capabilities.json @@ -184,7 +184,7 @@ ], "description": "storage size in MB capability" }, - "ServerSku": { + "ServerSkuCapability": { "type": "object", "properties": { "name": { @@ -386,7 +386,7 @@ "type": "array", "description": "List of supported server SKUs.", "items": { - "$ref": "#/definitions/ServerSku" + "$ref": "#/definitions/ServerSkuCapability" }, "x-ms-identifiers": [ "name" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json index cc982655fbb6..718d253b6b49 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json @@ -462,11 +462,7 @@ "network": { "$ref": "#/definitions/Network", "default": null, - "description": "Network properties of a server.", - "x-ms-mutability": [ - "create", - "read" - ] + "description": "Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server." }, "highAvailability": { "$ref": "#/definitions/HighAvailability", @@ -645,6 +641,11 @@ "replicationRole": { "$ref": "#/definitions/ReplicationRole", "description": "Replication role of the server" + }, + "network": { + "$ref": "#/definitions/Network", + "default": null, + "description": "Network properties of a server. These are required to be passed only in case if server is a private access server." } } }, @@ -991,12 +992,7 @@ } ] }, - "default": "", - "description": "delegated subnet arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] + "description": "Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone." }, "privateDnsZoneArmResourceId": { "type": "string", @@ -1007,15 +1003,10 @@ } ] }, - "default": "", - "description": "private dns zone arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] + "description": "Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone." } }, - "description": "Network properties of a server" + "description": "Network properties of a server." }, "HighAvailability": { "type": "object", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Migrations.json index 5f5555ef8ca9..6366746ccc63 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/Migrations.json @@ -43,6 +43,9 @@ "x-ms-examples": { "Migrations_Create": { "$ref": "./examples/Migrations_Create.json" + }, + "Migrations Create by passing user names": { + "$ref": "./examples/Migrations_Create_With_Other_Users.json" } }, "description": "Creates a new migration.", @@ -144,6 +147,9 @@ "x-ms-examples": { "Migrations_Update": { "$ref": "./examples/Migrations_Update.json" + }, + "Cancel migration": { + "$ref": "./examples/Migrations_Cancel.json" } }, "description": "Updates an existing migration. The request body can contain one to many of the mutable properties present in the migration definition. Certain property updates initiate migration state transitions.", @@ -410,8 +416,8 @@ "setupLogicalReplicationOnSourceDbIfNeeded": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "LogicalReplicationOnSourceDbEnum", @@ -422,14 +428,14 @@ "overwriteDbsInTarget": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "OverwriteDbsInTargetEnum", "modelAsString": true }, - "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to Disabled, the migration workflow will wait for a confirmation, if it detects that the database already exists." + "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists." }, "migrationWindowStartTimeInUtc": { "format": "date-time", @@ -444,8 +450,8 @@ "startDataMigration": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "StartDataMigrationEnum", @@ -456,40 +462,40 @@ "triggerCutover": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "TriggerCutoverEnum", "modelAsString": true }, - "description": "To trigger cutover for entire migration we need to send this flag as Enabled" + "description": "To trigger cutover for entire migration we need to send this flag as True" }, "dbsToTriggerCutoverOn": { "type": "array", "items": { "type": "string" }, - "description": "When you want to trigger cutover for specific databases send triggerCutover flag as Enabled and database names in this array" + "description": "When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array" }, "cancel": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "CancelEnum", "modelAsString": true }, - "description": "To trigger cancel for entire migration we need to send this flag as Enabled" + "description": "To trigger cancel for entire migration we need to send this flag as True" }, "dbsToCancelMigrationOn": { "type": "array", "items": { "type": "string" }, - "description": "When you want to trigger cancel for specific databases send cancel flag as Enabled and database names in this array" + "description": "When you want to trigger cancel for specific databases send cancel flag as True and database names in this array" } }, "description": "Migration resource properties." @@ -561,8 +567,8 @@ "setupLogicalReplicationOnSourceDbIfNeeded": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "LogicalReplicationOnSourceDbEnum", @@ -573,14 +579,14 @@ "overwriteDbsInTarget": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "OverwriteDbsInTargetEnum", "modelAsString": true }, - "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to Disabled, the migration workflow will wait for a confirmation, if it detects that the database already exists." + "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists." }, "migrationWindowStartTimeInUtc": { "format": "date-time", @@ -590,8 +596,8 @@ "startDataMigration": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "StartDataMigrationEnum", @@ -602,40 +608,40 @@ "triggerCutover": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "TriggerCutoverEnum", "modelAsString": true }, - "description": "To trigger cutover for entire migration we need to send this flag as Enabled" + "description": "To trigger cutover for entire migration we need to send this flag as True" }, "dbsToTriggerCutoverOn": { "type": "array", "items": { "type": "string" }, - "description": "When you want to trigger cutover for specific databases send triggerCutover flag as Enabled and database names in this array" + "description": "When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array" }, "cancel": { "type": "string", "enum": [ - "Enabled", - "Disabled" + "True", + "False" ], "x-ms-enum": { "name": "CancelEnum", "modelAsString": true }, - "description": "To trigger cancel for entire migration we need to send this flag as Enabled" + "description": "To trigger cancel for entire migration we need to send this flag as True" }, "dbsToCancelMigrationOn": { "type": "array", "items": { "type": "string" }, - "description": "When you want to trigger cancel for specific databases send cancel flag as Enabled and database names in this array" + "description": "When you want to trigger cancel for specific databases send cancel flag as True and database names in this array" }, "migrationMode": { "$ref": "#/definitions/MigrationMode", @@ -655,6 +661,22 @@ "x-ms-external": true, "$ref": "#/definitions/AdminCredentials", "description": "Admin credentials for source and target servers" + }, + "sourceServerUsername": { + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Gets or sets the username for the source server. This user need not be an admin." + }, + "targetServerUsername": { + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Gets or sets the username for the target server. This user need not be an admin." } }, "description": "Migration secret parameters." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Cancel.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Cancel.json new file mode 100644 index 000000000000..c495499f748e --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Cancel.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testrg", + "targetDbServerName": "testtarget", + "migrationName": "testmigration", + "migrationMode": "Online", + "parameters": { + "properties": { + "cancel": "True" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "currentStatus": { + "state": "Canceled", + "currentSubStateDetails": { + "currentSubState": "Completed" + } + }, + "migrationMode": "Online", + "migrationWindowEndTimeInUtc": "2023-05-15T07:23:56.3260822Z", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", + "dbsToMigrate": [ + "postgres" + ], + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "overwriteDbsInTarget": "True", + "migrationWindowStartTimeInUtc": "2023-05-15T07:22:57.7001251Z", + "sourceDbServerMetadata": { + "location": "eastasia", + "sku": { + "name": "B_Gen5_2", + "tier": "Basic" + } + }, + "targetDbServerMetadata": { + "location": "East Asia", + "sku": { + "name": "Standard_D2ds_v4", + "tier": "Standard_D2ds_v4" + } + } + }, + "location": "westus", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", + "name": "testmigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create.json index eb9d2cb2e4b6..8f4749a4dd9c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create.json @@ -5,7 +5,6 @@ "resourceGroupName": "testrg", "targetDbServerName": "testtarget", "migrationName": "testmigration", - "migrationMode": "Offline", "parameters": { "properties": { "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", @@ -14,7 +13,15 @@ "db2", "db3", "db4" - ] + ], + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "xxxxxxxx", + "targetServerPassword": "xxxxxxxx" + } + }, + "migrationMode": "Offline", + "overwriteDbsInTarget": "True" }, "location": "westus" } @@ -31,24 +38,6 @@ "currentSubState": "PerformingPreRequisiteSteps" } }, - "sourceDbServerMetadata": { - "location": "westus", - "version": "10", - "storageMb": 1024, - "sku": { - "name": "B_Gen5_2", - "tier": "Basic" - } - }, - "targetDbServerMetadata": { - "location": "westus", - "version": "11", - "storageMb": 2048, - "sku": { - "tier": "GeneralPurpose", - "name": "Standard_D4s_v3" - } - }, "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "dbsToMigrate": [ @@ -57,11 +46,11 @@ "db3", "db4" ], - "setupLogicalReplicationOnSourceDbIfNeeded": "Disabled", - "overwriteDbsInTarget": "Disabled", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "True", "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": "Disabled", - "triggerCutover": "Disabled" + "startDataMigration": "False", + "triggerCutover": "False" }, "tags": { "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" @@ -83,24 +72,6 @@ "currentSubState": "PerformingPreRequisiteSteps" } }, - "sourceDbServerMetadata": { - "location": "westus", - "version": "10", - "storageMb": 1024, - "sku": { - "name": "B_Gen5_2", - "tier": "Basic" - } - }, - "targetDbServerMetadata": { - "location": "westus", - "version": "11", - "storageMb": 2048, - "sku": { - "tier": "GeneralPurpose", - "name": "Standard_D4s_v3" - } - }, "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "dbsToMigrate": [ @@ -109,11 +80,11 @@ "db3", "db4" ], - "setupLogicalReplicationOnSourceDbIfNeeded": "Disabled", - "overwriteDbsInTarget": "Disabled", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "True", "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": "Disabled", - "triggerCutover": "Disabled" + "startDataMigration": "False", + "triggerCutover": "False" }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create_With_Other_Users.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create_With_Other_Users.json new file mode 100644 index 000000000000..3f73326d1483 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Create_With_Other_Users.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testrg", + "targetDbServerName": "testtarget", + "migrationName": "testmigration", + "parameters": { + "properties": { + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", + "dbsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "xxxxxxxx", + "targetServerPassword": "xxxxxxxx" + }, + "sourceServerUsername": "newadmin@testsource", + "targetServerUsername": "targetadmin" + }, + "migrationMode": "Offline" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationMode": "Offline", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", + "dbsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "False", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": "False", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "location": "westus", + "id": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "name": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" + } + }, + "201": { + "body": { + "properties": { + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationMode": "Offline", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", + "dbsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "False", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": "False", + "triggerCutover": "False" + }, + "location": "westus", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", + "name": "testmigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Get.json index 2f9986af681a..50690f732fb2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Get.json @@ -45,11 +45,11 @@ "db3", "db4" ], - "setupLogicalReplicationOnSourceDbIfNeeded": "Disabled", - "overwriteDbsInTarget": "Disabled", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "False", "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": "Disabled", - "triggerCutover": "Disabled" + "startDataMigration": "False", + "triggerCutover": "False" }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_ListByTargetServer.json index 54227023289c..05842ad50b58 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_ListByTargetServer.json @@ -4,8 +4,7 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "testrg", "targetDbServerName": "testtarget", - "migrationListFilter": "All", - "migrationMode": "Offline" + "migrationListFilter": "All" }, "responses": { "200": { @@ -47,11 +46,11 @@ "db3", "db4" ], - "setupLogicalReplicationOnSourceDbIfNeeded": "Disabled", - "overwriteDbsInTarget": "Disabled", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "overwriteDbsInTarget": "False", "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": "Disabled", - "triggerCutover": "Disabled" + "startDataMigration": "False", + "triggerCutover": "False" }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Update.json index 9f3b1b317fe0..979ae10ae1ba 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/examples/Migrations_Update.json @@ -8,7 +8,7 @@ "migrationMode": "Offline", "parameters": { "properties": { - "setupLogicalReplicationOnSourceDbIfNeeded": "Enabled" + "setupLogicalReplicationOnSourceDbIfNeeded": "True" } } }, @@ -50,11 +50,11 @@ "db3", "db4" ], - "setupLogicalReplicationOnSourceDbIfNeeded": "Enabled", - "overwriteDbsInTarget": "Disabled", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "overwriteDbsInTarget": "False", "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": "Disabled", - "triggerCutover": "Disabled" + "startDataMigration": "False", + "triggerCutover": "False" }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 4b1d58eb3685..10cad228d82d 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -28,11 +28,11 @@ These are the global settings for the PostgreSQL API. title: PostgreSQLManagementClient description: The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model. openapi-type: arm -tag: package-flexibleserver-2022-12-01 +tag: package-flexibleserver-2023-03-01-preview ``` ``` yaml $(package-flexibleservers) -tag: package-flexibleserver-2022-12-01 +tag: package-flexibleserver-2023-03-01-preview ``` ``` yaml $(package-singleservers)