From ff053e88513f08cf184d9ec3fddceeb8aa49634c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:22:06 -0700 Subject: [PATCH 001/114] Add files via upload --- .../2020-11-05-preview/Migrations.json | 1265 +++++++++++++++++ 1 file changed, 1265 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json new file mode 100644 index 000000000000..08f8b447a149 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -0,0 +1,1265 @@ +{ + "openapi": "3.0.1", + "info": { + "title": "Migration ARM PG APIs", + "version": "v1" + }, + "servers": [ + { + "url": "https://localhost:44373" + } + ], + "paths": { + "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "post": { + "tags": [ + "MigrationsPGARMApi" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationCreateRequest" + } + ] + } + }, + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationCreateRequest" + } + ] + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationCreateRequest" + } + ] + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationCreateRequest" + } + ] + } + } + } + }, + "responses": { + "202": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "string", + "format": "uuid" + } + }, + "application/json": { + "schema": { + "type": "string", + "format": "uuid" + } + }, + "text/json": { + "schema": { + "type": "string", + "format": "uuid" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + } + } + }, + "500": { + "description": "Server Error", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + } + }, + "get": { + "tags": [ + "MigrationsPGARMApi" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "migrationListFilter", + "in": "query", + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationListFilter" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MigrationSummary" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MigrationSummary" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MigrationSummary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + } + } + }, + "500": { + "description": "Server Error", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + } + } + }, + "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "get": { + "tags": [ + "MigrationsPGARMApi" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "migrationId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "migrationDetailsLevel", + "in": "query", + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationDetailsLevel" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationDetails" + }, + { + "$ref": "#/components/schemas/MigrationDBDetails" + } + ] + } + }, + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationDetails" + }, + { + "$ref": "#/components/schemas/MigrationDBDetails" + } + ] + } + }, + "text/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationDetails" + }, + { + "$ref": "#/components/schemas/MigrationDBDetails" + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + } + } + }, + "500": { + "description": "Server Error", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + } + } + }, + "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { + "put": { + "tags": [ + "MigrationsPGARMApi" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "migrationId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + }, + { + "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + }, + { + "$ref": "#/components/schemas/MigrationSchedulingRequest" + } + ] + } + }, + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + }, + { + "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + }, + { + "$ref": "#/components/schemas/MigrationSchedulingRequest" + } + ] + } + }, + "text/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + }, + { + "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + }, + { + "$ref": "#/components/schemas/MigrationSchedulingRequest" + } + ] + } + }, + "application/*+json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + }, + { + "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + }, + { + "$ref": "#/components/schemas/MigrationSchedulingRequest" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/MigrationDetails" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/MigrationDetails" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/MigrationDetails" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InvalidInput" + } + } + } + }, + "500": { + "description": "Server Error", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "AADApp": { + "required": [ + "aadSecret", + "clientId", + "tenantId" + ], + "type": "object", + "properties": { + "clientId": { + "type": "string", + "format": "uuid" + }, + "tenantId": { + "type": "string", + "format": "uuid" + }, + "aadSecret": { + "type": "string" + } + }, + "additionalProperties": false + }, + "AdminCredentials": { + "required": [ + "sourceServerPassword", + "targetServerPassword" + ], + "type": "object", + "properties": { + "sourceServerPassword": { + "type": "string" + }, + "targetServerPassword": { + "type": "string" + } + }, + "additionalProperties": false + }, + "DataMigrationSubStateDetails": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MigrationSubStateDetails" + } + ], + "properties": { + "dbDetails": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/DMSDBDataMigrationDetails" + }, + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "DBServerMetadata": { + "type": "object", + "properties": { + "location": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "storageMB": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "sku": { + "allOf": [ + { + "$ref": "#/components/schemas/Sku" + } + ], + "nullable": true + } + }, + "additionalProperties": false + }, + "DBsToMigrateSpecificationRequest": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + } + ], + "properties": { + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "DMSDBDataMigrationDetails": { + "type": "object", + "properties": { + "fullLoadErroredTables": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "fullLoadQueuedTables": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "fullLoadLoadingTables": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "fullLoadCompletedTables": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cdcUpdateCounter": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cdcDeleteCounter": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cdcInsertCounter": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "appliedChanges": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "incomingChanges": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migrationState": { + "type": "string", + "nullable": true + }, + "endedOn": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "startedOn": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "databaseName": { + "type": "string", + "nullable": true + }, + "initializationCompleted": { + "type": "boolean", + "nullable": true + }, + "latency": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + "additionalProperties": false + }, + "InternalServerError": { + "type": "object", + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/UnknownError" + } + ], + "nullable": true + } + }, + "additionalProperties": false + }, + "InvalidInput": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InvalidInputDetails" + }, + "nullable": true + }, + "code": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "InvalidInputDetails": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "target": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationCreateRequest": { + "required": [ + "sourceDBServerResourceId" + ], + "type": "object", + "properties": { + "sourceDBServerResourceId": { + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", + "type": "string" + }, + "secretParameters": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationSecretParameters" + } + ], + "nullable": true + }, + "targetDBServerSubnetResourceId": { + "type": "string", + "nullable": true + }, + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationResourceGroup" + } + ], + "nullable": true + }, + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean", + "nullable": true + }, + "overwriteDBsinTarget": { + "type": "boolean", + "nullable": true + }, + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationCreateRequestBase": { + "required": [ + "sourceDBServerResourceId" + ], + "type": "object", + "properties": { + "sourceDBServerResourceId": { + "type": "string" + }, + "targetDBServerSubnetResourceId": { + "type": "string", + "nullable": true + }, + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationResourceGroup" + } + ], + "nullable": true + }, + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean", + "nullable": true + }, + "overwriteDBsinTarget": { + "type": "boolean", + "nullable": true + }, + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationDBDetails": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MigrationDetailsBase" + } + ], + "properties": { + "dBsToMigrate": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true, + "readOnly": true + }, + "namesOfDBsInSourceServer": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true, + "readOnly": true + }, + "namesOfDBsInTargetServer": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "MigrationDetails": { + "type": "object", + "properties": { + "migrationId": { + "type": "string", + "format": "uuid" + }, + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationDetailsLevel" + } + ] + }, + "currentStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationStatus" + } + ], + "nullable": true + }, + "sourceDBServerMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/DBServerMetadata" + } + ], + "nullable": true + }, + "targetDBServerMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/DBServerMetadata" + } + ], + "nullable": true + }, + "migrationCreateRequest": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationCreateRequestBase" + } + ], + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationDetailsBase": { + "type": "object", + "properties": { + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationDetailsLevel" + } + ] + } + }, + "additionalProperties": false + }, + "MigrationDetailsLevel": { + "enum": [ + "Default", + "Summary", + "Full", + "DBNames" + ], + "type": "string" + }, + "MigrationListFilter": { + "enum": [ + "Active", + "All" + ], + "type": "string" + }, + "MigrationResourceGroup": { + "required": [ + "resourceId" + ], + "type": "object", + "properties": { + "resourceId": { + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", + "type": "string" + }, + "location": { + "maxLength": 128, + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationSchedulingRequest": { + "required": [ + "migrationWindowStartTimeInUtc" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + } + ], + "properties": { + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false + }, + "MigrationSecretParameters": { + "required": [ + "aadApp", + "adminCredentials" + ], + "type": "object", + "properties": { + "adminCredentials": { + "allOf": [ + { + "$ref": "#/components/schemas/AdminCredentials" + } + ] + }, + "aadApp": { + "allOf": [ + { + "$ref": "#/components/schemas/AADApp" + } + ] + }, + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationState": { + "enum": [ + "InProgress", + "WaitingForUserAction", + "Canceled", + "Failed", + "Succeeded" + ], + "type": "string" + }, + "MigrationStateTransitionRequest": { + "required": [ + "targetState" + ], + "type": "object", + "properties": { + "targetState": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationTargetState" + } + ] + } + }, + "additionalProperties": false + }, + "MigrationStatus": { + "type": "object", + "properties": { + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationState" + } + ] + }, + "error": { + "type": "string", + "nullable": true + }, + "currentSubStateDetails": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationSubStateDetails" + }, + { + "$ref": "#/components/schemas/TargetDBOverwriteConfirmationSubStateDetails" + }, + { + "$ref": "#/components/schemas/DataMigrationSubStateDetails" + } + ], + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationSubState": { + "enum": [ + "PerformingPreRequisiteSteps", + "WaitingForLogicalReplicationSetupRequestOnSourceDB", + "WaitingForDBsToMigrateSpecification", + "WaitingForTargetDBOverwriteConfirmation", + "WaitingForDataMigrationScheduling", + "WaitingForDataMigrationWindow", + "MigratingData", + "WaitingForCutoverTrigger", + "CompletingMigration", + "Completed" + ], + "type": "string" + }, + "MigrationSubStateDetails": { + "type": "object", + "properties": { + "currentSubState": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationSubState" + } + ] + } + }, + "additionalProperties": false + }, + "MigrationSummary": { + "type": "object", + "properties": { + "migrationId": { + "type": "string", + "format": "uuid" + }, + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationDetailsLevel" + } + ] + }, + "currentStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/MigrationStatus" + } + ], + "nullable": true + }, + "sourceDBServerMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/DBServerMetadata" + } + ], + "nullable": true + }, + "targetDBServerMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/DBServerMetadata" + } + ], + "nullable": true + } + }, + "additionalProperties": false + }, + "MigrationTargetState": { + "enum": [ + "LogicalReplicationSetupOnSourceDBTriggered", + "DBsToMigrateSpecified", + "TargetDBOverwriteConfirmed", + "DataMigrationScheduled", + "DataMigrationInitiated", + "CutoverTriggered", + "Canceled" + ], + "type": "string" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "nullable": true + }, + "tier": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "TargetDBOverwriteConfirmationSubStateDetails": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MigrationSubStateDetails" + } + ], + "properties": { + "dBsThatAlreadyExistOnTarget": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "UnknownError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + } + } + }, + "tags": [ + { + "name": "MigrationsPGARMApi", + "description": "Controller for MigrationsPGARMApi (action count: 4)" + } + ] +} \ No newline at end of file From 93f60df3ab0b48dc05e407cbd4d50f45b7a7aade Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:25:43 -0700 Subject: [PATCH 002/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 08f8b447a149..4dd30e858b93 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.1", + "openapi": "3.0.0", "info": { "title": "Migration ARM PG APIs", "version": "v1" @@ -1262,4 +1262,4 @@ "description": "Controller for MigrationsPGARMApi (action count: 4)" } ] -} \ No newline at end of file +} From 4476256064b20c73cd35d6e536453f2773f076d6 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 12:06:45 -0700 Subject: [PATCH 003/114] 2 files --- .../2020-11-05-preview/Migrations.json | Bin 0 -> 33532 bytes .../Migrations_openapi.json | 1265 +++++++++++++++++ 2 files changed, 1265 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations_openapi.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json new file mode 100644 index 0000000000000000000000000000000000000000..3282fcd56034799e267eaab6930fd28fc8789105 GIT binary patch literal 33532 zcmeHQTW=e=73On+{s#js;1)&d-88+R4+R{1voH|vdSeIsY)i7^U0F&!axP8xuebd^ zQm1n`Bxg9*Xe1>A!PbqJb3ccNhtz-nQ<(SW(%j%NG56;0X3y-Kr{<65D?I<&{L0*# znYlJ|e8YEpcr5VQ!c5Vgtxxgp20btB=X12)Gl%9CKHoEE=3D#j%$%6w|NYZa*?;Ct` zhra@!3-nJg-y6)aFmIPIyZ?{l|0<~%ep2ymgKV9S5tT{1ANbz07 zR&;M0aH6D83qD49O$uvS4K2k>$O0wi1)ir%jjG~B9u<%;XQ9(pf}Zdz>j~o;NoZ&@ zL%UBsqGcZ~tx)Ox*hfD~KXsYVdudItOMjNK57Lg$zqN9BZFOzm{026Ta9&$I;W(vt z3jH_XzQcod>EqJR>aq1}t*2~HOBUzcK0Np1Y55%Ej)52T(n$z;T;;1kmQT}sI-Nl7 z-T?~wfHC5k8RX{yFt|8GW|rrD^XC!`TtoEY z^r&mEUKeXuWlJ=97yUV{WPHuAO`g81m~@+Py0Y3E_kffr9lJEO&G%xo&r|a~{Chf1 z5qYLH%=dbstv-Sunpj&osd(ei7qDf1ob@zV;|a`s?k~=2yT&4PIu2@DuMClp=4%sg zxfXDlk}o?F8ZuJbmXTuiEnI)PyxowkqMvDNNr!mPw~RVksLRR?@t&p|qmFgw8~c## zxNX^nb;_zax?^yN^2`iff&G(-_3%?~)lZJLiyygTm5zVAjUV@5`+o`GCCo!~r*)C9 z>nJ}&cWzI0i0*bNx;wDeOLlb6?K|d5tMP-B23G55Q(He<8;=jSH=a$cDrluv$rk&OewZQV_(Q}@D(J@$F_#qztRbxK43j=# zEkhY+9iqoE{#dhBeo6|nieQX&r;N{?lQXO{=V-~b2tRi_$;@8yTUHlp?Qr#F)z-R& zn};)TAD>lpT3kj*d>GmP=k+F0}4nHks84)!~9n8T@3*zM|9sT^xn zrCqE|6-(VlQ)-Ud#-A)#%j%Ou@PoOUnQ?n#lulCXb}2tTulkZez5lE0NzMROfyaBu z{C!fAG|qMVSvo7Zo>}rFAs1WCSLz_8C>ICaSJNjZ6V)o;Q^*A88RL)7n~@2rs21zz zL($eIvHb^7aE3Z4?mu5H>waAgX}rF(Fh8SpeBPX0>~_1?=XSPu)X^UDh1D2VH%(B( z^gMw@)dtfpEKslh)bk=STDz7LJAS;@t1ZmcN_#EAF$n53y)CzMG^8*WpsB7gU`0KB z>j>799$r^lzryEb?Vm40t6SAN>1!u-8Xs3@S!ReXU~}n9dHO-L(8tS{*1TwA3~7wf z(x;JdJg1ISbFWD%SSk7eQ3-vht4`fBe`}QX`fAZOlCEKm+u~D56)o~HAf@#UIpnWX ze7dbJTX|e8s|r~qe}qazN(!w_s^T|pYyN^t+a^u#-qwr&^9U54z!SKW3`fxI2W$Np zS^G2GhPONsiwZLv-@ER7>#TgSw(QffT;v+fNC3(NN^k~g*vQlj<3Z;`VJR|ur z>gsrgCZGfhFN; zovVUf$3=KVTYR(QeE9)#H?e=a#uZY3WVOWcVb}aFp?0w(BiLK>FX*>KmZA2??U=Sm z%yZAJyO3W;2ltb2f@R46ef>b=Uv$dn-bw_r{eOMzha5$H>02YJ)dK& zrrNEpe9UDfK#xwi8Es9ionU4zo<(AxCJB>q`P{~0HH~{>Efd!V%!;SZ#rb^6=f`Th z4ur}@NB;ami#lnSHtlj9uR(>M@i#|4d8SS(#(CT|A7bY*ea!o!JR=CM7W~i%FpefN^28eWaCqN76Br_)c@q=H;NOc8wwexP#=|k>x-A4?vZlsU+FOYM2ixU)ccs;jUHnpd6!@G(Y zSD&Mu+#^Lko?wsdJB-4WCI2?VMIRbmfby$>bWDaXELO|AC$9)as@H71FnL zrM`71`wlQe%F?-8uF~I2Ham6e)+f6&MVZdOckAB`eNM5Ka<`Om)=$t~(#Y)$U*J3L zwuax7kj7}J^|~&e)gG4erg`hu`7_MEuoA0%N1D&MGt)Y^vF7BNe`c(TH`hfP#wtEB zS=D1`$YU{L=)KZDpSR(VkG{V46)_IJfAIYm*5BsF&g=30gYR>(w6-jRHFln@duvR4 z?`Jr=w!U?dX}hdk=u3Ra#eev5XkL}d*v9{1-Ih-cCz-sLv8)Qx-cY{hbFTcdE&Vk8 z++(uD-R7H^{dE}(-n&ETDD3)9$JjdF8R+Baqdmu$N*^upd9k3czrHN>759zo+L0Q_ zy;+ytpbt*fk<{5U(f?KLnufx+W->#YRRH^h(QP^o_xT_*_JMaArnqev*jA^8FNx*d z4V$Ay3ZhURLf)oVn$=uf-A&6{pX(y9y7l8J^or|csetQ?p4D}16^@XKl%=+ERF?^; z&iMIYuI1t}c3yPZr$}G+KGc?!rup!Rt?9!KrXcdAc2z#4tQ}M4`I3#y4hQWQ)>pVg$A<^~(dw=UV#}s;;ZQW1Jlc&eyv#Qj!*%@73=JGN}mo~bM zoyr$Yu9ID9(@uu#7_!x2Kh*(}_qPyFR+pO!bRPvj$|sEPZ! z&toh<*F4OA`WC)Ej$(z#8Eh-}^PM*ee>sG(|A?_&)jvJT3$(vSWeN8L?-6UcSZt25 zG!BCI5&H7XgFC4g{&o<@e__YxsiFAyj9lGsn@H_|o=Hk&aEo%8|1^j&|w=YGAC#ZnQ zx3M{uR@~Kad(*G*s=TovR)M9pjJ!(OcDKJ2?z*LKOUNBr+Y!$4eNgeoQ)K)N$Xig6 zo?lLv<<4+y`@~M&$5uzHkE+)UvC(|VrT-KNW36MJ_6XjOw}D6%6>B5q7c^sI_~-DP zO!`oyeRcKxt{z`&7A-*aSMtI+T-8;nseb;<*R$=g)ILo8+B4q@`My=tKHsX9**+hy zP0>2#rTe9G358E%fugN9ytDeq429S#U(QqcT$!&AZ<&H9q(F#GI&UX_kC-#hIP6*p zPx;(djwqKBV>j)S`T8ugb}vayaD?*H7W4L&O~(+WZ}BNoAGNiMt74H9Gm@njPOV$> z;;2+_jb~1*lp06kjhKJd`QrBdnLluO0k;~6uioq8m(-kfSpzLGu{gxt!{*CFUmj2D zwEWpcKbs(zc5QWt?df~CChT`+jZrKvX)D8}5A8R0th1b4C9SrP;YW79FZL~HUT%B5 ztcv8FT?@P0$rUGM{3A|9^Ec6{7qnZN{&C6Zx@J;KM0YiideoSlrA~(XIQL}*Hg`VT z)rfB2x#R_;)Bl}bYSkE0%bU#UOW#@x#+4}}$$fj56f6Ijo#t*nZJYeYSKhDs?wQ|V v)-pT2hu3mH8RvLrevf(d3b(Z0c{8vtqdbnwd#?yRBaa2J;tcYuJ#6 Date: Mon, 22 Mar 2021 12:16:47 -0700 Subject: [PATCH 004/114] to json --- .../2020-11-05-preview/Migrations.json | Bin 33532 -> 24026 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 3282fcd56034799e267eaab6930fd28fc8789105..14a96b8961abe399a8bdb4e0d1fcb60e0297e5ec 100644 GIT binary patch literal 24026 zcmeGk+iu%9_I-i<2Sd9LyV&ix(`GN|n-fn91IffwrX3(`D9f>O+ci)iwJ4G2e&Zo;|M-W|C@8*!s}E26mrr_HR%RE5icN+<8>ZaDJ#Yk zzMjJxE6x@_osNs@s)%^95l|Q7+cM-UR!)x>j03m}GB}Ix#+(&-#Uu8C=hen}`y(Cw zF}ztBGPR^LtD0zylqDzuNdZ=aqT~gv z7*`P`jd(1W#J-l}O&TT{GNc{|H=8txB-_Tn6u=)zKQ)No$>)mFVnC6&{(cj3z_kP< z4Lj6OO?veMrUJazq2zQ`C9%B@3AFwk2w3SN;r$*!;)9bLQ5d_ zZ6oI_N}gmZDLM$Ll1u#6L}O<-9l?0MpbBYwWaxgY82{$1i5%C0f0`8K`y>T9vsvYl zN>J4eXtY!Wi-EzL*RMe$tY;t%G1F#12->2GK#8>NLQx2$;R)UEh4_|iZD}Wd1Y>{Z zY$>Mw(>P|!BukXF(dKedt=AzC!Qi64wdGJe(^4C99yUL?qu<-#21k9cJ`Us2N6;Du z_PD7o9hkRcH_L9qG>K=~rYaklbpiU1K7cA)Ir@R~oDTshNL3c5YF0HVB_%j2`jh;i zLz@Xx5QwJ^XRqNwKKHiLh{ zSy(bOweFs8JaaR-gNuCTF0$KD_W_f5yQd12}&INo31=MC8GzaCEEUNtg35^ z5<*kU*NFt)s+b%yQacl9KuVLC&{B?f6lld&%y$HC4{)dVK4k$)jzLXVToq z^}A+W73^q#>+(RC@jOYFdIq%Y`U2-;tYZ?j2A58&0RW}*t`3LNwf@zqBLPy2^p5< ze&O>ji_&xMl4aqLbEBFW1ZW~aDrbZ$q{tI!T#M9v(-3yp;XAPrj5wh+ zsLfaLYvoMrsrwQY@3egjn9{5!UbQ@;A*vYa4``Y5aK+A!9dM0RNV4+n8#^)A`T}E2 zv~=8$Os0#&qJo~iF75W890^2382Q<*+0*0VB3Is;EjBDlmUa6A*3*fx>?v|Be73P` z-{RCEgUp#Oc$gK^TOc5a8sWR)x!-HV1VM+#o^9qP{ms(0n1h_H!>_Y?ulnCMn~?5m zbJ-s2QX^cfKMT(m)8i?a2Tef?x_0NC-}#Eh78ajehuNy755Q8Ee;zf|0ZFl+vP5w- zWhperoaB|L(mULIBp_zc3Bk)J2IA8O9Kw@QLO3MRP9~E-B5Bh6BFA?&U_?&>mc=YS zcRiHhv!KDNGHJHiH1(HEx`S(2f~Pyp!}ug$Z-m&z7sBsZv5&;nfCKXVK(ddp$bO1v z0g0dtw0b=Qn*3C;>PbnGWKjF|pAYS|k|6i@{d>o44G0jQT?4kO z78E3FJ@o@CxCHy&9$rqpQIdhviSD4Y1cV?Jg6?#^Y9~_%)iZ2&Yeyj-=*0^Ngdq-&Dkw=cn>JhnD< zhBG{|+GuqQt1nS$mv!1Lipqq<6R;Y=vmoC!Qy~%`Ku2W(d9(vK`kS2tL4?=9+Eh68 z295`9NWTc44^BGD7gZ8_Lbm9n)Na!okTW_Uu=aT!lv~`Jkp8~*Oygm%f?_JBB92b{ z*uk<=v0#2Qm7m(u2vQK5?U}Yk%2hD|Ys8oI7V1=Mwlw=pOy6M1zy1rj* zS;!jyoF0U+coYo9NVS>vWl?-0JKbK?N(`UDn~J!3SsxI1l+EW3IP1sSTB z`$jt27$KshS5_%|=v{ylzh$RlTRUNR~(;mDOd(==xBMJY1`VF;xH!0|;*DZQ! z`_lIOLEDykWocCi5AeUlSb3An2i||_m7(vG*of|&;(Q5l&#d;^%9%Pg(3hflMcK*2 z9u*fA!@VqAQ0|No=<6i!uR>nIjw;Tf9YPe{DtA+$Me~Fcv$Rh<@Kmd`2G-Lf=Hioq zU7-~}I8r?n9@Z)idonmmHMdo}I>|J}LW89b)*@Z}F=Iw<0S+BnwS?m)t8)+cYmx7c zeN~GJMw)FMBtuZcncpBg6jxOR!&zuxwmS0x*bK(>QcY0Icq5Fp+i{+Lsit>ld}-@oy+$n2bOYnp={<#hp~#f%PF)u2KEt9qk4-IRummmuoP zQ>Y9Q$U9iN#ZD~X_8z#42ezNFQEGR#wm5k!Q0Wt-u)#XEw269{0w|KY-PCyMHr+7c zlr0Lmje8x%&V5Zi^h-B7u!peibze84ET$xs6hAJ_n9%{yg0Q2BSbVo{Wacy}8#u)D zS~0~BAB+#2tv*V(phtvjaiFHt;RsUf9)j!~bZc?Cvuw_DxGT)Q3n=(GghtP7^*-mH zp!_SGo_%pva1v$_bpBaqql5QwBDL{IUNj`j=^cn{@y@b|!nI|)8&z)zrUF{I&V!{} zb#^bAg0v8F-=PNhn$cNb_d7)Zzq+5q*opJL1`jjxMjr}coghH(*6{YWh=$`Q>a@eu zMN?ZOU@dM~Jhxo2d~r+FPKg$BMtrdw+Y!ZWzN@A)72>uicFwrSXFh)_NXSRbfV*S15QXbHz%jdLp3k9H*WT0ad0#2Z^!OY%IZyIznTYH4nuf?&s;Sj` zrDHJ93f9{ytg+s#6Q*n>UbIHciYHYmc404gBJYr-l&jnQfWkWSvL-R@fG89#>blJ? z`n76cy`}ObM0ek~K+^lFCDEPF_?i zG^eq_{=$lkXbVZe)6?_O=!&X%OUUbSWyXiq_Pi0vwz#my8$PGic+K)Wb*-T5m6^Ct z6S}+YSljkJ%|VRLk)XYui#XCp>9=PQN^I59`ILy-H`5X=-yvRulgjRKBNUdMt5-;; z-h$`jwG2?utJQ{;5}>EgX^A_nm~(6Srx6+;e#EsBk?`h4BKN)y%SkHsLBIX*74E1# z_qCeszuAi1+jVakk?YMos}XuYX@9sT z%p)D^=^J84e+gwlVHAl|gYQO1e>I_TP+JUBo7bP!F`_IQDdB~@5svx5J;<=>EBAY0 H4F3HWr!@F= literal 33532 zcmeHQTW=e=73On+{s#js;1)&d-88+R4+R{1voH|vdSeIsY)i7^U0F&!axP8xuebd^ zQm1n`Bxg9*Xe1>A!PbqJb3ccNhtz-nQ<(SW(%j%NG56;0X3y-Kr{<65D?I<&{L0*# znYlJ|e8YEpcr5VQ!c5Vgtxxgp20btB=X12)Gl%9CKHoEE=3D#j%$%6w|NYZa*?;Ct` zhra@!3-nJg-y6)aFmIPIyZ?{l|0<~%ep2ymgKV9S5tT{1ANbz07 zR&;M0aH6D83qD49O$uvS4K2k>$O0wi1)ir%jjG~B9u<%;XQ9(pf}Zdz>j~o;NoZ&@ zL%UBsqGcZ~tx)Ox*hfD~KXsYVdudItOMjNK57Lg$zqN9BZFOzm{026Ta9&$I;W(vt z3jH_XzQcod>EqJR>aq1}t*2~HOBUzcK0Np1Y55%Ej)52T(n$z;T;;1kmQT}sI-Nl7 z-T?~wfHC5k8RX{yFt|8GW|rrD^XC!`TtoEY z^r&mEUKeXuWlJ=97yUV{WPHuAO`g81m~@+Py0Y3E_kffr9lJEO&G%xo&r|a~{Chf1 z5qYLH%=dbstv-Sunpj&osd(ei7qDf1ob@zV;|a`s?k~=2yT&4PIu2@DuMClp=4%sg zxfXDlk}o?F8ZuJbmXTuiEnI)PyxowkqMvDNNr!mPw~RVksLRR?@t&p|qmFgw8~c## zxNX^nb;_zax?^yN^2`iff&G(-_3%?~)lZJLiyygTm5zVAjUV@5`+o`GCCo!~r*)C9 z>nJ}&cWzI0i0*bNx;wDeOLlb6?K|d5tMP-B23G55Q(He<8;=jSH=a$cDrluv$rk&OewZQV_(Q}@D(J@$F_#qztRbxK43j=# zEkhY+9iqoE{#dhBeo6|nieQX&r;N{?lQXO{=V-~b2tRi_$;@8yTUHlp?Qr#F)z-R& zn};)TAD>lpT3kj*d>GmP=k+F0}4nHks84)!~9n8T@3*zM|9sT^xn zrCqE|6-(VlQ)-Ud#-A)#%j%Ou@PoOUnQ?n#lulCXb}2tTulkZez5lE0NzMROfyaBu z{C!fAG|qMVSvo7Zo>}rFAs1WCSLz_8C>ICaSJNjZ6V)o;Q^*A88RL)7n~@2rs21zz zL($eIvHb^7aE3Z4?mu5H>waAgX}rF(Fh8SpeBPX0>~_1?=XSPu)X^UDh1D2VH%(B( z^gMw@)dtfpEKslh)bk=STDz7LJAS;@t1ZmcN_#EAF$n53y)CzMG^8*WpsB7gU`0KB z>j>799$r^lzryEb?Vm40t6SAN>1!u-8Xs3@S!ReXU~}n9dHO-L(8tS{*1TwA3~7wf z(x;JdJg1ISbFWD%SSk7eQ3-vht4`fBe`}QX`fAZOlCEKm+u~D56)o~HAf@#UIpnWX ze7dbJTX|e8s|r~qe}qazN(!w_s^T|pYyN^t+a^u#-qwr&^9U54z!SKW3`fxI2W$Np zS^G2GhPONsiwZLv-@ER7>#TgSw(QffT;v+fNC3(NN^k~g*vQlj<3Z;`VJR|ur z>gsrgCZGfhFN; zovVUf$3=KVTYR(QeE9)#H?e=a#uZY3WVOWcVb}aFp?0w(BiLK>FX*>KmZA2??U=Sm z%yZAJyO3W;2ltb2f@R46ef>b=Uv$dn-bw_r{eOMzha5$H>02YJ)dK& zrrNEpe9UDfK#xwi8Es9ionU4zo<(AxCJB>q`P{~0HH~{>Efd!V%!;SZ#rb^6=f`Th z4ur}@NB;ami#lnSHtlj9uR(>M@i#|4d8SS(#(CT|A7bY*ea!o!JR=CM7W~i%FpefN^28eWaCqN76Br_)c@q=H;NOc8wwexP#=|k>x-A4?vZlsU+FOYM2ixU)ccs;jUHnpd6!@G(Y zSD&Mu+#^Lko?wsdJB-4WCI2?VMIRbmfby$>bWDaXELO|AC$9)as@H71FnL zrM`71`wlQe%F?-8uF~I2Ham6e)+f6&MVZdOckAB`eNM5Ka<`Om)=$t~(#Y)$U*J3L zwuax7kj7}J^|~&e)gG4erg`hu`7_MEuoA0%N1D&MGt)Y^vF7BNe`c(TH`hfP#wtEB zS=D1`$YU{L=)KZDpSR(VkG{V46)_IJfAIYm*5BsF&g=30gYR>(w6-jRHFln@duvR4 z?`Jr=w!U?dX}hdk=u3Ra#eev5XkL}d*v9{1-Ih-cCz-sLv8)Qx-cY{hbFTcdE&Vk8 z++(uD-R7H^{dE}(-n&ETDD3)9$JjdF8R+Baqdmu$N*^upd9k3czrHN>759zo+L0Q_ zy;+ytpbt*fk<{5U(f?KLnufx+W->#YRRH^h(QP^o_xT_*_JMaArnqev*jA^8FNx*d z4V$Ay3ZhURLf)oVn$=uf-A&6{pX(y9y7l8J^or|csetQ?p4D}16^@XKl%=+ERF?^; z&iMIYuI1t}c3yPZr$}G+KGc?!rup!Rt?9!KrXcdAc2z#4tQ}M4`I3#y4hQWQ)>pVg$A<^~(dw=UV#}s;;ZQW1Jlc&eyv#Qj!*%@73=JGN}mo~bM zoyr$Yu9ID9(@uu#7_!x2Kh*(}_qPyFR+pO!bRPvj$|sEPZ! z&toh<*F4OA`WC)Ej$(z#8Eh-}^PM*ee>sG(|A?_&)jvJT3$(vSWeN8L?-6UcSZt25 zG!BCI5&H7XgFC4g{&o<@e__YxsiFAyj9lGsn@H_|o=Hk&aEo%8|1^j&|w=YGAC#ZnQ zx3M{uR@~Kad(*G*s=TovR)M9pjJ!(OcDKJ2?z*LKOUNBr+Y!$4eNgeoQ)K)N$Xig6 zo?lLv<<4+y`@~M&$5uzHkE+)UvC(|VrT-KNW36MJ_6XjOw}D6%6>B5q7c^sI_~-DP zO!`oyeRcKxt{z`&7A-*aSMtI+T-8;nseb;<*R$=g)ILo8+B4q@`My=tKHsX9**+hy zP0>2#rTe9G358E%fugN9ytDeq429S#U(QqcT$!&AZ<&H9q(F#GI&UX_kC-#hIP6*p zPx;(djwqKBV>j)S`T8ugb}vayaD?*H7W4L&O~(+WZ}BNoAGNiMt74H9Gm@njPOV$> z;;2+_jb~1*lp06kjhKJd`QrBdnLluO0k;~6uioq8m(-kfSpzLGu{gxt!{*CFUmj2D zwEWpcKbs(zc5QWt?df~CChT`+jZrKvX)D8}5A8R0th1b4C9SrP;YW79FZL~HUT%B5 ztcv8FT?@P0$rUGM{3A|9^Ec6{7qnZN{&C6Zx@J;KM0YiideoSlrA~(XIQL}*Hg`VT z)rfB2x#R_;)Bl}bYSkE0%bU#UOW#@x#+4}}$$fj56f6Ijo#t*nZJYeYSKhDs?wQ|V v)-pT2hu3mH8RvLrevf(d3b(Z0c{8vtqdbnwd#?yRBaa2J;tcYuJ#6 Date: Mon, 22 Mar 2021 12:48:01 -0700 Subject: [PATCH 005/114] Json resolved. Fixed most issues aware to be ARM conformant --- .../2020-11-05-preview/Migrations.json | 549 ++++++++---------- 1 file changed, 232 insertions(+), 317 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 14a96b8961ab..60ef48a1aa68 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -1,17 +1,26 @@ { "swagger": "2.0", "info": { - "title": "Migration ARM PG APIs", - "version": "v1" + "version": "v1", + "title": "Migration ARM PG APIs" }, "host": "localhost:44373", "basePath": "/", + "tags": [ + { + "name": "MigrationsPGARMApi", + "description": "Controller for MigrationsPGARMApi (action count: 4)" + } + ], "schemes": [ "https" ], "paths": { "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { + "tags": [ + "MigrationsPGARMApi" + ], "produces": [ "text/plain", "application/json", @@ -19,37 +28,38 @@ ], "parameters": [ { - "format": "uuid", - "in": "path", "name": "targetDBServerSubscriptionId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { - "in": "path", "name": "targetDBServerResourceGroupName", + "in": "path", "required": true, "type": "string" }, { - "in": "path", "name": "targetDBServerName", + "in": "path", "required": true, "type": "string" }, { + "name": "migrationListFilter", "in": "query", - "name": "migrationListFilter" + "required": false } ], "responses": { "200": { "description": "Success", "schema": { + "type": "array", "items": { "$ref": "#/definitions/MigrationSummary" - }, - "type": "array" + } } }, "400": { @@ -64,12 +74,12 @@ "$ref": "#/definitions/InternalServerError" } } - }, - "tags": [ - "MigrationsPGARMApi" - ] + } }, "post": { + "tags": [ + "MigrationsPGARMApi" + ], "consumes": [ "application/json-patch+json", "application/json", @@ -82,32 +92,34 @@ ], "parameters": [ { - "format": "uuid", - "in": "path", "name": "targetDBServerSubscriptionId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { - "in": "path", "name": "targetDBServerResourceGroupName", + "in": "path", "required": true, "type": "string" }, { - "in": "path", "name": "targetDBServerName", + "in": "path", "required": true, "type": "string" }, { "in": "body", "name": "body", + "required": false, "schema": { "allOf": [ { "$ref": "#/definitions/MigrationCreateRequest" - } + }, + {} ] } } @@ -116,8 +128,8 @@ "202": { "description": "Success", "schema": { - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } }, "400": { @@ -132,14 +144,14 @@ "$ref": "#/definitions/InternalServerError" } } - }, - "tags": [ - "MigrationsPGARMApi" - ] + } } }, "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { "get": { + "tags": [ + "MigrationsPGARMApi" + ], "produces": [ "text/plain", "application/json", @@ -147,34 +159,35 @@ ], "parameters": [ { - "format": "uuid", - "in": "path", "name": "targetDBServerSubscriptionId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { - "in": "path", "name": "targetDBServerResourceGroupName", + "in": "path", "required": true, "type": "string" }, { - "in": "path", "name": "targetDBServerName", + "in": "path", "required": true, "type": "string" }, { - "format": "uuid", - "in": "path", "name": "migrationId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { + "name": "migrationDetailsLevel", "in": "query", - "name": "migrationDetailsLevel" + "required": false } ], "responses": { @@ -194,14 +207,14 @@ "$ref": "#/definitions/InternalServerError" } } - }, - "tags": [ - "MigrationsPGARMApi" - ] + } } }, "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { "put": { + "tags": [ + "MigrationsPGARMApi" + ], "consumes": [ "application/json-patch+json", "application/json", @@ -214,34 +227,35 @@ ], "parameters": [ { - "format": "uuid", - "in": "path", "name": "targetDBServerSubscriptionId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { - "in": "path", "name": "targetDBServerResourceGroupName", + "in": "path", "required": true, "type": "string" }, { - "in": "path", "name": "targetDBServerName", + "in": "path", "required": true, "type": "string" }, { - "format": "uuid", - "in": "path", "name": "migrationId", + "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uuid" }, { "in": "body", "name": "body", + "required": false, "schema": {} } ], @@ -264,38 +278,39 @@ "$ref": "#/definitions/InternalServerError" } } - }, - "tags": [ - "MigrationsPGARMApi" - ] + } } } }, "definitions": { "AADApp": { - "additionalProperties": false, + "type": "object", + "required": [ + "aadSecret", + "clientId", + "tenantId" + ], "properties": { "aadSecret": { "type": "string" }, "clientId": { - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" }, "tenantId": { - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } }, - "required": [ - "aadSecret", - "clientId", - "tenantId" - ], - "type": "object" + "additionalProperties": {} }, "AdminCredentials": { - "additionalProperties": false, + "type": "object", + "required": [ + "sourceServerPassword", + "targetServerPassword" + ], "properties": { "sourceServerPassword": { "type": "string" @@ -304,30 +319,21 @@ "type": "string" } }, - "required": [ - "sourceServerPassword", - "targetServerPassword" - ], - "type": "object" + "additionalProperties": {} }, "DBServerMetadata": { - "additionalProperties": false, + "type": "object", "properties": { "location": { "type": "string", "x-nullable": true }, "sku": { - "allOf": [ - { - "$ref": "#/definitions/Sku" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "storageMB": { - "format": "int32", "type": "integer", + "format": "int32", "x-nullable": true }, "version": { @@ -335,48 +341,47 @@ "x-nullable": true } }, - "type": "object" + "additionalProperties": {} }, "DBsToMigrateSpecificationRequest": { - "additionalProperties": false, - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - } - ], "properties": { "dBsToMigrate": { + "type": "array", "items": { "type": "string" }, "maxItems": 8, - "type": "array", "x-nullable": true } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/MigrationStateTransitionRequest" + }, + {} + ] }, "DMSDBDataMigrationDetails": { - "additionalProperties": false, + "type": "object", "properties": { "appliedChanges": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "cdcDeleteCounter": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "cdcInsertCounter": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "cdcUpdateCounter": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "databaseName": { @@ -384,33 +389,33 @@ "x-nullable": true }, "endedOn": { - "format": "date-time", "type": "string", + "format": "date-time", "x-nullable": true }, "fullLoadCompletedTables": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "fullLoadErroredTables": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "fullLoadLoadingTables": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "fullLoadQueuedTables": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "incomingChanges": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "initializationCompleted": { @@ -418,8 +423,8 @@ "x-nullable": true }, "latency": { - "format": "int64", "type": "integer", + "format": "int64", "x-nullable": true }, "migrationState": { @@ -427,58 +432,52 @@ "x-nullable": true }, "startedOn": { - "format": "date-time", "type": "string", + "format": "date-time", "x-nullable": true } }, - "type": "object" + "additionalProperties": {} }, "DataMigrationSubStateDetails": { - "additionalProperties": false, - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - } - ], "properties": { "dbDetails": { + "type": "object", + "readOnly": true, "additionalProperties": { "$ref": "#/definitions/DMSDBDataMigrationDetails" }, - "readOnly": true, - "type": "object", "x-nullable": true } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" + }, + {} + ] }, "InternalServerError": { - "additionalProperties": false, + "type": "object", "properties": { "error": { - "allOf": [ - { - "$ref": "#/definitions/UnknownError" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" } }, - "type": "object" + "additionalProperties": {} }, "InvalidInput": { - "additionalProperties": false, + "type": "object", "properties": { "code": { "type": "string", "x-nullable": true }, "details": { + "type": "array", "items": { "$ref": "#/definitions/InvalidInputDetails" }, - "type": "array", "x-nullable": true }, "message": { @@ -486,10 +485,10 @@ "x-nullable": true } }, - "type": "object" + "additionalProperties": {} }, "InvalidInputDetails": { - "additionalProperties": false, + "type": "object", "properties": { "code": { "type": "string", @@ -504,22 +503,20 @@ "x-nullable": true } }, - "type": "object" + "additionalProperties": {} }, "MigrationCreateRequest": { - "additionalProperties": false, + "type": "object", + "required": [ + "sourceDBServerResourceId" + ], "properties": { "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/definitions/MigrationResourceGroup" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "migrationWindowStartTimeInUtc": { - "format": "date-time", "type": "string", + "format": "date-time", "x-nullable": true }, "overwriteDBsinTarget": { @@ -527,45 +524,35 @@ "x-nullable": true }, "secretParameters": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSecretParameters" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean", "x-nullable": true }, "sourceDBServerResourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", - "type": "string" + "type": "string", + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" }, "targetDBServerSubnetResourceId": { "type": "string", "x-nullable": true } }, + "additionalProperties": {} + }, + "MigrationCreateRequestBase": { + "type": "object", "required": [ "sourceDBServerResourceId" ], - "type": "object" - }, - "MigrationCreateRequestBase": { - "additionalProperties": false, "properties": { "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/definitions/MigrationResourceGroup" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "migrationWindowStartTimeInUtc": { - "format": "date-time", "type": "string", + "format": "date-time", "x-nullable": true }, "overwriteDBsinTarget": { @@ -584,220 +571,175 @@ "x-nullable": true } }, - "required": [ - "sourceDBServerResourceId" - ], - "type": "object" + "additionalProperties": {} }, "MigrationDBDetails": { - "additionalProperties": false, - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsBase" - } - ], "properties": { "dBsToMigrate": { + "type": "array", + "readOnly": true, "items": { "type": "string" }, - "readOnly": true, - "type": "array", "x-nullable": true }, "namesOfDBsInSourceServer": { + "type": "array", + "readOnly": true, "items": { "type": "string" }, - "readOnly": true, - "type": "array", "x-nullable": true }, "namesOfDBsInTargetServer": { + "type": "array", + "readOnly": true, "items": { "type": "string" }, - "readOnly": true, - "type": "array", "x-nullable": true } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/MigrationDetailsBase" + }, + {} + ] }, "MigrationDetails": { - "additionalProperties": false, + "type": "object", "properties": { "currentStatus": { - "allOf": [ - { - "$ref": "#/definitions/MigrationStatus" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "migrationCreateRequest": { - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateRequestBase" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" }, "migrationId": { - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" }, "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" } }, - "type": "object" + "additionalProperties": {} }, "MigrationDetailsBase": { - "additionalProperties": false, + "type": "object", "properties": { "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "type": "object" + "additionalProperties": {} }, "MigrationDetailsLevel": { + "type": "string", "enum": [ "Default", "Summary", "Full", "DBNames" - ], - "type": "string" + ] }, "MigrationListFilter": { + "type": "string", "enum": [ "Active", "All" - ], - "type": "string" + ] }, "MigrationResourceGroup": { - "additionalProperties": false, + "type": "object", + "required": [ + "resourceId" + ], "properties": { "location": { - "maxLength": 128, "type": "string", + "maxLength": 128, "x-nullable": true }, "resourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", - "type": "string" + "type": "string", + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" } }, - "required": [ - "resourceId" - ], - "type": "object" + "additionalProperties": {} }, "MigrationSchedulingRequest": { - "additionalProperties": false, - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - } - ], "properties": { "migrationWindowStartTimeInUtc": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" } }, "required": [ "migrationWindowStartTimeInUtc" ], - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/MigrationStateTransitionRequest" + }, + {} + ] }, "MigrationSecretParameters": { - "additionalProperties": false, + "type": "object", + "required": [ + "aadApp", + "adminCredentials" + ], "properties": { "aadApp": { - "allOf": [ - { - "$ref": "#/definitions/AADApp" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" }, "adminCredentials": { - "allOf": [ - { - "$ref": "#/definitions/AdminCredentials" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" }, "dBsToMigrate": { + "type": "array", "items": { "type": "string" }, "maxItems": 8, - "type": "array", "x-nullable": true } }, - "required": [ - "aadApp", - "adminCredentials" - ], - "type": "object" + "additionalProperties": {} }, "MigrationState": { + "type": "string", "enum": [ "InProgress", "WaitingForUserAction", "Canceled", "Failed", "Succeeded" - ], - "type": "string" + ] }, "MigrationStateTransitionRequest": { - "additionalProperties": false, + "type": "object", + "required": [ + "targetState" + ], "properties": { "targetState": { - "allOf": [ - { - "$ref": "#/definitions/MigrationTargetState" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "required": [ - "targetState" - ], - "type": "object" + "additionalProperties": {} }, "MigrationStatus": { - "additionalProperties": false, + "type": "object", "properties": { "currentSubStateDetails": { "x-nullable": true @@ -807,16 +749,13 @@ "x-nullable": true }, "state": { - "allOf": [ - { - "$ref": "#/definitions/MigrationState" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "type": "object" + "additionalProperties": {} }, "MigrationSubState": { + "type": "string", "enum": [ "PerformingPreRequisiteSteps", "WaitingForLogicalReplicationSetupRequestOnSourceDB", @@ -828,64 +767,41 @@ "WaitingForCutoverTrigger", "CompletingMigration", "Completed" - ], - "type": "string" + ] }, "MigrationSubStateDetails": { - "additionalProperties": false, + "type": "object", "properties": { "currentSubState": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSubState" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "type": "object" + "additionalProperties": {} }, "MigrationSummary": { - "additionalProperties": false, + "type": "object", "properties": { "currentStatus": { - "allOf": [ - { - "$ref": "#/definitions/MigrationStatus" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" }, "migrationId": { - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" }, "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" }, "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ], - "x-nullable": true + "$ref": "#/definitions/DBServerMetadata_sku" } }, - "type": "object" + "additionalProperties": {} }, "MigrationTargetState": { + "type": "string", "enum": [ "LogicalReplicationSetupOnSourceDBTriggered", "DBsToMigrateSpecified", @@ -894,11 +810,10 @@ "DataMigrationInitiated", "CutoverTriggered", "Canceled" - ], - "type": "string" + ] }, "Sku": { - "additionalProperties": false, + "type": "object", "properties": { "name": { "type": "string", @@ -909,28 +824,27 @@ "x-nullable": true } }, - "type": "object" + "additionalProperties": {} }, "TargetDBOverwriteConfirmationSubStateDetails": { - "additionalProperties": false, - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - } - ], "properties": { "dBsThatAlreadyExistOnTarget": { + "type": "array", "items": { "type": "string" }, - "type": "array", "x-nullable": true } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" + }, + {} + ] }, "UnknownError": { - "additionalProperties": false, + "type": "object", "properties": { "code": { "type": "string", @@ -941,14 +855,15 @@ "x-nullable": true } }, + "additionalProperties": {} + }, + "DBServerMetadata_sku": { + "type": "object", + "x-nullable": true + }, + "MigrationDetails_migrationDetailsLevel": { "type": "object" } }, - "tags": [ - { - "description": "Controller for MigrationsPGARMApi (action count: 4)", - "name": "MigrationsPGARMApi" - } - ], "x-components": {} } From 2f7a13d018614b4d7d2711c12ffe9384d11778b3 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 12:48:14 -0700 Subject: [PATCH 006/114] Delete Migrations_openapi.json --- .../Migrations_openapi.json | 1265 ----------------- 1 file changed, 1265 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations_openapi.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations_openapi.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations_openapi.json deleted file mode 100644 index 08f8b447a149..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations_openapi.json +++ /dev/null @@ -1,1265 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "Migration ARM PG APIs", - "version": "v1" - }, - "servers": [ - { - "url": "https://localhost:44373" - } - ], - "paths": { - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { - "post": { - "tags": [ - "MigrationsPGARMApi" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationCreateRequest" - } - ] - } - }, - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationCreateRequest" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationCreateRequest" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationCreateRequest" - } - ] - } - } - } - }, - "responses": { - "202": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "uuid" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - } - } - }, - "500": { - "description": "Server Error", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - } - } - } - } - }, - "get": { - "tags": [ - "MigrationsPGARMApi" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "migrationListFilter", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationListFilter" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MigrationSummary" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MigrationSummary" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MigrationSummary" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - } - } - }, - "500": { - "description": "Server Error", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - } - } - } - } - } - }, - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { - "get": { - "tags": [ - "MigrationsPGARMApi" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "migrationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "migrationDetailsLevel", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationDetailsLevel" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationDetails" - }, - { - "$ref": "#/components/schemas/MigrationDBDetails" - } - ] - } - }, - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationDetails" - }, - { - "$ref": "#/components/schemas/MigrationDBDetails" - } - ] - } - }, - "text/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationDetails" - }, - { - "$ref": "#/components/schemas/MigrationDBDetails" - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - } - } - }, - "500": { - "description": "Server Error", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - } - } - } - } - } - }, - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { - "put": { - "tags": [ - "MigrationsPGARMApi" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "migrationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - }, - { - "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" - }, - { - "$ref": "#/components/schemas/MigrationSchedulingRequest" - } - ] - } - }, - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - }, - { - "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" - }, - { - "$ref": "#/components/schemas/MigrationSchedulingRequest" - } - ] - } - }, - "text/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - }, - { - "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" - }, - { - "$ref": "#/components/schemas/MigrationSchedulingRequest" - } - ] - } - }, - "application/*+json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - }, - { - "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" - }, - { - "$ref": "#/components/schemas/MigrationSchedulingRequest" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MigrationDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/MigrationDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MigrationDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InvalidInput" - } - } - } - }, - "500": { - "description": "Server Error", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/InternalServerError" - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "AADApp": { - "required": [ - "aadSecret", - "clientId", - "tenantId" - ], - "type": "object", - "properties": { - "clientId": { - "type": "string", - "format": "uuid" - }, - "tenantId": { - "type": "string", - "format": "uuid" - }, - "aadSecret": { - "type": "string" - } - }, - "additionalProperties": false - }, - "AdminCredentials": { - "required": [ - "sourceServerPassword", - "targetServerPassword" - ], - "type": "object", - "properties": { - "sourceServerPassword": { - "type": "string" - }, - "targetServerPassword": { - "type": "string" - } - }, - "additionalProperties": false - }, - "DataMigrationSubStateDetails": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/MigrationSubStateDetails" - } - ], - "properties": { - "dbDetails": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/DMSDBDataMigrationDetails" - }, - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - }, - "DBServerMetadata": { - "type": "object", - "properties": { - "location": { - "type": "string", - "nullable": true - }, - "version": { - "type": "string", - "nullable": true - }, - "storageMB": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "sku": { - "allOf": [ - { - "$ref": "#/components/schemas/Sku" - } - ], - "nullable": true - } - }, - "additionalProperties": false - }, - "DBsToMigrateSpecificationRequest": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - } - ], - "properties": { - "dBsToMigrate": { - "maxItems": 8, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "DMSDBDataMigrationDetails": { - "type": "object", - "properties": { - "fullLoadErroredTables": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "fullLoadQueuedTables": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "fullLoadLoadingTables": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "fullLoadCompletedTables": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "cdcUpdateCounter": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "cdcDeleteCounter": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "cdcInsertCounter": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "appliedChanges": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "incomingChanges": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "migrationState": { - "type": "string", - "nullable": true - }, - "endedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "startedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "databaseName": { - "type": "string", - "nullable": true - }, - "initializationCompleted": { - "type": "boolean", - "nullable": true - }, - "latency": { - "type": "integer", - "format": "int64", - "nullable": true - } - }, - "additionalProperties": false - }, - "InternalServerError": { - "type": "object", - "properties": { - "error": { - "allOf": [ - { - "$ref": "#/components/schemas/UnknownError" - } - ], - "nullable": true - } - }, - "additionalProperties": false - }, - "InvalidInput": { - "type": "object", - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvalidInputDetails" - }, - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "InvalidInputDetails": { - "type": "object", - "properties": { - "code": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - }, - "target": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationCreateRequest": { - "required": [ - "sourceDBServerResourceId" - ], - "type": "object", - "properties": { - "sourceDBServerResourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", - "type": "string" - }, - "secretParameters": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationSecretParameters" - } - ], - "nullable": true - }, - "targetDBServerSubnetResourceId": { - "type": "string", - "nullable": true - }, - "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationResourceGroup" - } - ], - "nullable": true - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "nullable": true - }, - "overwriteDBsinTarget": { - "type": "boolean", - "nullable": true - }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationCreateRequestBase": { - "required": [ - "sourceDBServerResourceId" - ], - "type": "object", - "properties": { - "sourceDBServerResourceId": { - "type": "string" - }, - "targetDBServerSubnetResourceId": { - "type": "string", - "nullable": true - }, - "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationResourceGroup" - } - ], - "nullable": true - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "nullable": true - }, - "overwriteDBsinTarget": { - "type": "boolean", - "nullable": true - }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationDBDetails": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/MigrationDetailsBase" - } - ], - "properties": { - "dBsToMigrate": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "readOnly": true - }, - "namesOfDBsInSourceServer": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "readOnly": true - }, - "namesOfDBsInTargetServer": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - }, - "MigrationDetails": { - "type": "object", - "properties": { - "migrationId": { - "type": "string", - "format": "uuid" - }, - "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationDetailsLevel" - } - ] - }, - "currentStatus": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationStatus" - } - ], - "nullable": true - }, - "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/DBServerMetadata" - } - ], - "nullable": true - }, - "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/DBServerMetadata" - } - ], - "nullable": true - }, - "migrationCreateRequest": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationCreateRequestBase" - } - ], - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationDetailsBase": { - "type": "object", - "properties": { - "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationDetailsLevel" - } - ] - } - }, - "additionalProperties": false - }, - "MigrationDetailsLevel": { - "enum": [ - "Default", - "Summary", - "Full", - "DBNames" - ], - "type": "string" - }, - "MigrationListFilter": { - "enum": [ - "Active", - "All" - ], - "type": "string" - }, - "MigrationResourceGroup": { - "required": [ - "resourceId" - ], - "type": "object", - "properties": { - "resourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", - "type": "string" - }, - "location": { - "maxLength": 128, - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationSchedulingRequest": { - "required": [ - "migrationWindowStartTimeInUtc" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" - } - ], - "properties": { - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "MigrationSecretParameters": { - "required": [ - "aadApp", - "adminCredentials" - ], - "type": "object", - "properties": { - "adminCredentials": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminCredentials" - } - ] - }, - "aadApp": { - "allOf": [ - { - "$ref": "#/components/schemas/AADApp" - } - ] - }, - "dBsToMigrate": { - "maxItems": 8, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationState": { - "enum": [ - "InProgress", - "WaitingForUserAction", - "Canceled", - "Failed", - "Succeeded" - ], - "type": "string" - }, - "MigrationStateTransitionRequest": { - "required": [ - "targetState" - ], - "type": "object", - "properties": { - "targetState": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationTargetState" - } - ] - } - }, - "additionalProperties": false - }, - "MigrationStatus": { - "type": "object", - "properties": { - "state": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationState" - } - ] - }, - "error": { - "type": "string", - "nullable": true - }, - "currentSubStateDetails": { - "oneOf": [ - { - "$ref": "#/components/schemas/MigrationSubStateDetails" - }, - { - "$ref": "#/components/schemas/TargetDBOverwriteConfirmationSubStateDetails" - }, - { - "$ref": "#/components/schemas/DataMigrationSubStateDetails" - } - ], - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationSubState": { - "enum": [ - "PerformingPreRequisiteSteps", - "WaitingForLogicalReplicationSetupRequestOnSourceDB", - "WaitingForDBsToMigrateSpecification", - "WaitingForTargetDBOverwriteConfirmation", - "WaitingForDataMigrationScheduling", - "WaitingForDataMigrationWindow", - "MigratingData", - "WaitingForCutoverTrigger", - "CompletingMigration", - "Completed" - ], - "type": "string" - }, - "MigrationSubStateDetails": { - "type": "object", - "properties": { - "currentSubState": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationSubState" - } - ] - } - }, - "additionalProperties": false - }, - "MigrationSummary": { - "type": "object", - "properties": { - "migrationId": { - "type": "string", - "format": "uuid" - }, - "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationDetailsLevel" - } - ] - }, - "currentStatus": { - "allOf": [ - { - "$ref": "#/components/schemas/MigrationStatus" - } - ], - "nullable": true - }, - "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/DBServerMetadata" - } - ], - "nullable": true - }, - "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/DBServerMetadata" - } - ], - "nullable": true - } - }, - "additionalProperties": false - }, - "MigrationTargetState": { - "enum": [ - "LogicalReplicationSetupOnSourceDBTriggered", - "DBsToMigrateSpecified", - "TargetDBOverwriteConfirmed", - "DataMigrationScheduled", - "DataMigrationInitiated", - "CutoverTriggered", - "Canceled" - ], - "type": "string" - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "tier": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "TargetDBOverwriteConfirmationSubStateDetails": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/MigrationSubStateDetails" - } - ], - "properties": { - "dBsThatAlreadyExistOnTarget": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UnknownError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - } - } - }, - "tags": [ - { - "name": "MigrationsPGARMApi", - "description": "Controller for MigrationsPGARMApi (action count: 4)" - } - ] -} \ No newline at end of file From a2dd3e528591b5b656a5622b291efe02b9061f8b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 13:13:49 -0700 Subject: [PATCH 007/114] Delete Migrations.json --- .../2020-11-05-preview/Migrations.json | 869 ------------------ 1 file changed, 869 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json deleted file mode 100644 index 60ef48a1aa68..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ /dev/null @@ -1,869 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "v1", - "title": "Migration ARM PG APIs" - }, - "host": "localhost:44373", - "basePath": "/", - "tags": [ - { - "name": "MigrationsPGARMApi", - "description": "Controller for MigrationsPGARMApi (action count: 4)" - } - ], - "schemes": [ - "https" - ], - "paths": { - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { - "get": { - "tags": [ - "MigrationsPGARMApi" - ], - "produces": [ - "text/plain", - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "migrationListFilter", - "in": "query", - "required": false - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/MigrationSummary" - } - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - } - } - }, - "post": { - "tags": [ - "MigrationsPGARMApi" - ], - "consumes": [ - "application/json-patch+json", - "application/json", - "text/json" - ], - "produces": [ - "text/plain", - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "required": false, - "schema": { - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateRequest" - }, - {} - ] - } - } - ], - "responses": { - "202": { - "description": "Success", - "schema": { - "type": "string", - "format": "uuid" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - } - } - } - }, - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { - "get": { - "tags": [ - "MigrationsPGARMApi" - ], - "produces": [ - "text/plain", - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "name": "migrationDetailsLevel", - "in": "query", - "required": false - } - ], - "responses": { - "200": { - "description": "Success", - "schema": {} - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - } - } - } - }, - "/modules/ArmPostgreSQL/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { - "put": { - "tags": [ - "MigrationsPGARMApi" - ], - "consumes": [ - "application/json-patch+json", - "application/json", - "text/json" - ], - "produces": [ - "text/plain", - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" - }, - { - "in": "body", - "name": "body", - "required": false, - "schema": {} - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MigrationDetails" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - } - } - } - } - }, - "definitions": { - "AADApp": { - "type": "object", - "required": [ - "aadSecret", - "clientId", - "tenantId" - ], - "properties": { - "aadSecret": { - "type": "string" - }, - "clientId": { - "type": "string", - "format": "uuid" - }, - "tenantId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": {} - }, - "AdminCredentials": { - "type": "object", - "required": [ - "sourceServerPassword", - "targetServerPassword" - ], - "properties": { - "sourceServerPassword": { - "type": "string" - }, - "targetServerPassword": { - "type": "string" - } - }, - "additionalProperties": {} - }, - "DBServerMetadata": { - "type": "object", - "properties": { - "location": { - "type": "string", - "x-nullable": true - }, - "sku": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "storageMB": { - "type": "integer", - "format": "int32", - "x-nullable": true - }, - "version": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "DBsToMigrateSpecificationRequest": { - "properties": { - "dBsToMigrate": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 8, - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - }, - {} - ] - }, - "DMSDBDataMigrationDetails": { - "type": "object", - "properties": { - "appliedChanges": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcDeleteCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcInsertCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcUpdateCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "databaseName": { - "type": "string", - "x-nullable": true - }, - "endedOn": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "fullLoadCompletedTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadErroredTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadLoadingTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadQueuedTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "incomingChanges": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "initializationCompleted": { - "type": "boolean", - "x-nullable": true - }, - "latency": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "migrationState": { - "type": "string", - "x-nullable": true - }, - "startedOn": { - "type": "string", - "format": "date-time", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "DataMigrationSubStateDetails": { - "properties": { - "dbDetails": { - "type": "object", - "readOnly": true, - "additionalProperties": { - "$ref": "#/definitions/DMSDBDataMigrationDetails" - }, - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - }, - {} - ] - }, - "InternalServerError": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/DBServerMetadata_sku" - } - }, - "additionalProperties": {} - }, - "InvalidInput": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/InvalidInputDetails" - }, - "x-nullable": true - }, - "message": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "InvalidInputDetails": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true - }, - "message": { - "type": "string", - "x-nullable": true - }, - "target": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "MigrationCreateRequest": { - "type": "object", - "required": [ - "sourceDBServerResourceId" - ], - "properties": { - "migrationResourceGroup": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "overwriteDBsinTarget": { - "type": "boolean", - "x-nullable": true - }, - "secretParameters": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "x-nullable": true - }, - "sourceDBServerResourceId": { - "type": "string", - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" - }, - "targetDBServerSubnetResourceId": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "MigrationCreateRequestBase": { - "type": "object", - "required": [ - "sourceDBServerResourceId" - ], - "properties": { - "migrationResourceGroup": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "overwriteDBsinTarget": { - "type": "boolean", - "x-nullable": true - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "x-nullable": true - }, - "sourceDBServerResourceId": { - "type": "string" - }, - "targetDBServerSubnetResourceId": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "MigrationDBDetails": { - "properties": { - "dBsToMigrate": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" - }, - "x-nullable": true - }, - "namesOfDBsInSourceServer": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" - }, - "x-nullable": true - }, - "namesOfDBsInTargetServer": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" - }, - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsBase" - }, - {} - ] - }, - "MigrationDetails": { - "type": "object", - "properties": { - "currentStatus": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "migrationCreateRequest": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - }, - "migrationId": { - "type": "string", - "format": "uuid" - }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" - } - }, - "additionalProperties": {} - }, - "MigrationDetailsBase": { - "type": "object", - "properties": { - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - } - }, - "additionalProperties": {} - }, - "MigrationDetailsLevel": { - "type": "string", - "enum": [ - "Default", - "Summary", - "Full", - "DBNames" - ] - }, - "MigrationListFilter": { - "type": "string", - "enum": [ - "Active", - "All" - ] - }, - "MigrationResourceGroup": { - "type": "object", - "required": [ - "resourceId" - ], - "properties": { - "location": { - "type": "string", - "maxLength": 128, - "x-nullable": true - }, - "resourceId": { - "type": "string", - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" - } - }, - "additionalProperties": {} - }, - "MigrationSchedulingRequest": { - "properties": { - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "migrationWindowStartTimeInUtc" - ], - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - }, - {} - ] - }, - "MigrationSecretParameters": { - "type": "object", - "required": [ - "aadApp", - "adminCredentials" - ], - "properties": { - "aadApp": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - }, - "adminCredentials": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - }, - "dBsToMigrate": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 8, - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "MigrationState": { - "type": "string", - "enum": [ - "InProgress", - "WaitingForUserAction", - "Canceled", - "Failed", - "Succeeded" - ] - }, - "MigrationStateTransitionRequest": { - "type": "object", - "required": [ - "targetState" - ], - "properties": { - "targetState": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - } - }, - "additionalProperties": {} - }, - "MigrationStatus": { - "type": "object", - "properties": { - "currentSubStateDetails": { - "x-nullable": true - }, - "error": { - "type": "string", - "x-nullable": true - }, - "state": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - } - }, - "additionalProperties": {} - }, - "MigrationSubState": { - "type": "string", - "enum": [ - "PerformingPreRequisiteSteps", - "WaitingForLogicalReplicationSetupRequestOnSourceDB", - "WaitingForDBsToMigrateSpecification", - "WaitingForTargetDBOverwriteConfirmation", - "WaitingForDataMigrationScheduling", - "WaitingForDataMigrationWindow", - "MigratingData", - "WaitingForCutoverTrigger", - "CompletingMigration", - "Completed" - ] - }, - "MigrationSubStateDetails": { - "type": "object", - "properties": { - "currentSubState": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - } - }, - "additionalProperties": {} - }, - "MigrationSummary": { - "type": "object", - "properties": { - "currentStatus": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" - }, - "migrationId": { - "type": "string", - "format": "uuid" - }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" - } - }, - "additionalProperties": {} - }, - "MigrationTargetState": { - "type": "string", - "enum": [ - "LogicalReplicationSetupOnSourceDBTriggered", - "DBsToMigrateSpecified", - "TargetDBOverwriteConfirmed", - "DataMigrationScheduled", - "DataMigrationInitiated", - "CutoverTriggered", - "Canceled" - ] - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "tier": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "TargetDBOverwriteConfirmationSubStateDetails": { - "properties": { - "dBsThatAlreadyExistOnTarget": { - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - }, - {} - ] - }, - "UnknownError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true - }, - "message": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, - "DBServerMetadata_sku": { - "type": "object", - "x-nullable": true - }, - "MigrationDetails_migrationDetailsLevel": { - "type": "object" - } - }, - "x-components": {} -} From 1ec75277f61f27173d84147e90d27a38213e30d2 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 22 Mar 2021 13:14:02 -0700 Subject: [PATCH 008/114] Add files via upload --- .../2020-11-05-preview/Migrations.json | 930 ++++++++++++++++++ 1 file changed, 930 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json new file mode 100644 index 000000000000..3c9becdc6b40 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -0,0 +1,930 @@ +{ + "swagger": "2.0", + "info": { + "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.", + "version": "2020-11-05-preview", + "title": "PostgreSQLServerManagementClient" + }, + "host": "management.azure.com", + "tags": [ + { + "name": "Migrations", + "description": "Controller for Migrations (action count: 4)" + } + ], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "get": { + "tags": [ + "Migrations" + ], + "produces": [ + "text/plain", + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "migrationListFilter\\", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/MigrationSummary" + } + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" + } + }, + "500": { + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/UnknownError" + } + } + } + }, + "post": { + "tags": [ + "Migrations" + ], + "consumes": [ + "application/json-patch+json", + "application/json", + "text/json" + ], + "produces": [ + "text/plain", + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "allOf": [ + { + "$ref": "#/definitions/MigrationCreateRequest" + }, + {} + ] + } + } + ], + "responses": { + "202": { + "description": "Success", + "schema": { + "type": "string", + "format": "uuid" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" + } + }, + "500": { + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/UnknownError" + } + } + } + } + }, + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "get": { + "tags": [ + "Migrations" + ], + "produces": [ + "text/plain", + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "migrationId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "name": "migrationDetailsLevel", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": {} + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" + } + }, + "500": { + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/UnknownError" + } + } + } + } + }, + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { + "put": { + "tags": [ + "Migrations" + ], + "consumes": [ + "application/json-patch+json", + "application/json", + "text/json" + ], + "produces": [ + "text/plain", + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "migrationId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "in": "body", + "name": "body", + "required": false, + "schema": {} + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrationDetails" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" + } + }, + "500": { + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/UnknownError" + } + } + } + } + } + }, + "securityDefinitions": { + "azure_auth": { + "description": "Azure Active Directory OAuth2 Flow", + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "definitions": { + "AADApp": { + "type": "object", + "required": [ + "aadSecret", + "clientId", + "tenantId" + ], + "properties": { + "aadSecret": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "clientId": { + "type": "string", + "format": "uuid" + }, + "tenantId": { + "type": "string", + "format": "uuid" + } + }, + "additionalProperties": {}, + "x-ms-external": true, + "x-ms-secret": true + }, + "AdminCredentials": { + "type": "object", + "required": [ + "sourceServerPassword", + "targetServerPassword" + ], + "properties": { + "sourceServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "targetServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + } + }, + "additionalProperties": {}, + "x-ms-external": true, + "x-ms-secret": true + }, + "DBServerMetadata": { + "type": "object", + "properties": { + "location": { + "type": "string", + "x-nullable": true + }, + "sku": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "storageMB": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "version": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "DBsToMigrateSpecificationRequest": { + "properties": { + "dBsToMigrate": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 8, + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrationStateTransitionRequest" + }, + {} + ] + }, + "DMSDBDataMigrationDetails": { + "type": "object", + "properties": { + "appliedChanges": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "cdcDeleteCounter": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "cdcInsertCounter": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "cdcUpdateCounter": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "databaseName": { + "type": "string", + "x-nullable": true + }, + "endedOn": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "fullLoadCompletedTables": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "fullLoadErroredTables": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "fullLoadLoadingTables": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "fullLoadQueuedTables": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "incomingChanges": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "initializationCompleted": { + "type": "boolean", + "x-nullable": true + }, + "latency": { + "type": "integer", + "format": "int64", + "x-nullable": true + }, + "migrationState": { + "type": "string", + "x-nullable": true + }, + "startedOn": { + "type": "string", + "format": "date-time", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "DataMigrationSubStateDetails": { + "properties": { + "dbDetails": { + "type": "object", + "readOnly": true, + "additionalProperties": { + "$ref": "#/definitions/DMSDBDataMigrationDetails" + }, + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" + }, + {} + ] + }, + "InternalServerError": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/DBServerMetadata_sku" + } + }, + "additionalProperties": {} + }, + "InvalidInput": { + "type": "object", + "properties": { + "code": { + "type": "string", + "x-nullable": true + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/InvalidInputDetails" + }, + "x-nullable": true + }, + "message": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "InvalidInputDetails": { + "type": "object", + "properties": { + "code": { + "type": "string", + "x-nullable": true + }, + "message": { + "type": "string", + "x-nullable": true + }, + "target": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "MigrationCreateRequest": { + "type": "object", + "required": [ + "sourceDBServerResourceId" + ], + "properties": { + "migrationResourceGroup": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "overwriteDBsinTarget": { + "type": "boolean", + "x-nullable": true + }, + "secretParameters": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean", + "x-nullable": true + }, + "sourceDBServerResourceId": { + "type": "string", + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" + }, + "targetDBServerSubnetResourceId": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "MigrationCreateRequestBase": { + "type": "object", + "required": [ + "sourceDBServerResourceId" + ], + "properties": { + "migrationResourceGroup": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "overwriteDBsinTarget": { + "type": "boolean", + "x-nullable": true + }, + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean", + "x-nullable": true + }, + "sourceDBServerResourceId": { + "type": "string" + }, + "targetDBServerSubnetResourceId": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "MigrationDBDetails": { + "properties": { + "dBsToMigrate": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "x-nullable": true + }, + "namesOfDBsInSourceServer": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "x-nullable": true + }, + "namesOfDBsInTargetServer": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrationDetailsBase" + }, + {} + ] + }, + "MigrationDetails": { + "type": "object", + "properties": { + "currentStatus": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "migrationCreateRequest": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "migrationDetailsLevel": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + }, + "migrationId": { + "type": "string", + "format": "uuid" + }, + "sourceDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "targetDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata_sku" + } + }, + "additionalProperties": {} + }, + "MigrationDetailsBase": { + "type": "object", + "properties": { + "migrationDetailsLevel": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + } + }, + "additionalProperties": {} + }, + "MigrationDetailsLevel": { + "type": "string", + "enum": [ + "Default", + "Summary", + "Full", + "DBNames" + ] + }, + "MigrationListFilter": { + "type": "string", + "enum": [ + "Active", + "All" + ] + }, + "MigrationResourceGroup": { + "type": "object", + "required": [ + "resourceId" + ], + "properties": { + "location": { + "type": "string", + "maxLength": 128, + "x-nullable": true + }, + "resourceId": { + "type": "string", + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" + } + }, + "additionalProperties": {} + }, + "MigrationSchedulingRequest": { + "properties": { + "migrationWindowStartTimeInUtc": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "migrationWindowStartTimeInUtc" + ], + "allOf": [ + { + "$ref": "#/definitions/MigrationStateTransitionRequest" + }, + {} + ] + }, + "MigrationSecretParameters": { + "type": "object", + "required": [ + "aadApp", + "adminCredentials" + ], + "properties": { + "aadApp": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + }, + "adminCredentials": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + }, + "dBsToMigrate": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 8, + "x-nullable": true + } + }, + "additionalProperties": {}, + "x-ms-secret": true + }, + "MigrationState": { + "type": "string", + "enum": [ + "InProgress", + "WaitingForUserAction", + "Canceled", + "Failed", + "Succeeded" + ] + }, + "MigrationStateTransitionRequest": { + "type": "object", + "required": [ + "targetState" + ], + "properties": { + "targetState": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + } + }, + "additionalProperties": {} + }, + "MigrationStatus": { + "type": "object", + "properties": { + "currentSubStateDetails": { + "x-nullable": true + }, + "error": { + "type": "string", + "x-nullable": true + }, + "state": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + } + }, + "additionalProperties": {} + }, + "MigrationSubState": { + "type": "string", + "enum": [ + "PerformingPreRequisiteSteps", + "WaitingForLogicalReplicationSetupRequestOnSourceDB", + "WaitingForDBsToMigrateSpecification", + "WaitingForTargetDBOverwriteConfirmation", + "WaitingForDataMigrationScheduling", + "WaitingForDataMigrationWindow", + "MigratingData", + "WaitingForCutoverTrigger", + "CompletingMigration", + "Completed" + ] + }, + "MigrationSubStateDetails": { + "type": "object", + "properties": { + "currentSubState": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + } + }, + "additionalProperties": {} + }, + "MigrationSummary": { + "type": "object", + "properties": { + "currentStatus": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "migrationDetailsLevel": { + "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + }, + "migrationId": { + "type": "string", + "format": "uuid" + }, + "sourceDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata_sku" + }, + "targetDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata_sku" + } + }, + "additionalProperties": {} + }, + "MigrationTargetState": { + "type": "string", + "enum": [ + "LogicalReplicationSetupOnSourceDBTriggered", + "DBsToMigrateSpecified", + "TargetDBOverwriteConfirmed", + "DataMigrationScheduled", + "DataMigrationInitiated", + "CutoverTriggered", + "Canceled" + ] + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "x-nullable": true + }, + "tier": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "TargetDBOverwriteConfirmationSubStateDetails": { + "properties": { + "dBsThatAlreadyExistOnTarget": { + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" + }, + {} + ] + }, + "UnknownError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "x-nullable": true + }, + "message": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, + "DBServerMetadata_sku": { + "type": "object", + "x-nullable": true + }, + "MigrationDetails_migrationDetailsLevel": { + "type": "object" + } + }, + "x-components": {} +} \ No newline at end of file From 85795bb4bde8631e20928c88c2352e27025dbf3a Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:01:06 -0700 Subject: [PATCH 009/114] Update readme.md --- specification/postgresql/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index a63f46d98741..3c582f2def21 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,6 +39,7 @@ These settings apply only when `--tag=package-2020-11-05-preview` is specified o input-file: - Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json +- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json ``` From 96e9dfc2d3407ff4a7f452d42904a6f5ab58fb41 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:57:58 -0700 Subject: [PATCH 010/114] Update readme.md --- specification/postgresql/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 3c582f2def21..a63f46d98741 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,7 +39,6 @@ These settings apply only when `--tag=package-2020-11-05-preview` is specified o input-file: - Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json -- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json ``` From 35e9bb950818a5ef2fea9c0d27a25b6b228db8ee Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 23 Mar 2021 14:23:47 -0700 Subject: [PATCH 011/114] Update readme.md --- specification/postgresql/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index a63f46d98741..3c582f2def21 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,6 +39,7 @@ These settings apply only when `--tag=package-2020-11-05-preview` is specified o input-file: - Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json +- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json ``` From 6da63fed358b663a5eaca53005669ba084ce63d0 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 12:48:47 -0700 Subject: [PATCH 012/114] Create custom-words.txt --- .../preview/2020-11-05-preview/custom-words.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt new file mode 100644 index 000000000000..c321d117fdc0 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt @@ -0,0 +1 @@ +DMSDB From cd441be97565174be987310c78b2a3e0578de881 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 12:50:30 -0700 Subject: [PATCH 013/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 3c9becdc6b40..07d76f929216 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -579,7 +579,7 @@ "format": "date-time", "x-nullable": true }, - "overwriteDBsinTarget": { + "overwriteDBsInTarget": { "type": "boolean", "x-nullable": true }, @@ -615,7 +615,7 @@ "format": "date-time", "x-nullable": true }, - "overwriteDBsinTarget": { + "overwriteDBsInTarget": { "type": "boolean", "x-nullable": true }, @@ -927,4 +927,4 @@ } }, "x-components": {} -} \ No newline at end of file +} From 72043224952cf59626d450db71c4bb4b7d68e4c6 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 13:24:47 -0700 Subject: [PATCH 014/114] Add DMSDB in custom-words.txt --- custom-words.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index d8051f6b626f..2b9f3326babb 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -548,6 +548,7 @@ diskoperations Distcp Distro dllpath +DMSDB DMTS Dnat dnsname @@ -2112,4 +2113,4 @@ Zilla ziplist Zoho zoneinfo -zset \ No newline at end of file +zset From 0f58d34d37e785e46938c69fc7525ade86b37998 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 13:25:11 -0700 Subject: [PATCH 015/114] Delete custom-words.txt --- .../preview/2020-11-05-preview/custom-words.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt deleted file mode 100644 index c321d117fdc0..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/custom-words.txt +++ /dev/null @@ -1 +0,0 @@ -DMSDB From 04f8d4a8bd3568d5b165cfca255dfcf32bb3e7c6 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 13:52:49 -0700 Subject: [PATCH 016/114] Update custom-words.txt --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 2b9f3326babb..58472a0343c8 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2114,3 +2114,4 @@ ziplist Zoho zoneinfo zset +BMSAAD From f1af46eb4b7280d698d7f4b63e4a957efd4610ae Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:15:34 -0700 Subject: [PATCH 017/114] remove sku --- .../preview/2020-11-05-preview/Migrations.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 07d76f929216..5bacffec82a9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -873,20 +873,6 @@ "Canceled" ] }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "tier": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, "TargetDBOverwriteConfirmationSubStateDetails": { "properties": { "dBsThatAlreadyExistOnTarget": { From f04b81f2eb80ebc91394707fc871e413891537e2 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:15:59 -0700 Subject: [PATCH 018/114] Update custom-words.txt --- custom-words.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 58472a0343c8..2b9f3326babb 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2114,4 +2114,3 @@ ziplist Zoho zoneinfo zset -BMSAAD From 2ac80c44a3fc901a1aeee00e622ab55a64821a0e Mon Sep 17 00:00:00 2001 From: tezhang Date: Thu, 25 Mar 2021 14:26:02 -0700 Subject: [PATCH 019/114] add DMSDB --- custom-words.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 58472a0343c8..a7452ee5e354 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2113,5 +2113,4 @@ Zilla ziplist Zoho zoneinfo -zset -BMSAAD +zset \ No newline at end of file From 5d772e50d033aa34dbc2ff1899b7b8f72ae26816 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Fri, 26 Mar 2021 22:01:47 -0700 Subject: [PATCH 020/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 57 +++++++++++++------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 5bacffec82a9..4288f6e8caeb 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -34,10 +34,9 @@ "tags": [ "Migrations" ], + "operationId": "Migrations_Get", "produces": [ - "text/plain", "application/json", - "text/json" ], "parameters": [ { @@ -77,12 +76,14 @@ } }, "400": { + "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { + "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -91,7 +92,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/UnknownError" + "$ref": "#/definitions/CloudError" } } } @@ -100,15 +101,14 @@ "tags": [ "Migrations" ], + "operationId": "Migrations_Post", "consumes": [ "application/json-patch+json", "application/json", "text/json" ], "produces": [ - "text/plain", - "application/json", - "text/json" + "application/json" ], "parameters": [ { @@ -153,12 +153,14 @@ } }, "400": { + "x-ms-error-response": true "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { + "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -167,7 +169,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/UnknownError" + "$ref": "#/definitions/CloudError" } } } @@ -179,9 +181,7 @@ "Migrations" ], "produces": [ - "text/plain", - "application/json", - "text/json" + "application/json" ], "parameters": [ { @@ -220,15 +220,26 @@ "responses": { "200": { "description": "Success", - "schema": {} + "schema": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationDetails" + }, + { + "$ref": "#/definitions/MigrationDBDetails" + } + ] + } }, "400": { + "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { + "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -237,7 +248,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/UnknownError" + "$ref": "#/definitions/CloudError" } } } @@ -254,9 +265,7 @@ "text/json" ], "produces": [ - "text/plain", - "application/json", - "text/json" + "application/json" ], "parameters": [ { @@ -300,12 +309,14 @@ } }, "400": { + "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { + "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -314,7 +325,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/UnknownError" + "$ref": "#/definitions/CloudError" } } } @@ -873,6 +884,20 @@ "Canceled" ] }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "x-nullable": true + }, + "tier": { + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": {} + }, "TargetDBOverwriteConfirmationSubStateDetails": { "properties": { "dBsThatAlreadyExistOnTarget": { From d6a8ea7c14705a6da006fbf6ff3c902878376647 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Sun, 28 Mar 2021 16:11:39 -0700 Subject: [PATCH 021/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 4288f6e8caeb..62d2aef4b36c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -36,7 +36,7 @@ ], "operationId": "Migrations_Get", "produces": [ - "application/json", + "application/json" ], "parameters": [ { @@ -153,7 +153,7 @@ } }, "400": { - "x-ms-error-response": true + "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" From e2b33b5657ccd5cb09da28e88e7ada10d92cafdd Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Sun, 28 Mar 2021 21:44:42 -0700 Subject: [PATCH 022/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 62d2aef4b36c..22bf374ade48 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -221,14 +221,7 @@ "200": { "description": "Success", "schema": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationDetails" - }, - { - "$ref": "#/definitions/MigrationDBDetails" - } - ] + "$ref": "#/definitions/MigrationDetails" } }, "400": { From ddef2e9dc03201deb3a42531796f09329158ae08 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Sun, 28 Mar 2021 22:02:53 -0700 Subject: [PATCH 023/114] Add clouderror --- .../preview/2020-11-05-preview/Migrations.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 22bf374ade48..af7668fee6e5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -908,6 +908,15 @@ {} ] }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } "UnknownError": { "type": "object", "properties": { From 415e762e3018b4072fe960ea23ea12d01ece6086 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Sun, 28 Mar 2021 22:09:02 -0700 Subject: [PATCH 024/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index af7668fee6e5..ac622720f46d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -916,7 +916,7 @@ } }, "description": "An error response from the Batch service." - } + }, "UnknownError": { "type": "object", "properties": { From 55c1517d6d9687ee2541db718541a9e17fd09776 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:18:50 -0700 Subject: [PATCH 025/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index ac622720f46d..61554fa2b733 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -408,6 +408,7 @@ "additionalProperties": {} }, "DBsToMigrateSpecificationRequest": { + "type": "object", "properties": { "dBsToMigrate": { "type": "array", @@ -421,8 +422,7 @@ "allOf": [ { "$ref": "#/definitions/MigrationStateTransitionRequest" - }, - {} + } ] }, "DMSDBDataMigrationDetails": { @@ -877,20 +877,6 @@ "Canceled" ] }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "tier": { - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": {} - }, "TargetDBOverwriteConfirmationSubStateDetails": { "properties": { "dBsThatAlreadyExistOnTarget": { From ad8616e13613fa60b33d4072bb9a482b20d54a03 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 11:34:12 -0700 Subject: [PATCH 026/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 61554fa2b733..14d1387b636f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -103,9 +103,7 @@ ], "operationId": "Migrations_Post", "consumes": [ - "application/json-patch+json", - "application/json", - "text/json" + "application/json" ], "produces": [ "application/json" @@ -180,6 +178,7 @@ "tags": [ "Migrations" ], + "operationId": "Migrations_MigrationId_Get", "produces": [ "application/json" ], @@ -252,10 +251,9 @@ "tags": [ "Migrations" ], + "operationId": "Migrations_TargetState_Put", "consumes": [ - "application/json-patch+json", - "application/json", - "text/json" + "application/json" ], "produces": [ "application/json" @@ -693,8 +691,7 @@ "targetDBServerMetadata": { "$ref": "#/definitions/DBServerMetadata_sku" } - }, - "additionalProperties": {} + } }, "MigrationDetailsBase": { "type": "object", From 5c97d3eccd5978eb74d782552ea355ed2928b91c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 11:46:41 -0700 Subject: [PATCH 027/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 35 +++++++++++++------ 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 14d1387b636f..3fd6ebd813a5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -129,16 +129,11 @@ "type": "string" }, { + "name": "parameters", "in": "body", - "name": "body", "required": false, "schema": { - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateRequest" - }, - {} - ] + "$ref": "#/definitions/MigrationCreateRequest" } } ], @@ -286,10 +281,30 @@ "format": "uuid" }, { + "name": "parameters", "in": "body", - "name": "body", - "required": false, - "schema": {} + "required": true, + "schema": { + "$ref": "#/definitions/Database" + }, + "description": "The required parameters for creating or updating a database." + } + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/MigrationStateTransitionRequest" + }, + { + "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + }, + { + "$ref": "#/components/schemas/MigrationSchedulingRequest" + } + ] } ], "responses": { From 2e9ea8bd84a9be94eb47b8cb0fbc55d498898785 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:10:45 -0700 Subject: [PATCH 028/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 3fd6ebd813a5..5cb9ae6d25f0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -288,7 +288,7 @@ "$ref": "#/definitions/Database" }, "description": "The required parameters for creating or updating a database." - } + }, { "name": "parameters", "in": "body", From c8c3413c92ba8603e8e24b86020737f8f27f953e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:53:05 -0700 Subject: [PATCH 029/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 5cb9ae6d25f0..9db691ca4dca 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -305,6 +305,7 @@ "$ref": "#/components/schemas/MigrationSchedulingRequest" } ] + } } ], "responses": { From c20376c80a41d7aa5901fe496fced2ff1335cc7f Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 13:19:03 -0700 Subject: [PATCH 030/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 9db691ca4dca..3e861eb3693a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -296,13 +296,13 @@ "schema": { "oneOf": [ { - "$ref": "#/components/schemas/MigrationStateTransitionRequest" + "$ref": "#/definitions/MigrationStateTransitionRequest" }, { - "$ref": "#/components/schemas/DBsToMigrateSpecificationRequest" + "$ref": "#/definitions/DBsToMigrateSpecificationRequest" }, { - "$ref": "#/components/schemas/MigrationSchedulingRequest" + "$ref": "#/definitions/MigrationSchedulingRequest" } ] } @@ -937,6 +937,5 @@ "MigrationDetails_migrationDetailsLevel": { "type": "object" } - }, - "x-components": {} + } } From 5c1757346a02e829495d01873fcaa6092e85e0aa Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 13:54:19 -0700 Subject: [PATCH 031/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 3e861eb3693a..ab42d554cf79 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -280,15 +280,6 @@ "type": "string", "format": "uuid" }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "The required parameters for creating or updating a database." - }, { "name": "parameters", "in": "body", From 01a718b9559291debad8b8bb250949ab6ab6856c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:01:30 -0700 Subject: [PATCH 032/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 1286 +++++++++-------- 1 file changed, 664 insertions(+), 622 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index ab42d554cf79..1032a5439c16 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -1,793 +1,823 @@ { - "swagger": "2.0", - "info": { - "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.", - "version": "2020-11-05-preview", - "title": "PostgreSQLServerManagementClient" + "swagger":"2.0", + "info":{ + "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.", + "version":"2020-11-05-preview", + "title":"PostgreSQLServerManagementClient" }, - "host": "management.azure.com", - "tags": [ + "host":"management.azure.com", + "tags":[ { - "name": "Migrations", - "description": "Controller for Migrations (action count: 4)" + "name":"Migrations", + "description":"Controller for Migrations (action count: 4)" } ], - "schemes": [ + "schemes":[ "https" ], - "consumes": [ + "consumes":[ "application/json" ], - "produces": [ + "produces":[ "application/json" ], - "security": [ + "security":[ { - "azure_auth": [ + "azure_auth":[ "user_impersonation" ] } ], - "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { - "get": { - "tags": [ + "paths":{ + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations":{ + "get":{ + "tags":[ "Migrations" ], - "operationId": "Migrations_Get", - "produces": [ + "operationId":"Migrations_Get", + "produces":[ "application/json" ], - "parameters": [ + "parameters":[ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"targetDBServerSubscriptionId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerResourceGroupName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "migrationListFilter\\", - "in": "query", - "required": false, - "type": "string" + "name":"migrationListFilter\\", + "in":"query", + "required":false, + "type":"string" } ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/MigrationSummary" + "responses":{ + "200":{ + "description":"Success", + "schema":{ + "type":"array", + "items":{ + "$ref":"#/definitions/MigrationSummary" } } }, - "400": { - "x-ms-error-response": true, - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" + "400":{ + "x-ms-error-response":true, + "description":"Bad Request", + "schema":{ + "$ref":"#/definitions/InvalidInput" } }, - "500": { - "x-ms-error-response": true, - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" + "500":{ + "x-ms-error-response":true, + "description":"Server Error", + "schema":{ + "$ref":"#/definitions/InternalServerError" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" + "default":{ + "description":"Error response describing why the operation failed.", + "schema":{ + "$ref":"#/definitions/CloudError" } } } }, - "post": { - "tags": [ + "post":{ + "tags":[ "Migrations" ], - "operationId": "Migrations_Post", - "consumes": [ + "operationId":"Migrations_Post", + "consumes":[ "application/json" ], - "produces": [ + "produces":[ "application/json" ], - "parameters": [ + "parameters":[ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"targetDBServerSubscriptionId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerResourceGroupName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/MigrationCreateRequest" + "name":"parameters", + "in":"body", + "required":false, + "schema":{ + "$ref":"#/definitions/MigrationCreateRequest" } } ], - "responses": { - "202": { - "description": "Success", - "schema": { - "type": "string", - "format": "uuid" + "responses":{ + "202":{ + "description":"Success", + "schema":{ + "type":"string", + "format":"uuid" } }, - "400": { - "x-ms-error-response": true, - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" + "400":{ + "x-ms-error-response":true, + "description":"Bad Request", + "schema":{ + "$ref":"#/definitions/InvalidInput" } }, - "500": { - "x-ms-error-response": true, - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" + "500":{ + "x-ms-error-response":true, + "description":"Server Error", + "schema":{ + "$ref":"#/definitions/InternalServerError" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" + "default":{ + "description":"Error response describing why the operation failed.", + "schema":{ + "$ref":"#/definitions/CloudError" } } } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { - "get": { - "tags": [ + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}":{ + "get":{ + "tags":[ "Migrations" ], - "operationId": "Migrations_MigrationId_Get", - "produces": [ + "operationId":"Migrations_MigrationId_Get", + "produces":[ "application/json" ], - "parameters": [ + "parameters":[ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"targetDBServerSubscriptionId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerResourceGroupName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"migrationId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "migrationDetailsLevel", - "in": "query", - "required": false, - "type": "string" + "name":"migrationDetailsLevel", + "in":"query", + "required":false, + "type":"string" } ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MigrationDetails" + "responses":{ + "200":{ + "description":"Success", + "schema":{ + "$ref":"#/definitions/MigrationDetails" } }, - "400": { - "x-ms-error-response": true, - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" + "400":{ + "x-ms-error-response":true, + "description":"Bad Request", + "schema":{ + "$ref":"#/definitions/InvalidInput" } }, - "500": { - "x-ms-error-response": true, - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" + "500":{ + "x-ms-error-response":true, + "description":"Server Error", + "schema":{ + "$ref":"#/definitions/InternalServerError" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" + "default":{ + "description":"Error response describing why the operation failed.", + "schema":{ + "$ref":"#/definitions/CloudError" } } } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { - "put": { - "tags": [ + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState":{ + "put":{ + "tags":[ "Migrations" ], - "operationId": "Migrations_TargetState_Put", - "consumes": [ + "operationId":"Migrations_TargetState_Put", + "consumes":[ "application/json" ], - "produces": [ + "produces":[ "application/json" ], - "parameters": [ + "parameters":[ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"targetDBServerSubscriptionId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerResourceGroupName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "name":"targetDBServerName", + "in":"path", + "required":true, + "type":"string" }, { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "name":"migrationId", + "in":"path", + "required":true, + "type":"string", + "format":"uuid" }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - }, - { - "$ref": "#/definitions/DBsToMigrateSpecificationRequest" - }, - { - "$ref": "#/definitions/MigrationSchedulingRequest" - } - ] + "name":"parameters", + "in":"body", + "required":true, + "schema":{ + "oneOf":[ + { + "$ref":"#/definitions/MigrationStateTransitionRequest" + }, + { + "$ref":"#/definitions/DBsToMigrateSpecificationRequest" + }, + { + "$ref":"#/definitions/MigrationSchedulingRequest" + } + ] } } ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MigrationDetails" + "responses":{ + "200":{ + "description":"Success", + "schema":{ + "$ref":"#/definitions/MigrationDetails" } }, - "400": { - "x-ms-error-response": true, - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" + "400":{ + "x-ms-error-response":true, + "description":"Bad Request", + "schema":{ + "$ref":"#/definitions/InvalidInput" } }, - "500": { - "x-ms-error-response": true, - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" + "500":{ + "x-ms-error-response":true, + "description":"Server Error", + "schema":{ + "$ref":"#/definitions/InternalServerError" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" + "default":{ + "description":"Error response describing why the operation failed.", + "schema":{ + "$ref":"#/definitions/CloudError" } } } } } }, - "securityDefinitions": { - "azure_auth": { - "description": "Azure Active Directory OAuth2 Flow", - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "scopes": { - "user_impersonation": "impersonate your user account" + "securityDefinitions":{ + "azure_auth":{ + "description":"Azure Active Directory OAuth2 Flow", + "type":"oauth2", + "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", + "flow":"implicit", + "scopes":{ + "user_impersonation":"impersonate your user account" } } }, - "definitions": { - "AADApp": { - "type": "object", - "required": [ + "definitions":{ + "AADApp":{ + "type":"object", + "required":[ "aadSecret", "clientId", "tenantId" ], - "properties": { - "aadSecret": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true - }, - "clientId": { - "type": "string", - "format": "uuid" - }, - "tenantId": { - "type": "string", - "format": "uuid" + "properties":{ + "aadSecret":{ + "type":"string", + "x-ms-secret":true, + "x-ms-external":true + }, + "clientId":{ + "type":"string", + "format":"uuid" + }, + "tenantId":{ + "type":"string", + "format":"uuid" } }, - "additionalProperties": {}, - "x-ms-external": true, - "x-ms-secret": true + "additionalProperties":{ + + }, + "x-ms-external":true, + "x-ms-secret":true }, - "AdminCredentials": { - "type": "object", - "required": [ + "AdminCredentials":{ + "type":"object", + "required":[ "sourceServerPassword", "targetServerPassword" ], - "properties": { - "sourceServerPassword": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true - }, - "targetServerPassword": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true + "properties":{ + "sourceServerPassword":{ + "type":"string", + "x-ms-secret":true, + "x-ms-external":true + }, + "targetServerPassword":{ + "type":"string", + "x-ms-secret":true, + "x-ms-external":true } }, - "additionalProperties": {}, - "x-ms-external": true, - "x-ms-secret": true - }, - "DBServerMetadata": { - "type": "object", - "properties": { - "location": { - "type": "string", - "x-nullable": true - }, - "sku": { - "$ref": "#/definitions/DBServerMetadata_sku" - }, - "storageMB": { - "type": "integer", - "format": "int32", - "x-nullable": true - }, - "version": { - "type": "string", - "x-nullable": true + "additionalProperties":{ + + }, + "x-ms-external":true, + "x-ms-secret":true + }, + "DBServerMetadata":{ + "type":"object", + "properties":{ + "location":{ + "type":"string", + "x-nullable":true + }, + "sku":{ + "$ref":"#/definitions/DBServerMetadata_sku" + }, + "storageMB":{ + "type":"integer", + "format":"int32", + "x-nullable":true + }, + "version":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "DBsToMigrateSpecificationRequest": { - "type": "object", - "properties": { - "dBsToMigrate": { - "type": "array", - "items": { - "type": "string" + "DBsToMigrateSpecificationRequest":{ + "type":"object", + "properties":{ + "dBsToMigrate":{ + "type":"array", + "items":{ + "type":"string" }, - "maxItems": 8, - "x-nullable": true + "maxItems":8, + "x-nullable":true } }, - "allOf": [ + "allOf":[ { - "$ref": "#/definitions/MigrationStateTransitionRequest" + "$ref":"#/definitions/MigrationStateTransitionRequest" } ] }, - "DMSDBDataMigrationDetails": { - "type": "object", - "properties": { - "appliedChanges": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcDeleteCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcInsertCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "cdcUpdateCounter": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "databaseName": { - "type": "string", - "x-nullable": true - }, - "endedOn": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "fullLoadCompletedTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadErroredTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadLoadingTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "fullLoadQueuedTables": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "incomingChanges": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "initializationCompleted": { - "type": "boolean", - "x-nullable": true - }, - "latency": { - "type": "integer", - "format": "int64", - "x-nullable": true - }, - "migrationState": { - "type": "string", - "x-nullable": true - }, - "startedOn": { - "type": "string", - "format": "date-time", - "x-nullable": true + "DMSDBDataMigrationDetails":{ + "type":"object", + "properties":{ + "appliedChanges":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "cdcDeleteCounter":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "cdcInsertCounter":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "cdcUpdateCounter":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "databaseName":{ + "type":"string", + "x-nullable":true + }, + "endedOn":{ + "type":"string", + "format":"date-time", + "x-nullable":true + }, + "fullLoadCompletedTables":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "fullLoadErroredTables":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "fullLoadLoadingTables":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "fullLoadQueuedTables":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "incomingChanges":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "initializationCompleted":{ + "type":"boolean", + "x-nullable":true + }, + "latency":{ + "type":"integer", + "format":"int64", + "x-nullable":true + }, + "migrationState":{ + "type":"string", + "x-nullable":true + }, + "startedOn":{ + "type":"string", + "format":"date-time", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "DataMigrationSubStateDetails": { - "properties": { - "dbDetails": { - "type": "object", - "readOnly": true, - "additionalProperties": { - "$ref": "#/definitions/DMSDBDataMigrationDetails" + "DataMigrationSubStateDetails":{ + "properties":{ + "dbDetails":{ + "type":"object", + "readOnly":true, + "additionalProperties":{ + "$ref":"#/definitions/DMSDBDataMigrationDetails" }, - "x-nullable": true + "x-nullable":true } }, - "allOf": [ + "allOf":[ { - "$ref": "#/definitions/MigrationSubStateDetails" + "$ref":"#/definitions/MigrationSubStateDetails" }, - {} + { + + } ] }, - "InternalServerError": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/DBServerMetadata_sku" + "InternalServerError":{ + "type":"object", + "properties":{ + "error":{ + "$ref":"#/definitions/DBServerMetadata_sku" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "InvalidInput": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true + "InvalidInput":{ + "type":"object", + "properties":{ + "code":{ + "type":"string", + "x-nullable":true }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/InvalidInputDetails" + "details":{ + "type":"array", + "items":{ + "$ref":"#/definitions/InvalidInputDetails" }, - "x-nullable": true + "x-nullable":true }, - "message": { - "type": "string", - "x-nullable": true + "message":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "InvalidInputDetails": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true + "InvalidInputDetails":{ + "type":"object", + "properties":{ + "code":{ + "type":"string", + "x-nullable":true }, - "message": { - "type": "string", - "x-nullable": true + "message":{ + "type":"string", + "x-nullable":true }, - "target": { - "type": "string", - "x-nullable": true + "target":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationCreateRequest": { - "type": "object", - "required": [ + "MigrationCreateRequest":{ + "type":"object", + "required":[ "sourceDBServerResourceId" ], - "properties": { - "migrationResourceGroup": { - "$ref": "#/definitions/DBServerMetadata_sku" + "properties":{ + "migrationResourceGroup":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true + "migrationWindowStartTimeInUtc":{ + "type":"string", + "format":"date-time", + "x-nullable":true }, - "overwriteDBsInTarget": { - "type": "boolean", - "x-nullable": true + "overwriteDBsInTarget":{ + "type":"boolean", + "x-nullable":true }, - "secretParameters": { - "$ref": "#/definitions/DBServerMetadata_sku" + "secretParameters":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "x-nullable": true + "setupLogicalReplicationOnSourceDBIfNeeded":{ + "type":"boolean", + "x-nullable":true }, - "sourceDBServerResourceId": { - "type": "string", - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" + "sourceDBServerResourceId":{ + "type":"string", + "pattern":"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" }, - "targetDBServerSubnetResourceId": { - "type": "string", - "x-nullable": true + "targetDBServerSubnetResourceId":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationCreateRequestBase": { - "type": "object", - "required": [ + "MigrationCreateRequestBase":{ + "type":"object", + "required":[ "sourceDBServerResourceId" ], - "properties": { - "migrationResourceGroup": { - "$ref": "#/definitions/DBServerMetadata_sku" + "properties":{ + "migrationResourceGroup":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true + "migrationWindowStartTimeInUtc":{ + "type":"string", + "format":"date-time", + "x-nullable":true }, - "overwriteDBsInTarget": { - "type": "boolean", - "x-nullable": true + "overwriteDBsInTarget":{ + "type":"boolean", + "x-nullable":true }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean", - "x-nullable": true + "setupLogicalReplicationOnSourceDBIfNeeded":{ + "type":"boolean", + "x-nullable":true }, - "sourceDBServerResourceId": { - "type": "string" + "sourceDBServerResourceId":{ + "type":"string" }, - "targetDBServerSubnetResourceId": { - "type": "string", - "x-nullable": true + "targetDBServerSubnetResourceId":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationDBDetails": { - "properties": { - "dBsToMigrate": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" + "MigrationDBDetails":{ + "properties":{ + "dBsToMigrate":{ + "type":"array", + "readOnly":true, + "items":{ + "type":"string" }, - "x-nullable": true + "x-nullable":true }, - "namesOfDBsInSourceServer": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" + "namesOfDBsInSourceServer":{ + "type":"array", + "readOnly":true, + "items":{ + "type":"string" }, - "x-nullable": true + "x-nullable":true }, - "namesOfDBsInTargetServer": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" + "namesOfDBsInTargetServer":{ + "type":"array", + "readOnly":true, + "items":{ + "type":"string" }, - "x-nullable": true + "x-nullable":true } }, - "allOf": [ + "allOf":[ { - "$ref": "#/definitions/MigrationDetailsBase" + "$ref":"#/definitions/MigrationDetailsBase" }, - {} + { + + } ] }, - "MigrationDetails": { - "type": "object", - "properties": { - "currentStatus": { - "$ref": "#/definitions/DBServerMetadata_sku" + "MigrationDetails":{ + "type":"object", + "properties":{ + "currentStatus":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "migrationCreateRequest": { - "$ref": "#/definitions/DBServerMetadata_sku" + "migrationCreateRequest":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "migrationDetailsLevel":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" }, - "migrationId": { - "type": "string", - "format": "uuid" + "migrationId":{ + "type":"string", + "format":"uuid" }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" + "sourceDBServerMetadata":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" + "targetDBServerMetadata":{ + "$ref":"#/definitions/DBServerMetadata_sku" } } }, - "MigrationDetailsBase": { - "type": "object", - "properties": { - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "MigrationDetailsBase":{ + "type":"object", + "properties":{ + "migrationDetailsLevel":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationDetailsLevel": { - "type": "string", - "enum": [ + "MigrationDetailsLevel":{ + "type":"string", + "enum":[ "Default", "Summary", "Full", "DBNames" ] }, - "MigrationListFilter": { - "type": "string", - "enum": [ + "MigrationListFilter":{ + "type":"string", + "enum":[ "Active", "All" ] }, - "MigrationResourceGroup": { - "type": "object", - "required": [ + "MigrationResourceGroup":{ + "type":"object", + "required":[ "resourceId" ], - "properties": { - "location": { - "type": "string", - "maxLength": 128, - "x-nullable": true - }, - "resourceId": { - "type": "string", - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" + "properties":{ + "location":{ + "type":"string", + "maxLength":128, + "x-nullable":true + }, + "resourceId":{ + "type":"string", + "pattern":"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationSchedulingRequest": { - "properties": { - "migrationWindowStartTimeInUtc": { - "type": "string", - "format": "date-time" + "MigrationSchedulingRequest":{ + "properties":{ + "migrationWindowStartTimeInUtc":{ + "type":"string", + "format":"date-time" } }, - "required": [ + "required":[ "migrationWindowStartTimeInUtc" ], - "allOf": [ + "allOf":[ { - "$ref": "#/definitions/MigrationStateTransitionRequest" + "$ref":"#/definitions/MigrationStateTransitionRequest" }, - {} + { + + } ] }, - "MigrationSecretParameters": { - "type": "object", - "required": [ + "MigrationSecretParameters":{ + "type":"object", + "required":[ "aadApp", "adminCredentials" ], - "properties": { - "aadApp": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "properties":{ + "aadApp":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" }, - "adminCredentials": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "adminCredentials":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" }, - "dBsToMigrate": { - "type": "array", - "items": { - "type": "string" + "dBsToMigrate":{ + "type":"array", + "items":{ + "type":"string" }, - "maxItems": 8, - "x-nullable": true + "maxItems":8, + "x-nullable":true } }, - "additionalProperties": {}, - "x-ms-secret": true + "additionalProperties":{ + + }, + "x-ms-secret":true }, - "MigrationState": { - "type": "string", - "enum": [ + "MigrationState":{ + "type":"string", + "enum":[ "InProgress", "WaitingForUserAction", "Canceled", @@ -795,37 +825,41 @@ "Succeeded" ] }, - "MigrationStateTransitionRequest": { - "type": "object", - "required": [ + "MigrationStateTransitionRequest":{ + "type":"object", + "required":[ "targetState" ], - "properties": { - "targetState": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "properties":{ + "targetState":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationStatus": { - "type": "object", - "properties": { - "currentSubStateDetails": { - "x-nullable": true + "MigrationStatus":{ + "type":"object", + "properties":{ + "currentSubStateDetails":{ + "x-nullable":true }, - "error": { - "type": "string", - "x-nullable": true + "error":{ + "type":"string", + "x-nullable":true }, - "state": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "state":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationSubState": { - "type": "string", - "enum": [ + "MigrationSubState":{ + "type":"string", + "enum":[ "PerformingPreRequisiteSteps", "WaitingForLogicalReplicationSetupRequestOnSourceDB", "WaitingForDBsToMigrateSpecification", @@ -838,40 +872,44 @@ "Completed" ] }, - "MigrationSubStateDetails": { - "type": "object", - "properties": { - "currentSubState": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "MigrationSubStateDetails":{ + "type":"object", + "properties":{ + "currentSubState":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationSummary": { - "type": "object", - "properties": { - "currentStatus": { - "$ref": "#/definitions/DBServerMetadata_sku" + "MigrationSummary":{ + "type":"object", + "properties":{ + "currentStatus":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetails_migrationDetailsLevel" + "migrationDetailsLevel":{ + "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" }, - "migrationId": { - "type": "string", - "format": "uuid" + "migrationId":{ + "type":"string", + "format":"uuid" }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" + "sourceDBServerMetadata":{ + "$ref":"#/definitions/DBServerMetadata_sku" }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata_sku" + "targetDBServerMetadata":{ + "$ref":"#/definitions/DBServerMetadata_sku" } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "MigrationTargetState": { - "type": "string", - "enum": [ + "MigrationTargetState":{ + "type":"string", + "enum":[ "LogicalReplicationSetupOnSourceDBTriggered", "DBsToMigrateSpecified", "TargetDBOverwriteConfirmed", @@ -881,52 +919,56 @@ "Canceled" ] }, - "TargetDBOverwriteConfirmationSubStateDetails": { - "properties": { - "dBsThatAlreadyExistOnTarget": { - "type": "array", - "items": { - "type": "string" + "TargetDBOverwriteConfirmationSubStateDetails":{ + "properties":{ + "dBsThatAlreadyExistOnTarget":{ + "type":"array", + "items":{ + "type":"string" }, - "x-nullable": true + "x-nullable":true } }, - "allOf": [ + "allOf":[ { - "$ref": "#/definitions/MigrationSubStateDetails" + "$ref":"#/definitions/MigrationSubStateDetails" }, - {} + { + + } ] }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "CloudError":{ + "x-ms-external":true, + "properties":{ + "error":{ + "$ref":"../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, - "description": "An error response from the Batch service." - }, - "UnknownError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "x-nullable": true - }, - "message": { - "type": "string", - "x-nullable": true + "description":"An error response from the Batch service." + }, + "UnknownError":{ + "type":"object", + "properties":{ + "code":{ + "type":"string", + "x-nullable":true + }, + "message":{ + "type":"string", + "x-nullable":true } }, - "additionalProperties": {} + "additionalProperties":{ + + } }, - "DBServerMetadata_sku": { - "type": "object", - "x-nullable": true + "DBServerMetadata_sku":{ + "type":"object", + "x-nullable":true }, - "MigrationDetails_migrationDetailsLevel": { - "type": "object" + "MigrationDetails_migrationDetailsLevel":{ + "type":"object" } } -} +} \ No newline at end of file From 6769656800a7d680b1646b4da677798763bc806b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 31 Mar 2021 12:29:34 -0700 Subject: [PATCH 033/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 1363 ++++++++--------- 1 file changed, 644 insertions(+), 719 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 1032a5439c16..011030bb174a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -1,865 +1,788 @@ { - "swagger":"2.0", - "info":{ - "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.", - "version":"2020-11-05-preview", - "title":"PostgreSQLServerManagementClient" + "swagger": "2.0", + "info": { + "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.", + "version": "2020-11-05-preview", + "title": "PostgreSQLServerManagementClient" }, - "host":"management.azure.com", - "tags":[ - { - "name":"Migrations", - "description":"Controller for Migrations (action count: 4)" - } - ], - "schemes":[ + "host": "management.azure.com", + "schemes": [ "https" ], - "consumes":[ + "consumes": [ "application/json" ], - "produces":[ + "produces": [ "application/json" ], - "security":[ + "security": [ { - "azure_auth":[ + "azure_auth": [ "user_impersonation" ] } ], - "paths":{ - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations":{ - "get":{ - "tags":[ + "securityDefinitions": { + "azure_auth": { + "description": "Azure Active Directory OAuth2 Flow", + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "get": { + "tags": [ "Migrations" ], - "operationId":"Migrations_Get", - "produces":[ + "operationId": "Migrations_Get", + "produces": [ "application/json" ], - "parameters":[ + "parameters": [ { - "name":"targetDBServerSubscriptionId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"targetDBServerResourceGroupName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"targetDBServerName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"migrationListFilter\\", - "in":"query", - "required":false, - "type":"string" + "name": "migrationListFilter", + "in": "query", + "required": false, + "type": "string" } ], - "responses":{ - "200":{ - "description":"Success", - "schema":{ - "type":"array", - "items":{ - "$ref":"#/definitions/MigrationSummary" + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/MigrationSummary" } } }, - "400":{ - "x-ms-error-response":true, - "description":"Bad Request", - "schema":{ - "$ref":"#/definitions/InvalidInput" + "400": { + "x-ms-error-response": true, + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" } }, - "500":{ - "x-ms-error-response":true, - "description":"Server Error", - "schema":{ - "$ref":"#/definitions/InternalServerError" + "500": { + "x-ms-error-response": true, + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" } }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/CloudError" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } } }, - "post":{ - "tags":[ + "post": { + "tags": [ "Migrations" ], - "operationId":"Migrations_Post", - "consumes":[ + "operationId": "Migrations_Post", + "consumes": [ "application/json" ], - "produces":[ + "produces": [ "application/json" ], - "parameters":[ + "parameters": [ { - "name":"targetDBServerSubscriptionId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"targetDBServerResourceGroupName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"targetDBServerName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"parameters", - "in":"body", - "required":false, - "schema":{ - "$ref":"#/definitions/MigrationCreateRequest" + "name": "parameters", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/MigrationCreateRequest" } } ], - "responses":{ - "202":{ - "description":"Success", - "schema":{ - "type":"string", - "format":"uuid" + "responses": { + "202": { + "description": "Success", + "schema": { + "type": "string", + "format": "uuid" } }, - "400":{ - "x-ms-error-response":true, - "description":"Bad Request", - "schema":{ - "$ref":"#/definitions/InvalidInput" + "400": { + "x-ms-error-response": true, + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" } }, - "500":{ - "x-ms-error-response":true, - "description":"Server Error", - "schema":{ - "$ref":"#/definitions/InternalServerError" + "500": { + "x-ms-error-response": true, + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" } }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/CloudError" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}":{ - "get":{ - "tags":[ + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "get": { + "tags": [ "Migrations" ], - "operationId":"Migrations_MigrationId_Get", - "produces":[ + "operationId": "Migrations_MigrationId_Get", + "produces": [ "application/json" ], - "parameters":[ + "parameters": [ { - "name":"targetDBServerSubscriptionId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"targetDBServerResourceGroupName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"targetDBServerName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"migrationId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "migrationId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"migrationDetailsLevel", - "in":"query", - "required":false, - "type":"string" + "name": "migrationDetailsLevel", + "in": "query", + "required": false, + "type": "string" } ], - "responses":{ - "200":{ - "description":"Success", - "schema":{ - "$ref":"#/definitions/MigrationDetails" + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrationDetails" } }, - "400":{ - "x-ms-error-response":true, - "description":"Bad Request", - "schema":{ - "$ref":"#/definitions/InvalidInput" + "400": { + "x-ms-error-response": true, + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" } }, - "500":{ - "x-ms-error-response":true, - "description":"Server Error", - "schema":{ - "$ref":"#/definitions/InternalServerError" + "500": { + "x-ms-error-response": true, + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" } }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/CloudError" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState":{ - "put":{ - "tags":[ + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { + "put": { + "tags": [ "Migrations" ], - "operationId":"Migrations_TargetState_Put", - "consumes":[ + "operationId": "Migrations_TargetState_Put", + "consumes": [ "application/json" ], - "produces":[ + "produces": [ "application/json" ], - "parameters":[ + "parameters": [ { - "name":"targetDBServerSubscriptionId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"targetDBServerResourceGroupName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"targetDBServerName", - "in":"path", - "required":true, - "type":"string" + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string" }, { - "name":"migrationId", - "in":"path", - "required":true, - "type":"string", - "format":"uuid" + "name": "migrationId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid" }, { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "oneOf":[ - { - "$ref":"#/definitions/MigrationStateTransitionRequest" - }, - { - "$ref":"#/definitions/DBsToMigrateSpecificationRequest" - }, - { - "$ref":"#/definitions/MigrationSchedulingRequest" - } - ] + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationStateTransitionRequest" } } ], - "responses":{ - "200":{ - "description":"Success", - "schema":{ - "$ref":"#/definitions/MigrationDetails" + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrationDetails" } }, - "400":{ - "x-ms-error-response":true, - "description":"Bad Request", - "schema":{ - "$ref":"#/definitions/InvalidInput" + "400": { + "x-ms-error-response": true, + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/InvalidInput" } }, - "500":{ - "x-ms-error-response":true, - "description":"Server Error", - "schema":{ - "$ref":"#/definitions/InternalServerError" + "500": { + "x-ms-error-response": true, + "description": "Server Error", + "schema": { + "$ref": "#/definitions/InternalServerError" } }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/CloudError" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } } } } }, - "securityDefinitions":{ - "azure_auth":{ - "description":"Azure Active Directory OAuth2 Flow", - "type":"oauth2", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "flow":"implicit", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } - }, - "definitions":{ - "AADApp":{ - "type":"object", - "required":[ + "definitions": { + "AADApp": { + "type": "object", + "required": [ "aadSecret", "clientId", "tenantId" ], - "properties":{ - "aadSecret":{ - "type":"string", - "x-ms-secret":true, - "x-ms-external":true - }, - "clientId":{ - "type":"string", - "format":"uuid" - }, - "tenantId":{ - "type":"string", - "format":"uuid" + "properties": { + "aadSecret": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "clientId": { + "type": "string", + "format": "uuid" + }, + "tenantId": { + "type": "string", + "format": "uuid" } }, - "additionalProperties":{ - + "additionalProperties": { + }, - "x-ms-external":true, - "x-ms-secret":true + "x-ms-external": true, + "x-ms-secret": true }, - "AdminCredentials":{ - "type":"object", - "required":[ + "AdminCredentials": { + "type": "object", + "required": [ "sourceServerPassword", "targetServerPassword" ], - "properties":{ - "sourceServerPassword":{ - "type":"string", - "x-ms-secret":true, - "x-ms-external":true - }, - "targetServerPassword":{ - "type":"string", - "x-ms-secret":true, - "x-ms-external":true + "properties": { + "sourceServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "targetServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true } }, - "additionalProperties":{ - + "additionalProperties": { + }, - "x-ms-external":true, - "x-ms-secret":true - }, - "DBServerMetadata":{ - "type":"object", - "properties":{ - "location":{ - "type":"string", - "x-nullable":true - }, - "sku":{ - "$ref":"#/definitions/DBServerMetadata_sku" - }, - "storageMB":{ - "type":"integer", - "format":"int32", - "x-nullable":true - }, - "version":{ - "type":"string", - "x-nullable":true + "x-ms-external": true, + "x-ms-secret": true + }, + "DBServerMetadata": { + "type": "object", + "properties": { + "location": { + "type": "string" + }, + "version": { + "type": "string" + }, + "storageMB": { + "format": "int32", + "type": "integer" + }, + "sku": { + "allOf": [ + { + "$ref": "#/definitions/Sku" + } + ] } - }, - "additionalProperties":{ - } }, - "DBsToMigrateSpecificationRequest":{ - "type":"object", - "properties":{ - "dBsToMigrate":{ - "type":"array", - "items":{ - "type":"string" - }, - "maxItems":8, - "x-nullable":true - } - }, - "allOf":[ + "DBsToMigrateSpecificationRequest": { + "type": "object", + "allOf": [ { - "$ref":"#/definitions/MigrationStateTransitionRequest" + "$ref": "#/definitions/MigrationStateTransitionRequest" } - ] - }, - "DMSDBDataMigrationDetails":{ - "type":"object", - "properties":{ - "appliedChanges":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "cdcDeleteCounter":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "cdcInsertCounter":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "cdcUpdateCounter":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "databaseName":{ - "type":"string", - "x-nullable":true - }, - "endedOn":{ - "type":"string", - "format":"date-time", - "x-nullable":true - }, - "fullLoadCompletedTables":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "fullLoadErroredTables":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "fullLoadLoadingTables":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "fullLoadQueuedTables":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "incomingChanges":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "initializationCompleted":{ - "type":"boolean", - "x-nullable":true - }, - "latency":{ - "type":"integer", - "format":"int64", - "x-nullable":true - }, - "migrationState":{ - "type":"string", - "x-nullable":true - }, - "startedOn":{ - "type":"string", - "format":"date-time", - "x-nullable":true + ], + "properties": { + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + } } - }, - "additionalProperties":{ - } }, - "DataMigrationSubStateDetails":{ - "properties":{ - "dbDetails":{ - "type":"object", - "readOnly":true, - "additionalProperties":{ - "$ref":"#/definitions/DMSDBDataMigrationDetails" - }, - "x-nullable":true - } - }, - "allOf":[ - { - "$ref":"#/definitions/MigrationSubStateDetails" + "DMSDBDataMigrationDetails": { + "type": "object", + "properties": { + "fullLoadErroredTables": { + "format": "int64", + "type": "integer" + }, + "fullLoadQueuedTables": { + "format": "int64", + "type": "integer" + }, + "fullLoadLoadingTables": { + "format": "int64", + "type": "integer" + }, + "fullLoadCompletedTables": { + "format": "int64", + "type": "integer" + }, + "cdcUpdateCounter": { + "format": "int64", + "type": "integer" + }, + "cdcDeleteCounter": { + "format": "int64", + "type": "integer" + }, + "cdcInsertCounter": { + "format": "int64", + "type": "integer" + }, + "appliedChanges": { + "format": "int64", + "type": "integer" + }, + "incomingChanges": { + "format": "int64", + "type": "integer" + }, + "migrationState": { + "type": "string" + }, + "endedOn": { + "format": "date-time", + "type": "string" }, + "startedOn": { + "format": "date-time", + "type": "string" + }, + "databaseName": { + "type": "string" + }, + "initializationCompleted": { + "type": "boolean" + }, + "latency": { + "format": "int64", + "type": "integer" + } + } + }, + "DataMigrationSubStateDetails": { + "type": "object", + "allOf": [ { - + "$ref": "#/definitions/MigrationSubStateDetails" } - ] + ], + "properties": { + "dbDetails": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DMSDBDataMigrationDetails" + }, + "readOnly": true + } + } }, - "InternalServerError":{ - "type":"object", - "properties":{ - "error":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "InternalServerError": { + "type": "object", + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/definitions/UnknownError" + } + ] } - }, - "additionalProperties":{ - } }, - "InvalidInput":{ - "type":"object", - "properties":{ - "code":{ - "type":"string", - "x-nullable":true - }, - "details":{ - "type":"array", - "items":{ - "$ref":"#/definitions/InvalidInputDetails" - }, - "x-nullable":true + "InvalidInput": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/InvalidInputDetails" + } }, - "message":{ - "type":"string", - "x-nullable":true + "code": { + "type": "string" + }, + "message": { + "type": "string" } - }, - "additionalProperties":{ - } }, - "InvalidInputDetails":{ - "type":"object", - "properties":{ - "code":{ - "type":"string", - "x-nullable":true - }, - "message":{ - "type":"string", - "x-nullable":true - }, - "target":{ - "type":"string", - "x-nullable":true + "InvalidInputDetails": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" } - }, - "additionalProperties":{ - } }, - "MigrationCreateRequest":{ - "type":"object", - "required":[ + "MigrationCreateRequest": { + "required": [ "sourceDBServerResourceId" ], - "properties":{ - "migrationResourceGroup":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "type": "object", + "properties": { + "sourceDBServerResourceId": { + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", + "type": "string" + }, + "secretParameters": { + "allOf": [ + { + "$ref": "#/definitions/MigrationSecretParameters" + } + ] }, - "migrationWindowStartTimeInUtc":{ - "type":"string", - "format":"date-time", - "x-nullable":true + "targetDBServerSubnetResourceId": { + "type": "string" }, - "overwriteDBsInTarget":{ - "type":"boolean", - "x-nullable":true + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + } }, - "secretParameters":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/definitions/MigrationResourceGroup" + } + ] }, - "setupLogicalReplicationOnSourceDBIfNeeded":{ - "type":"boolean", - "x-nullable":true + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean" }, - "sourceDBServerResourceId":{ - "type":"string", - "pattern":"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}" + "overwriteDBsinTarget": { + "type": "boolean" }, - "targetDBServerSubnetResourceId":{ - "type":"string", - "x-nullable":true + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string" } - }, - "additionalProperties":{ - } }, - "MigrationCreateRequestBase":{ - "type":"object", - "required":[ + "MigrationCreateRequestBase": { + "required": [ "sourceDBServerResourceId" ], - "properties":{ - "migrationResourceGroup":{ - "$ref":"#/definitions/DBServerMetadata_sku" - }, - "migrationWindowStartTimeInUtc":{ - "type":"string", - "format":"date-time", - "x-nullable":true + "type": "object", + "properties": { + "sourceDBServerResourceId": { + "type": "string" + }, + "targetDBServerSubnetResourceId": { + "type": "string" + }, + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + } }, - "overwriteDBsInTarget":{ - "type":"boolean", - "x-nullable":true + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/definitions/MigrationResourceGroup" + } + ] }, - "setupLogicalReplicationOnSourceDBIfNeeded":{ - "type":"boolean", - "x-nullable":true + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean" }, - "sourceDBServerResourceId":{ - "type":"string" + "overwriteDBsinTarget": { + "type": "boolean" }, - "targetDBServerSubnetResourceId":{ - "type":"string", - "x-nullable":true + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string" } - }, - "additionalProperties":{ - } }, - "MigrationDBDetails":{ - "properties":{ - "dBsToMigrate":{ - "type":"array", - "readOnly":true, - "items":{ - "type":"string" - }, - "x-nullable":true - }, - "namesOfDBsInSourceServer":{ - "type":"array", - "readOnly":true, - "items":{ - "type":"string" - }, - "x-nullable":true - }, - "namesOfDBsInTargetServer":{ - "type":"array", - "readOnly":true, - "items":{ - "type":"string" - }, - "x-nullable":true - } - }, - "allOf":[ - { - "$ref":"#/definitions/MigrationDetailsBase" - }, - { - - } - ] - }, - "MigrationDetails":{ - "type":"object", - "properties":{ - "currentStatus":{ - "$ref":"#/definitions/DBServerMetadata_sku" - }, - "migrationCreateRequest":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "MigrationDetails": { + "type": "object", + "properties": { + "migrationId": { + "format": "uuid", + "type": "string" + }, + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/definitions/MigrationDetailsLevel" + } + ] }, - "migrationDetailsLevel":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "currentStatus": { + "allOf": [ + { + "$ref": "#/definitions/MigrationStatus" + } + ] }, - "migrationId":{ - "type":"string", - "format":"uuid" + "sourceDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] }, - "sourceDBServerMetadata":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "targetDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] }, - "targetDBServerMetadata":{ - "$ref":"#/definitions/DBServerMetadata_sku" - } - } - }, - "MigrationDetailsBase":{ - "type":"object", - "properties":{ - "migrationDetailsLevel":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "migrationCreateRequest": { + "allOf": [ + { + "$ref": "#/definitions/MigrationCreateRequestBase" + } + ] } - }, - "additionalProperties":{ - } }, - "MigrationDetailsLevel":{ - "type":"string", - "enum":[ + "MigrationDetailsLevel": { + "enum": [ "Default", "Summary", - "Full", - "DBNames" - ] + "Full" + ], + "type": "string" }, - "MigrationListFilter":{ - "type":"string", - "enum":[ + "MigrationListFilter": { + "enum": [ "Active", "All" - ] + ], + "type": "string" }, - "MigrationResourceGroup":{ - "type":"object", - "required":[ + "MigrationResourceGroup": { + "required": [ "resourceId" ], - "properties":{ - "location":{ - "type":"string", - "maxLength":128, - "x-nullable":true - }, - "resourceId":{ - "type":"string", - "pattern":"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" + "type": "object", + "properties": { + "resourceId": { + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", + "type": "string" + }, + "location": { + "maxLength": 128, + "type": "string" } - }, - "additionalProperties":{ - } }, - "MigrationSchedulingRequest":{ - "properties":{ - "migrationWindowStartTimeInUtc":{ - "type":"string", - "format":"date-time" - } - }, - "required":[ + "MigrationSchedulingRequest": { + "required": [ "migrationWindowStartTimeInUtc" ], - "allOf":[ - { - "$ref":"#/definitions/MigrationStateTransitionRequest" - }, + "type": "object", + "allOf": [ { - + "$ref": "#/definitions/MigrationStateTransitionRequest" } - ] + ], + "properties": { + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string" + } + } }, - "MigrationSecretParameters":{ - "type":"object", - "required":[ + "MigrationSecretParameters": { + "required": [ "aadApp", "adminCredentials" ], - "properties":{ - "aadApp":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" - }, - "adminCredentials":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "type": "object", + "properties": { + "adminCredentials": { + "allOf": [ + { + "$ref": "#/definitions/AdminCredentials" + } + ] }, - "dBsToMigrate":{ - "type":"array", - "items":{ - "type":"string" - }, - "maxItems":8, - "x-nullable":true + "aadApp": { + "allOf": [ + { + "$ref": "#/definitions/AADApp" + } + ] } - }, - "additionalProperties":{ - - }, - "x-ms-secret":true + } }, - "MigrationState":{ - "type":"string", - "enum":[ + "MigrationState": { + "enum": [ "InProgress", "WaitingForUserAction", "Canceled", "Failed", "Succeeded" - ] + ], + "type": "string" }, - "MigrationStateTransitionRequest":{ - "type":"object", - "required":[ + "MigrationStateTransitionRequest": { + "required": [ "targetState" ], - "properties":{ - "targetState":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "type": "object", + "properties": { + "targetState": { + "allOf": [ + { + "$ref": "#/definitions/MigrationTargetState" + } + ] } - }, - "additionalProperties":{ - } }, - "MigrationStatus":{ - "type":"object", - "properties":{ - "currentSubStateDetails":{ - "x-nullable":true - }, - "error":{ - "type":"string", - "x-nullable":true - }, - "state":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "MigrationStatus": { + "type": "object", + "properties": { + "state": { + "allOf": [ + { + "$ref": "#/definitions/MigrationState" + } + ] + }, + "error": { + "type": "string" + }, + "currentSubStateDetails": { + } - }, - "additionalProperties":{ - } }, - "MigrationSubState":{ - "type":"string", - "enum":[ + "MigrationSubState": { + "enum": [ "PerformingPreRequisiteSteps", "WaitingForLogicalReplicationSetupRequestOnSourceDB", "WaitingForDBsToMigrateSpecification", @@ -870,46 +793,60 @@ "WaitingForCutoverTrigger", "CompletingMigration", "Completed" - ] - }, - "MigrationSubStateDetails":{ - "type":"object", - "properties":{ - "currentSubState":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + ], + "type": "string" + }, + "MigrationSubStateDetails": { + "type": "object", + "properties": { + "currentSubState": { + "allOf": [ + { + "$ref": "#/definitions/MigrationSubState" + } + ] } - }, - "additionalProperties":{ - } }, - "MigrationSummary":{ - "type":"object", - "properties":{ - "currentStatus":{ - "$ref":"#/definitions/DBServerMetadata_sku" - }, - "migrationDetailsLevel":{ - "$ref":"#/definitions/MigrationDetails_migrationDetailsLevel" + "MigrationSummary": { + "type": "object", + "properties": { + "migrationId": { + "format": "uuid", + "type": "string" + }, + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/definitions/MigrationDetailsLevel" + } + ] }, - "migrationId":{ - "type":"string", - "format":"uuid" + "currentStatus": { + "allOf": [ + { + "$ref": "#/definitions/MigrationStatus" + } + ] }, - "sourceDBServerMetadata":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "sourceDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] }, - "targetDBServerMetadata":{ - "$ref":"#/definitions/DBServerMetadata_sku" + "targetDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] } - }, - "additionalProperties":{ - } }, - "MigrationTargetState":{ - "type":"string", - "enum":[ + "MigrationTargetState": { + "enum": [ "LogicalReplicationSetupOnSourceDBTriggered", "DBsToMigrateSpecified", "TargetDBOverwriteConfirmed", @@ -917,58 +854,46 @@ "DataMigrationInitiated", "CutoverTriggered", "Canceled" - ] + ], + "type": "string" }, - "TargetDBOverwriteConfirmationSubStateDetails":{ - "properties":{ - "dBsThatAlreadyExistOnTarget":{ - "type":"array", - "items":{ - "type":"string" - }, - "x-nullable":true - } - }, - "allOf":[ - { - "$ref":"#/definitions/MigrationSubStateDetails" + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - { - + "tier": { + "type": "string" } - ] + } }, - "CloudError":{ - "x-ms-external":true, - "properties":{ - "error":{ - "$ref":"../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "TargetDBOverwriteConfirmationSubStateDetails": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" } - }, - "description":"An error response from the Batch service." - }, - "UnknownError":{ - "type":"object", - "properties":{ - "code":{ - "type":"string", - "x-nullable":true - }, - "message":{ - "type":"string", - "x-nullable":true + ], + "properties": { + "dBsThatAlreadyExistOnTarget": { + "type": "array", + "items": { + "type": "string" + } } - }, - "additionalProperties":{ - } }, - "DBServerMetadata_sku":{ - "type":"object", - "x-nullable":true - }, - "MigrationDetails_migrationDetailsLevel":{ - "type":"object" + "UnknownError": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } } } -} \ No newline at end of file +} From 4229a256ee3f90e84b7656407f96684995ca3a25 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 31 Mar 2021 13:22:26 -0700 Subject: [PATCH 034/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 011030bb174a..79440d262b29 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -502,7 +502,7 @@ "error": { "allOf": [ { - "$ref": "#/definitions/UnknownError" + "$ref": "#/definitions/CloudError" } ] } @@ -576,7 +576,7 @@ "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean" }, - "overwriteDBsinTarget": { + "overwriteDBsInTarget": { "type": "boolean" }, "migrationWindowStartTimeInUtc": { @@ -614,7 +614,7 @@ "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean" }, - "overwriteDBsinTarget": { + "overwriteDBsInTarget": { "type": "boolean" }, "migrationWindowStartTimeInUtc": { @@ -884,16 +884,14 @@ } } }, - "UnknownError": { - "type": "object", + "CloudError": { + "x-ms-external": true, "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } - } + }, + "description": "An error response from the Batch service." } } } From 006f3e4dba08230ffb182ddb1a8cdb329d2f7981 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 31 Mar 2021 13:33:39 -0700 Subject: [PATCH 035/114] remove sku --- .../preview/2020-11-05-preview/Migrations.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 79440d262b29..828a4f972378 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -857,17 +857,6 @@ ], "type": "string" }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "tier": { - "type": "string" - } - } - }, "TargetDBOverwriteConfirmationSubStateDetails": { "type": "object", "allOf": [ From 05d2232157552d7f88ecd7b52a3cdbf43ca88d5b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 31 Mar 2021 13:36:30 -0700 Subject: [PATCH 036/114] use same sku from postgresql.json --- .../2020-11-05-preview/Migrations.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 828a4f972378..189d5fbd49a8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -857,6 +857,32 @@ ], "type": "string" }, + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." + }, + "tier": { + "type": "string", + "description": "The tier of the particular SKU, e.g. Burstable.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "required": [ + "name", + "tier" + ], + "description": "Sku information related properties of a server." + }, "TargetDBOverwriteConfirmationSubStateDetails": { "type": "object", "allOf": [ From b0b44e82105f06e518df322434f772675e481288 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 5 Apr 2021 08:19:00 -0700 Subject: [PATCH 037/114] Put target state -> Post --- .../preview/2020-11-05-preview/Migrations.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 189d5fbd49a8..8ffa4fc4c7cd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -178,7 +178,7 @@ "tags": [ "Migrations" ], - "operationId": "Migrations_MigrationId_Get", + "operationId": "MigrationId_Get", "produces": [ "application/json" ], @@ -246,12 +246,12 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { - "put": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "post": { "tags": [ "Migrations" ], - "operationId": "Migrations_TargetState_Put", + "operationId": "TargetState_Put", "consumes": [ "application/json" ], From 12a0f3a28d46ddda741dc05ab49fcffeea040fdd Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 5 Apr 2021 11:17:38 -0700 Subject: [PATCH 038/114] revert to put --- .../preview/2020-11-05-preview/Migrations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 8ffa4fc4c7cd..94d97cdd2de8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -246,8 +246,8 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { - "post": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { + "put": { "tags": [ "Migrations" ], From f202e776021a13da17a7e2af90ce108e497b0006 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 3 May 2021 12:31:15 -0700 Subject: [PATCH 039/114] refactor --- .../2020-11-05-preview/Migrations.json | 889 +++++++++--------- 1 file changed, 434 insertions(+), 455 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 94d97cdd2de8..ac559ec90cd1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -1,9 +1,9 @@ { "swagger": "2.0", "info": { + "title": "PostgreSQLServerManagementClient", "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.", - "version": "2020-11-05-preview", - "title": "PostgreSQLServerManagementClient" + "version": "2020-11-05-preview" }, "host": "management.azure.com", "schemes": [ @@ -34,61 +34,64 @@ } }, "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { - "get": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "put": { "tags": [ "Migrations" ], - "operationId": "Migrations_Get", - "produces": [ - "application/json" - ], + "operationId": "Migrations_Create", + "x-ms-examples": { + "CreateMigration": { + "$ref": "./examples/CreateMigration.json" + } + }, + "description": "Creates a new migration.", "parameters": [ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "migrationListFilter", - "in": "query", - "required": false, - "type": "string" + "$ref": "#/parameters/MigrationIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationResource" + }, + "description": "The required parameters for creating a migration." } ], "responses": { "200": { - "description": "Success", + "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/MigrationSummary" - } + "$ref": "#/definitions/MigrationResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MigrationResource" } }, + "202": { + "description": "Accepted" + }, "400": { - "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { - "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -102,63 +105,45 @@ } } }, - "post": { + "get": { "tags": [ "Migrations" ], - "operationId": "Migrations_Post", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + "operationId": "Migrations_Get", + "x-ms-examples": { + "GetMigration": { + "$ref": "./examples/GetMigration.json" + } + }, + "description": "Gets details of a migration.", "parameters": [ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/MigrationCreateRequest" - } + "$ref": "#/parameters/MigrationIdParameter" } ], "responses": { - "202": { - "description": "Success", + "200": { + "description": "OK", "schema": { - "type": "string", - "format": "uuid" + "$ref": "#/definitions/MigrationDetailsResource" } }, "400": { - "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { - "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -171,67 +156,58 @@ } } } - } - }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { - "get": { + }, + "patch": { "tags": [ "Migrations" ], - "operationId": "MigrationId_Get", - "produces": [ - "application/json" - ], + "operationId": "Migrations_Update", + "x-ms-examples": { + "UpdateMigration": { + "$ref": "./examples/UpdateMigration.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.", "parameters": [ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/MigrationIdParameter" }, { - "name": "migrationDetailsLevel", - "in": "query", - "required": false, - "type": "string" + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationForUpdate" + }, + "description": "The required parameters for updating a migration." } ], "responses": { "200": { - "description": "Success", + "description": "OK", "schema": { - "$ref": "#/definitions/MigrationDetails" + "$ref": "#/definitions/MigrationResource" } }, + "202": { + "description": "Accepted" + }, "400": { - "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { - "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -244,72 +220,100 @@ } } } - } - }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}/targetState": { - "put": { + }, + "delete": { "tags": [ "Migrations" ], - "operationId": "TargetState_Put", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + "operationId": "Migrations_Delete", + "x-ms-examples": { + "DeleteMigration": { + "$ref": "./examples/DeleteMigration.json" + } + }, + "description": "Deletes a migration.", "parameters": [ { - "name": "targetDBServerSubscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, { - "name": "targetDBServerResourceGroupName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" }, { - "name": "targetDBServerName", - "in": "path", - "required": true, - "type": "string" + "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "migrationId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid" + "$ref": "#/parameters/MigrationIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrationResource" + } }, - { - "name": "parameters", - "in": "body", - "required": true, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/MigrationStateTransitionRequest" + "$ref": "#/definitions/CloudError" } } + } + } + }, + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "get": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_ListByTargerServer", + "x-ms-examples": { + "ListMigrationsByTargetServer": { + "$ref": "./examples/ListMigrationsByTargetServer.json" + } + }, + "description": "List all the migrations on a given target server.", + "parameters": [ + { + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDBServerNameParameter" + }, + { + "name": "migrationListFilter", + "in": "query", + "required": false, + "type": "string" + } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/MigrationDetails" + "type": "array", + "items": { + "$ref": "#/definitions/MigrationSummaryResource" + } } }, "400": { - "x-ms-error-response": true, "description": "Bad Request", "schema": { "$ref": "#/definitions/InvalidInput" } }, "500": { - "x-ms-error-response": true, "description": "Server Error", "schema": { "$ref": "#/definitions/InternalServerError" @@ -326,227 +330,83 @@ } }, "definitions": { - "AADApp": { - "type": "object", - "required": [ - "aadSecret", - "clientId", - "tenantId" - ], - "properties": { - "aadSecret": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true - }, - "clientId": { - "type": "string", - "format": "uuid" - }, - "tenantId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": { - - }, - "x-ms-external": true, - "x-ms-secret": true - }, - "AdminCredentials": { + "MigrationResource": { "type": "object", - "required": [ - "sourceServerPassword", - "targetServerPassword" - ], "properties": { - "sourceServerPassword": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true + "properties": { + "allOf": [ + { + "$ref": "#/definitions/MigrationCreateRequest" + } + ] }, - "targetServerPassword": { - "type": "string", - "x-ms-secret": true, - "x-ms-external": true - } - }, - "additionalProperties": { - + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ] }, - "x-ms-external": true, - "x-ms-secret": true + "description": "Represents a migration resource." }, - "DBServerMetadata": { + "MigrationCreateRequest": { "type": "object", "properties": { - "location": { + "sourceDBServerResourceId": { + "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", "type": "string" }, - "version": { + "targetDBServerSubnetResourceId": { "type": "string" }, - "storageMB": { - "format": "int32", - "type": "integer" - }, - "sku": { - "allOf": [ - { - "$ref": "#/definitions/Sku" - } - ] - } - } - }, - "DBsToMigrateSpecificationRequest": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - } - ], - "properties": { "dBsToMigrate": { "maxItems": 8, "type": "array", "items": { "type": "string" } - } - } - }, - "DMSDBDataMigrationDetails": { - "type": "object", - "properties": { - "fullLoadErroredTables": { - "format": "int64", - "type": "integer" - }, - "fullLoadQueuedTables": { - "format": "int64", - "type": "integer" - }, - "fullLoadLoadingTables": { - "format": "int64", - "type": "integer" - }, - "fullLoadCompletedTables": { - "format": "int64", - "type": "integer" - }, - "cdcUpdateCounter": { - "format": "int64", - "type": "integer" - }, - "cdcDeleteCounter": { - "format": "int64", - "type": "integer" - }, - "cdcInsertCounter": { - "format": "int64", - "type": "integer" }, - "appliedChanges": { - "format": "int64", - "type": "integer" + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/definitions/MigrationResourceGroup" + } + ] }, - "incomingChanges": { - "format": "int64", - "type": "integer" + "secretParameters": { + "allOf": [ + { + "$ref": "#/definitions/MigrationSecretParameters" + } + ] }, - "migrationState": { - "type": "string" + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean" }, - "endedOn": { - "format": "date-time", - "type": "string" + "overwriteDBsInTarget": { + "type": "boolean" }, - "startedOn": { + "migrationWindowStartTimeInUtc": { "format": "date-time", "type": "string" }, - "databaseName": { - "type": "string" + "startDataMigration": { + "type": "boolean" }, - "initializationCompleted": { + "triggerCutover": { "type": "boolean" }, - "latency": { - "format": "int64", - "type": "integer" + "cancel": { + "type": "boolean" } } }, - "DataMigrationSubStateDetails": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - } + "MigrationCreateFullRequest": { + "required": [ + "targetDBServerResourceId" ], - "properties": { - "dbDetails": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DMSDBDataMigrationDetails" - }, - "readOnly": true - } - } - }, - "InternalServerError": { - "type": "object", - "properties": { - "error": { - "allOf": [ - { - "$ref": "#/definitions/CloudError" - } - ] - } - } - }, - "InvalidInput": { - "type": "object", - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/InvalidInputDetails" - } - }, - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, - "InvalidInputDetails": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "target": { - "type": "string" - } - } - }, - "MigrationCreateRequest": { - "required": [ - "sourceDBServerResourceId" - ], - "type": "object", + "type": "object", "properties": { "sourceDBServerResourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", "type": "string" }, "secretParameters": { @@ -556,6 +416,9 @@ } ] }, + "targetDBServerResourceId": { + "type": "string" + }, "targetDBServerSubnetResourceId": { "type": "string" }, @@ -582,46 +445,35 @@ "migrationWindowStartTimeInUtc": { "format": "date-time", "type": "string" + }, + "startDataMigration": { + "type": "boolean" + }, + "triggerCutover": { + "type": "boolean" + }, + "cancel": { + "type": "boolean" } } }, - "MigrationCreateRequestBase": { - "required": [ - "sourceDBServerResourceId" - ], + "MigrationDetailsResource": { "type": "object", "properties": { - "sourceDBServerResourceId": { - "type": "string" - }, - "targetDBServerSubnetResourceId": { - "type": "string" - }, - "dBsToMigrate": { - "maxItems": 8, - "type": "array", - "items": { - "type": "string" - } - }, - "migrationResourceGroup": { + "properties": { "allOf": [ { - "$ref": "#/definitions/MigrationResourceGroup" + "$ref": "#/definitions/MigrationDetails" } ] }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean" - }, - "overwriteDBsInTarget": { - "type": "boolean" - }, - "migrationWindowStartTimeInUtc": { - "format": "date-time", - "type": "string" - } - } + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ] + }, + "description": "Represents a migration details resource." }, "MigrationDetails": { "type": "object", @@ -658,29 +510,69 @@ } ] }, - "migrationCreateRequest": { + "migrationCreateFullRequest": { "allOf": [ { - "$ref": "#/definitions/MigrationCreateRequestBase" + "$ref": "#/definitions/MigrationCreateFullRequest" } ] } } }, - "MigrationDetailsLevel": { - "enum": [ - "Default", - "Summary", - "Full" - ], - "type": "string" + "MigrationSummaryResource": { + "type": "object", + "properties": { + "properties": { + "allOf": [ + { + "$ref": "#/definitions/MigrationSummary" + } + ] + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ] + }, + "description": "Represents a migration summary resource." }, - "MigrationListFilter": { - "enum": [ - "Active", - "All" - ], - "type": "string" + "MigrationSummary": { + "type": "object", + "properties": { + "migrationId": { + "format": "uuid", + "type": "string" + }, + "migrationDetailsLevel": { + "allOf": [ + { + "$ref": "#/definitions/MigrationDetailsLevel" + } + ] + }, + "currentStatus": { + "allOf": [ + { + "$ref": "#/definitions/MigrationStatus" + } + ] + }, + "sourceDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] + }, + "targetDBServerMetadata": { + "allOf": [ + { + "$ref": "#/definitions/DBServerMetadata" + } + ] + } + } }, "MigrationResourceGroup": { "required": [ @@ -698,23 +590,6 @@ } } }, - "MigrationSchedulingRequest": { - "required": [ - "migrationWindowStartTimeInUtc" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MigrationStateTransitionRequest" - } - ], - "properties": { - "migrationWindowStartTimeInUtc": { - "format": "date-time", - "type": "string" - } - } - }, "MigrationSecretParameters": { "required": [ "aadApp", @@ -723,6 +598,8 @@ "type": "object", "properties": { "adminCredentials": { + "x-ms-secret": true, + "x-ms-external": true, "allOf": [ { "$ref": "#/definitions/AdminCredentials" @@ -730,6 +607,8 @@ ] }, "aadApp": { + "x-ms-secret": true, + "x-ms-external": true, "allOf": [ { "$ref": "#/definitions/AADApp" @@ -738,31 +617,95 @@ } } }, - "MigrationState": { - "enum": [ - "InProgress", - "WaitingForUserAction", - "Canceled", - "Failed", - "Succeeded" + "AADApp": { + "type": "object", + "required": [ + "aadSecret", + "clientId", + "tenantId" ], - "type": "string" + "properties": { + "aadSecret": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "clientId": { + "type": "string", + "format": "uuid" + }, + "tenantId": { + "type": "string", + "format": "uuid" + } + } }, - "MigrationStateTransitionRequest": { + "AdminCredentials": { + "type": "object", "required": [ - "targetState" + "sourceServerPassword", + "targetServerPassword" ], + "properties": { + "sourceServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + }, + "targetServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true + } + } + }, + "DBServerMetadata": { "type": "object", "properties": { - "targetState": { + "location": { + "type": "string" + }, + "version": { + "type": "string" + }, + "storageMB": { + "format": "int32", + "type": "integer" + }, + "sku": { "allOf": [ { - "$ref": "#/definitions/MigrationTargetState" + "$ref": "#/definitions/Sku" } ] } } }, + "MigrationDetailsLevel": { + "enum": [ + "Default", + "Summary", + "Full" + ], + "type": "string" + }, + "MigrationListFilter": { + "enum": [ + "Active", + "All" + ], + "type": "string" + }, + "MigrationState": { + "enum": [ + "InProgress", + "WaitingForUserAction", + "Canceled", + "Failed", + "Succeeded" + ], + "type": "string" + }, "MigrationStatus": { "type": "object", "properties": { @@ -777,7 +720,11 @@ "type": "string" }, "currentSubStateDetails": { - + "allOf": [ + { + "$ref": "#/definitions/MigrationSubStateDetails" + } + ] } } }, @@ -808,55 +755,6 @@ } } }, - "MigrationSummary": { - "type": "object", - "properties": { - "migrationId": { - "format": "uuid", - "type": "string" - }, - "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] - }, - "currentStatus": { - "allOf": [ - { - "$ref": "#/definitions/MigrationStatus" - } - ] - }, - "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] - }, - "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] - } - } - }, - "MigrationTargetState": { - "enum": [ - "LogicalReplicationSetupOnSourceDBTriggered", - "DBsToMigrateSpecified", - "TargetDBOverwriteConfirmed", - "DataMigrationScheduled", - "DataMigrationInitiated", - "CutoverTriggered", - "Canceled" - ], - "type": "string" - }, "Sku": { "properties": { "name": { @@ -883,19 +781,57 @@ ], "description": "Sku information related properties of a server." }, - "TargetDBOverwriteConfirmationSubStateDetails": { + "InvalidInput": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - } - ], "properties": { - "dBsThatAlreadyExistOnTarget": { + "details": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/InvalidInputDetails" } + }, + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "InvalidInputDetails": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + } + } + }, + "InternalServerError": { + "type": "object", + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/definitions/UnknownError" + } + ] + } + } + }, + "UnknownError": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" } } }, @@ -908,5 +844,48 @@ }, "description": "An error response from the Batch service." } + }, + "parameters": { + "TargetDBServerSubscriptionIdParameter": { + "name": "targetDBServerSubscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription ID of the target database server.", + "x-ms-parameter-location": "method" + }, + "TargetDBServerResourceGroupNameParameter": { + "name": "targetDBServerResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the target database server.", + "x-ms-parameter-location": "method" + }, + "TargetDBServerNameParameter": { + "name": "targetDBServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target database server.", + "x-ms-parameter-location": "method" + }, + "MigrationIdParameter": { + "name": "migrationId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The name of the migration.", + "x-ms-parameter-location": "method" + }, + "MigrationListFilterParameter": { + "name": "migrationListFilter", + "in": "query", + "required": false, + "type": "string", + "description": "Optional filter applied to the list of migrations.", + "x-ms-parameter-location": "method" + } } } From 36eae8d772dee63892426661fb139d8409b59a54 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 3 May 2021 13:13:16 -0700 Subject: [PATCH 040/114] Dummy example and typo --- .../preview/2020-11-05-preview/Migrations.json | 2 +- .../preview/2020-11-05-preview/examples/CreateMigration.json | 0 .../preview/2020-11-05-preview/examples/DeleteMigration.json | 0 .../preview/2020-11-05-preview/examples/GetMigration.json | 0 .../examples/ListMigrationsByTargetServerMigration.json | 0 .../preview/2020-11-05-preview/examples/UpdateMigration.json | 0 6 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServerMigration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index ac559ec90cd1..45a1e458cc98 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -273,7 +273,7 @@ "tags": [ "Migrations" ], - "operationId": "Migrations_ListByTargerServer", + "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { "ListMigrationsByTargetServer": { "$ref": "./examples/ListMigrationsByTargetServer.json" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServerMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServerMigration.json new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json new file mode 100644 index 000000000000..e69de29bb2d1 From acc88f972f7047c0cb0d0fee2e1bd1eae9cf8cc0 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 3 May 2021 13:17:07 -0700 Subject: [PATCH 041/114] remame typo --- ...rgetServerMigration.json => ListMigrationsByTargetServer.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/{ListMigrationsByTargetServerMigration.json => ListMigrationsByTargetServer.json} (100%) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServerMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServer.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServerMigration.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServer.json From a1eb3511600b110e7b7f2cd4bf649fe358a6ca1b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 3 May 2021 16:20:10 -0700 Subject: [PATCH 042/114] examples and summarylistresult --- .../2020-11-05-preview/Migrations.json | 37 ++++---- .../examples/CreateMigration.json | 0 .../examples/DeleteMigration.json | 0 .../examples/GetMigration.json | 0 .../ListMigrationsByTargetServer.json | 0 .../examples/MigrationCreate.json | 53 ++++++++++++ .../examples/MigrationDelete.json | 34 ++++++++ .../examples/MigrationGet.json | 64 ++++++++++++++ .../examples/MigrationUpdate.json | 40 +++++++++ .../MigrationsListByTargetServer.json | 86 +++++++++++++++++++ .../examples/UpdateMigration.json | 0 11 files changed, 296 insertions(+), 18 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 45a1e458cc98..6cabc6557b8f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -42,7 +42,7 @@ "operationId": "Migrations_Create", "x-ms-examples": { "CreateMigration": { - "$ref": "./examples/CreateMigration.json" + "$ref": "./examples/MigrationCreate.json" } }, "description": "Creates a new migration.", @@ -112,7 +112,7 @@ "operationId": "Migrations_Get", "x-ms-examples": { "GetMigration": { - "$ref": "./examples/GetMigration.json" + "$ref": "./examples/MigrationGet.json" } }, "description": "Gets details of a migration.", @@ -164,7 +164,7 @@ "operationId": "Migrations_Update", "x-ms-examples": { "UpdateMigration": { - "$ref": "./examples/UpdateMigration.json" + "$ref": "./examples/MigrationUpdate.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.", @@ -186,7 +186,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/MigrationForUpdate" + "$ref": "#/definitions/MigrationResource" }, "description": "The required parameters for updating a migration." } @@ -228,7 +228,7 @@ "operationId": "Migrations_Delete", "x-ms-examples": { "DeleteMigration": { - "$ref": "./examples/DeleteMigration.json" + "$ref": "./examples/MigrationDelete.json" } }, "description": "Deletes a migration.", @@ -276,7 +276,7 @@ "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { "ListMigrationsByTargetServer": { - "$ref": "./examples/ListMigrationsByTargetServer.json" + "$ref": "./examples/MigrationsListByTargetServer.json" } }, "description": "List all the migrations on a given target server.", @@ -301,10 +301,7 @@ "200": { "description": "Success", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/MigrationSummaryResource" - } + "$ref": "#/definitions/MigrationSummaryResourceListResult" } }, "400": { @@ -537,6 +534,18 @@ }, "description": "Represents a migration summary resource." }, + "MigrationSummaryResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MigrationSummaryResource" + }, + "description": "The list of migration summary resources" + } + }, + "description": "A list of migration summary resources." + }, "MigrationSummary": { "type": "object", "properties": { @@ -878,14 +887,6 @@ "format": "uuid", "description": "The name of the migration.", "x-ms-parameter-location": "method" - }, - "MigrationListFilterParameter": { - "name": "migrationListFilter", - "in": "query", - "required": false, - "type": "string", - "description": "Optional filter applied to the list of migrations.", - "x-ms-parameter-location": "method" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/CreateMigration.json deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/DeleteMigration.json deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/GetMigration.json deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/ListMigrationsByTargetServer.json deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json new file mode 100644 index 000000000000..716945c1f9dd --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "pgflextarget", + "migrationId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ "testdb1", "testdb2" ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "aadSecret": "aadAppPassword1234$#" + }, + "adminCredentials": { + "sourceServerPassword": "sourcePwd123$#", + "targetServerPassword": "targetPwd123$#" + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ "testdb1", "testdb2" ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "aadSecret": "aadAppPassword1234$#" + }, + "adminCredentials": { + "sourceServerPassword": "sourcePwd123$#", + "targetServerPassword": "targetPwd123$#" + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", + "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json new file mode 100644 index 000000000000..7df605293c9b --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "pgflextarget", + "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" + }, + "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ "testdb1", "testdb2" ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "aadSecret": "aadAppPassword1234$#" + }, + "adminCredentials": { + "sourceServerPassword": "sourcePwd123$#", + "targetServerPassword": "targetPwd123$#" + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", + "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json new file mode 100644 index 000000000000..c350335c2150 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "pgflextarget", + "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "WaitingForUserAction", + "error": "Example error.", + "currentSubStateDetails": { + "currentSubState": "WaitingForDBsToMigrateSpecification" + } + }, + "sourceDBServerMetadata": { + "location": "westus", + "version": "10", + "storageMD": "1024", + "sku": { + "name": "B_Gen4_1", + "tier": "Basic" + } + }, + "targetDBServerMetadata": { + "location": "westus", + "version": "12", + "storageMD": "1024", + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + } + }, + "migrationCreateFullRequest": { + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testpgtarget", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ "testdb1", "testdb2" ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "aadSecret": "aadAppPassword1234$#" + }, + "adminCredentials": { + "sourceServerPassword": "sourcePwd123$#", + "targetServerPassword": "targetPwd123$#" + } + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json new file mode 100644 index 000000000000..1f6a281dba53 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "pgflextarget", + "migrationId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "setupLogicalReplicationOnSourceDBIfNeeded": true + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ "testdb1", "testdb2" ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "aadSecret": "aadAppPassword1234$#" + }, + "adminCredentials": { + "sourceServerPassword": "sourcePwd123$#", + "targetServerPassword": "targetPwd123$#" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", + "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json new file mode 100644 index 000000000000..cbc5a313de2b --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "pgflextarget", + "parameters": { + "migrationListFilter": "all" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "WaitingForUserAction", + "error": "Example error.", + "currentSubStateDetails": { + "currentSubState": "WaitingForDBsToMigrateSpecification" + } + }, + "sourceDBServerMetadata": { + "location": "westus", + "version": "10", + "storageMD": "1024", + "sku": { + "name": "B_Gen4_1", + "tier": "Basic" + } + }, + "targetDBServerMetadata": { + "location": "westus", + "version": "12", + "storageMD": "1024", + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + }, + { + "properties": { + "migrationId": "dddddddd-dddd-dddd-dddd-dddddddddddd", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "WaitingForUserAction", + "error": "Example error.", + "currentSubStateDetails": { + "currentSubState": "WaitingForDBsToMigrateSpecification" + } + }, + "sourceDBServerMetadata": { + "location": "westus", + "version": "10", + "storageMD": "2048", + "sku": { + "name": "B_Gen4_1", + "tier": "Basic" + } + }, + "targetDBServerMetadata": { + "location": "westus", + "version": "11", + "storageMD": "2048", + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/dddddddd-dddd-dddd-dddd-dddddddddddd", + "name": "dddddddd-dddd-dddd-dddd-dddddddddddd", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/UpdateMigration.json deleted file mode 100644 index e69de29bb2d1..000000000000 From ba8181a09b6001e93748e2c9e3df15a75d8a2681 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 3 May 2021 17:28:40 -0700 Subject: [PATCH 043/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 6cabc6557b8f..1229da01c40a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -109,7 +109,7 @@ "tags": [ "Migrations" ], - "operationId": "Migrations_Get", + "operationId": "Migrations_Read", "x-ms-examples": { "GetMigration": { "$ref": "./examples/MigrationGet.json" From 1c06d75b395c8d6c80fd6cfa7e1befd5a7a2f51d Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 11:12:10 -0700 Subject: [PATCH 044/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 1229da01c40a..70376eeafd5d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -535,6 +535,7 @@ "description": "Represents a migration summary resource." }, "MigrationSummaryResourceListResult": { + "type": "object", "properties": { "value": { "type": "array", From 4ca0bc60732643e01345d660c9d14769e6d43c35 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 12:13:22 -0700 Subject: [PATCH 045/114] x-ms-client-flatten --- .../2020-11-05-preview/Migrations.json | 26 ++++++++----------- .../examples/MigrationCreate.json | 12 ++++----- .../examples/MigrationDelete.json | 6 ++--- .../examples/MigrationGet.json | 6 ++--- .../examples/MigrationUpdate.json | 6 ++--- 5 files changed, 26 insertions(+), 30 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 70376eeafd5d..5a2a68d248d4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -331,11 +331,9 @@ "type": "object", "properties": { "properties": { - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateRequest" - } - ] + "$ref": "#/definitions/MigrationCreateRequest", + "description": "Migration resource properties.", + "x-ms-client-flatten": true }, "allOf": [ { @@ -458,11 +456,11 @@ "type": "object", "properties": { "properties": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetails" - } - ] + "properties": { + "$ref": "#/definitions/MigrationDetails", + "description": "Migration details resource properties.", + "x-ms-client-flatten": true + } }, "allOf": [ { @@ -520,11 +518,9 @@ "type": "object", "properties": { "properties": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSummary" - } - ] + "$ref": "#/definitions/MigrationSummary", + "description": "Migration summary resource properties.", + "x-ms-client-flatten": true }, "allOf": [ { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index 716945c1f9dd..d8de7b729c82 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -14,11 +14,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "aadAppPassword1234$#" + "aadSecret": "apptestpassword#" }, "adminCredentials": { - "sourceServerPassword": "sourcePwd123$#", - "targetServerPassword": "targetPwd123$#" + "sourceServerPassword": "sourcetestpassword", + "targetServerPassword": "targettestpassword" } } } @@ -35,11 +35,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "aadAppPassword1234$#" + "aadSecret": "apptestpassword" }, "adminCredentials": { - "sourceServerPassword": "sourcePwd123$#", - "targetServerPassword": "targetPwd123$#" + "sourceServerPassword": "sourcetestpassword", + "targetServerPassword": "targettestpassword" } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json index 7df605293c9b..f2b16bbb5fc1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json @@ -17,11 +17,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "aadAppPassword1234$#" + "aadSecret": "apptestpassword" }, "adminCredentials": { - "sourceServerPassword": "sourcePwd123$#", - "targetServerPassword": "targetPwd123$#" + "sourceServerPassword": "sourcetestpassword", + "targetServerPassword": "targettestpassword" } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json index c350335c2150..b8e4af5213f8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json @@ -46,11 +46,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "aadAppPassword1234$#" + "aadSecret": "testapppassword" }, "adminCredentials": { - "sourceServerPassword": "sourcePwd123$#", - "targetServerPassword": "targetPwd123$#" + "sourceServerPassword": "sourcetestpassword", + "targetServerPassword": "targettestpassword" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json index 1f6a281dba53..4206109d8af1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -21,11 +21,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "aadAppPassword1234$#" + "aadSecret": "apptestpassword" }, "adminCredentials": { - "sourceServerPassword": "sourcePwd123$#", - "targetServerPassword": "targetPwd123$#" + "sourceServerPassword": "sourcetestpassword", + "targetServerPassword": "targettestpassword" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true From 4be3a6f7b62a4360d7ea776abdf7b8bdb5502e91 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 12:20:29 -0700 Subject: [PATCH 046/114] x-ms-enum modelasstring --- .../2020-11-05-preview/Migrations.json | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 5a2a68d248d4..50f617875769 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -693,14 +693,24 @@ "Summary", "Full" ], - "type": "string" + "type": "string", + "description": "Migration details level.", + "x-ms-enum": { + "name": "MigrationDetailsLevel", + "modelAsString": true + } }, "MigrationListFilter": { "enum": [ "Active", "All" ], - "type": "string" + "type": "string", + "description": "Migration list filter.", + "x-ms-enum": { + "name": "MigrationListFilter", + "modelAsString": true + } }, "MigrationState": { "enum": [ @@ -710,7 +720,12 @@ "Failed", "Succeeded" ], - "type": "string" + "type": "string", + "description": "Migration state.", + "x-ms-enum": { + "name": "MigrationState", + "modelAsString": true + } }, "MigrationStatus": { "type": "object", @@ -747,7 +762,12 @@ "CompletingMigration", "Completed" ], - "type": "string" + "type": "string", + "description": "Migration sub state.", + "x-ms-enum": { + "name": "MigrationSubState", + "modelAsString": true + } }, "MigrationSubStateDetails": { "type": "object", From 298116531c6c4078bba29e0ec324b1364cd9954b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 13:02:30 -0700 Subject: [PATCH 047/114] properties --- .../2020-11-05-preview/Migrations.json | 56 +++++++++---------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 50f617875769..b01e7d24ec25 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -330,17 +330,15 @@ "MigrationResource": { "type": "object", "properties": { - "properties": { - "$ref": "#/definitions/MigrationCreateRequest", - "description": "Migration resource properties.", - "x-ms-client-flatten": true - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ] + "$ref": "#/definitions/MigrationCreateRequest", + "description": "Migration resource properties.", + "x-ms-client-flatten": true }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], "description": "Represents a migration resource." }, "MigrationCreateRequest": { @@ -456,18 +454,16 @@ "type": "object", "properties": { "properties": { - "properties": { - "$ref": "#/definitions/MigrationDetails", - "description": "Migration details resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ] + "$ref": "#/definitions/MigrationDetails", + "description": "Migration details resource properties.", + "x-ms-client-flatten": true + } }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], "description": "Represents a migration details resource." }, "MigrationDetails": { @@ -517,17 +513,15 @@ "MigrationSummaryResource": { "type": "object", "properties": { - "properties": { - "$ref": "#/definitions/MigrationSummary", - "description": "Migration summary resource properties.", - "x-ms-client-flatten": true - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ] + "$ref": "#/definitions/MigrationSummary", + "description": "Migration summary resource properties.", + "x-ms-client-flatten": true }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], "description": "Represents a migration summary resource." }, "MigrationSummaryResourceListResult": { From c1c03d133c2c3464ae2832d318e73c09ebb406fb Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 13:41:44 -0700 Subject: [PATCH 048/114] array --- .../preview/2020-11-05-preview/examples/MigrationDelete.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json index f2b16bbb5fc1..b0d53f96928e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json @@ -11,7 +11,10 @@ "properties": { "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ "testdb1", "testdb2" ], + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", "secretParameters": { "aadApp": { From 45af2a7e1afd4766dea79d60305f79974a9ae68e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 13:58:55 -0700 Subject: [PATCH 049/114] array prettier --- .../preview/2020-11-05-preview/examples/MigrationCreate.json | 5 ++++- .../preview/2020-11-05-preview/examples/MigrationGet.json | 5 ++++- .../preview/2020-11-05-preview/examples/MigrationUpdate.json | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index d8de7b729c82..396a9fd6528a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -29,7 +29,10 @@ "properties": { "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ "testdb1", "testdb2" ], + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", "secretParameters": { "aadApp": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json index b8e4af5213f8..72c50a48c0e8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json @@ -40,7 +40,10 @@ "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testpgtarget", "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ "testdb1", "testdb2" ], + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", "secretParameters": { "aadApp": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json index 4206109d8af1..1214cfc07f2d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -15,7 +15,10 @@ "properties": { "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ "testdb1", "testdb2" ], + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", "secretParameters": { "aadApp": { From 394e93da06d321c64ea1513e7ea72a6a2a96c154 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 14:13:27 -0700 Subject: [PATCH 050/114] password null --- .../2020-11-05-preview/examples/MigrationCreate.json | 8 ++++---- .../2020-11-05-preview/examples/MigrationDelete.json | 6 +++--- .../preview/2020-11-05-preview/examples/MigrationGet.json | 6 +++--- .../2020-11-05-preview/examples/MigrationUpdate.json | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index 396a9fd6528a..3d130095e581 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -14,7 +14,7 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "apptestpassword#" + "aadSecret": "apptestpassword" }, "adminCredentials": { "sourceServerPassword": "sourcetestpassword", @@ -38,11 +38,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "apptestpassword" + "aadSecret": null }, "adminCredentials": { - "sourceServerPassword": "sourcetestpassword", - "targetServerPassword": "targettestpassword" + "sourceServerPassword": null, + "targetServerPassword": null } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json index b0d53f96928e..8409f5380445 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json @@ -20,11 +20,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "apptestpassword" + "aadSecret": null }, "adminCredentials": { - "sourceServerPassword": "sourcetestpassword", - "targetServerPassword": "targettestpassword" + "sourceServerPassword": null, + "targetServerPassword": null } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json index 72c50a48c0e8..f2e713ceabbf 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json @@ -49,11 +49,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "testapppassword" + "aadSecret": null }, "adminCredentials": { - "sourceServerPassword": "sourcetestpassword", - "targetServerPassword": "targettestpassword" + "sourceServerPassword": null, + "targetServerPassword": null } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json index 1214cfc07f2d..f17bd120be7c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -24,11 +24,11 @@ "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "apptestpassword" + "aadSecret": null }, "adminCredentials": { - "sourceServerPassword": "sourcetestpassword", - "targetServerPassword": "targettestpassword" + "sourceServerPassword": null, + "targetServerPassword": null } }, "setupLogicalReplicationOnSourceDBIfNeeded": true From f0a6c9475da745af8214b2838b8175794d0a5e4e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 14:17:26 -0700 Subject: [PATCH 051/114] array in create --- .../preview/2020-11-05-preview/examples/MigrationCreate.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index 3d130095e581..7b30688dd0d0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -8,7 +8,10 @@ "properties": { "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ "testdb1", "testdb2" ], + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", "secretParameters": { "aadApp": { From 27ae44d31fa6f68b8a974d15973856733ace7562 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 15:05:11 -0700 Subject: [PATCH 052/114] Add description to all --- .../2020-11-05-preview/Migrations.json | 45 ++++++++++++------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index b01e7d24ec25..eec9e92d996e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -391,7 +391,8 @@ "cancel": { "type": "boolean" } - } + }, + "description": "Migration create request." }, "MigrationCreateFullRequest": { "required": [ @@ -448,7 +449,8 @@ "cancel": { "type": "boolean" } - } + }, + "description": "Full migration create request." }, "MigrationDetailsResource": { "type": "object", @@ -508,7 +510,8 @@ } ] } - } + }, + "description": "Migration details." }, "MigrationSummaryResource": { "type": "object", @@ -572,7 +575,8 @@ } ] } - } + }, + "description": "Migration summay." }, "MigrationResourceGroup": { "required": [ @@ -588,7 +592,8 @@ "maxLength": 128, "type": "string" } - } + }, + "description": "Migration resource group." }, "MigrationSecretParameters": { "required": [ @@ -615,7 +620,8 @@ } ] } - } + }, + "description": "Migration secret parameters." }, "AADApp": { "type": "object", @@ -638,7 +644,8 @@ "type": "string", "format": "uuid" } - } + }, + "description": "Azure active directory application." }, "AdminCredentials": { "type": "object", @@ -657,7 +664,8 @@ "x-ms-secret": true, "x-ms-external": true } - } + }, + "description": "Server admin credentials." }, "DBServerMetadata": { "type": "object", @@ -679,7 +687,8 @@ } ] } - } + }, + "descripttion": "Database server metadata." }, "MigrationDetailsLevel": { "enum": [ @@ -741,7 +750,8 @@ } ] } - } + }, + "description": "Migration status." }, "MigrationSubState": { "enum": [ @@ -773,7 +783,8 @@ } ] } - } + }, + "description": "Migration sub state details." }, "Sku": { "properties": { @@ -816,7 +827,8 @@ "message": { "type": "string" } - } + }, + "description": "Invalid input error message." }, "InvalidInputDetails": { "type": "object", @@ -830,7 +842,8 @@ "target": { "type": "string" } - } + }, + "description": "Invalid input error message details." }, "InternalServerError": { "type": "object", @@ -842,7 +855,8 @@ } ] } - } + }, + "description": "Internal server error." }, "UnknownError": { "type": "object", @@ -853,7 +867,8 @@ "message": { "type": "string" } - } + }, + "description": "Unknown error." }, "CloudError": { "x-ms-external": true, From 1a328b16f99d55dce518091ae969b8dc23a9e41e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 15:08:37 -0700 Subject: [PATCH 053/114] MigrationCreateFullRequest allof MigrationCreateRequest --- .../2020-11-05-preview/Migrations.json | 49 ++----------------- 1 file changed, 4 insertions(+), 45 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index eec9e92d996e..2a9d57ee027e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -400,55 +400,14 @@ ], "type": "object", "properties": { - "sourceDBServerResourceId": { - "type": "string" - }, - "secretParameters": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSecretParameters" - } - ] - }, "targetDBServerResourceId": { "type": "string" }, - "targetDBServerSubnetResourceId": { - "type": "string" - }, - "dBsToMigrate": { - "maxItems": 8, - "type": "array", - "items": { - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/MigrationCreateRequest" } - }, - "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/definitions/MigrationResourceGroup" - } - ] - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean" - }, - "overwriteDBsInTarget": { - "type": "boolean" - }, - "migrationWindowStartTimeInUtc": { - "format": "date-time", - "type": "string" - }, - "startDataMigration": { - "type": "boolean" - }, - "triggerCutover": { - "type": "boolean" - }, - "cancel": { - "type": "boolean" - } + ] }, "description": "Full migration create request." }, From 96a4ad32dd24a049b882dd82fa695caa8aa898fc Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 15:39:47 -0700 Subject: [PATCH 054/114] Update Migrations.json --- .../preview/2020-11-05-preview/Migrations.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 2a9d57ee027e..d31eec214ed4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -414,11 +414,9 @@ "MigrationDetailsResource": { "type": "object", "properties": { - "properties": { - "$ref": "#/definitions/MigrationDetails", - "description": "Migration details resource properties.", - "x-ms-client-flatten": true - } + "$ref": "#/definitions/MigrationDetails", + "description": "Migration details resource properties.", + "x-ms-client-flatten": true }, "allOf": [ { @@ -535,7 +533,7 @@ ] } }, - "description": "Migration summay." + "description": "Migration summary." }, "MigrationResourceGroup": { "required": [ @@ -647,7 +645,7 @@ ] } }, - "descripttion": "Database server metadata." + "description": "Database server metadata." }, "MigrationDetailsLevel": { "enum": [ From 41d91059f0ec1859302ae118beb2e94033cf6d65 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 17:06:56 -0700 Subject: [PATCH 055/114] Update Migrations.json --- .../2020-11-05-preview/Migrations.json | 49 +++++++++++++++++-- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index d31eec214ed4..17234b2ebaba 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -400,14 +400,55 @@ ], "type": "object", "properties": { + "sourceDBServerResourceId": { + "type": "string" + }, + "secretParameters": { + "allOf": [ + { + "$ref": "#/definitions/MigrationSecretParameters" + } + ] + }, "targetDBServerResourceId": { "type": "string" }, - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateRequest" + "targetDBServerSubnetResourceId": { + "type": "string" + }, + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" } - ] + }, + "migrationResourceGroup": { + "allOf": [ + { + "$ref": "#/definitions/MigrationResourceGroup" + } + ] + }, + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean" + }, + "overwriteDBsInTarget": { + "type": "boolean" + }, + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string" + }, + "startDataMigration": { + "type": "boolean" + }, + "triggerCutover": { + "type": "boolean" + }, + "cancel": { + "type": "boolean" + } }, "description": "Full migration create request." }, From 39d1b59e6f84106be320bf245876f3274cb9345c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 18:36:50 -0700 Subject: [PATCH 056/114] allof --- .../2020-11-05-preview/Migrations.json | 122 +++--------------- 1 file changed, 21 insertions(+), 101 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 17234b2ebaba..c7e25bc69c68 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -359,18 +359,10 @@ } }, "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/definitions/MigrationResourceGroup" - } - ] + "$ref": "#/definitions/MigrationResourceGroup" }, "secretParameters": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSecretParameters" - } - ] + "$ref": "#/definitions/MigrationSecretParameters" }, "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean" @@ -404,11 +396,7 @@ "type": "string" }, "secretParameters": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSecretParameters" - } - ] + "$ref": "#/definitions/MigrationSecretParameters" }, "targetDBServerResourceId": { "type": "string" @@ -424,11 +412,7 @@ } }, "migrationResourceGroup": { - "allOf": [ - { - "$ref": "#/definitions/MigrationResourceGroup" - } - ] + "$ref": "#/definitions/MigrationResourceGroup" }, "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean" @@ -474,39 +458,19 @@ "type": "string" }, "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] + "$ref": "#/definitions/MigrationDetailsLevel" }, "currentStatus": { - "allOf": [ - { - "$ref": "#/definitions/MigrationStatus" - } - ] + "$ref": "#/definitions/MigrationStatus" }, "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] + "$ref": "#/definitions/DBServerMetadata" }, "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] + "$ref": "#/definitions/DBServerMetadata" }, "migrationCreateFullRequest": { - "allOf": [ - { - "$ref": "#/definitions/MigrationCreateFullRequest" - } - ] + "$ref": "#/definitions/MigrationCreateFullRequest" } }, "description": "Migration details." @@ -546,32 +510,16 @@ "type": "string" }, "migrationDetailsLevel": { - "allOf": [ - { - "$ref": "#/definitions/MigrationDetailsLevel" - } - ] + "$ref": "#/definitions/MigrationDetailsLevel" }, "currentStatus": { - "allOf": [ - { - "$ref": "#/definitions/MigrationStatus" - } - ] + "$ref": "#/definitions/MigrationStatus" }, "sourceDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] + "$ref": "#/definitions/DBServerMetadata" }, "targetDBServerMetadata": { - "allOf": [ - { - "$ref": "#/definitions/DBServerMetadata" - } - ] + "$ref": "#/definitions/DBServerMetadata" } }, "description": "Migration summary." @@ -603,23 +551,15 @@ "adminCredentials": { "x-ms-secret": true, "x-ms-external": true, - "allOf": [ - { - "$ref": "#/definitions/AdminCredentials" - } - ] + "$ref": "#/definitions/AdminCredentials" }, "aadApp": { "x-ms-secret": true, "x-ms-external": true, - "allOf": [ - { - "$ref": "#/definitions/AADApp" - } - ] + "$ref": "#/definitions/AADApp" } }, - "description": "Migration secret parameters." + "description": "Migration secret parameters." }, "AADApp": { "type": "object", @@ -679,11 +619,7 @@ "type": "integer" }, "sku": { - "allOf": [ - { - "$ref": "#/definitions/Sku" - } - ] + "$ref": "#/definitions/Sku" } }, "description": "Database server metadata." @@ -732,21 +668,13 @@ "type": "object", "properties": { "state": { - "allOf": [ - { - "$ref": "#/definitions/MigrationState" - } - ] + "$ref": "#/definitions/MigrationState" }, "error": { "type": "string" }, "currentSubStateDetails": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSubStateDetails" - } - ] + "$ref": "#/definitions/MigrationSubStateDetails" } }, "description": "Migration status." @@ -775,11 +703,7 @@ "type": "object", "properties": { "currentSubState": { - "allOf": [ - { - "$ref": "#/definitions/MigrationSubState" - } - ] + "$ref": "#/definitions/MigrationSubState" } }, "description": "Migration sub state details." @@ -847,11 +771,7 @@ "type": "object", "properties": { "error": { - "allOf": [ - { - "$ref": "#/definitions/UnknownError" - } - ] + "$ref": "#/definitions/UnknownError" } }, "description": "Internal server error." From 82b21a47d53c08916fd1d505e80380e337c29dc6 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 20:23:27 -0700 Subject: [PATCH 057/114] flatten --- .../2020-11-05-preview/Migrations.json | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index c7e25bc69c68..43df9c5a8a1b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -330,9 +330,11 @@ "MigrationResource": { "type": "object", "properties": { - "$ref": "#/definitions/MigrationCreateRequest", - "description": "Migration resource properties.", - "x-ms-client-flatten": true + "properties": { + "$ref": "#/definitions/MigrationCreateRequest", + "description": "Migration resource properties.", + "x-ms-client-flatten": true + } }, "allOf": [ { @@ -439,9 +441,11 @@ "MigrationDetailsResource": { "type": "object", "properties": { - "$ref": "#/definitions/MigrationDetails", - "description": "Migration details resource properties.", - "x-ms-client-flatten": true + "properties": { + "$ref": "#/definitions/MigrationDetails", + "description": "Migration details resource properties.", + "x-ms-client-flatten": true + } }, "allOf": [ { @@ -478,9 +482,11 @@ "MigrationSummaryResource": { "type": "object", "properties": { - "$ref": "#/definitions/MigrationSummary", - "description": "Migration summary resource properties.", - "x-ms-client-flatten": true + "properties": { + "$ref": "#/definitions/MigrationSummary", + "description": "Migration details resource properties.", + "x-ms-client-flatten": true + } }, "allOf": [ { From 73adfb773666f657a296372995dd152dbea3ff5a Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 21:17:49 -0700 Subject: [PATCH 058/114] validate examples --- .../2020-11-05-preview/Migrations.json | 32 ------------------- .../examples/MigrationCreate.json | 8 ++--- .../examples/MigrationDelete.json | 16 +++++----- .../examples/MigrationGet.json | 17 +++++----- .../examples/MigrationUpdate.json | 8 ++--- .../MigrationsListByTargetServer.json | 14 ++++---- 6 files changed, 31 insertions(+), 64 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 43df9c5a8a1b..42a6737626ef 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -137,18 +137,6 @@ "$ref": "#/definitions/MigrationDetailsResource" } }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -253,12 +241,6 @@ "$ref": "#/definitions/MigrationResource" } }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -304,18 +286,6 @@ "$ref": "#/definitions/MigrationSummaryResourceListResult" } }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -347,7 +317,6 @@ "type": "object", "properties": { "sourceDBServerResourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{Microsoft.DBforPostgreSQL|Microsoft.DBforMySQL}/{serverType}/{serverName}", "type": "string" }, "targetDBServerSubnetResourceId": { @@ -537,7 +506,6 @@ "type": "object", "properties": { "resourceId": { - "pattern": "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", "type": "string" }, "location": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index 7b30688dd0d0..c08cf8dbb5aa 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -40,18 +40,16 @@ "secretParameters": { "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": null + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "adminCredentials": { - "sourceServerPassword": null, - "targetServerPassword": null } } }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json index 8409f5380445..3a2405a4412d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json @@ -15,22 +15,22 @@ "testdb1", "testdb2" ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, "secretParameters": { "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": null + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, - "adminCredentials": { - "sourceServerPassword": null, - "targetServerPassword": null - } + "adminCredentials": {} } }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json index f2e713ceabbf..3b182e45029a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json @@ -21,7 +21,7 @@ "sourceDBServerMetadata": { "location": "westus", "version": "10", - "storageMD": "1024", + "storageMB": 1024, "sku": { "name": "B_Gen4_1", "tier": "Basic" @@ -30,7 +30,7 @@ "targetDBServerMetadata": { "location": "westus", "version": "12", - "storageMD": "1024", + "storageMB": 1024, "sku": { "name": "Standard_D4s_v3", "tier": "GeneralPurpose" @@ -44,23 +44,24 @@ "testdb1", "testdb2" ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, "secretParameters": { "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": null + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "adminCredentials": { - "sourceServerPassword": null, - "targetServerPassword": null } } } }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json index f17bd120be7c..581d66d20a20 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -23,19 +23,17 @@ "secretParameters": { "aadApp": { "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": null + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "adminCredentials": { - "sourceServerPassword": null, - "targetServerPassword": null } }, "setupLogicalReplicationOnSourceDBIfNeeded": true }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json index cbc5a313de2b..c0034ec4d66e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json @@ -25,7 +25,7 @@ "sourceDBServerMetadata": { "location": "westus", "version": "10", - "storageMD": "1024", + "storageMB": 1024, "sku": { "name": "B_Gen4_1", "tier": "Basic" @@ -34,7 +34,7 @@ "targetDBServerMetadata": { "location": "westus", "version": "12", - "storageMD": "1024", + "storageMB": 1024, "sku": { "name": "Standard_D4s_v3", "tier": "GeneralPurpose" @@ -43,7 +43,8 @@ }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" }, { "properties": { @@ -59,7 +60,7 @@ "sourceDBServerMetadata": { "location": "westus", "version": "10", - "storageMD": "2048", + "storageMB": 2048, "sku": { "name": "B_Gen4_1", "tier": "Basic" @@ -68,7 +69,7 @@ "targetDBServerMetadata": { "location": "westus", "version": "11", - "storageMD": "2048", + "storageMB": 2048, "sku": { "name": "Standard_D4s_v3", "tier": "GeneralPurpose" @@ -77,7 +78,8 @@ }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/dddddddd-dddd-dddd-dddd-dddddddddddd", "name": "dddddddd-dddd-dddd-dddd-dddddddddddd", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" } ] } From 07f9250735de98368888b4a5dd93d34deadbb856 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 22:22:10 -0700 Subject: [PATCH 059/114] misc --- .../2020-11-05-preview/Migrations.json | 10 +++---- .../examples/MigrationCreate.json | 28 ++++++++++++++++++- .../examples/MigrationUpdate.json | 3 +- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 42a6737626ef..b1f75987b3b4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -41,7 +41,7 @@ ], "operationId": "Migrations_Create", "x-ms-examples": { - "CreateMigration": { + "Create a migration": { "$ref": "./examples/MigrationCreate.json" } }, @@ -111,7 +111,7 @@ ], "operationId": "Migrations_Read", "x-ms-examples": { - "GetMigration": { + "Get a Migration": { "$ref": "./examples/MigrationGet.json" } }, @@ -151,7 +151,7 @@ ], "operationId": "Migrations_Update", "x-ms-examples": { - "UpdateMigration": { + "Update a migration": { "$ref": "./examples/MigrationUpdate.json" } }, @@ -215,7 +215,7 @@ ], "operationId": "Migrations_Delete", "x-ms-examples": { - "DeleteMigration": { + "Delete a migration": { "$ref": "./examples/MigrationDelete.json" } }, @@ -257,7 +257,7 @@ ], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { - "ListMigrationsByTargetServer": { + "List migrations by the target server": { "$ref": "./examples/MigrationsListByTargetServer.json" } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json index c08cf8dbb5aa..2a3a200b27e5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json @@ -27,6 +27,31 @@ } }, "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "dBsToMigrate": [ + "testdb1", + "testdb2" + ], + "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "secretParameters": { + "aadApp": { + "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "adminCredentials": { + } + } + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", + "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "location": "westus" + } + }, "201": { "body": { "properties": { @@ -51,7 +76,8 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", "location": "westus" } - } + }, + "202": {} } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json index 581d66d20a20..d915e0e841cc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json @@ -35,7 +35,8 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", "location": "westus" } - } + }, + "202": {} } } } From 7d9ead93cb45dfd9db19e40f23c955fdac9d7716 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 4 May 2021 22:57:57 -0700 Subject: [PATCH 060/114] gen examples --- .../2020-11-05-preview/Migrations.json | 47 ++++-- .../examples/MigrationCreate.json | 83 ---------- .../examples/MigrationDelete.json | 37 ----- .../examples/MigrationGet.json | 68 -------- .../examples/MigrationUpdate.json | 42 ----- .../MigrationsListByTargetServer.json | 88 ---------- .../Migrations_Create_MaximumSet_Gen.json | 151 ++++++++++++++++++ .../Migrations_Create_MinimumSet_Gen.json | 30 ++++ .../Migrations_Delete_MaximumSet_Gen.json | 52 ++++++ .../Migrations_Delete_MinimumSet_Gen.json | 17 ++ ...ons_ListByTargetServer_MaximumSet_Gen.json | 54 +++++++ ...ons_ListByTargetServer_MinimumSet_Gen.json | 12 ++ .../Migrations_Read_MaximumSet_Gen.json | 79 +++++++++ .../Migrations_Read_MinimumSet_Gen.json | 15 ++ .../Migrations_Update_MaximumSet_Gen.json | 111 +++++++++++++ .../Migrations_Update_MinimumSet_Gen.json | 25 +++ 16 files changed, 580 insertions(+), 331 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index b1f75987b3b4..963d5b6ef23e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -41,8 +41,11 @@ ], "operationId": "Migrations_Create", "x-ms-examples": { - "Create a migration": { - "$ref": "./examples/MigrationCreate.json" + "Migrations_Create_MaximumSet_Gen": { + "$ref": "./examples/Migrations_Create_MaximumSet_Gen.json" + }, + "Migrations_Create_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Create_MinimumSet_Gen.json" } }, "description": "Creates a new migration.", @@ -111,8 +114,11 @@ ], "operationId": "Migrations_Read", "x-ms-examples": { - "Get a Migration": { - "$ref": "./examples/MigrationGet.json" + "Migrations_Read_MaximumSet_Gen": { + "$ref": "./examples/Migrations_Read_MaximumSet_Gen.json" + }, + "Migrations_Read_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Read_MinimumSet_Gen.json" } }, "description": "Gets details of a migration.", @@ -151,8 +157,11 @@ ], "operationId": "Migrations_Update", "x-ms-examples": { - "Update a migration": { - "$ref": "./examples/MigrationUpdate.json" + "Migrations_Update_MaximumSet_Gen": { + "$ref": "./examples/Migrations_Update_MaximumSet_Gen.json" + }, + "Migrations_Update_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Update_MinimumSet_Gen.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.", @@ -215,8 +224,11 @@ ], "operationId": "Migrations_Delete", "x-ms-examples": { - "Delete a migration": { - "$ref": "./examples/MigrationDelete.json" + "Migrations_Delete_MaximumSet_Gen": { + "$ref": "./examples/Migrations_Delete_MaximumSet_Gen.json" + }, + "Migrations_Delete_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Delete_MinimumSet_Gen.json" } }, "description": "Deletes a migration.", @@ -241,6 +253,12 @@ "$ref": "#/definitions/MigrationResource" } }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -257,8 +275,11 @@ ], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { - "List migrations by the target server": { - "$ref": "./examples/MigrationsListByTargetServer.json" + "Migrations_ListByTargetServer_MaximumSet_Gen": { + "$ref": "./examples/Migrations_ListByTargetServer_MaximumSet_Gen.json" + }, + "Migrations_ListByTargetServer_MinimumSet_Gen": { + "$ref": "./examples/Migrations_ListByTargetServer_MinimumSet_Gen.json" } }, "description": "List all the migrations on a given target server.", @@ -513,7 +534,7 @@ "type": "string" } }, - "description": "Migration resource group." + "description": "Migration resource group." }, "MigrationSecretParameters": { "required": [ @@ -748,7 +769,7 @@ "$ref": "#/definitions/UnknownError" } }, - "description": "Internal server error." + "description": "Internal server error." }, "UnknownError": { "type": "object", @@ -807,4 +828,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json deleted file mode 100644 index 2a3a200b27e5..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationCreate.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "pgflextarget", - "migrationId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "aadSecret": "apptestpassword" - }, - "adminCredentials": { - "sourceServerPassword": "sourcetestpassword", - "targetServerPassword": "targettestpassword" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "adminCredentials": { - } - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", - "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - }, - "201": { - "body": { - "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "adminCredentials": { - } - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", - "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - }, - "202": {} - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json deleted file mode 100644 index 3a2405a4412d..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationDelete.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "pgflextarget", - "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" - }, - "responses": { - "200": { - "body": { - "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "adminCredentials": {} - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", - "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json deleted file mode 100644 index 3b182e45029a..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationGet.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "pgflextarget", - "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "WaitingForUserAction", - "error": "Example error.", - "currentSubStateDetails": { - "currentSubState": "WaitingForDBsToMigrateSpecification" - } - }, - "sourceDBServerMetadata": { - "location": "westus", - "version": "10", - "storageMB": 1024, - "sku": { - "name": "B_Gen4_1", - "tier": "Basic" - } - }, - "targetDBServerMetadata": { - "location": "westus", - "version": "12", - "storageMB": 1024, - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - } - }, - "migrationCreateFullRequest": { - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testpgtarget", - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "adminCredentials": { - } - } - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json deleted file mode 100644 index d915e0e841cc..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationUpdate.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "pgflextarget", - "migrationId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "setupLogicalReplicationOnSourceDBIfNeeded": true - } - }, - "responses": { - "200": { - "body": { - "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testpgsource", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "dBsToMigrate": [ - "testdb1", - "testdb2" - ], - "migrationResourceGroup": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "secretParameters": { - "aadApp": { - "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "adminCredentials": { - } - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/ffffffff-ffff-ffff-ffff-ffffffffffff", - "name": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - }, - "202": {} - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json deleted file mode 100644 index c0034ec4d66e..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/MigrationsListByTargetServer.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "pgflextarget", - "parameters": { - "migrationListFilter": "all" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "WaitingForUserAction", - "error": "Example error.", - "currentSubStateDetails": { - "currentSubState": "WaitingForDBsToMigrateSpecification" - } - }, - "sourceDBServerMetadata": { - "location": "westus", - "version": "10", - "storageMB": 1024, - "sku": { - "name": "B_Gen4_1", - "tier": "Basic" - } - }, - "targetDBServerMetadata": { - "location": "westus", - "version": "12", - "storageMB": 1024, - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - } - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "name": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - }, - { - "properties": { - "migrationId": "dddddddd-dddd-dddd-dddd-dddddddddddd", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "WaitingForUserAction", - "error": "Example error.", - "currentSubStateDetails": { - "currentSubState": "WaitingForDBsToMigrateSpecification" - } - }, - "sourceDBServerMetadata": { - "location": "westus", - "version": "10", - "storageMB": 2048, - "sku": { - "name": "B_Gen4_1", - "tier": "Basic" - } - }, - "targetDBServerMetadata": { - "location": "westus", - "version": "11", - "storageMB": 2048, - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - } - } - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4/migrations/dddddddd-dddd-dddd-dddd-dddddddddddd", - "name": "dddddddd-dddd-dddd-dddd-dddddddddddd", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", - "location": "westus" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..34a12924cb96 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa", + "parameters": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "aaaaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaa" + }, + "aadApp": { + "aadSecret": "aaaaaaaaaaaaaaaaa", + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "201": { + "body": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": {}, + "400": { + "body": { + "details": [ + { + "code": "a", + "message": "aaaaaaaaaaaaaaa", + "target": "aaaaaaaaa" + } + ], + "code": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaaaaaaaa" + } + }, + "500": { + "body": { + "error": { + "code": "aaaaaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..d9a65e64398e --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa", + "parameters": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "201": { + "body": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "202": {}, + "400": { + "body": {} + }, + "500": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7b4bab220293 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..6a317c944432 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json new file mode 100644 index 000000000000..44664b6bed97 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationListFilter": "aaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "migrationId": "aaaaaaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaa", + "version": "aaaaaaaaaaaa", + "storageMB": 9, + "sku": { + "name": "aaaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaa", + "version": "aaaaaaaaaaaa", + "storageMB": 9, + "sku": { + "name": "aaaaaaaaaa", + "tier": "Burstable" + } + } + }, + "tags": { + "key3067": "aaaaaaaaaaaaaaaaaaaaa" + }, + "location": "aaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json new file mode 100644 index 000000000000..7b49e2f6d280 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json new file mode 100644 index 000000000000..025af515e3c4 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaa", + "version": "aaaaaaaaaaaa", + "storageMB": 9, + "sku": { + "name": "aaaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaa", + "version": "aaaaaaaaaaaa", + "storageMB": 9, + "sku": { + "name": "aaaaaaaaaa", + "tier": "Burstable" + } + }, + "migrationCreateFullRequest": { + "sourceDBServerResourceId": "aaaaaaaaaaa", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:47.275Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + } + }, + "tags": { + "key3810": "aaaaaaaaaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json new file mode 100644 index 000000000000..25dfd3a35b79 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..74c66a78f59a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa", + "parameters": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "aaaaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaa" + }, + "aadApp": { + "aadSecret": "aaaaaaaaaaaaaaaaa", + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "a", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key5712": "aaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": {}, + "400": { + "body": { + "details": [ + { + "code": "a", + "message": "aaaaaaaaaaaaaaa", + "target": "aaaaaaaaa" + } + ], + "code": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaaaaaaaa" + } + }, + "500": { + "body": { + "error": { + "code": "aaaaaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..5053737d77b6 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaa", + "parameters": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaa" + } + }, + "202": {}, + "400": { + "body": {} + }, + "500": { + "body": {} + } + } +} \ No newline at end of file From bf8d1eae159186d62e499de3fad1154938aef73f Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 5 May 2021 11:10:22 -0700 Subject: [PATCH 061/114] https://github.com/Azure/azure-rest-api-specs/pull/13555/checks?check_run_id=2506679669 --- .../2020-11-05-preview/Migrations.json | 101 +------------ .../Migrations_Create_MaximumSet_Gen.json | 136 +++++------------- .../Migrations_Create_MinimumSet_Gen.json | 30 ---- .../Migrations_Delete_MaximumSet_Gen.json | 42 +++--- .../Migrations_Delete_MinimumSet_Gen.json | 11 +- ...ons_ListByTargetServer_MaximumSet_Gen.json | 38 ++--- ...ons_ListByTargetServer_MinimumSet_Gen.json | 6 +- .../Migrations_Read_MaximumSet_Gen.json | 57 ++++---- .../Migrations_Read_MinimumSet_Gen.json | 10 +- .../Migrations_Update_MaximumSet_Gen.json | 96 +++++-------- .../Migrations_Update_MinimumSet_Gen.json | 25 ---- 11 files changed, 152 insertions(+), 400 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 963d5b6ef23e..c6bf80b0e663 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -43,9 +43,6 @@ "x-ms-examples": { "Migrations_Create_MaximumSet_Gen": { "$ref": "./examples/Migrations_Create_MaximumSet_Gen.json" - }, - "Migrations_Create_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Create_MinimumSet_Gen.json" } }, "description": "Creates a new migration.", @@ -79,27 +76,6 @@ "$ref": "#/definitions/MigrationResource" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/MigrationResource" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -159,9 +135,6 @@ "x-ms-examples": { "Migrations_Update_MaximumSet_Gen": { "$ref": "./examples/Migrations_Update_MaximumSet_Gen.json" - }, - "Migrations_Update_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Update_MinimumSet_Gen.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.", @@ -195,21 +168,6 @@ "$ref": "#/definitions/MigrationResource" } }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/InvalidInput" - } - }, - "500": { - "description": "Server Error", - "schema": { - "$ref": "#/definitions/InternalServerError" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -253,9 +211,6 @@ "$ref": "#/definitions/MigrationResource" } }, - "202": { - "description": "Accepted" - }, "204": { "description": "NoContent" }, @@ -729,60 +684,6 @@ ], "description": "Sku information related properties of a server." }, - "InvalidInput": { - "type": "object", - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/InvalidInputDetails" - } - }, - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "description": "Invalid input error message." - }, - "InvalidInputDetails": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "target": { - "type": "string" - } - }, - "description": "Invalid input error message details." - }, - "InternalServerError": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/UnknownError" - } - }, - "description": "Internal server error." - }, - "UnknownError": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "description": "Unknown error." - }, "CloudError": { "x-ms-external": true, "properties": { @@ -828,4 +729,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index 34a12924cb96..04f677107826 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -1,150 +1,86 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaa" + "sourceServerPassword": "aaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaa", - "clientId": "a", + "aadSecret": "aa", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key5712": "aaaaaaaaaaaaa" + "key3534": "aaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "a", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key5712": "aaaaaaaaaaaaa" + "key3534": "aaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "201": { - "body": { - "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "a", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key5712": "aaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "202": {}, - "400": { - "body": { - "details": [ - { - "code": "a", - "message": "aaaaaaaaaaaaaaa", - "target": "aaaaaaaaa" - } - ], - "code": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "message": "aaaaaaaaaaaaaaaaaaa" - } - }, - "500": { - "body": { - "error": { - "code": "aaaaaaaaaaaaaaaaaaa", - "message": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } + "location": "aaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json deleted file mode 100644 index d9a65e64398e..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa", - "parameters": { - "location": "aaaaaaaaaaaaaaa" - } - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaa" - } - }, - "201": { - "body": { - "location": "aaaaaaaaaaaaaaa" - } - }, - "202": {}, - "400": { - "body": {} - }, - "500": { - "body": {} - } - } -} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index 7b4bab220293..705fb3c7a2b1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -1,52 +1,50 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "a", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key5712": "aaaaaaaaaaaaa" + "key3534": "aaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaa" } }, - "202": {}, "204": {} } } \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index 6a317c944432..e54e07af74ad 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -1,17 +1,16 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaa" } }, - "202": {}, "204": {} } } \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index 44664b6bed97..271ee010d4f7 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationListFilter": "aaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationListFilter": "aaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { @@ -11,41 +11,41 @@ "value": [ { "properties": { - "migrationId": "aaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "aaaa", + "error": "aaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaa", - "version": "aaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaa", + "storageMB": 10, "sku": { - "name": "aaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaa", - "version": "aaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaa", + "storageMB": 10, "sku": { - "name": "aaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaa", "tier": "Burstable" } } }, "tags": { - "key3067": "aaaaaaaaaaaaaaaaaaaaa" + "key6640": "aaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaa" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index 7b49e2f6d280..28be9d11150c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -1,8 +1,8 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json index 025af515e3c4..ff9f27a67d84 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { @@ -13,66 +13,63 @@ "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "aaaa", + "error": "aaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaa", - "version": "aaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaa", + "storageMB": 10, "sku": { - "name": "aaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaa", - "version": "aaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaa", + "storageMB": 10, "sku": { - "name": "aaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaa", "tier": "Burstable" } }, "migrationCreateFullRequest": { - "sourceDBServerResourceId": "aaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "a", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaa", + "targetDBServerResourceId": "aaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:47.275Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:39.958Z", "startDataMigration": true, "triggerCutover": true, "cancel": true } }, "tags": { - "key3810": "aaaaaaaaaaaaaaaaaaaa" + "key2636": "aa" }, - "location": "aaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aa" + "location": "aaaaaaaaaaaaaa", + "id": "aaaaaa", + "name": "aaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json index 25dfd3a35b79..92fa133f24f4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index 74c66a78f59a..04f677107826 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -1,110 +1,86 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaa" + "sourceServerPassword": "aaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaa", - "clientId": "a", + "aadSecret": "aa", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key5712": "aaaaaaaaaaaaa" + "key3534": "aaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa", + "aaaaaaaaaaaaaaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "a", + "clientId": "aaaaaaaaaaaaaaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T05:56:45.737Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key5712": "aaaaaaaaaaaaa" + "key3534": "aaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "202": {}, - "400": { - "body": { - "details": [ - { - "code": "a", - "message": "aaaaaaaaaaaaaaa", - "target": "aaaaaaaaa" - } - ], - "code": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "message": "aaaaaaaaaaaaaaaaaaa" - } - }, - "500": { - "body": { - "error": { - "code": "aaaaaaaaaaaaaaaaaaa", - "message": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } + "location": "aaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json deleted file mode 100644 index 5053737d77b6..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaa", - "parameters": { - "location": "aaaaaaaaaaaaaaa" - } - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaa" - } - }, - "202": {}, - "400": { - "body": {} - }, - "500": { - "body": {} - } - } -} \ No newline at end of file From b0b50831f152628b6439c2f6fabce1937c867b9d Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 5 May 2021 11:33:19 -0700 Subject: [PATCH 062/114] update read -> get --- .../2020-11-05-preview/Migrations.json | 18 +++-- .../Migrations_Create_MaximumSet_Gen.json | 74 +++++++++--------- .../Migrations_Create_MinimumSet_Gen.json | 18 +++++ .../Migrations_Delete_MaximumSet_Gen.json | 41 +++++----- .../Migrations_Delete_MinimumSet_Gen.json | 10 +-- .../Migrations_Get_MaximumSet_Gen.json | 75 ++++++++++++++++++ .../Migrations_Get_MinimumSet_Gen.json | 15 ++++ ...ons_ListByTargetServer_MaximumSet_Gen.json | 38 +++++----- ...ons_ListByTargetServer_MinimumSet_Gen.json | 6 +- .../Migrations_Read_MaximumSet_Gen.json | 76 ------------------- .../Migrations_Read_MinimumSet_Gen.json | 15 ---- .../Migrations_Update_MaximumSet_Gen.json | 74 +++++++++--------- .../Migrations_Update_MinimumSet_Gen.json | 18 +++++ 13 files changed, 257 insertions(+), 221 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index c6bf80b0e663..7164ad168e16 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -43,6 +43,9 @@ "x-ms-examples": { "Migrations_Create_MaximumSet_Gen": { "$ref": "./examples/Migrations_Create_MaximumSet_Gen.json" + }, + "Migrations_Create_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Create_MinimumSet_Gen.json" } }, "description": "Creates a new migration.", @@ -88,13 +91,13 @@ "tags": [ "Migrations" ], - "operationId": "Migrations_Read", + "operationId": "Migrations_Get", "x-ms-examples": { - "Migrations_Read_MaximumSet_Gen": { - "$ref": "./examples/Migrations_Read_MaximumSet_Gen.json" + "Migrations_Get_MaximumSet_Gen": { + "$ref": "./examples/Migrations_Get_MaximumSet_Gen.json" }, - "Migrations_Read_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Read_MinimumSet_Gen.json" + "Migrations_Get_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Get_MinimumSet_Gen.json" } }, "description": "Gets details of a migration.", @@ -135,6 +138,9 @@ "x-ms-examples": { "Migrations_Update_MaximumSet_Gen": { "$ref": "./examples/Migrations_Update_MaximumSet_Gen.json" + }, + "Migrations_Update_MinimumSet_Gen": { + "$ref": "./examples/Migrations_Update_MinimumSet_Gen.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.", @@ -729,4 +735,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index 04f677107826..d68d81d61f87 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -1,86 +1,84 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aa", - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key3534": "aaaaaaaaaaaaaaaaaa" + "key1427": "aaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key3534": "aaaaaaaaaaaaaaaaaa" + "key1427": "aaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaa", + "type": "aaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..9b718d8276c8 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a", + "parameters": { + "location": "aaaaaaaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index 705fb3c7a2b1..91690159d750 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -1,48 +1,47 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a" }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key3534": "aaaaaaaaaaaaaaaaaa" + "key1427": "aaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaa", + "type": "aaaaaa" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index e54e07af74ad..8d029c1021e0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7cf00ab6e00 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaaaaaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "a", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaa", + "storageMB": 26, + "sku": { + "name": "aaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaa", + "storageMB": 26, + "sku": { + "name": "aaaaaaaaa", + "tier": "Burstable" + } + }, + "migrationCreateFullRequest": { + "sourceDBServerResourceId": "aaaaaaa", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:50.206Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + } + }, + "tags": { + "key6617": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..814ff6753ceb --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a" + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index 271ee010d4f7..a6d0afedf36f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationListFilter": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationListFilter": "aaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { @@ -11,41 +11,41 @@ "value": [ { "properties": { - "migrationId": "aaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "aaaaaaaaaaa", + "error": "a", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaa", - "storageMB": 10, + "location": "aaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaa", + "storageMB": 26, "sku": { - "name": "aaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaa", - "storageMB": 10, + "location": "aaaaaaaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaa", + "storageMB": 26, "sku": { - "name": "aaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaa", "tier": "Burstable" } } }, "tags": { - "key6640": "aaaaaaaaaaaaaaaaaaaaaaaa" + "key4709": "aaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaa", + "id": "aaaaaaa", + "name": "aaaaaaaaaaaaaaaaa", + "type": "aaaaaaaaa" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index 28be9d11150c..5c809647d28d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -1,8 +1,8 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json deleted file mode 100644 index ff9f27a67d84..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MaximumSet_Gen.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaa", - "storageMB": 10, - "sku": { - "name": "aaaaaaaaaaaaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaa", - "storageMB": 10, - "sku": { - "name": "aaaaaaaaaaaaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "migrationCreateFullRequest": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:39.958Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - } - }, - "tags": { - "key2636": "aa" - }, - "location": "aaaaaaaaaaaaaa", - "id": "aaaaaa", - "name": "aaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaa" - } - } - } -} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json deleted file mode 100644 index 92fa133f24f4..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Read_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaa" - } - } - } -} \ No newline at end of file diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index 04f677107826..d68d81d61f87 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -1,86 +1,84 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aa", - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key3534": "aaaaaaaaaaaaaaaaaa" + "key1427": "aaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa", - "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa", + "aaaaaaaaaaaaa" ], "migrationResourceGroup": { - "resourceId": "aaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaaaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:00:38.961Z", + "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key3534": "aaaaaaaaaaaaaaaaaa" + "key1427": "aaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaa", + "type": "aaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..9b718d8276c8 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaa", + "migrationId": "a", + "parameters": { + "location": "aaaaaaaaaaaaaaaaaaaa" + } + }, + "responses": { + "200": { + "body": { + "location": "aaaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file From 14fe4ee2d904414a8fe12e6eb3517ee648ec7122 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 5 May 2021 12:38:00 -0700 Subject: [PATCH 063/114] 201 created --- .../2020-11-05-preview/Migrations.json | 6 ++ .../Migrations_Create_MaximumSet_Gen.json | 101 +++++++++++------- .../Migrations_Create_MinimumSet_Gen.json | 17 +-- .../Migrations_Delete_MaximumSet_Gen.json | 37 +++---- .../Migrations_Delete_MinimumSet_Gen.json | 10 +- .../Migrations_Get_MaximumSet_Gen.json | 61 ++++++----- .../Migrations_Get_MinimumSet_Gen.json | 10 +- ...ons_ListByTargetServer_MaximumSet_Gen.json | 38 +++---- ...ons_ListByTargetServer_MinimumSet_Gen.json | 6 +- .../Migrations_Update_MaximumSet_Gen.json | 66 ++++++------ .../Migrations_Update_MinimumSet_Gen.json | 12 +-- 11 files changed, 200 insertions(+), 164 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 7164ad168e16..fda957710dc4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -79,6 +79,12 @@ "$ref": "#/definitions/MigrationResource" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MigrationResource" + } + }, "default": { "description": "Error response describing why the operation failed.", "schema": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index d68d81d61f87..006d58c87790 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -1,84 +1,113 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a", + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa" + "aaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "aaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key1427": "aaaaaaaaaaaaaaaaaaaaa" + "key4681": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa" + "aaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key1427": "aaaaaaaaaaaaaaaaaaaaa" + "key4681": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaa", - "type": "aaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "a" + } + }, + "201": { + "body": { + "properties": { + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true + }, + "tags": { + "key4681": "aaaaaaaa" + }, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "a" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json index 9b718d8276c8..d5f13bed3e8b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -1,17 +1,22 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a", + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "201": { + "body": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index 91690159d750..da927480f8e2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -1,47 +1,44 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa" + "aaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key1427": "aaaaaaaaaaaaaaaaaaaaa" + "key4681": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaa", - "type": "aaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "a" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index 8d029c1021e0..8b07ab620328 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json index b7cf00ab6e00..d2b1a2ed835e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json @@ -1,74 +1,79 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { "properties": { - "migrationId": "aaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "a", + "error": "aaaaaaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaa", - "storageMB": 26, + "location": "aaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaaa", + "storageMB": 9, "sku": { - "name": "aaaaaaaaa", + "name": "aaaaaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaa", - "storageMB": 26, + "location": "aaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaaa", + "storageMB": 9, "sku": { - "name": "aaaaaaaaa", + "name": "aaaaaaaaaaaaaaa", "tier": "Burstable" } }, "migrationCreateFullRequest": { - "sourceDBServerResourceId": "aaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "targetDBServerResourceId": "aaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "a", + "a", + "a", + "a", + "a", + "a" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:50.206Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:32.436Z", "startDataMigration": true, "triggerCutover": true, "cancel": true } }, "tags": { - "key6617": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "key7998": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaa", + "id": "aaa", + "name": "aaaa", + "type": "aaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json index 814ff6753ceb..e4ce9fb581f7 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index a6d0afedf36f..35678e0c888f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationListFilter": "aaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationListFilter": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { @@ -11,41 +11,41 @@ "value": [ { "properties": { - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "a", + "error": "aaaaaaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaa", - "storageMB": 26, + "location": "aaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaaa", + "storageMB": 9, "sku": { - "name": "aaaaaaaaa", + "name": "aaaaaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaa", - "storageMB": 26, + "location": "aaaaaaaaa", + "version": "aaaaaaaaaaaaaaaaaaa", + "storageMB": 9, "sku": { - "name": "aaaaaaaaa", + "name": "aaaaaaaaaaaaaaa", "tier": "Burstable" } } }, "tags": { - "key4709": "aaaaaaaaaaaaaaa" + "key2782": "aaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaa", - "id": "aaaaaaa", - "name": "aaaaaaaaaaaaaaaaa", - "type": "aaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaa", + "type": "aaaaaaaaaaaaaaaaaaaaaaaa" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index 5c809647d28d..eefac280fcb8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -1,8 +1,8 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index d68d81d61f87..f64a9572122a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -1,84 +1,78 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a", + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa" + "aaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "aaaaaaaaaaaaaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key1427": "aaaaaaaaaaaaaaaaaaaaa" + "key4681": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", "dBsToMigrate": [ - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa", - "aaaaaaaaaaaaa" + "aaaa" ], "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaaaaaaaaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaa", + "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" } }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T18:31:48.436Z", + "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key1427": "aaaaaaaaaaaaaaaaaaaaa" + "key4681": "aaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaa", - "type": "aaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "type": "a" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json index 9b718d8276c8..91659da96575 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -1,17 +1,17 @@ { "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaa", - "migrationId": "a", + "targetDBServerSubscriptionId": "aa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", "parameters": { - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } } } From 3b19ab99c9497787e4f713fb52240e7ee18b2e61 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 09:07:39 -0700 Subject: [PATCH 064/114] Unify three resources --- .../2020-11-05-preview/Migrations.json | 162 ++++---------- .../Migrations_Create_MaximumSet_Gen.json | 202 +++++++++++++----- .../Migrations_Create_MinimumSet_Gen.json | 14 +- .../Migrations_Delete_MaximumSet_Gen.json | 72 +++++-- .../Migrations_Delete_MinimumSet_Gen.json | 10 +- .../Migrations_Get_MaximumSet_Gen.json | 97 +++++---- .../Migrations_Get_MinimumSet_Gen.json | 10 +- ...ons_ListByTargetServer_MaximumSet_Gen.json | 69 ++++-- ...ons_ListByTargetServer_MinimumSet_Gen.json | 6 +- .../Migrations_Update_MaximumSet_Gen.json | 100 +++++---- .../Migrations_Update_MinimumSet_Gen.json | 14 +- 11 files changed, 427 insertions(+), 329 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index fda957710dc4..de063aaf508c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -125,7 +125,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MigrationDetailsResource" + "$ref": "#/definitions/MigrationResource" } }, "default": { @@ -168,7 +168,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/MigrationResource" + "$ref": "#/definitions/MigrationResourceForPatch" }, "description": "The required parameters for updating a migration." } @@ -271,7 +271,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/MigrationSummaryResourceListResult" + "$ref": "#/definitions/MigrationResourceListResult" } }, "default": { @@ -289,7 +289,7 @@ "type": "object", "properties": { "properties": { - "$ref": "#/definitions/MigrationCreateRequest", + "$ref": "#/definitions/MigrationResourceProperties", "description": "Migration resource properties.", "x-ms-client-flatten": true } @@ -301,56 +301,25 @@ ], "description": "Represents a migration resource." }, - "MigrationCreateRequest": { + "MigrationResourceProperties": { "type": "object", "properties": { - "sourceDBServerResourceId": { - "type": "string" - }, - "targetDBServerSubnetResourceId": { + "migrationId": { + "format": "uuid", "type": "string" }, - "dBsToMigrate": { - "maxItems": 8, - "type": "array", - "items": { - "type": "string" - } - }, - "migrationResourceGroup": { - "$ref": "#/definitions/MigrationResourceGroup" - }, - "secretParameters": { - "$ref": "#/definitions/MigrationSecretParameters" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": { - "type": "boolean" - }, - "overwriteDBsInTarget": { - "type": "boolean" + "migrationDetailsLevel": { + "$ref": "#/definitions/MigrationDetailsLevel" }, - "migrationWindowStartTimeInUtc": { - "format": "date-time", - "type": "string" + "currentStatus": { + "$ref": "#/definitions/MigrationStatus" }, - "startDataMigration": { - "type": "boolean" + "sourceDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata" }, - "triggerCutover": { - "type": "boolean" + "targetDBServerMetadata": { + "$ref": "#/definitions/DBServerMetadata" }, - "cancel": { - "type": "boolean" - } - }, - "description": "Migration create request." - }, - "MigrationCreateFullRequest": { - "required": [ - "targetDBServerResourceId" - ], - "type": "object", - "properties": { "sourceDBServerResourceId": { "type": "string" }, @@ -393,99 +362,56 @@ "type": "boolean" } }, - "description": "Full migration create request." - }, - "MigrationDetailsResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/MigrationDetails", - "description": "Migration details resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents a migration details resource." + "description": "Migration resource properties." }, - "MigrationDetails": { + "MigrationResourceListResult": { "type": "object", "properties": { - "migrationId": { - "format": "uuid", - "type": "string" - }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetailsLevel" - }, - "currentStatus": { - "$ref": "#/definitions/MigrationStatus" - }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" - }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" - }, - "migrationCreateFullRequest": { - "$ref": "#/definitions/MigrationCreateFullRequest" + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MigrationResource" + }, + "description": "The list of migration resources" } }, - "description": "Migration details." + "description": "A list of migration resources." }, - "MigrationSummaryResource": { + "MigrationResourceForPatch": { "type": "object", "properties": { "properties": { - "$ref": "#/definitions/MigrationSummary", - "description": "Migration details resource properties.", + "$ref": "#/definitions/MigrationResourcePropertiesForPatch", + "description": "Migration resource properties.", "x-ms-client-flatten": true } }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents a migration summary resource." + "description": "Represents a migration resource for patch." }, - "MigrationSummaryResourceListResult": { + "MigrationResourcePropertiesForPatch": { "type": "object", "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/MigrationSummaryResource" - }, - "description": "The list of migration summary resources" - } - }, - "description": "A list of migration summary resources." - }, - "MigrationSummary": { - "type": "object", - "properties": { - "migrationId": { - "format": "uuid", - "type": "string" + "setupLogicalReplicationOnSourceDBIfNeeded": { + "type": "boolean" }, - "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetailsLevel" + "overwriteDBsInTarget": { + "type": "boolean" }, - "currentStatus": { - "$ref": "#/definitions/MigrationStatus" + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string" }, - "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" + "startDataMigration": { + "type": "boolean" }, - "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" + "triggerCutover": { + "type": "boolean" + }, + "cancel": { + "type": "boolean" } }, - "description": "Migration summary." + "description": "Migration resource properties for patch." }, "MigrationResourceGroup": { "required": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index 006d58c87790..8746710625d8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -1,112 +1,214 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaaaaaaaaaaaaaaaaaaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "aaaaaaa", + "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "aadSecret": "aaaaaaaaaaaaaaaaaaaaa", + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" } }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key4681": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaaaaaaaaaaaaaaaaaaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" } }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key4681": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", "type": "a" } }, "201": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaaaaaaaaaaaaaaaaaaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } }, + "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" } }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key4681": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", "type": "a" } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json index d5f13bed3e8b..faa959adf4b9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -1,22 +1,22 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa", "parameters": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } }, "201": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index da927480f8e2..e6adb8f0b3b5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -1,43 +1,77 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa" }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaaaaaaaaaaaaaaaaaaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } + }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" } }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key4681": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", "type": "a" } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index 8b07ab620328..2aae88945418 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json index d2b1a2ed835e..c510a8119948 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json @@ -1,79 +1,78 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa" }, "responses": { "200": { "body": { "properties": { - "migrationId": "aaaaaaaaaaaa", + "migrationId": "aaaaa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "aaaaaaaaaaaaaaa", + "error": "aaaaaaaaaaaaaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, "sku": { - "name": "aaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, "sku": { - "name": "aaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaa", "tier": "Burstable" } }, - "migrationCreateFullRequest": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "a", - "a", - "a", - "a", - "a", - "a" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:32.436Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - } + "sourceDBServerResourceId": "aaa", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" + } + }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true }, "tags": { - "key7998": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaa", - "id": "aaa", - "name": "aaaa", - "type": "aaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", + "type": "a" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json index e4ce9fb581f7..beab040f1282 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json @@ -1,14 +1,14 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa" }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index 35678e0c888f..f8c4de6efb92 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationListFilter": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationListFilter": "aaaaaaaaaaaaaaaaaaaa" }, "responses": { "200": { @@ -11,41 +11,70 @@ "value": [ { "properties": { - "migrationId": "aa", + "migrationId": "aaaaa", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", - "error": "aaaaaaaaaaaaaaa", + "error": "aaaaaaaaaaaaaaaaaaaaaa", "currentSubStateDetails": { "currentSubState": "PerformingPreRequisiteSteps" } }, "sourceDBServerMetadata": { - "location": "aaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, "sku": { - "name": "aaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaa", "tier": "Burstable" } }, "targetDBServerMetadata": { - "location": "aaaaaaaaa", - "version": "aaaaaaaaaaaaaaaaaaa", - "storageMB": 9, + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, "sku": { - "name": "aaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaa", "tier": "Burstable" } - } + }, + "sourceDBServerResourceId": "aaa", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" + } + }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": true, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": true, + "triggerCutover": true, + "cancel": true }, "tags": { - "key2782": "aaaaaaaaaaaaaaaaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", + "type": "a" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index eefac280fcb8..3c0674d0f2c5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -1,8 +1,8 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa" + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index f64a9572122a..8e8cee1ebb75 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -1,77 +1,87 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa", "parameters": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "secretParameters": { - "adminCredentials": { - "sourceServerPassword": "aaaaaaaaaaaaaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:06:00.885Z", "startDataMigration": true, "triggerCutover": true, "cancel": true - }, - "tags": { - "key4681": "aaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } } }, "responses": { "200": { "body": { "properties": { - "sourceDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "aaaaaaaaaaaaaaaaaaaaaa", + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + } }, + "sourceDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "targetDBServerMetadata": { + "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "version": "aaaa", + "storageMB": 5, + "sku": { + "name": "aaaaaaaaaaaa", + "tier": "Burstable" + } + }, + "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": {}, "aadApp": { - "clientId": "aaaa", - "tenantId": "aaaaaaaaaaaaaaaaaaaaaaaaa" + "clientId": "aaaaaaaaa", + "tenantId": "aaaaaaaaaaaaaaaaa" } }, + "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerSubnetResourceId": "aaaaaaaaaaa", + "dBsToMigrate": [ + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa", + "aaaa" + ], + "migrationResourceGroup": { + "resourceId": "aaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaaaa" + }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-05T19:34:30.698Z", + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": true, "triggerCutover": true, "cancel": true }, "tags": { - "key4681": "aaaaaaaa" + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "location": "aaaaaaaaaaaaaaaaaaa", + "id": "aaaa", + "name": "aa", "type": "a" } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json index 91659da96575..2a46ecb54953 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -1,17 +1,15 @@ { "parameters": { - "targetDBServerSubscriptionId": "aa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "migrationId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "parameters": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } + "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", + "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", + "targetDBServerName": "aaaaaaaaaaa", + "migrationId": "aaaaaa", + "parameters": {} }, "responses": { "200": { "body": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "location": "aaaaaaaaaaaaaaaaaaa" } } } From e485fd8e0d2f28df70c5e9ce56f381d652c4277e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 09:26:55 -0700 Subject: [PATCH 065/114] for credscan --- .../examples/Migrations_Create_MaximumSet_Gen.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index 8746710625d8..d76e83c86a3b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -36,11 +36,11 @@ "sourceDBServerResourceId": "aaa", "secretParameters": { "adminCredentials": { - "sourceServerPassword": "aaaaaaa", - "targetServerPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaa" + "sourceServerPassword": "testsourcepassword", + "targetServerPassword": "testtargetpassword" }, "aadApp": { - "aadSecret": "aaaaaaaaaaaaaaaaaaaaa", + "aadSecret": "testaadsecret", "clientId": "aaaaaaaaa", "tenantId": "aaaaaaaaaaaaaaaaa" } @@ -213,4 +213,4 @@ } } } -} \ No newline at end of file +} From 19614274715134d3461180c8d67f7e96aca5d6f2 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 09:36:54 -0700 Subject: [PATCH 066/114] newline at end of file --- .../preview/2020-11-05-preview/Migrations.json | 3 ++- .../examples/Migrations_Create_MaximumSet_Gen.json | 1 + .../examples/Migrations_Create_MinimumSet_Gen.json | 3 ++- .../examples/Migrations_Delete_MaximumSet_Gen.json | 3 ++- .../examples/Migrations_Delete_MinimumSet_Gen.json | 3 ++- .../examples/Migrations_Get_MaximumSet_Gen.json | 3 ++- .../examples/Migrations_Get_MinimumSet_Gen.json | 3 ++- .../examples/Migrations_ListByTargetServer_MaximumSet_Gen.json | 3 ++- .../examples/Migrations_ListByTargetServer_MinimumSet_Gen.json | 3 ++- .../examples/Migrations_Update_MaximumSet_Gen.json | 3 ++- .../examples/Migrations_Update_MinimumSet_Gen.json | 3 ++- 11 files changed, 21 insertions(+), 10 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index de063aaf508c..2b9198ecceb6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -667,4 +667,5 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index d76e83c86a3b..ea5aa77d6e94 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -214,3 +214,4 @@ } } } + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json index faa959adf4b9..115581c896f3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -20,4 +20,5 @@ } } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index e6adb8f0b3b5..ef9ffef71cc4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -77,4 +77,5 @@ }, "204": {} } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index 2aae88945418..9f82e4615a0c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -13,4 +13,5 @@ }, "204": {} } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json index c510a8119948..4a4bd56e642b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json @@ -76,4 +76,5 @@ } } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json index beab040f1282..b24a94c91495 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json @@ -12,4 +12,5 @@ } } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index f8c4de6efb92..5bf6ee032388 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -80,4 +80,5 @@ } } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index 3c0674d0f2c5..122613fcc017 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -9,4 +9,5 @@ "body": {} } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index 8e8cee1ebb75..0d87bcced3b5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -86,4 +86,5 @@ } } } -} \ No newline at end of file +} + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json index 2a46ecb54953..e93a0c233496 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -13,4 +13,5 @@ } } } -} \ No newline at end of file +} + From d4efb06813e4941f99d8925c73c7b1f2c47f7c53 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 10:48:35 -0700 Subject: [PATCH 067/114] prettier playground --- .../2020-11-05-preview/Migrations.json | 79 ++++--------------- .../Migrations_Create_MaximumSet_Gen.json | 1 - .../Migrations_Create_MinimumSet_Gen.json | 1 - .../Migrations_Delete_MaximumSet_Gen.json | 1 - .../Migrations_Delete_MinimumSet_Gen.json | 1 - .../Migrations_Get_MaximumSet_Gen.json | 1 - .../Migrations_Get_MinimumSet_Gen.json | 1 - ...ons_ListByTargetServer_MaximumSet_Gen.json | 1 - ...ons_ListByTargetServer_MinimumSet_Gen.json | 1 - .../Migrations_Update_MaximumSet_Gen.json | 1 - .../Migrations_Update_MinimumSet_Gen.json | 1 - 11 files changed, 17 insertions(+), 72 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 2b9198ecceb6..10d77ec53d9f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -6,20 +6,12 @@ "version": "2020-11-05-preview" }, "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + "schemes": [ "https" ], + "consumes": [ "application/json" ], + "produces": [ "application/json" ], "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { @@ -36,9 +28,7 @@ "paths": { "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { "put": { - "tags": [ - "Migrations" - ], + "tags": [ "Migrations" ], "operationId": "Migrations_Create", "x-ms-examples": { "Migrations_Create_MaximumSet_Gen": { @@ -94,9 +84,7 @@ } }, "get": { - "tags": [ - "Migrations" - ], + "tags": [ "Migrations" ], "operationId": "Migrations_Get", "x-ms-examples": { "Migrations_Get_MaximumSet_Gen": { @@ -137,9 +125,7 @@ } }, "patch": { - "tags": [ - "Migrations" - ], + "tags": [ "Migrations" ], "operationId": "Migrations_Update", "x-ms-examples": { "Migrations_Update_MaximumSet_Gen": { @@ -189,9 +175,7 @@ } }, "delete": { - "tags": [ - "Migrations" - ], + "tags": [ "Migrations" ], "operationId": "Migrations_Delete", "x-ms-examples": { "Migrations_Delete_MaximumSet_Gen": { @@ -237,9 +221,7 @@ }, "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { - "tags": [ - "Migrations" - ], + "tags": [ "Migrations" ], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { "Migrations_ListByTargetServer_MaximumSet_Gen": { @@ -414,9 +396,7 @@ "description": "Migration resource properties for patch." }, "MigrationResourceGroup": { - "required": [ - "resourceId" - ], + "required": [ "resourceId" ], "type": "object", "properties": { "resourceId": { @@ -430,10 +410,7 @@ "description": "Migration resource group." }, "MigrationSecretParameters": { - "required": [ - "aadApp", - "adminCredentials" - ], + "required": [ "aadApp", "adminCredentials" ], "type": "object", "properties": { "adminCredentials": { @@ -451,11 +428,7 @@ }, "AADApp": { "type": "object", - "required": [ - "aadSecret", - "clientId", - "tenantId" - ], + "required": [ "aadSecret", "clientId", "tenantId" ], "properties": { "aadSecret": { "type": "string", @@ -475,10 +448,7 @@ }, "AdminCredentials": { "type": "object", - "required": [ - "sourceServerPassword", - "targetServerPassword" - ], + "required": [ "sourceServerPassword", "targetServerPassword" ], "properties": { "sourceServerPassword": { "type": "string", @@ -513,11 +483,7 @@ "description": "Database server metadata." }, "MigrationDetailsLevel": { - "enum": [ - "Default", - "Summary", - "Full" - ], + "enum": [ "Default", "Summary", "Full" ], "type": "string", "description": "Migration details level.", "x-ms-enum": { @@ -526,10 +492,7 @@ } }, "MigrationListFilter": { - "enum": [ - "Active", - "All" - ], + "enum": [ "Active", "All" ], "type": "string", "description": "Migration list filter.", "x-ms-enum": { @@ -605,21 +568,14 @@ "tier": { "type": "string", "description": "The tier of the particular SKU, e.g. Burstable.", - "enum": [ - "Burstable", - "GeneralPurpose", - "MemoryOptimized" - ], + "enum": [ "Burstable", "GeneralPurpose", "MemoryOptimized" ], "x-ms-enum": { "name": "SkuTier", "modelAsString": true } } }, - "required": [ - "name", - "tier" - ], + "required": [ "name", "tier" ], "description": "Sku information related properties of a server." }, "CloudError": { @@ -668,4 +624,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json index ea5aa77d6e94..d76e83c86a3b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json @@ -214,4 +214,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json index 115581c896f3..9e49c1839710 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json @@ -21,4 +21,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json index ef9ffef71cc4..d3ca5ce8814f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json @@ -78,4 +78,3 @@ "204": {} } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json index 9f82e4615a0c..01d0f8e0f24f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json @@ -14,4 +14,3 @@ "204": {} } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json index 4a4bd56e642b..8db1eba27e4f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json @@ -77,4 +77,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json index b24a94c91495..046a11ada668 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json @@ -13,4 +13,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json index 5bf6ee032388..2ec69c475577 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json @@ -81,4 +81,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json index 122613fcc017..abb26a496839 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json @@ -10,4 +10,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json index 0d87bcced3b5..f5e15a9d604f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json @@ -87,4 +87,3 @@ } } } - diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json index e93a0c233496..bed726b70c0d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json @@ -14,4 +14,3 @@ } } } - From 14d029dc910c9de4e80120c92237d7535fc10bcc Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 13:32:55 -0700 Subject: [PATCH 068/114] npx prettier --write "specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json" --- .../2020-11-05-preview/Migrations.json | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 10d77ec53d9f..8996b12ed5a9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -6,12 +6,12 @@ "version": "2020-11-05-preview" }, "host": "management.azure.com", - "schemes": [ "https" ], - "consumes": [ "application/json" ], - "produces": [ "application/json" ], + "schemes": ["https"], + "consumes": ["application/json"], + "produces": ["application/json"], "security": [ { - "azure_auth": [ "user_impersonation" ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -28,7 +28,7 @@ "paths": { "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { "put": { - "tags": [ "Migrations" ], + "tags": ["Migrations"], "operationId": "Migrations_Create", "x-ms-examples": { "Migrations_Create_MaximumSet_Gen": { @@ -84,7 +84,7 @@ } }, "get": { - "tags": [ "Migrations" ], + "tags": ["Migrations"], "operationId": "Migrations_Get", "x-ms-examples": { "Migrations_Get_MaximumSet_Gen": { @@ -125,7 +125,7 @@ } }, "patch": { - "tags": [ "Migrations" ], + "tags": ["Migrations"], "operationId": "Migrations_Update", "x-ms-examples": { "Migrations_Update_MaximumSet_Gen": { @@ -175,7 +175,7 @@ } }, "delete": { - "tags": [ "Migrations" ], + "tags": ["Migrations"], "operationId": "Migrations_Delete", "x-ms-examples": { "Migrations_Delete_MaximumSet_Gen": { @@ -221,7 +221,7 @@ }, "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { - "tags": [ "Migrations" ], + "tags": ["Migrations"], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { "Migrations_ListByTargetServer_MaximumSet_Gen": { @@ -396,7 +396,7 @@ "description": "Migration resource properties for patch." }, "MigrationResourceGroup": { - "required": [ "resourceId" ], + "required": ["resourceId"], "type": "object", "properties": { "resourceId": { @@ -410,7 +410,7 @@ "description": "Migration resource group." }, "MigrationSecretParameters": { - "required": [ "aadApp", "adminCredentials" ], + "required": ["aadApp", "adminCredentials"], "type": "object", "properties": { "adminCredentials": { @@ -428,7 +428,7 @@ }, "AADApp": { "type": "object", - "required": [ "aadSecret", "clientId", "tenantId" ], + "required": ["aadSecret", "clientId", "tenantId"], "properties": { "aadSecret": { "type": "string", @@ -448,7 +448,7 @@ }, "AdminCredentials": { "type": "object", - "required": [ "sourceServerPassword", "targetServerPassword" ], + "required": ["sourceServerPassword", "targetServerPassword"], "properties": { "sourceServerPassword": { "type": "string", @@ -483,7 +483,7 @@ "description": "Database server metadata." }, "MigrationDetailsLevel": { - "enum": [ "Default", "Summary", "Full" ], + "enum": ["Default", "Summary", "Full"], "type": "string", "description": "Migration details level.", "x-ms-enum": { @@ -492,7 +492,7 @@ } }, "MigrationListFilter": { - "enum": [ "Active", "All" ], + "enum": ["Active", "All"], "type": "string", "description": "Migration list filter.", "x-ms-enum": { @@ -568,14 +568,14 @@ "tier": { "type": "string", "description": "The tier of the particular SKU, e.g. Burstable.", - "enum": [ "Burstable", "GeneralPurpose", "MemoryOptimized" ], + "enum": ["Burstable", "GeneralPurpose", "MemoryOptimized"], "x-ms-enum": { "name": "SkuTier", "modelAsString": true } } }, - "required": [ "name", "tier" ], + "required": ["name", "tier"], "description": "Sku information related properties of a server." }, "CloudError": { From 61c4e3c8810f82be3545dc9cd1e2cb0fe73e5ece Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 6 May 2021 14:10:42 -0700 Subject: [PATCH 069/114] array format --- .../2020-11-05-preview/Migrations.json | 78 +++++++++++++++---- 1 file changed, 61 insertions(+), 17 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 8996b12ed5a9..5a32ded7d799 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -6,12 +6,20 @@ "version": "2020-11-05-preview" }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -28,7 +36,9 @@ "paths": { "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { "put": { - "tags": ["Migrations"], + "tags": [ + "Migrations" + ], "operationId": "Migrations_Create", "x-ms-examples": { "Migrations_Create_MaximumSet_Gen": { @@ -84,7 +94,9 @@ } }, "get": { - "tags": ["Migrations"], + "tags": [ + "Migrations" + ], "operationId": "Migrations_Get", "x-ms-examples": { "Migrations_Get_MaximumSet_Gen": { @@ -125,7 +137,9 @@ } }, "patch": { - "tags": ["Migrations"], + "tags": [ + "Migrations" + ], "operationId": "Migrations_Update", "x-ms-examples": { "Migrations_Update_MaximumSet_Gen": { @@ -175,7 +189,9 @@ } }, "delete": { - "tags": ["Migrations"], + "tags": [ + "Migrations" + ], "operationId": "Migrations_Delete", "x-ms-examples": { "Migrations_Delete_MaximumSet_Gen": { @@ -221,7 +237,9 @@ }, "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { - "tags": ["Migrations"], + "tags": [ + "Migrations" + ], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { "Migrations_ListByTargetServer_MaximumSet_Gen": { @@ -396,7 +414,9 @@ "description": "Migration resource properties for patch." }, "MigrationResourceGroup": { - "required": ["resourceId"], + "required": [ + "resourceId" + ], "type": "object", "properties": { "resourceId": { @@ -410,7 +430,10 @@ "description": "Migration resource group." }, "MigrationSecretParameters": { - "required": ["aadApp", "adminCredentials"], + "required": [ + "aadApp", + "adminCredentials" + ], "type": "object", "properties": { "adminCredentials": { @@ -428,7 +451,11 @@ }, "AADApp": { "type": "object", - "required": ["aadSecret", "clientId", "tenantId"], + "required": [ + "aadSecret", + "clientId", + "tenantId" + ], "properties": { "aadSecret": { "type": "string", @@ -448,7 +475,10 @@ }, "AdminCredentials": { "type": "object", - "required": ["sourceServerPassword", "targetServerPassword"], + "required": [ + "sourceServerPassword", + "targetServerPassword" + ], "properties": { "sourceServerPassword": { "type": "string", @@ -483,7 +513,11 @@ "description": "Database server metadata." }, "MigrationDetailsLevel": { - "enum": ["Default", "Summary", "Full"], + "enum": [ + "Default", + "Summary", + "Full" + ], "type": "string", "description": "Migration details level.", "x-ms-enum": { @@ -492,7 +526,10 @@ } }, "MigrationListFilter": { - "enum": ["Active", "All"], + "enum": [ + "Active", + "All" + ], "type": "string", "description": "Migration list filter.", "x-ms-enum": { @@ -568,14 +605,21 @@ "tier": { "type": "string", "description": "The tier of the particular SKU, e.g. Burstable.", - "enum": ["Burstable", "GeneralPurpose", "MemoryOptimized"], + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], "x-ms-enum": { "name": "SkuTier", "modelAsString": true } } }, - "required": ["name", "tier"], + "required": [ + "name", + "tier" + ], "description": "Sku information related properties of a server." }, "CloudError": { From a49f2b8c7289bba8cd2d71fd29ee4ae455c8355e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Fri, 7 May 2021 16:18:39 -0700 Subject: [PATCH 070/114] update examples --- .../2020-11-05-preview/Migrations.json | 35 +-- .../examples/Migrations_Create.json | 169 ++++++++++++++ .../Migrations_Create_MaximumSet_Gen.json | 216 ------------------ .../Migrations_Create_MinimumSet_Gen.json | 23 -- .../examples/Migrations_Delete.json | 74 ++++++ .../Migrations_Delete_MaximumSet_Gen.json | 80 ------- .../Migrations_Delete_MinimumSet_Gen.json | 16 -- .../examples/Migrations_Get.json | 73 ++++++ .../Migrations_Get_MaximumSet_Gen.json | 79 ------- .../Migrations_Get_MinimumSet_Gen.json | 15 -- .../Migrations_ListByTargetServer.json | 77 +++++++ ...ons_ListByTargetServer_MaximumSet_Gen.json | 83 ------- ...ons_ListByTargetServer_MinimumSet_Gen.json | 12 - .../examples/Migrations_Update.json | 78 +++++++ .../Migrations_Update_MaximumSet_Gen.json | 89 -------- .../Migrations_Update_MinimumSet_Gen.json | 16 -- 16 files changed, 481 insertions(+), 654 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 5a32ded7d799..7b2a5519b19a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -41,11 +41,8 @@ ], "operationId": "Migrations_Create", "x-ms-examples": { - "Migrations_Create_MaximumSet_Gen": { - "$ref": "./examples/Migrations_Create_MaximumSet_Gen.json" - }, - "Migrations_Create_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Create_MinimumSet_Gen.json" + "Migrations_Create": { + "$ref": "./examples/Migrations_Create.json" } }, "description": "Creates a new migration.", @@ -99,11 +96,8 @@ ], "operationId": "Migrations_Get", "x-ms-examples": { - "Migrations_Get_MaximumSet_Gen": { - "$ref": "./examples/Migrations_Get_MaximumSet_Gen.json" - }, - "Migrations_Get_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Get_MinimumSet_Gen.json" + "Migrations_Get": { + "$ref": "./examples/Migrations_Get.json" } }, "description": "Gets details of a migration.", @@ -142,11 +136,8 @@ ], "operationId": "Migrations_Update", "x-ms-examples": { - "Migrations_Update_MaximumSet_Gen": { - "$ref": "./examples/Migrations_Update_MaximumSet_Gen.json" - }, - "Migrations_Update_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Update_MinimumSet_Gen.json" + "Migrations_Update": { + "$ref": "./examples/Migrations_Update.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.", @@ -194,11 +185,8 @@ ], "operationId": "Migrations_Delete", "x-ms-examples": { - "Migrations_Delete_MaximumSet_Gen": { - "$ref": "./examples/Migrations_Delete_MaximumSet_Gen.json" - }, - "Migrations_Delete_MinimumSet_Gen": { - "$ref": "./examples/Migrations_Delete_MinimumSet_Gen.json" + "Migrations_Delete": { + "$ref": "./examples/Migrations_Delete.json" } }, "description": "Deletes a migration.", @@ -242,11 +230,8 @@ ], "operationId": "Migrations_ListByTargetServer", "x-ms-examples": { - "Migrations_ListByTargetServer_MaximumSet_Gen": { - "$ref": "./examples/Migrations_ListByTargetServer_MaximumSet_Gen.json" - }, - "Migrations_ListByTargetServer_MinimumSet_Gen": { - "$ref": "./examples/Migrations_ListByTargetServer_MinimumSet_Gen.json" + "Migrations_ListByTargetServer": { + "$ref": "./examples/Migrations_ListByTargetServer.json" } }, "description": "List all the migrations on a given target server.", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json new file mode 100644 index 000000000000..bdcad8361ccf --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json @@ -0,0 +1,169 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "parameters": { + "properties": { + "migrationId": "aaaaa", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "testsourcepassword", + "targetServerPassword": "testtargetpassword" + }, + "aadApp": { + "aadSecret": "testaadsecret", + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + } + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + }, + "201": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json deleted file mode 100644 index d76e83c86a3b..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MaximumSet_Gen.json +++ /dev/null @@ -1,216 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa", - "parameters": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": { - "sourceServerPassword": "testsourcepassword", - "targetServerPassword": "testtargetpassword" - }, - "aadApp": { - "aadSecret": "testaadsecret", - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - }, - "201": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json deleted file mode 100644 index 9e49c1839710..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create_MinimumSet_Gen.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa", - "parameters": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - }, - "201": { - "body": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json new file mode 100644 index 000000000000..01475f81a029 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + }, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json deleted file mode 100644 index d3ca5ce8814f..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - }, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json deleted file mode 100644 index 01d0f8e0f24f..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa" - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - }, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json new file mode 100644 index 000000000000..186c846a6a89 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json deleted file mode 100644 index 8db1eba27e4f..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json deleted file mode 100644 index 046a11ada668..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa" - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json new file mode 100644 index 000000000000..410f445df164 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationListFilter": "All" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json deleted file mode 100644 index 2ec69c475577..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MaximumSet_Gen.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationListFilter": "aaaaaaaaaaaaaaaaaaaa" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json deleted file mode 100644 index abb26a496839..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json new file mode 100644 index 000000000000..009d5e81c1b2 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "parameters": { + "properties": { + "setupLogicalReplicationOnSourceDBIfNeeded": true + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false, + "cancel": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json deleted file mode 100644 index f5e15a9d604f..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa", - "parameters": { - "properties": { - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:06:00.885Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "aaaaaaaaaaaaaaaaaaaaaa", - "currentSubStateDetails": { - "currentSubState": "PerformingPreRequisiteSteps" - } - }, - "sourceDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "targetDBServerMetadata": { - "location": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "version": "aaaa", - "storageMB": 5, - "sku": { - "name": "aaaaaaaaaaaa", - "tier": "Burstable" - } - }, - "sourceDBServerResourceId": "aaa", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "aaaaaaaaa", - "tenantId": "aaaaaaaaaaaaaaaaa" - } - }, - "targetDBServerResourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerSubnetResourceId": "aaaaaaaaaaa", - "dBsToMigrate": [ - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa", - "aaaa" - ], - "migrationResourceGroup": { - "resourceId": "aaaaaaaaaaaaaaa", - "location": "aaaaaaaaaaaaaaaaaaaaa" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": true, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": true, - "triggerCutover": true, - "cancel": true - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "aaaaaaaaaaaaaaaaaaa", - "id": "aaaa", - "name": "aa", - "type": "a" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json deleted file mode 100644 index bed726b70c0d..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "aaaaaaaaaaaaa", - "targetDBServerResourceGroupName": "aaaaaaaaaaaaaaaaaaaaaa", - "targetDBServerName": "aaaaaaaaaaa", - "migrationId": "aaaaaa", - "parameters": {} - }, - "responses": { - "200": { - "body": { - "location": "aaaaaaaaaaaaaaaaaaa" - } - } - } -} From 4fc0e0564e149b17ae44829cd7f669b9c33f82e5 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 01:56:15 -0700 Subject: [PATCH 071/114] partial resolve --- .../preview/2020-11-05-preview/Migrations.json | 16 ++++++++++------ .../examples/Migrations_Create.json | 3 +-- .../examples/Migrations_Delete.json | 3 +-- .../examples/Migrations_Get.json | 3 +-- .../examples/Migrations_ListByTargetServer.json | 3 +-- .../examples/Migrations_Update.json | 3 +-- 6 files changed, 15 insertions(+), 16 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 7b2a5519b19a..b96ff68ba4d8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -265,6 +265,9 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } @@ -342,9 +345,6 @@ }, "triggerCutover": { "type": "boolean" - }, - "cancel": { - "type": "boolean" } }, "description": "Migration resource properties." @@ -369,6 +369,13 @@ "$ref": "#/definitions/MigrationResourcePropertiesForPatch", "description": "Migration resource properties.", "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." } }, "description": "Represents a migration resource for patch." @@ -391,9 +398,6 @@ }, "triggerCutover": { "type": "boolean" - }, - "cancel": { - "type": "boolean" } }, "description": "Migration resource properties for patch." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json index bdcad8361ccf..f9a1914ddeff 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json @@ -90,8 +90,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "tags": { "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json index 01475f81a029..3e794a3e2072 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json @@ -60,8 +60,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json index 186c846a6a89..913b7e2db2e2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json @@ -60,8 +60,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json index 410f445df164..8152eb969783 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json @@ -62,8 +62,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json index 009d5e81c1b2..655bcd556e15 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json @@ -65,8 +65,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", From 53e79cffd45e8f19a31f652c54ac22f83d171d9c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 11:47:13 -0700 Subject: [PATCH 072/114] partial resolve --- .../preview/2020-11-05-preview/Migrations.json | 15 +++++++++++---- .../examples/Migrations_Create.json | 3 +-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index b96ff68ba4d8..04e49aacbc78 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -246,10 +246,13 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "migrationListFilter", - "in": "query", + "name": "parameters", + "in": "body", "required": false, - "type": "string" + "schema": { + "$ref": "#/definitions/MigrationListFilter" + }, + "description": "The parameter to filter the list of migrations returned." } ], "responses": { @@ -358,6 +361,10 @@ "$ref": "#/definitions/MigrationResource" }, "description": "The list of migration resources" + }, + "nextLink": { + "description": "The link used to get the next page of migrations.", + "type": "string" } }, "description": "A list of migration resources." @@ -520,7 +527,7 @@ "All" ], "type": "string", - "description": "Migration list filter.", + "description": "Migration list filter. Retrieves either active migrations or all migrations.", "x-ms-enum": { "name": "MigrationListFilter", "modelAsString": true diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json index f9a1914ddeff..be4ffcf5ca5e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json @@ -155,8 +155,7 @@ "overwriteDBsInTarget": false, "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", "startDataMigration": false, - "triggerCutover": false, - "cancel": false + "triggerCutover": false }, "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", From 129eab557aaa2b651d7ece1a05f9d77d594ab76b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 13:08:56 -0700 Subject: [PATCH 073/114] readonly and x-ms-mutability --- .../2020-11-05-preview/Migrations.json | 56 ++++++++++++++----- .../examples/Migrations_Create.json | 1 - 2 files changed, 41 insertions(+), 16 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json index 04e49aacbc78..e0aed325f7ca 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json @@ -297,19 +297,27 @@ "properties": { "migrationId": { "format": "uuid", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] }, "migrationDetailsLevel": { - "$ref": "#/definitions/MigrationDetailsLevel" + "$ref": "#/definitions/MigrationDetailsLevel", + "readOnly": true }, "currentStatus": { - "$ref": "#/definitions/MigrationStatus" + "$ref": "#/definitions/MigrationStatus", + "readOnly": true }, "sourceDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" + "$ref": "#/definitions/DBServerMetadata", + "readOnly": true }, "targetDBServerMetadata": { - "$ref": "#/definitions/DBServerMetadata" + "$ref": "#/definitions/DBServerMetadata", + "readOnly": true }, "sourceDBServerResourceId": { "type": "string" @@ -318,7 +326,8 @@ "$ref": "#/definitions/MigrationSecretParameters" }, "targetDBServerResourceId": { - "type": "string" + "type": "string", + "readOnly": true }, "targetDBServerSubnetResourceId": { "type": "string" @@ -360,11 +369,12 @@ "items": { "$ref": "#/definitions/MigrationResource" }, - "description": "The list of migration resources" + "readOnly": true }, "nextLink": { "description": "The link used to get the next page of migrations.", - "type": "string" + "type": "string", + "readOnly": true } }, "description": "A list of migration resources." @@ -456,7 +466,11 @@ "aadSecret": { "type": "string", "x-ms-secret": true, - "x-ms-external": true + "x-ms-external": true, + "x-ms-mutability": [ + "create", + "update" + ] }, "clientId": { "type": "string", @@ -479,12 +493,20 @@ "sourceServerPassword": { "type": "string", "x-ms-secret": true, - "x-ms-external": true + "x-ms-external": true, + "x-ms-mutability": [ + "create", + "update" + ] }, "targetServerPassword": { "type": "string", "x-ms-secret": true, - "x-ms-external": true + "x-ms-external": true, + "x-ms-mutability": [ + "create", + "update" + ] } }, "description": "Server admin credentials." @@ -552,13 +574,16 @@ "type": "object", "properties": { "state": { - "$ref": "#/definitions/MigrationState" + "$ref": "#/definitions/MigrationState", + "readOnly": true }, "error": { - "type": "string" + "type": "string", + "readOnly": true }, "currentSubStateDetails": { - "$ref": "#/definitions/MigrationSubStateDetails" + "$ref": "#/definitions/MigrationSubStateDetails", + "readOnly": true } }, "description": "Migration status." @@ -587,7 +612,8 @@ "type": "object", "properties": { "currentSubState": { - "$ref": "#/definitions/MigrationSubState" + "$ref": "#/definitions/MigrationSubState", + "readOnly": true } }, "description": "Migration sub state details." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json index be4ffcf5ca5e..ed40997401a3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json @@ -19,7 +19,6 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", From 693f494b40871263bc0502183a341ebe437051e3 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 16:26:32 -0700 Subject: [PATCH 074/114] add new version json files --- .../Migrations.json | 0 .../examples/Migrations_Create.json | 166 ++++++++++++++++++ .../examples/Migrations_Delete.json | 73 ++++++++ .../examples/Migrations_Get.json | 72 ++++++++ .../Migrations_ListByTargetServer.json | 76 ++++++++ .../examples/Migrations_Update.json | 77 ++++++++ 6 files changed, 464 insertions(+) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2020-11-05-preview => 2021-05-31-privatepreview}/Migrations.json (100%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json new file mode 100644 index 000000000000..ed40997401a3 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -0,0 +1,166 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "parameters": { + "properties": { + "migrationId": "aaaaa", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "testsourcepassword", + "targetServerPassword": "testtargetpassword" + }, + "aadApp": { + "aadSecret": "testaadsecret", + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + } + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + }, + "201": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json new file mode 100644 index 000000000000..3e794a3e2072 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + }, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json new file mode 100644 index 000000000000..913b7e2db2e2 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json new file mode 100644 index 000000000000..8152eb969783 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationListFilter": "All" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": false, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json new file mode 100644 index 000000000000..655bcd556e15 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "parameters": { + "properties": { + "setupLogicalReplicationOnSourceDBIfNeeded": true + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "migrationId": "aaaaa", + "migrationDetailsLevel": "Default", + "currentStatus": { + "state": "InProgress", + "error": "", + "currentSubStateDetails": { + "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", + "secretParameters": { + "adminCredentials": {}, + "aadApp": { + "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", + "dBsToMigrate": [ + "db1", + "db2", + "db3", + "db4" + ], + "migrationResourceGroup": { + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "location": "westus" + }, + "setupLogicalReplicationOnSourceDBIfNeeded": true, + "overwriteDBsInTarget": false, + "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", + "startDataMigration": false, + "triggerCutover": false + }, + "location": "westus", + "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} From 6da88a52b42d3a27e9010a140d759458650ab597 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 16:40:23 -0700 Subject: [PATCH 075/114] Update readme.md --- specification/postgresql/resource-manager/readme.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 3c582f2def21..cfc4d3b8897c 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -30,7 +30,15 @@ description: The Microsoft Azure management API provides create, read, update, a openapi-type: arm tag: package-2020-01-01 ``` -### Tag: package-2020-11-05-preview +### Tag: package-2021-05-31-preview + +These settings apply only when `--tag=package-2021-05-31-privatepreview` is specified on the command line. + + +``` yaml $(tag) == 'package-2021-05-31-privatepreview' +input-file: +- Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +``` These settings apply only when `--tag=package-2020-11-05-preview` is specified on the command line. @@ -39,7 +47,6 @@ These settings apply only when `--tag=package-2020-11-05-preview` is specified o input-file: - Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json -- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Migrations.json ``` From af626a9bb62d95e614c72c00f796d1212acb7fd1 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 16:53:39 -0700 Subject: [PATCH 076/114] update --- .../examples/Migrations_Create.json | 166 ------------------ .../examples/Migrations_Delete.json | 73 -------- .../examples/Migrations_Get.json | 72 -------- .../Migrations_ListByTargetServer.json | 76 -------- .../examples/Migrations_Update.json | 77 -------- .../2021-05-31-privatepreview/Migrations.json | 24 ++- .../examples/Migrations_Create.json | 11 +- .../examples/Migrations_Delete.json | 8 +- .../examples/Migrations_Get.json | 8 +- .../Migrations_ListByTargetServer.json | 6 +- .../examples/Migrations_Update.json | 8 +- 11 files changed, 30 insertions(+), 499 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json deleted file mode 100644 index ed40997401a3..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Create.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "parameters": { - "properties": { - "migrationId": "aaaaa", - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", - "secretParameters": { - "adminCredentials": { - "sourceServerPassword": "testsourcepassword", - "targetServerPassword": "testtargetpassword" - }, - "aadApp": { - "aadSecret": "testaadsecret", - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - } - }, - "location": "westus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": false, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "tags": { - "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - }, - "201": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": false, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json deleted file mode 100644 index 3e794a3e2072..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Delete.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": false, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - }, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json deleted file mode 100644 index 913b7e2db2e2..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Get.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": false, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json deleted file mode 100644 index 8152eb969783..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_ListByTargetServer.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "testtarget", - "migrationListFilter": "All" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": false, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json deleted file mode 100644 index 655bcd556e15..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/examples/Migrations_Update.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "targetDBServerResourceGroupName": "testrg", - "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "parameters": { - "properties": { - "setupLogicalReplicationOnSourceDBIfNeeded": true - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "migrationId": "aaaaa", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "setupLogicalReplicationOnSourceDBIfNeeded": true, - "overwriteDBsInTarget": false, - "migrationWindowStartTimeInUtc": "2021-05-06T16:05:58.895Z", - "startDataMigration": false, - "triggerCutover": false - }, - "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index e0aed325f7ca..03f022cb2a30 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLServerManagementClient", "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.", - "version": "2020-11-05-preview" + "version": "2021-05-31-privatepreview" }, "host": "management.azure.com", "schemes": [ @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationId}": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { "put": { "tags": [ "Migrations" @@ -57,7 +57,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/MigrationIdParameter" + "$ref": "#/parameters/migrationNameParameter" }, { "name": "parameters", @@ -112,7 +112,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/MigrationIdParameter" + "$ref": "#/parameters/migrationNameParameter" } ], "responses": { @@ -152,7 +152,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/MigrationIdParameter" + "$ref": "#/parameters/migrationNameParameter" }, { "name": "parameters", @@ -201,7 +201,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/MigrationIdParameter" + "$ref": "#/parameters/migrationNameParameter" } ], "responses": { @@ -296,12 +296,9 @@ "type": "object", "properties": { "migrationId": { - "format": "uuid", "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] + "format": "uuid", + "readOnly": true }, "migrationDetailsLevel": { "$ref": "#/definitions/MigrationDetailsLevel", @@ -679,12 +676,11 @@ "description": "The name of the target database server.", "x-ms-parameter-location": "method" }, - "MigrationIdParameter": { - "name": "migrationId", + "migrationNameParameter": { + "name": "migrationName", "in": "path", "required": true, "type": "string", - "format": "uuid", "description": "The name of the migration.", "x-ms-parameter-location": "method" } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json index ed40997401a3..747680e7efa0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -3,10 +3,9 @@ "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration", "parameters": { "properties": { - "migrationId": "aaaaa", "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", "secretParameters": { "adminCredentials": { @@ -38,7 +37,7 @@ "200": { "body": { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -103,7 +102,7 @@ "201": { "body": { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -157,8 +156,8 @@ "triggerCutover": false }, "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "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/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json index 3e794a3e2072..7e22c0290a86 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json @@ -3,13 +3,13 @@ "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + "migrationName": "testmigration" }, "responses": { "200": { "body": { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -63,8 +63,8 @@ "triggerCutover": false }, "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "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/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json index 913b7e2db2e2..e8cec06ed831 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -3,13 +3,13 @@ "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm" + "migrationName": "testmigration" }, "responses": { "200": { "body": { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -63,8 +63,8 @@ "triggerCutover": false }, "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "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/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json index 8152eb969783..45fb49b8cc7a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -11,7 +11,7 @@ "value": [ { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -65,8 +65,8 @@ "triggerCutover": false }, "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "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/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json index 655bcd556e15..d1d45f24d129 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -3,7 +3,7 @@ "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration", "parameters": { "properties": { "setupLogicalReplicationOnSourceDBIfNeeded": true @@ -14,7 +14,7 @@ "200": { "body": { "properties": { - "migrationId": "aaaaa", + "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", @@ -68,8 +68,8 @@ "triggerCutover": false }, "location": "westus", - "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "name": "testmigration", "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" } } From 99efac7037f65f7382ec001fa6b8645425b57677 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 17:10:32 -0700 Subject: [PATCH 077/114] v2 --- .../preview/2021-05-31-privatepreview/Migrations.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 03f022cb2a30..decf5d061355 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -283,11 +283,15 @@ "$ref": "#/definitions/MigrationResourceProperties", "description": "Migration resource properties.", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "description": "Represents a migration resource." @@ -645,7 +649,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "description": "An error response from the Batch service." From cb8516e19462ef141056aad6e2fb1de6591de366 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 17:30:07 -0700 Subject: [PATCH 078/114] Update Migrations.json --- .../preview/2021-05-31-privatepreview/Migrations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index decf5d061355..e5de8791159f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -649,7 +649,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from the Batch service." From 2774b69f2eaabe131178fbc6ad5e177482252ce6 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 22:33:02 -0700 Subject: [PATCH 079/114] api version and operations --- .../2021-05-31-privatepreview/Migrations.json | 20 +++++++++++++++++-- .../examples/Migrations_Create.json | 17 ++++++++-------- .../examples/Migrations_Delete.json | 9 +++++---- .../examples/Migrations_Get.json | 9 +++++---- .../Migrations_ListByTargetServer.json | 9 +++++---- .../examples/Migrations_Update.json | 9 +++++---- .../postgresql/resource-manager/readme.md | 4 ++-- 7 files changed, 49 insertions(+), 28 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index e5de8791159f..786f0ca61098 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { "put": { "tags": [ "Migrations" @@ -47,6 +47,9 @@ }, "description": "Creates a new migration.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, @@ -102,6 +105,9 @@ }, "description": "Gets details of a migration.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, @@ -142,6 +148,9 @@ }, "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.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, @@ -191,6 +200,9 @@ }, "description": "Deletes a migration.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, @@ -223,7 +235,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/migrations": { "get": { "tags": [ "Migrations" @@ -236,6 +248,9 @@ }, "description": "List all the migrations on a given target server.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" }, @@ -690,3 +705,4 @@ } } } + diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json index 747680e7efa0..caaafa48debc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -1,12 +1,13 @@ { "parameters": { + "api-version": "2021-05-31-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", "migrationName": "testmigration", "parameters": { "properties": { - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": { "sourceServerPassword": "testsourcepassword", @@ -64,7 +65,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -72,7 +73,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -96,7 +97,7 @@ "location": "westus", "id": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", "name": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } }, "201": { @@ -129,7 +130,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -137,7 +138,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -156,9 +157,9 @@ "triggerCutover": false }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", "name": "testmigration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json index 7e22c0290a86..c7c29c744079 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json @@ -1,5 +1,6 @@ { "parameters": { + "api-version": "2021-05-31-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -36,7 +37,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -44,7 +45,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -63,9 +64,9 @@ "triggerCutover": false }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", "name": "testmigration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } }, "204": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json index e8cec06ed831..74b0752efc3e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -1,5 +1,6 @@ { "parameters": { + "api-version": "2021-05-31-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -36,7 +37,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -44,7 +45,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -63,9 +64,9 @@ "triggerCutover": false }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", "name": "testmigration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json index 45fb49b8cc7a..088016f67420 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -1,5 +1,6 @@ { "parameters": { + "api-version": "2021-05-31-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -38,7 +39,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -46,7 +47,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -65,9 +66,9 @@ "triggerCutover": false }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", "name": "testmigration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json index d1d45f24d129..d879499aa599 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -1,5 +1,6 @@ { "parameters": { + "api-version": "2021-05-31-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -41,7 +42,7 @@ "name": "Standard_D4s_v3" } }, - "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testsource", + "sourceDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource", "secretParameters": { "adminCredentials": {}, "aadApp": { @@ -49,7 +50,7 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget", + "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", @@ -68,9 +69,9 @@ "triggerCutover": false }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testtarget/migrations/testmigration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget/migrations/testmigration", "name": "testmigration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations" } } } diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 82b4d7b1d7f1..f8593e608eab 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -30,14 +30,14 @@ description: The Microsoft Azure management API provides create, read, update, a openapi-type: arm tag: package-2020-01-01 ``` -### Tag: package-2021-05-31-preview +### Tag: package-2021-05-31-privatepreview These settings apply only when `--tag=package-2021-05-31-privatepreview` is specified on the command line. - ``` yaml $(tag) == 'package-2021-05-31-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +- Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json ``` ### Tag: package-2021-04-10-privatepreview From 22f75598c181ca9ee9eba91420e9d6ce89076ec7 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 12 May 2021 23:52:55 -0700 Subject: [PATCH 080/114] Update Migrations.json --- .../preview/2021-05-31-privatepreview/Migrations.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 786f0ca61098..84477e36aa2a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -704,5 +704,4 @@ "x-ms-parameter-location": "method" } } -} - +} From f5ba29c3f1ef3bf8092ddf4084a9d9a40ae5bc4c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 13 May 2021 00:05:12 -0700 Subject: [PATCH 081/114] pretty --- .../preview/2021-05-31-privatepreview/Migrations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 84477e36aa2a..91a894ec92b5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -704,4 +704,4 @@ "x-ms-parameter-location": "method" } } -} +} From a655ff7481d17e16e46709500bf9ad0783c72485 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 13 May 2021 13:41:26 -0700 Subject: [PATCH 082/114] properties for patch --- .../2021-05-31-privatepreview/Migrations.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 91a894ec92b5..421c7877957c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -416,6 +416,25 @@ "MigrationResourcePropertiesForPatch": { "type": "object", "properties": { + "sourceDBServerResourceId": { + "type": "string" + }, + "secretParameters": { + "$ref": "#/definitions/MigrationSecretParameters" + }, + "targetDBServerSubnetResourceId": { + "type": "string" + }, + "dBsToMigrate": { + "maxItems": 8, + "type": "array", + "items": { + "type": "string" + } + }, + "migrationResourceGroup": { + "$ref": "#/definitions/MigrationResourceGroup" + }, "setupLogicalReplicationOnSourceDBIfNeeded": { "type": "boolean" }, From 69d51973d8caef1eb4c6e537bf88fbbca3735f31 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 13 May 2021 16:41:33 -0700 Subject: [PATCH 083/114] nameavialability --- .../2021-05-31-privatepreview/Migrations.json | 141 ++++++++++++++---- .../Migrations_CheckNameAvailability.json | 22 +++ .../examples/Migrations_Delete.json | 63 +------- 3 files changed, 136 insertions(+), 90 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 421c7877957c..caff6bd6fa34 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -60,7 +60,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/migrationNameParameter" + "$ref": "#/parameters/MigrationNameParameter" }, { "name": "parameters", @@ -118,7 +118,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/migrationNameParameter" + "$ref": "#/parameters/MigrationNameParameter" } ], "responses": { @@ -161,7 +161,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/migrationNameParameter" + "$ref": "#/parameters/MigrationNameParameter" }, { "name": "parameters", @@ -213,15 +213,12 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "$ref": "#/parameters/migrationNameParameter" + "$ref": "#/parameters/MigrationNameParameter" } ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MigrationResource" - } + "description": "OK" }, "204": { "description": "NoContent" @@ -261,13 +258,7 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/MigrationListFilter" - }, - "description": "The parameter to filter the list of migrations returned." + "$ref": "#/parameters/MigrationListFilter" } ], "responses": { @@ -288,6 +279,59 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/checkNameAvailability": { + "post": { + "summary": "Check migration name validity and availability", + "description": "This method checks whether a proposed migration name is valid and available.", + "tags": [ + "Custom operation", + "POST" + ], + "operationId": "Migrations_CheckNameAvailability", + "x-ms-examples": { + "Migrations_CheckNameAvailability": { + "$ref": "./examples/Migrations_CheckNameAvailability.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDBServerNameParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityRequest" + }, + "description": "The required parameters for checking if resource name is available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } } }, "definitions": { @@ -578,18 +622,6 @@ "modelAsString": true } }, - "MigrationListFilter": { - "enum": [ - "Active", - "All" - ], - "type": "string", - "description": "Migration list filter. Retrieves either active migrations or all migrations.", - "x-ms-enum": { - "name": "MigrationListFilter", - "modelAsString": true - } - }, "MigrationState": { "enum": [ "InProgress", @@ -679,6 +711,43 @@ ], "description": "Sku information related properties of a server." }, + "CheckNameAvailabilityRequest": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "type": "string", + "description": "Resource type used for verification." + } + }, + "description": "Request to check a resource name's availability." + }, + "CheckNameAvailabilityResponse": { + "properties": { + "message": { + "type": "string", + "description": "Error Message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "name": { + "type": "string", + "description": "The resource name to verify." + }, + "type": { + "type": "string", + "description": "The type of the resource." + } + }, + "description": "Represents a resource name's availability." + }, "CloudError": { "x-ms-external": true, "properties": { @@ -714,13 +783,29 @@ "description": "The name of the target database server.", "x-ms-parameter-location": "method" }, - "migrationNameParameter": { + "MigrationNameParameter": { "name": "migrationName", "in": "path", "required": true, "type": "string", "description": "The name of the migration.", "x-ms-parameter-location": "method" + }, + "MigrationListFilter": { + "name": "migrationListFilter", + "in": "query", + "required": false, + "enum": [ + "Active", + "All" + ], + "type": "string", + "description": "Migration list filter. Retrieves either active migrations or all migrations.", + "x-ms-enum": { + "name": "MigrationListFilter", + "modelAsString": true + }, + "x-ms-parameter-location": "method" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json new file mode 100644 index 000000000000..5e490a6d4320 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2021-05-31-privatepreview", + "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "targetDBServerResourceGroupName": "testrg", + "targetDBServerName": "testtarget", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "", + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json index c7c29c744079..372b1a0bd165 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json @@ -7,68 +7,7 @@ "migrationName": "testmigration" }, "responses": { - "200": { - "body": { - "properties": { - "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationDetailsLevel": "Default", - "currentStatus": { - "state": "InProgress", - "error": "", - "currentSubStateDetails": { - "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", - "secretParameters": { - "adminCredentials": {}, - "aadApp": { - "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc", - "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" - } - }, - "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", - "dBsToMigrate": [ - "db1", - "db2", - "db3", - "db4" - ], - "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" - }, - "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" - } - }, + "200": {}, "204": {} } } From 384bc8b27405b9938242163eb5079deea5f042f7 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 18 May 2021 14:00:22 -0700 Subject: [PATCH 084/114] migration name availability --- .../2021-05-31-privatepreview/Migrations.json | 63 ++++++++++--------- ...on => CheckMigrationNameAvailability.json} | 9 +-- 2 files changed, 40 insertions(+), 32 deletions(-) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/{Migrations_CheckNameAvailability.json => CheckMigrationNameAvailability.json} (83%) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index caff6bd6fa34..0a9db67bf929 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/checkNameAvailability": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": { "post": { "summary": "Check migration name validity and availability", "description": "This method checks whether a proposed migration name is valid and available.", @@ -288,10 +288,10 @@ "Custom operation", "POST" ], - "operationId": "Migrations_CheckNameAvailability", + "operationId": "CheckMigrationNameAvailability", "x-ms-examples": { - "Migrations_CheckNameAvailability": { - "$ref": "./examples/Migrations_CheckNameAvailability.json" + "CheckMigrationNameAvailability": { + "$ref": "./examples/CheckMigrationNameAvailability.json" } }, "parameters": [ @@ -308,20 +308,20 @@ "$ref": "#/parameters/TargetDBServerNameParameter" }, { - "name": "nameAvailabilityRequest", + "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/CheckNameAvailabilityRequest" + "$ref": "#/definitions/MigrationNameAvailabilityResource" }, - "description": "The required parameters for checking if resource name is available." + "description": "The required parameters for checking if a migration name is available." } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResponse" + "$ref": "#/definitions/MigrationNameAvailabilityResource" } }, "default": { @@ -711,42 +711,49 @@ ], "description": "Sku information related properties of a server." }, - "CheckNameAvailabilityRequest": { + "MigrationNameAvailabilityReason": { + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "description": "Migration name availability reason.", + "x-ms-enum": { + "name": "MigrationNameAvailabilityReason", + "modelAsString": true + } + }, + "MigrationNameAvailabilityResource": { "required": [ - "name" + "name", + "type" ], "properties": { "name": { "type": "string", - "description": "Resource name to verify." + "description": "The resource name to verify." }, "type": { "type": "string", - "description": "Resource type used for verification." - } - }, - "description": "Request to check a resource name's availability." - }, - "CheckNameAvailabilityResponse": { - "properties": { - "message": { - "type": "string", - "description": "Error Message." + "description": "The type of the resource." }, "nameAvailable": { "type": "boolean", - "description": "Indicates whether the resource name is available." + "description": "Indicates whether the resource name is available.", + "readOnly": true }, - "name": { - "type": "string", - "description": "The resource name to verify." + "migrationNameAvailabilityReason": { + "$ref": "#/definitions/MigrationNameAvailabilityReason", + "description": "Migration name availability reason", + "readOnly": true }, - "type": { + "message": { "type": "string", - "description": "The type of the resource." + "description": "Migration name availability message.", + "readOnly": true } }, - "description": "Represents a resource name's availability." + "description": "Represents a migration name's availability." }, "CloudError": { "x-ms-external": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json similarity index 83% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json index 5e490a6d4320..99fb19f4f475 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_CheckNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json @@ -4,7 +4,7 @@ "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", - "nameAvailabilityRequest": { + "parameters": { "name": "name1", "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" } @@ -12,10 +12,11 @@ "responses": { "200": { "body": { - "nameAvailable": true, - "message": "", "name": "name1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "nameAvailable": true, + "migrationNameAvailabilityReason": null, + "message": null } } } From bf2f8ba9fc86096700b12c3eecd9c6e5c4c96ec3 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 18 May 2021 14:35:23 -0700 Subject: [PATCH 085/114] reason --- .../preview/2021-05-31-privatepreview/Migrations.json | 2 +- .../examples/CheckMigrationNameAvailability.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 0a9db67bf929..f7073d9075fc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -742,7 +742,7 @@ "description": "Indicates whether the resource name is available.", "readOnly": true }, - "migrationNameAvailabilityReason": { + "reason": { "$ref": "#/definitions/MigrationNameAvailabilityReason", "description": "Migration name availability reason", "readOnly": true diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json index 99fb19f4f475..81a5a6bf4251 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json @@ -15,7 +15,7 @@ "name": "name1", "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", "nameAvailable": true, - "migrationNameAvailabilityReason": null, + "reason": null, "message": null } } From 9a0fb96dcc72cd15b37fd31e8062a255874e8a3f Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 14 Jun 2021 14:02:52 -0700 Subject: [PATCH 086/114] add migration name --- .../preview/2021-05-31-privatepreview/Migrations.json | 4 ++++ .../2021-05-31-privatepreview/examples/Migrations_Create.json | 1 + .../2021-05-31-privatepreview/examples/Migrations_Get.json | 1 + .../examples/Migrations_ListByTargetServer.json | 1 + .../2021-05-31-privatepreview/examples/Migrations_Update.json | 1 + 5 files changed, 8 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index f7073d9075fc..424509d66be7 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -363,6 +363,10 @@ "format": "uuid", "readOnly": true }, + "migrationName": { + "type": "string", + "readOnly": true + }, "migrationDetailsLevel": { "$ref": "#/definitions/MigrationDetailsLevel", "readOnly": true diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json index caaafa48debc..2059c7d64a67 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -39,6 +39,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration" "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json index 74b0752efc3e..327d4a713e77 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -11,6 +11,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration" "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json index 088016f67420..936630f1bb31 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -13,6 +13,7 @@ { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration" "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json index d879499aa599..4521cac7e347 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -16,6 +16,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", + "migrationName": "testmigration" "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", From d220b39e5f21ca2ccac04085f5de3dbb0550ed6e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 14 Jun 2021 14:17:21 -0700 Subject: [PATCH 087/114] , --- .../2021-05-31-privatepreview/examples/Migrations_Create.json | 2 +- .../2021-05-31-privatepreview/examples/Migrations_Get.json | 2 +- .../examples/Migrations_ListByTargetServer.json | 2 +- .../2021-05-31-privatepreview/examples/Migrations_Update.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json index 2059c7d64a67..ff26e7d49945 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -39,7 +39,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration" + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json index 327d4a713e77..e2a2ab1a2b83 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -11,7 +11,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration" + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json index 936630f1bb31..ce00287c9e50 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -13,7 +13,7 @@ { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration" + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json index 4521cac7e347..3785b5d374b1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -16,7 +16,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration" + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", From e117fe1b3b13505b17b046f9651771b089ca86dd Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 13:11:10 -0700 Subject: [PATCH 088/114] merge --- specification/postgresql/resource-manager/readme.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index bb492822e234..08995435899d 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -31,6 +31,7 @@ openapi-type: arm tag: package-2020-01-01 ``` + ### Tag: package-2021-06-01 These settings apply only when `--tag=package-2021-06-01` is specified on the command line. @@ -52,6 +53,7 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json - Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json ``` + ### Tag: package-2021-05-31-privatepreview These settings apply only when `--tag=package-2021-05-31-privatepreview` is specified on the command line. @@ -60,6 +62,7 @@ These settings apply only when `--tag=package-2021-05-31-privatepreview` is spec input-file: - Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json - Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json +``` ### Tag: package-2021-04-10-privatepreview @@ -246,10 +249,6 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - ## Multi-API/Profile support for AutoRest v3 generators @@ -269,8 +268,6 @@ input-file: - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json - - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json - - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/ServerSecurityAlertPolicies.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/PrivateEndpointConnections.json @@ -278,9 +275,6 @@ input-file: - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/QueryPerformanceInsights.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/PerformanceRecommendations.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2020-01-01/DataEncryptionKeys.json - - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json - - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/Databases.json - - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/PrivateDnsZone.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json From a903913aa92697fee65e269fdf00be01bf1f32e8 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 13:33:05 -0700 Subject: [PATCH 089/114] update --- specification/postgresql/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 08995435899d..d5429bf67134 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -61,7 +61,6 @@ These settings apply only when `--tag=package-2021-05-31-privatepreview` is spec ``` yaml $(tag) == 'package-2021-05-31-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json ``` ### Tag: package-2021-04-10-privatepreview From 33e81364d306c45576c924a80431ea8931bad52a Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 14:06:47 -0700 Subject: [PATCH 090/114] merge --- .../preview/2021-05-31-privatepreview/Migrations.json | 3 ++- .../examples/CheckMigrationNameAvailability.json | 2 +- .../examples/Migrations_Create.json | 2 +- .../examples/Migrations_Delete.json | 2 +- .../examples/Migrations_Get.json | 2 +- .../examples/Migrations_ListByTargetServer.json | 4 ++-- .../examples/Migrations_Update.json | 4 ++-- specification/postgresql/resource-manager/readme.md | 9 +++++---- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json index 424509d66be7..c510de0fb9bd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLServerManagementClient", "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.", - "version": "2021-05-31-privatepreview" + "version": "2021-06-01-privatepreview" }, "host": "management.azure.com", "schemes": [ @@ -732,6 +732,7 @@ "name", "type" ], + "type": "object", "properties": { "name": { "type": "string", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json index 81a5a6bf4251..27747868c58d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json index ff26e7d49945..1fd38c46701c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json index 372b1a0bd165..b42483e87688 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json index e2a2ab1a2b83..dac5fb727d59 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json index ce00287c9e50..cf63c8766ceb 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -13,7 +13,7 @@ { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration", + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json index 3785b5d374b1..0b84886895db 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-05-31-privatepreview", + "api-version": "2021-06-01-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", @@ -16,7 +16,7 @@ "body": { "properties": { "migrationId": "mmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmm", - "migrationName": "testmigration", + "migrationName": "testmigration", "migrationDetailsLevel": "Default", "currentStatus": { "state": "InProgress", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index d5429bf67134..fc5c8878bd65 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -54,13 +54,14 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json ``` -### Tag: package-2021-05-31-privatepreview +### Tag: package-2021-06-01-privatepreview -These settings apply only when `--tag=package-2021-05-31-privatepreview` is specified on the command line. +These settings apply only when `--tag=package-2021-06-01-privatepreview` is specified on the command line. -``` yaml $(tag) == 'package-2021-05-31-privatepreview' +``` yaml $(tag) == 'package-2021-06-01-privatepreview' input-file: -- Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json +- Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json +- Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json ``` ### Tag: package-2021-04-10-privatepreview From 2fb3cc1a0d5314d179eafe79fc95e916283b3f5e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 14:46:50 -0700 Subject: [PATCH 091/114] change version --- .../Migrations.json | 0 .../examples/CheckMigrationNameAvailability.json | 0 .../examples/Migrations_Create.json | 0 .../examples/Migrations_Delete.json | 0 .../examples/Migrations_Get.json | 0 .../examples/Migrations_ListByTargetServer.json | 0 .../examples/Migrations_Update.json | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/Migrations.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/CheckMigrationNameAvailability.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/Migrations_Create.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/Migrations_Delete.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/Migrations_Get.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/Migrations_ListByTargetServer.json (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-05-31-privatepreview => 2021-06-01-privatepreview}/examples/Migrations_Update.json (100%) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/Migrations.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/CheckMigrationNameAvailability.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/CheckMigrationNameAvailability.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/CheckMigrationNameAvailability.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Create.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Create.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Create.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Delete.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Delete.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Delete.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Get.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Get.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Get.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_ListByTargetServer.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_ListByTargetServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_ListByTargetServer.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Update.json similarity index 100% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-05-31-privatepreview/examples/Migrations_Update.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Update.json From e8889ec509737f83a7604866f728eeb0575863be Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:09:06 -0700 Subject: [PATCH 092/114] autorest --validation --azure-validator --use=@microsoft.azure/classic-openapi-validator@latest --use=@microsoft.azure/openapi-validator@latest --tag=package-2021-06-15-privatepreview --- .../preview/2021-06-01-preview/postgresql.json | 8 ++++++++ .../Migrations.json | 2 +- .../examples/CheckMigrationNameAvailability.json | 2 +- .../examples/Migrations_Create.json | 2 +- .../examples/Migrations_Delete.json | 2 +- .../examples/Migrations_Get.json | 2 +- .../examples/Migrations_ListByTargetServer.json | 2 +- .../examples/Migrations_Update.json | 2 +- specification/postgresql/resource-manager/readme.md | 8 ++++---- 9 files changed, 19 insertions(+), 11 deletions(-) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/Migrations.json (99%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/CheckMigrationNameAvailability.json (91%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/Migrations_Create.json (99%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/Migrations_Delete.json (85%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/Migrations_Get.json (98%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/Migrations_ListByTargetServer.json (98%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/{2021-06-01-privatepreview => 2021-06-15-privatepreview}/examples/Migrations_Update.json (98%) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json index 524bfd9ebb29..53139e0ab151 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json @@ -1144,6 +1144,7 @@ "description": "Server version capabilities." }, "StorageEditionCapability": { + "type": "object", "properties": { "name": { "type": "string", @@ -1185,6 +1186,7 @@ "description": "Server edition capabilities." }, "CapabilityProperties": { + "type": "object", "properties": { "zone": { "type": "string", @@ -1389,6 +1391,7 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { + "type": "object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1429,6 +1432,7 @@ } }, "ServerForUpdate": { + "type": "object", "properties": { "location": { "type": "string", @@ -1497,6 +1501,7 @@ "description": "Sku information related properties of a server." }, "Storage": { + "type": "object", "properties": { "storageSizeGB": { "type": "integer", @@ -1507,6 +1512,7 @@ "description": "Storage properties of a server" }, "Backup": { + "type": "object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1539,6 +1545,7 @@ "description": "Backup properties of a server" }, "Network": { + "type": "object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1573,6 +1580,7 @@ "description": "Network properties of a server" }, "HighAvailability": { + "type": "object", "properties": { "mode": { "type": "string", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json similarity index 99% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index c510de0fb9bd..874553ac9a5a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLServerManagementClient", "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.", - "version": "2021-06-01-privatepreview" + "version": "2021-06-15-privatepreview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/CheckMigrationNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckMigrationNameAvailability.json similarity index 91% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/CheckMigrationNameAvailability.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckMigrationNameAvailability.json index 27747868c58d..4119caa8da00 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/CheckMigrationNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckMigrationNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json similarity index 99% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Create.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json index 1fd38c46701c..34427f1d0bae 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Delete.json similarity index 85% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Delete.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Delete.json index b42483e87688..e5ff08fcd79a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json similarity index 98% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Get.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json index dac5fb727d59..caccff8b412f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json similarity index 98% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_ListByTargetServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json index cf63c8766ceb..8758c33623d2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json similarity index 98% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Update.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json index 0b84886895db..7130bba5a960 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-privatepreview", + "api-version": "2021-06-15-privatepreview", "targetDBServerSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "targetDBServerResourceGroupName": "testrg", "targetDBServerName": "testtarget", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index fc5c8878bd65..4944abea9a21 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -54,13 +54,13 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json ``` -### Tag: package-2021-06-01-privatepreview +### Tag: package-2021-06-15-privatepreview -These settings apply only when `--tag=package-2021-06-01-privatepreview` is specified on the command line. +These settings apply only when `--tag=package-2021-06-15-privatepreview` is specified on the command line. -``` yaml $(tag) == 'package-2021-06-01-privatepreview' +``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: -- Microsoft.DBforPostgreSQL/preview/2021-06-01-privatepreview/Migrations.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json - Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json ``` From 018f794617d2c11e72021597955e81cb00d09db2 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:53:21 -0700 Subject: [PATCH 093/114] merge --- .../2021-06-01-preview/postgresql.json | 139 ++++++++++++++++-- 1 file changed, 125 insertions(+), 14 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json index 53139e0ab151..be0db2d79c54 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json @@ -1092,6 +1092,11 @@ "format": "int64", "description": "storage size in MB", "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true } }, "description": "storage size in MB capability" @@ -1121,6 +1126,11 @@ "format": "int64", "description": "supported memory per vCore in MB", "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true } }, "description": "Vcores capability" @@ -1139,12 +1149,16 @@ "$ref": "#/definitions/VcoreCapability" }, "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true } }, "description": "Server version capabilities." }, "StorageEditionCapability": { - "type": "object", "properties": { "name": { "type": "string", @@ -1157,11 +1171,38 @@ "$ref": "#/definitions/StorageMBCapability" }, "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true } }, "description": "storage edition capability" }, - "ServerEditionCapability": { + "NodeTypeCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "note type name", + "readOnly": true + }, + "nodeType": { + "type": "string", + "description": "note type", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "node type capability" + }, + "FlexibleServerEditionCapability": { + "type": "object", "properties": { "name": { "type": "string", @@ -1173,6 +1214,7 @@ "items": { "$ref": "#/definitions/StorageEditionCapability" }, + "description": "The list of editions supported by this server edition.", "readOnly": true }, "supportedServerVersions": { @@ -1180,25 +1222,97 @@ "items": { "$ref": "#/definitions/ServerVersionCapability" }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", "readOnly": true } }, - "description": "Server edition capabilities." + "description": "Flexible server edition capabilities." }, - "CapabilityProperties": { + "HyperscaleNodeEditionCapability": { "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "supportedNodeTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeTypeCapability" + }, + "description": "The list of Node Types supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Hyperscale node edition capabilities." + }, + "CapabilityProperties": { "properties": { "zone": { "type": "string", "description": "zone name", "readOnly": true }, + "geoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "zoneRedundantHaSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can support multi zone HA.", + "readOnly": true + }, + "zoneRedundantHaAndGeoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, "supportedFlexibleServerEditions": { "type": "array", "items": { - "$ref": "#/definitions/ServerEditionCapability" + "$ref": "#/definitions/FlexibleServerEditionCapability" }, "readOnly": true + }, + "supportedHyperscaleNodeEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/HyperscaleNodeEditionCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true } }, "description": "Location capabilities." @@ -1332,7 +1446,11 @@ }, "availabilityZone": { "type": "string", - "description": "availability zone information of the server." + "description": "availability zone information of the server.", + "x-ms-mutability": [ + "create", + "read" + ] }, "createMode": { "type": "string", @@ -1391,7 +1509,6 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { - "type": "object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1432,7 +1549,6 @@ } }, "ServerForUpdate": { - "type": "object", "properties": { "location": { "type": "string", @@ -1501,7 +1617,6 @@ "description": "Sku information related properties of a server." }, "Storage": { - "type": "object", "properties": { "storageSizeGB": { "type": "integer", @@ -1512,7 +1627,6 @@ "description": "Storage properties of a server" }, "Backup": { - "type": "object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1545,7 +1659,6 @@ "description": "Backup properties of a server" }, "Network": { - "type": "object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1580,7 +1693,6 @@ "description": "Network properties of a server" }, "HighAvailability": { - "type": "object", "properties": { "mode": { "type": "string", @@ -1613,8 +1725,7 @@ }, "standbyAvailabilityZone": { "type": "string", - "description": "availability zone information of the standby.", - "readOnly": true + "description": "availability zone information of the standby." } }, "description": "High availability properties of a server" From fe9bc32566b21b143fe027c5c4c240bd52cd1dfe Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:12:02 -0700 Subject: [PATCH 094/114] update --- .../postgresql/resource-manager/readme.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 4944abea9a21..c10a3426fce5 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -32,6 +32,16 @@ tag: package-2020-01-01 ``` +### Tag: package-2021-06-15-privatepreview + +These settings apply only when `--tag=package-2021-06-15-privatepreview` is specified on the command line. + +``` yaml $(tag) == 'package-2021-06-15-privatepreview' +input-file: +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +- Microsoft.DBforPostgreSQL/preview/2021-06-01/postgresql.json +``` + ### Tag: package-2021-06-01 These settings apply only when `--tag=package-2021-06-01` is specified on the command line. @@ -54,16 +64,6 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json ``` -### Tag: package-2021-06-15-privatepreview - -These settings apply only when `--tag=package-2021-06-15-privatepreview` is specified on the command line. - -``` yaml $(tag) == 'package-2021-06-15-privatepreview' -input-file: -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json -``` - ### Tag: package-2021-04-10-privatepreview These settings apply only when `--tag=package-2021-04-10-privatepreview` is specified on the command line. From c95fe0c42ace4c9016f3d81d48c91f45c78bce87 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:26:48 -0700 Subject: [PATCH 095/114] update --- .../2021-06-15-privatepreview/postgresql.json | 2104 +++++++++++++++++ .../postgresql/resource-manager/readme.md | 2 +- 2 files changed, 2105 insertions(+), 1 deletion(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json new file mode 100644 index 000000000000..40340ee0e800 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -0,0 +1,2104 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLServerManagementClient", + "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.", + "version": "2021-06-15-privatepreview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}": { + "put": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Create", + "x-ms-examples": { + "Create a new server": { + "$ref": "./examples/ServerCreate.json" + }, + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" + } + }, + "description": "Creates a new server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Server" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Update", + "x-ms-examples": { + "ServerUpdate": { + "$ref": "./examples/ServerUpdate.json" + }, + "ServerUpdateWithCustomerMaintenanceWindow": { + "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json" + } + }, + "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForUpdate" + }, + "description": "The required parameters for updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Delete", + "x-ms-examples": { + "ServerDelete": { + "$ref": "./examples/ServerDelete.json" + } + }, + "description": "Deletes a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Get", + "x-ms-examples": { + "ServerGet": { + "$ref": "./examples/ServerGet.json" + }, + "ServerGetWithVnet": { + "$ref": "./examples/ServerGetWithVnet.json" + } + }, + "description": "Gets information about a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_ListByResourceGroup", + "x-ms-examples": { + "ServerListByResourceGroup": { + "$ref": "./examples/ServerListByResourceGroup.json" + } + }, + "description": "List all the servers in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_List", + "x-ms-examples": { + "ServerList": { + "$ref": "./examples/ServerList.json" + } + }, + "description": "List all the servers in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + }, + "ServerRestartWithFailover": { + "$ref": "./examples/ServerRestartWithFailover.json" + } + }, + "description": "Restarts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/RestartParameter" + }, + "description": "The parameters for restarting a server." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start": { + "post": { + "tags": [ + "ServerStart" + ], + "operationId": "Servers_Start", + "x-ms-examples": { + "ServerStart": { + "$ref": "./examples/ServerStart.json" + } + }, + "description": "Starts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop": { + "post": { + "tags": [ + "ServerStop" + ], + "operationId": "Servers_Stop", + "x-ms-examples": { + "ServerStop": { + "$ref": "./examples/ServerStop.json" + } + }, + "description": "Stops a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "put": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "x-ms-examples": { + "FirewallRuleCreate": { + "$ref": "./examples/FirewallRuleCreate.json" + } + }, + "description": "Creates a new firewall rule or updates an existing firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The required parameters for creating or updating a firewall rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "x-ms-examples": { + "FirewallRuleDelete": { + "$ref": "./examples/FirewallRuleDelete.json" + } + }, + "description": "Deletes a PostgreSQL server firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleGet.json" + } + }, + "description": "List all the firewall rules in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules": { + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_ListByServer", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleListByServer.json" + } + }, + "description": "List all the firewall rules in a given PostgreSQL server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_ListByServer", + "x-ms-examples": { + "ConfigurationList": { + "$ref": "./examples/ConfigurationListByServer.json" + } + }, + "description": "List all the configurations in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Get", + "x-ms-examples": { + "ConfigurationGet": { + "$ref": "./examples/ConfigurationGet.json" + } + }, + "description": "Gets information about a configuration of server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Put", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "operationId": "CheckNameAvailability_Execute", + "x-ms-examples": { + "NameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "description": "Check the availability of name for resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NameAvailabilityRequest" + }, + "description": "The required parameters for checking if resource name is available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/capabilities": { + "get": { + "tags": [ + "LocationBasedCapabilities" + ], + "operationId": "LocationBasedCapabilities_Execute", + "x-ms-examples": { + "CapabilitiesList": { + "$ref": "./examples/CapabilitiesByLocation.json" + } + }, + "description": "Get capabilities at specified location in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage": { + "post": { + "tags": [ + "VirtualNetworkSubnetUsage" + ], + "operationId": "VirtualNetworkSubnetUsage_Execute", + "x-ms-examples": { + "VirtualNetworkSubnetUsageList": { + "$ref": "./examples/VirtualNetworkSubnetUsage.json" + } + }, + "description": "Get virtual network subnet usage for a given vNet resource id.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.DBForPostgreSql/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "description": "Lists all of the available REST API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "VirtualNetworkSubnetUsageParameter": { + "type": "object", + "properties": { + "virtualNetworkArmResourceId": { + "type": "string", + "description": "Virtual network resource id." + } + }, + "description": "Virtual network subnet usage parameter" + }, + "VirtualNetworkSubnetUsageResult": { + "type": "object", + "properties": { + "delegatedSubnetsUsage": { + "type": "array", + "items": { + "$ref": "#/definitions/DelegatedSubnetUsage" + }, + "readOnly": true + } + }, + "description": "Virtual network subnet usage data." + }, + "DelegatedSubnetUsage": { + "type": "object", + "properties": { + "subnetName": { + "type": "string", + "readOnly": true, + "description": "name of the subnet" + }, + "usage": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Number of used delegated subnets" + } + }, + "description": "Delegated subnet usage data." + }, + "StorageMBCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "storage MB name", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "storageSizeMB": { + "type": "integer", + "format": "int64", + "description": "storage size in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage size in MB capability" + }, + "VcoreCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "vCore name", + "readOnly": true + }, + "vCores": { + "type": "integer", + "format": "int64", + "description": "supported vCores", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "supportedMemoryPerVcoreMB": { + "type": "integer", + "format": "int64", + "description": "supported memory per vCore in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Vcores capability" + }, + "ServerVersionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "server version", + "readOnly": true + }, + "supportedVcores": { + "type": "array", + "items": { + "$ref": "#/definitions/VcoreCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Server version capabilities." + }, + "StorageEditionCapability": { + "type":"object", + "properties": { + "name": { + "type": "string", + "description": "storage edition name", + "readOnly": true + }, + "supportedStorageMB": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageMBCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage edition capability" + }, + "NodeTypeCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "note type name", + "readOnly": true + }, + "nodeType": { + "type": "string", + "description": "note type", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "node type capability" + }, + "FlexibleServerEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Flexible server edition capabilities." + }, + "HyperscaleNodeEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "supportedNodeTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeTypeCapability" + }, + "description": "The list of Node Types supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Hyperscale node edition capabilities." + }, + "CapabilityProperties": { + "type":"object", + "properties": { + "zone": { + "type": "string", + "description": "zone name", + "readOnly": true + }, + "geoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "zoneRedundantHaSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can support multi zone HA.", + "readOnly": true + }, + "zoneRedundantHaAndGeoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "supportedFlexibleServerEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/FlexibleServerEditionCapability" + }, + "readOnly": true + }, + "supportedHyperscaleNodeEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/HyperscaleNodeEditionCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Location capabilities." + }, + "CapabilitiesListResult": { + "type": "object", + "properties": { + "value": { + "description": "A list of supported capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityProperties" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "location capability" + }, + "ServerVersion": { + "type": "string", + "description": "The version of a server.", + "enum": [ + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerProperties": { + "type":"object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "administratorLoginPassword": { + "type": "string", + "description": "The administrator login password (required for server creation).", + "x-ms-secret": true, + "format": "password", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "minorVersion": { + "type": "string", + "description": "The minor version of the server.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "A state of a server that is visible to user.", + "readOnly": true, + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true + } + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "The fully qualified domain name of a server.", + "readOnly": true + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network properties of a server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "sourceServerResourceId": { + "type": "string", + "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "pointInTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "availabilityZone": { + "type": "string", + "description": "availability zone information of the server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "createMode": { + "type": "string", + "description": "The mode to create a new PostgreSQL server.", + "enum": [ + "Default", + "Create", + "Update", + "PointInTimeRestore" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "The properties of a server." + }, + "Server": { + "type":"object", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a server." + }, + "ServerPropertiesForUpdate": { + "type":"object", + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server." + }, + "createMode": { + "type": "string", + "description": "The mode to update a new PostgreSQL server.", + "enum": [ + "Default", + "Update" + ], + "x-ms-enum": { + "name": "CreateModeForUpdate", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + } + } + }, + "ServerForUpdate": { + "type":"object", + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForUpdate", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Represents a server to be updated." + }, + "ServerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of flexible servers" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of servers." + }, + "Sku": { + "type":"object", + "properties": { + "name": { + "type": "string", + "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." + }, + "tier": { + "type": "string", + "description": "The tier of the particular SKU, e.g. Burstable.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "required": [ + "name", + "tier" + ], + "description": "Sku information related properties of a server." + }, + "Storage": { + "type":"object", + "properties": { + "storageSizeGB": { + "type": "integer", + "format": "int32", + "description": "Max storage allowed for a server." + } + }, + "description": "Storage properties of a server" + }, + "Backup": { + "type":"object", + "properties": { + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Backup retention days for the server." + }, + "geoRedundantBackup": { + "type": "string", + "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "GeoRedundantBackupEnum", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "earliestRestoreDate": { + "type": "string", + "format": "date-time", + "description": "The earliest restore point time (ISO8601 format) for server.", + "readOnly": true + } + }, + "description": "Backup properties of a server" + }, + "Network": { + "type":"object", + "properties": { + "publicNetworkAccess": { + "type": "string", + "description": "public network access is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + }, + "readOnly": true + }, + "delegatedSubnetResourceId": { + "type": "string", + "description": "delegated subnet arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "privateDnsZoneArmResourceId": { + "type": "string", + "description": "private dns zone arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "description": "Network properties of a server" + }, + "HighAvailability": { + "type":"object", + "properties": { + "mode": { + "type": "string", + "description": "The HA mode for the server.", + "enum": [ + "Disabled", + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "HighAvailabilityMode", + "modelAsString": true + } + }, + "state": { + "type": "string", + "description": "A state of a HA server that is visible to user.", + "enum": [ + "NotEnabled", + "CreatingStandby", + "ReplicatingData", + "FailingOver", + "Healthy", + "RemovingStandby" + ], + "x-ms-enum": { + "name": "ServerHAState", + "modelAsString": true + }, + "readOnly": true + }, + "standbyAvailabilityZone": { + "type": "string", + "description": "availability zone information of the standby." + } + }, + "description": "High availability properties of a server" + }, + "MaintenanceWindow": { + "type": "object", + "description": "Maintenance window properties of a server.", + "properties": { + "customWindow": { + "type": "string", + "description": "indicates whether custom window is enabled or disabled" + }, + "startHour": { + "type": "integer", + "format": "int32", + "description": "start hour for maintenance window" + }, + "startMinute": { + "type": "integer", + "format": "int32", + "description": "start minute for maintenance window" + }, + "dayOfWeek": { + "type": "integer", + "format": "int32", + "description": "day of week for maintenance window" + } + } + }, + "FirewallRuleProperties": { + "type":"object", + "properties": { + "startIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The start IP address of the server firewall rule. Must be IPv4 format." + }, + "endIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The end IP address of the server firewall rule. Must be IPv4 format." + } + }, + "required": [ + "startIpAddress", + "endIpAddress" + ], + "description": "The properties of a server firewall rule." + }, + "FirewallRule": { + "type":"object", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "The properties of a firewall rule." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "FirewallRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of firewall rules." + }, + "ConfigurationProperties": { + "type":"object", + "properties": { + "value": { + "type": "string", + "description": "Value of the configuration." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the configuration." + }, + "defaultValue": { + "type": "string", + "readOnly": true, + "description": "Default value of the configuration." + }, + "dataType": { + "type": "string", + "readOnly": true, + "description": "Data type of the configuration.", + "enum": [ + "Boolean", + "Numeric", + "Integer", + "Enumeration" + ], + "x-ms-enum": { + "name": "ConfigurationDataType", + "modelAsString": true + } + }, + "allowedValues": { + "type": "string", + "readOnly": true, + "description": "Allowed values of the configuration." + }, + "source": { + "type": "string", + "description": "Source of the configuration." + } + }, + "description": "The properties of a configuration." + }, + "Configuration": { + "type":"object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Configuration." + }, + "ConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "The list of server configurations." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of server configurations." + }, + "OperationDisplay": { + "type":"object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Operation resource provider name." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "readOnly": true, + "description": "Localized friendly name for the operation." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Operation description." + } + }, + "description": "Display metadata associated with the operation." + }, + "Operation": { + "type":"object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the operation being performed on this particular object." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "readOnly": true, + "description": "The localized display information for this particular operation or action." + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "The intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "x-ms-client-flatten": false, + "description": "Additional descriptions for the operation." + } + }, + "description": "REST API operation definition." + }, + "OperationListResult": { + "description": "A list of resource provider operations.", + "type": "object", + "properties": { + "value": { + "description": "Collection of available operation details", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", + "type": "string" + } + } + }, + "NameAvailabilityRequest": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "type": "string", + "description": "Resource type used for verification." + } + }, + "description": "Request from client to check resource name availability." + }, + "NameAvailability": { + "type":"object", + "properties": { + "message": { + "type": "string", + "description": "Error Message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "name": { + "type": "string", + "description": "name of the PostgreSQL server." + }, + "type": { + "type": "string", + "description": "type of the server" + } + }, + "description": "Represents a resource name availability." + }, + "RestartParameter": { + "type": "object", + "properties": { + "restartWithFailover": { + "type": "boolean", + "description": "Indicates whether to restart the server with failover." + }, + "failoverMode": { + "type": "string", + "description": "Failover mode." + } + }, + "description": "Represents server restart parameters." + }, + "CloudError": { + "x-ms-external": true, + "type":"object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "LocationNameParameter": { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location.", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "FirewallRuleNameParameter": { + "name": "firewallRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server firewall rule.", + "x-ms-parameter-location": "method" + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server configuration.", + "x-ms-parameter-location": "method" + }, + "MaintenanceWindowNameParameter": { + "name": "maintenanceWindowName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the maintenance window.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index c10a3426fce5..38a639d16c71 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,7 +39,7 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec ``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-06-01/postgresql.json +- Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json ``` ### Tag: package-2021-06-01 From ca511a4fec734761c6141abfb7ae1b38e8de81f4 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:39:20 -0700 Subject: [PATCH 096/114] update --- .../2021-06-01-preview/postgresql.json | 20 + .../2021-06-15-privatepreview/Migrations.json | 2 + .../2021-06-15-privatepreview/postgresql.json | 2104 ----------------- 3 files changed, 22 insertions(+), 2104 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json index be0db2d79c54..7dbb5e6cc82e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json @@ -1159,6 +1159,7 @@ "description": "Server version capabilities." }, "StorageEditionCapability": { + "type":"object", "properties": { "name": { "type": "string", @@ -1274,6 +1275,7 @@ "description": "Hyperscale node edition capabilities." }, "CapabilityProperties": { + "type":"object", "properties": { "zone": { "type": "string", @@ -1350,6 +1352,7 @@ } }, "ServerProperties": { + "type":"object", "properties": { "administratorLogin": { "type": "string", @@ -1481,6 +1484,7 @@ "description": "The properties of a server." }, "Server": { + "type":"object", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", @@ -1509,6 +1513,7 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { + "type":"object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1549,6 +1554,7 @@ } }, "ServerForUpdate": { + "type":"object", "properties": { "location": { "type": "string", @@ -1591,6 +1597,7 @@ "description": "A list of servers." }, "Sku": { + "type":"object", "properties": { "name": { "type": "string", @@ -1617,6 +1624,7 @@ "description": "Sku information related properties of a server." }, "Storage": { + "type":"object", "properties": { "storageSizeGB": { "type": "integer", @@ -1627,6 +1635,7 @@ "description": "Storage properties of a server" }, "Backup": { + "type":"object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1659,6 +1668,7 @@ "description": "Backup properties of a server" }, "Network": { + "type":"object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1693,6 +1703,7 @@ "description": "Network properties of a server" }, "HighAvailability": { + "type":"object", "properties": { "mode": { "type": "string", @@ -1756,6 +1767,7 @@ } }, "FirewallRuleProperties": { + "type":"object", "properties": { "startIpAddress": { "type": "string", @@ -1775,6 +1787,7 @@ "description": "The properties of a server firewall rule." }, "FirewallRule": { + "type":"object", "properties": { "properties": { "$ref": "#/definitions/FirewallRuleProperties", @@ -1815,6 +1828,7 @@ "description": "A list of firewall rules." }, "ConfigurationProperties": { + "type":"object", "properties": { "value": { "type": "string", @@ -1858,6 +1872,7 @@ "description": "The properties of a configuration." }, "Configuration": { + "type":"object", "properties": { "properties": { "$ref": "#/definitions/ConfigurationProperties", @@ -1895,6 +1910,7 @@ "description": "A list of server configurations." }, "OperationDisplay": { + "type":"object", "properties": { "provider": { "type": "string", @@ -1920,6 +1936,7 @@ "description": "Display metadata associated with the operation." }, "Operation": { + "type":"object", "properties": { "name": { "type": "string", @@ -1980,6 +1997,7 @@ } }, "NameAvailabilityRequest": { + "type": "object", "required": [ "name" ], @@ -1996,6 +2014,7 @@ "description": "Request from client to check resource name availability." }, "NameAvailability": { + "type": "object", "properties": { "message": { "type": "string", @@ -2032,6 +2051,7 @@ }, "CloudError": { "x-ms-external": true, + "type":"object", "properties": { "error": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 874553ac9a5a..1be34ca9b5ee 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -690,6 +690,7 @@ "description": "Migration sub state details." }, "Sku": { + "type": "object", "properties": { "name": { "type": "string", @@ -762,6 +763,7 @@ }, "CloudError": { "x-ms-external": true, + "type": "object", "properties": { "error": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json deleted file mode 100644 index 40340ee0e800..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ /dev/null @@ -1,2104 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLServerManagementClient", - "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.", - "version": "2021-06-15-privatepreview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}": { - "put": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Create", - "x-ms-examples": { - "Create a new server": { - "$ref": "./examples/ServerCreate.json" - }, - "Create a database as a point in time restore": { - "$ref": "./examples/ServerCreatePointInTimeRestore.json" - } - }, - "description": "Creates a new server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Server" - }, - "description": "The required parameters for creating or updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Update", - "x-ms-examples": { - "ServerUpdate": { - "$ref": "./examples/ServerUpdate.json" - }, - "ServerUpdateWithCustomerMaintenanceWindow": { - "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json" - } - }, - "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ServerForUpdate" - }, - "description": "The required parameters for updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Delete", - "x-ms-examples": { - "ServerDelete": { - "$ref": "./examples/ServerDelete.json" - } - }, - "description": "Deletes a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Get", - "x-ms-examples": { - "ServerGet": { - "$ref": "./examples/ServerGet.json" - }, - "ServerGetWithVnet": { - "$ref": "./examples/ServerGetWithVnet.json" - } - }, - "description": "Gets information about a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_ListByResourceGroup", - "x-ms-examples": { - "ServerListByResourceGroup": { - "$ref": "./examples/ServerListByResourceGroup.json" - } - }, - "description": "List all the servers in a given resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_List", - "x-ms-examples": { - "ServerList": { - "$ref": "./examples/ServerList.json" - } - }, - "description": "List all the servers in a given subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart": { - "post": { - "tags": [ - "ServerRestart" - ], - "operationId": "Servers_Restart", - "x-ms-examples": { - "ServerRestart": { - "$ref": "./examples/ServerRestart.json" - }, - "ServerRestartWithFailover": { - "$ref": "./examples/ServerRestartWithFailover.json" - } - }, - "description": "Restarts a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/RestartParameter" - }, - "description": "The parameters for restarting a server." - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start": { - "post": { - "tags": [ - "ServerStart" - ], - "operationId": "Servers_Start", - "x-ms-examples": { - "ServerStart": { - "$ref": "./examples/ServerStart.json" - } - }, - "description": "Starts a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop": { - "post": { - "tags": [ - "ServerStop" - ], - "operationId": "Servers_Stop", - "x-ms-examples": { - "ServerStop": { - "$ref": "./examples/ServerStop.json" - } - }, - "description": "Stops a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { - "put": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_CreateOrUpdate", - "x-ms-examples": { - "FirewallRuleCreate": { - "$ref": "./examples/FirewallRuleCreate.json" - } - }, - "description": "Creates a new firewall rule or updates an existing firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The required parameters for creating or updating a firewall rule." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Delete", - "x-ms-examples": { - "FirewallRuleDelete": { - "$ref": "./examples/FirewallRuleDelete.json" - } - }, - "description": "Deletes a PostgreSQL server firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Get", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleGet.json" - } - }, - "description": "List all the firewall rules in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules": { - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_ListByServer", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleListByServer.json" - } - }, - "description": "List all the firewall rules in a given PostgreSQL server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_ListByServer", - "x-ms-examples": { - "ConfigurationList": { - "$ref": "./examples/ConfigurationListByServer.json" - } - }, - "description": "List all the configurations in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Get", - "x-ms-examples": { - "ConfigurationGet": { - "$ref": "./examples/ConfigurationGet.json" - } - }, - "description": "Gets information about a configuration of server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Update", - "x-ms-examples": { - "Update a user configuration": { - "$ref": "./examples/ConfigurationUpdate.json" - } - }, - "description": "Updates a configuration of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Configuration" - }, - "description": "The required parameters for updating a server configuration." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Put", - "x-ms-examples": { - "Update a user configuration": { - "$ref": "./examples/ConfigurationUpdate.json" - } - }, - "description": "Updates a configuration of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Configuration" - }, - "description": "The required parameters for updating a server configuration." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability": { - "post": { - "tags": [ - "CheckNameAvailability" - ], - "operationId": "CheckNameAvailability_Execute", - "x-ms-examples": { - "NameAvailability": { - "$ref": "./examples/CheckNameAvailability.json" - } - }, - "description": "Check the availability of name for resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "nameAvailabilityRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityRequest" - }, - "description": "The required parameters for checking if resource name is available." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/NameAvailability" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/capabilities": { - "get": { - "tags": [ - "LocationBasedCapabilities" - ], - "operationId": "LocationBasedCapabilities_Execute", - "x-ms-examples": { - "CapabilitiesList": { - "$ref": "./examples/CapabilitiesByLocation.json" - } - }, - "description": "Get capabilities at specified location in a given subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CapabilitiesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage": { - "post": { - "tags": [ - "VirtualNetworkSubnetUsage" - ], - "operationId": "VirtualNetworkSubnetUsage_Execute", - "x-ms-examples": { - "VirtualNetworkSubnetUsageList": { - "$ref": "./examples/VirtualNetworkSubnetUsage.json" - } - }, - "description": "Get virtual network subnet usage for a given vNet resource id.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter" - }, - "description": "The required parameters for creating or updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VirtualNetworkSubnetUsageResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/providers/Microsoft.DBForPostgreSql/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "description": "Lists all of the available REST API operations.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "VirtualNetworkSubnetUsageParameter": { - "type": "object", - "properties": { - "virtualNetworkArmResourceId": { - "type": "string", - "description": "Virtual network resource id." - } - }, - "description": "Virtual network subnet usage parameter" - }, - "VirtualNetworkSubnetUsageResult": { - "type": "object", - "properties": { - "delegatedSubnetsUsage": { - "type": "array", - "items": { - "$ref": "#/definitions/DelegatedSubnetUsage" - }, - "readOnly": true - } - }, - "description": "Virtual network subnet usage data." - }, - "DelegatedSubnetUsage": { - "type": "object", - "properties": { - "subnetName": { - "type": "string", - "readOnly": true, - "description": "name of the subnet" - }, - "usage": { - "type": "integer", - "format": "int64", - "readOnly": true, - "description": "Number of used delegated subnets" - } - }, - "description": "Delegated subnet usage data." - }, - "StorageMBCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "storage MB name", - "readOnly": true - }, - "supportedIops": { - "type": "integer", - "format": "int64", - "description": "supported IOPS", - "readOnly": true - }, - "storageSizeMB": { - "type": "integer", - "format": "int64", - "description": "storage size in MB", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "storage size in MB capability" - }, - "VcoreCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "vCore name", - "readOnly": true - }, - "vCores": { - "type": "integer", - "format": "int64", - "description": "supported vCores", - "readOnly": true - }, - "supportedIops": { - "type": "integer", - "format": "int64", - "description": "supported IOPS", - "readOnly": true - }, - "supportedMemoryPerVcoreMB": { - "type": "integer", - "format": "int64", - "description": "supported memory per vCore in MB", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Vcores capability" - }, - "ServerVersionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "server version", - "readOnly": true - }, - "supportedVcores": { - "type": "array", - "items": { - "$ref": "#/definitions/VcoreCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Server version capabilities." - }, - "StorageEditionCapability": { - "type":"object", - "properties": { - "name": { - "type": "string", - "description": "storage edition name", - "readOnly": true - }, - "supportedStorageMB": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageMBCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "storage edition capability" - }, - "NodeTypeCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "note type name", - "readOnly": true - }, - "nodeType": { - "type": "string", - "description": "note type", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "node type capability" - }, - "FlexibleServerEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Server edition name", - "readOnly": true - }, - "supportedStorageEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageEditionCapability" - }, - "description": "The list of editions supported by this server edition.", - "readOnly": true - }, - "supportedServerVersions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "description": "The list of server versions supported by this server edition.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Flexible server edition capabilities." - }, - "HyperscaleNodeEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Server edition name", - "readOnly": true - }, - "supportedStorageEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageEditionCapability" - }, - "description": "The list of editions supported by this server edition.", - "readOnly": true - }, - "supportedServerVersions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "description": "The list of server versions supported by this server edition.", - "readOnly": true - }, - "supportedNodeTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/NodeTypeCapability" - }, - "description": "The list of Node Types supported by this server edition.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Hyperscale node edition capabilities." - }, - "CapabilityProperties": { - "type":"object", - "properties": { - "zone": { - "type": "string", - "description": "zone name", - "readOnly": true - }, - "geoBackupSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", - "readOnly": true - }, - "zoneRedundantHaSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can support multi zone HA.", - "readOnly": true - }, - "zoneRedundantHaAndGeoBackupSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", - "readOnly": true - }, - "supportedFlexibleServerEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/FlexibleServerEditionCapability" - }, - "readOnly": true - }, - "supportedHyperscaleNodeEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/HyperscaleNodeEditionCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Location capabilities." - }, - "CapabilitiesListResult": { - "type": "object", - "properties": { - "value": { - "description": "A list of supported capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/CapabilityProperties" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "location capability" - }, - "ServerVersion": { - "type": "string", - "description": "The version of a server.", - "enum": [ - "13", - "12", - "11" - ], - "x-ms-enum": { - "name": "ServerVersion", - "modelAsString": true - } - }, - "ServerProperties": { - "type":"object", - "properties": { - "administratorLogin": { - "type": "string", - "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "administratorLoginPassword": { - "type": "string", - "description": "The administrator login password (required for server creation).", - "x-ms-secret": true, - "format": "password", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "minorVersion": { - "type": "string", - "description": "The minor version of the server.", - "readOnly": true - }, - "state": { - "type": "string", - "description": "A state of a server that is visible to user.", - "readOnly": true, - "enum": [ - "Ready", - "Dropping", - "Disabled", - "Starting", - "Stopping", - "Stopped", - "Updating" - ], - "x-ms-enum": { - "name": "ServerState", - "modelAsString": true - } - }, - "fullyQualifiedDomainName": { - "type": "string", - "description": "The fully qualified domain name of a server.", - "readOnly": true - }, - "storage": { - "$ref": "#/definitions/Storage", - "description": "Storage properties of a server." - }, - "backup": { - "$ref": "#/definitions/Backup", - "description": "Backup properties of a server." - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network properties of a server.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "highAvailability": { - "$ref": "#/definitions/HighAvailability", - "description": "High availability properties of a server." - }, - "maintenanceWindow": { - "$ref": "#/definitions/MaintenanceWindow", - "description": "Maintenance window properties of a server.", - "x-ms-mutability": [ - "update", - "read" - ] - }, - "sourceServerResourceId": { - "type": "string", - "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", - "x-ms-mutability": [ - "create" - ] - }, - "pointInTimeUTC": { - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", - "x-ms-mutability": [ - "create" - ] - }, - "availabilityZone": { - "type": "string", - "description": "availability zone information of the server.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "createMode": { - "type": "string", - "description": "The mode to create a new PostgreSQL server.", - "enum": [ - "Default", - "Create", - "Update", - "PointInTimeRestore" - ], - "x-ms-enum": { - "name": "CreateMode", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "update" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "description": "The properties of a server." - }, - "Server": { - "type":"object", - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", - "description": "The Azure Active Directory identity of the server." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU (pricing tier) of the server." - }, - "properties": { - "$ref": "#/definitions/ServerProperties", - "x-ms-client-flatten": true, - "description": "Properties of the server." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents a server." - }, - "ServerPropertiesForUpdate": { - "type":"object", - "properties": { - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "storage": { - "$ref": "#/definitions/Storage", - "description": "Storage properties of a server." - }, - "backup": { - "$ref": "#/definitions/Backup", - "description": "Backup properties of a server." - }, - "highAvailability": { - "$ref": "#/definitions/HighAvailability", - "description": "High availability properties of a server." - }, - "maintenanceWindow": { - "$ref": "#/definitions/MaintenanceWindow", - "description": "Maintenance window properties of a server." - }, - "createMode": { - "type": "string", - "description": "The mode to update a new PostgreSQL server.", - "enum": [ - "Default", - "Update" - ], - "x-ms-enum": { - "name": "CreateModeForUpdate", - "modelAsString": true - }, - "x-ms-mutability": [ - "update" - ] - } - } - }, - "ServerForUpdate": { - "type":"object", - "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU (pricing tier) of the server." - }, - "properties": { - "$ref": "#/definitions/ServerPropertiesForUpdate", - "x-ms-client-flatten": true, - "description": "Properties of the server." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "description": "Represents a server to be updated." - }, - "ServerListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Server" - }, - "description": "The list of flexible servers" - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of servers." - }, - "Sku": { - "type":"object", - "properties": { - "name": { - "type": "string", - "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." - }, - "tier": { - "type": "string", - "description": "The tier of the particular SKU, e.g. Burstable.", - "enum": [ - "Burstable", - "GeneralPurpose", - "MemoryOptimized" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } - } - }, - "required": [ - "name", - "tier" - ], - "description": "Sku information related properties of a server." - }, - "Storage": { - "type":"object", - "properties": { - "storageSizeGB": { - "type": "integer", - "format": "int32", - "description": "Max storage allowed for a server." - } - }, - "description": "Storage properties of a server" - }, - "Backup": { - "type":"object", - "properties": { - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "Backup retention days for the server." - }, - "geoRedundantBackup": { - "type": "string", - "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "GeoRedundantBackupEnum", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "earliestRestoreDate": { - "type": "string", - "format": "date-time", - "description": "The earliest restore point time (ISO8601 format) for server.", - "readOnly": true - } - }, - "description": "Backup properties of a server" - }, - "Network": { - "type":"object", - "properties": { - "publicNetworkAccess": { - "type": "string", - "description": "public network access is enabled or not", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ServerPublicNetworkAccessState", - "modelAsString": true - }, - "readOnly": true - }, - "delegatedSubnetResourceId": { - "type": "string", - "description": "delegated subnet arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "privateDnsZoneArmResourceId": { - "type": "string", - "description": "private dns zone arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "description": "Network properties of a server" - }, - "HighAvailability": { - "type":"object", - "properties": { - "mode": { - "type": "string", - "description": "The HA mode for the server.", - "enum": [ - "Disabled", - "ZoneRedundant" - ], - "x-ms-enum": { - "name": "HighAvailabilityMode", - "modelAsString": true - } - }, - "state": { - "type": "string", - "description": "A state of a HA server that is visible to user.", - "enum": [ - "NotEnabled", - "CreatingStandby", - "ReplicatingData", - "FailingOver", - "Healthy", - "RemovingStandby" - ], - "x-ms-enum": { - "name": "ServerHAState", - "modelAsString": true - }, - "readOnly": true - }, - "standbyAvailabilityZone": { - "type": "string", - "description": "availability zone information of the standby." - } - }, - "description": "High availability properties of a server" - }, - "MaintenanceWindow": { - "type": "object", - "description": "Maintenance window properties of a server.", - "properties": { - "customWindow": { - "type": "string", - "description": "indicates whether custom window is enabled or disabled" - }, - "startHour": { - "type": "integer", - "format": "int32", - "description": "start hour for maintenance window" - }, - "startMinute": { - "type": "integer", - "format": "int32", - "description": "start minute for maintenance window" - }, - "dayOfWeek": { - "type": "integer", - "format": "int32", - "description": "day of week for maintenance window" - } - } - }, - "FirewallRuleProperties": { - "type":"object", - "properties": { - "startIpAddress": { - "type": "string", - "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", - "description": "The start IP address of the server firewall rule. Must be IPv4 format." - }, - "endIpAddress": { - "type": "string", - "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", - "description": "The end IP address of the server firewall rule. Must be IPv4 format." - } - }, - "required": [ - "startIpAddress", - "endIpAddress" - ], - "description": "The properties of a server firewall rule." - }, - "FirewallRule": { - "type":"object", - "properties": { - "properties": { - "$ref": "#/definitions/FirewallRuleProperties", - "x-ms-client-flatten": true, - "description": "The properties of a firewall rule." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Represents a server firewall rule." - }, - "FirewallRuleListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The list of firewall rules in a server." - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of firewall rules." - }, - "ConfigurationProperties": { - "type":"object", - "properties": { - "value": { - "type": "string", - "description": "Value of the configuration." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "Description of the configuration." - }, - "defaultValue": { - "type": "string", - "readOnly": true, - "description": "Default value of the configuration." - }, - "dataType": { - "type": "string", - "readOnly": true, - "description": "Data type of the configuration.", - "enum": [ - "Boolean", - "Numeric", - "Integer", - "Enumeration" - ], - "x-ms-enum": { - "name": "ConfigurationDataType", - "modelAsString": true - } - }, - "allowedValues": { - "type": "string", - "readOnly": true, - "description": "Allowed values of the configuration." - }, - "source": { - "type": "string", - "description": "Source of the configuration." - } - }, - "description": "The properties of a configuration." - }, - "Configuration": { - "type":"object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "The properties of a configuration." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Configuration." - }, - "ConfigurationListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Configuration" - }, - "description": "The list of server configurations." - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of server configurations." - }, - "OperationDisplay": { - "type":"object", - "properties": { - "provider": { - "type": "string", - "readOnly": true, - "description": "Operation resource provider name." - }, - "resource": { - "type": "string", - "readOnly": true, - "description": "Resource on which the operation is performed." - }, - "operation": { - "type": "string", - "readOnly": true, - "description": "Localized friendly name for the operation." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "Operation description." - } - }, - "description": "Display metadata associated with the operation." - }, - "Operation": { - "type":"object", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the operation being performed on this particular object." - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "readOnly": true, - "description": "The localized display information for this particular operation or action." - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "type": "string", - "readOnly": true, - "description": "The intended executor of the operation.", - "enum": [ - "NotSpecified", - "user", - "system" - ], - "x-ms-enum": { - "name": "OperationOrigin", - "modelAsString": true - } - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true, - "x-ms-client-flatten": false, - "description": "Additional descriptions for the operation." - } - }, - "description": "REST API operation definition." - }, - "OperationListResult": { - "description": "A list of resource provider operations.", - "type": "object", - "properties": { - "value": { - "description": "Collection of available operation details", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "NameAvailabilityRequest": { - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Resource name to verify." - }, - "type": { - "type": "string", - "description": "Resource type used for verification." - } - }, - "description": "Request from client to check resource name availability." - }, - "NameAvailability": { - "type":"object", - "properties": { - "message": { - "type": "string", - "description": "Error Message." - }, - "nameAvailable": { - "type": "boolean", - "description": "Indicates whether the resource name is available." - }, - "name": { - "type": "string", - "description": "name of the PostgreSQL server." - }, - "type": { - "type": "string", - "description": "type of the server" - } - }, - "description": "Represents a resource name availability." - }, - "RestartParameter": { - "type": "object", - "properties": { - "restartWithFailover": { - "type": "boolean", - "description": "Indicates whether to restart the server with failover." - }, - "failoverMode": { - "type": "string", - "description": "Failover mode." - } - }, - "description": "Represents server restart parameters." - }, - "CloudError": { - "x-ms-external": true, - "type":"object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - }, - "parameters": { - "LocationNameParameter": { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the location.", - "x-ms-parameter-location": "method" - }, - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" - }, - "FirewallRuleNameParameter": { - "name": "firewallRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server firewall rule.", - "x-ms-parameter-location": "method" - }, - "ConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server configuration.", - "x-ms-parameter-location": "method" - }, - "MaintenanceWindowNameParameter": { - "name": "maintenanceWindowName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the maintenance window.", - "x-ms-parameter-location": "method" - } - } -} From 533d18de3e50993ff983e7dd8c6d6837db0364a1 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 12:34:16 -0700 Subject: [PATCH 097/114] new version postgresql.json --- .../2021-06-01-preview/postgresql.json | 20 - .../2021-06-15-privatepreview/postgresql.json | 2104 +++++++++++++++++ .../postgresql/resource-manager/readme.md | 4 +- 3 files changed, 2107 insertions(+), 21 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json index 7dbb5e6cc82e..be0db2d79c54 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json @@ -1159,7 +1159,6 @@ "description": "Server version capabilities." }, "StorageEditionCapability": { - "type":"object", "properties": { "name": { "type": "string", @@ -1275,7 +1274,6 @@ "description": "Hyperscale node edition capabilities." }, "CapabilityProperties": { - "type":"object", "properties": { "zone": { "type": "string", @@ -1352,7 +1350,6 @@ } }, "ServerProperties": { - "type":"object", "properties": { "administratorLogin": { "type": "string", @@ -1484,7 +1481,6 @@ "description": "The properties of a server." }, "Server": { - "type":"object", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", @@ -1513,7 +1509,6 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { - "type":"object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1554,7 +1549,6 @@ } }, "ServerForUpdate": { - "type":"object", "properties": { "location": { "type": "string", @@ -1597,7 +1591,6 @@ "description": "A list of servers." }, "Sku": { - "type":"object", "properties": { "name": { "type": "string", @@ -1624,7 +1617,6 @@ "description": "Sku information related properties of a server." }, "Storage": { - "type":"object", "properties": { "storageSizeGB": { "type": "integer", @@ -1635,7 +1627,6 @@ "description": "Storage properties of a server" }, "Backup": { - "type":"object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1668,7 +1659,6 @@ "description": "Backup properties of a server" }, "Network": { - "type":"object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1703,7 +1693,6 @@ "description": "Network properties of a server" }, "HighAvailability": { - "type":"object", "properties": { "mode": { "type": "string", @@ -1767,7 +1756,6 @@ } }, "FirewallRuleProperties": { - "type":"object", "properties": { "startIpAddress": { "type": "string", @@ -1787,7 +1775,6 @@ "description": "The properties of a server firewall rule." }, "FirewallRule": { - "type":"object", "properties": { "properties": { "$ref": "#/definitions/FirewallRuleProperties", @@ -1828,7 +1815,6 @@ "description": "A list of firewall rules." }, "ConfigurationProperties": { - "type":"object", "properties": { "value": { "type": "string", @@ -1872,7 +1858,6 @@ "description": "The properties of a configuration." }, "Configuration": { - "type":"object", "properties": { "properties": { "$ref": "#/definitions/ConfigurationProperties", @@ -1910,7 +1895,6 @@ "description": "A list of server configurations." }, "OperationDisplay": { - "type":"object", "properties": { "provider": { "type": "string", @@ -1936,7 +1920,6 @@ "description": "Display metadata associated with the operation." }, "Operation": { - "type":"object", "properties": { "name": { "type": "string", @@ -1997,7 +1980,6 @@ } }, "NameAvailabilityRequest": { - "type": "object", "required": [ "name" ], @@ -2014,7 +1996,6 @@ "description": "Request from client to check resource name availability." }, "NameAvailability": { - "type": "object", "properties": { "message": { "type": "string", @@ -2051,7 +2032,6 @@ }, "CloudError": { "x-ms-external": true, - "type":"object", "properties": { "error": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json new file mode 100644 index 000000000000..40340ee0e800 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -0,0 +1,2104 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLServerManagementClient", + "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.", + "version": "2021-06-15-privatepreview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}": { + "put": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Create", + "x-ms-examples": { + "Create a new server": { + "$ref": "./examples/ServerCreate.json" + }, + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" + } + }, + "description": "Creates a new server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Server" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Update", + "x-ms-examples": { + "ServerUpdate": { + "$ref": "./examples/ServerUpdate.json" + }, + "ServerUpdateWithCustomerMaintenanceWindow": { + "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json" + } + }, + "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForUpdate" + }, + "description": "The required parameters for updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Delete", + "x-ms-examples": { + "ServerDelete": { + "$ref": "./examples/ServerDelete.json" + } + }, + "description": "Deletes a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Get", + "x-ms-examples": { + "ServerGet": { + "$ref": "./examples/ServerGet.json" + }, + "ServerGetWithVnet": { + "$ref": "./examples/ServerGetWithVnet.json" + } + }, + "description": "Gets information about a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_ListByResourceGroup", + "x-ms-examples": { + "ServerListByResourceGroup": { + "$ref": "./examples/ServerListByResourceGroup.json" + } + }, + "description": "List all the servers in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_List", + "x-ms-examples": { + "ServerList": { + "$ref": "./examples/ServerList.json" + } + }, + "description": "List all the servers in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + }, + "ServerRestartWithFailover": { + "$ref": "./examples/ServerRestartWithFailover.json" + } + }, + "description": "Restarts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/RestartParameter" + }, + "description": "The parameters for restarting a server." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start": { + "post": { + "tags": [ + "ServerStart" + ], + "operationId": "Servers_Start", + "x-ms-examples": { + "ServerStart": { + "$ref": "./examples/ServerStart.json" + } + }, + "description": "Starts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop": { + "post": { + "tags": [ + "ServerStop" + ], + "operationId": "Servers_Stop", + "x-ms-examples": { + "ServerStop": { + "$ref": "./examples/ServerStop.json" + } + }, + "description": "Stops a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "put": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "x-ms-examples": { + "FirewallRuleCreate": { + "$ref": "./examples/FirewallRuleCreate.json" + } + }, + "description": "Creates a new firewall rule or updates an existing firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The required parameters for creating or updating a firewall rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "x-ms-examples": { + "FirewallRuleDelete": { + "$ref": "./examples/FirewallRuleDelete.json" + } + }, + "description": "Deletes a PostgreSQL server firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleGet.json" + } + }, + "description": "List all the firewall rules in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules": { + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_ListByServer", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleListByServer.json" + } + }, + "description": "List all the firewall rules in a given PostgreSQL server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_ListByServer", + "x-ms-examples": { + "ConfigurationList": { + "$ref": "./examples/ConfigurationListByServer.json" + } + }, + "description": "List all the configurations in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Get", + "x-ms-examples": { + "ConfigurationGet": { + "$ref": "./examples/ConfigurationGet.json" + } + }, + "description": "Gets information about a configuration of server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Put", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "operationId": "CheckNameAvailability_Execute", + "x-ms-examples": { + "NameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "description": "Check the availability of name for resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NameAvailabilityRequest" + }, + "description": "The required parameters for checking if resource name is available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/capabilities": { + "get": { + "tags": [ + "LocationBasedCapabilities" + ], + "operationId": "LocationBasedCapabilities_Execute", + "x-ms-examples": { + "CapabilitiesList": { + "$ref": "./examples/CapabilitiesByLocation.json" + } + }, + "description": "Get capabilities at specified location in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage": { + "post": { + "tags": [ + "VirtualNetworkSubnetUsage" + ], + "operationId": "VirtualNetworkSubnetUsage_Execute", + "x-ms-examples": { + "VirtualNetworkSubnetUsageList": { + "$ref": "./examples/VirtualNetworkSubnetUsage.json" + } + }, + "description": "Get virtual network subnet usage for a given vNet resource id.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.DBForPostgreSql/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "description": "Lists all of the available REST API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "VirtualNetworkSubnetUsageParameter": { + "type": "object", + "properties": { + "virtualNetworkArmResourceId": { + "type": "string", + "description": "Virtual network resource id." + } + }, + "description": "Virtual network subnet usage parameter" + }, + "VirtualNetworkSubnetUsageResult": { + "type": "object", + "properties": { + "delegatedSubnetsUsage": { + "type": "array", + "items": { + "$ref": "#/definitions/DelegatedSubnetUsage" + }, + "readOnly": true + } + }, + "description": "Virtual network subnet usage data." + }, + "DelegatedSubnetUsage": { + "type": "object", + "properties": { + "subnetName": { + "type": "string", + "readOnly": true, + "description": "name of the subnet" + }, + "usage": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Number of used delegated subnets" + } + }, + "description": "Delegated subnet usage data." + }, + "StorageMBCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "storage MB name", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "storageSizeMB": { + "type": "integer", + "format": "int64", + "description": "storage size in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage size in MB capability" + }, + "VcoreCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "vCore name", + "readOnly": true + }, + "vCores": { + "type": "integer", + "format": "int64", + "description": "supported vCores", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "supportedMemoryPerVcoreMB": { + "type": "integer", + "format": "int64", + "description": "supported memory per vCore in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Vcores capability" + }, + "ServerVersionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "server version", + "readOnly": true + }, + "supportedVcores": { + "type": "array", + "items": { + "$ref": "#/definitions/VcoreCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Server version capabilities." + }, + "StorageEditionCapability": { + "type":"object", + "properties": { + "name": { + "type": "string", + "description": "storage edition name", + "readOnly": true + }, + "supportedStorageMB": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageMBCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage edition capability" + }, + "NodeTypeCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "note type name", + "readOnly": true + }, + "nodeType": { + "type": "string", + "description": "note type", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "node type capability" + }, + "FlexibleServerEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Flexible server edition capabilities." + }, + "HyperscaleNodeEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "supportedNodeTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeTypeCapability" + }, + "description": "The list of Node Types supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Hyperscale node edition capabilities." + }, + "CapabilityProperties": { + "type":"object", + "properties": { + "zone": { + "type": "string", + "description": "zone name", + "readOnly": true + }, + "geoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "zoneRedundantHaSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can support multi zone HA.", + "readOnly": true + }, + "zoneRedundantHaAndGeoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "supportedFlexibleServerEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/FlexibleServerEditionCapability" + }, + "readOnly": true + }, + "supportedHyperscaleNodeEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/HyperscaleNodeEditionCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Location capabilities." + }, + "CapabilitiesListResult": { + "type": "object", + "properties": { + "value": { + "description": "A list of supported capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityProperties" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "location capability" + }, + "ServerVersion": { + "type": "string", + "description": "The version of a server.", + "enum": [ + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerProperties": { + "type":"object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "administratorLoginPassword": { + "type": "string", + "description": "The administrator login password (required for server creation).", + "x-ms-secret": true, + "format": "password", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "minorVersion": { + "type": "string", + "description": "The minor version of the server.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "A state of a server that is visible to user.", + "readOnly": true, + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true + } + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "The fully qualified domain name of a server.", + "readOnly": true + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network properties of a server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "sourceServerResourceId": { + "type": "string", + "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "pointInTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "availabilityZone": { + "type": "string", + "description": "availability zone information of the server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "createMode": { + "type": "string", + "description": "The mode to create a new PostgreSQL server.", + "enum": [ + "Default", + "Create", + "Update", + "PointInTimeRestore" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "The properties of a server." + }, + "Server": { + "type":"object", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a server." + }, + "ServerPropertiesForUpdate": { + "type":"object", + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server." + }, + "createMode": { + "type": "string", + "description": "The mode to update a new PostgreSQL server.", + "enum": [ + "Default", + "Update" + ], + "x-ms-enum": { + "name": "CreateModeForUpdate", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + } + } + }, + "ServerForUpdate": { + "type":"object", + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForUpdate", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Represents a server to be updated." + }, + "ServerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of flexible servers" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of servers." + }, + "Sku": { + "type":"object", + "properties": { + "name": { + "type": "string", + "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." + }, + "tier": { + "type": "string", + "description": "The tier of the particular SKU, e.g. Burstable.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "required": [ + "name", + "tier" + ], + "description": "Sku information related properties of a server." + }, + "Storage": { + "type":"object", + "properties": { + "storageSizeGB": { + "type": "integer", + "format": "int32", + "description": "Max storage allowed for a server." + } + }, + "description": "Storage properties of a server" + }, + "Backup": { + "type":"object", + "properties": { + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Backup retention days for the server." + }, + "geoRedundantBackup": { + "type": "string", + "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "GeoRedundantBackupEnum", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "earliestRestoreDate": { + "type": "string", + "format": "date-time", + "description": "The earliest restore point time (ISO8601 format) for server.", + "readOnly": true + } + }, + "description": "Backup properties of a server" + }, + "Network": { + "type":"object", + "properties": { + "publicNetworkAccess": { + "type": "string", + "description": "public network access is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + }, + "readOnly": true + }, + "delegatedSubnetResourceId": { + "type": "string", + "description": "delegated subnet arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "privateDnsZoneArmResourceId": { + "type": "string", + "description": "private dns zone arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "description": "Network properties of a server" + }, + "HighAvailability": { + "type":"object", + "properties": { + "mode": { + "type": "string", + "description": "The HA mode for the server.", + "enum": [ + "Disabled", + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "HighAvailabilityMode", + "modelAsString": true + } + }, + "state": { + "type": "string", + "description": "A state of a HA server that is visible to user.", + "enum": [ + "NotEnabled", + "CreatingStandby", + "ReplicatingData", + "FailingOver", + "Healthy", + "RemovingStandby" + ], + "x-ms-enum": { + "name": "ServerHAState", + "modelAsString": true + }, + "readOnly": true + }, + "standbyAvailabilityZone": { + "type": "string", + "description": "availability zone information of the standby." + } + }, + "description": "High availability properties of a server" + }, + "MaintenanceWindow": { + "type": "object", + "description": "Maintenance window properties of a server.", + "properties": { + "customWindow": { + "type": "string", + "description": "indicates whether custom window is enabled or disabled" + }, + "startHour": { + "type": "integer", + "format": "int32", + "description": "start hour for maintenance window" + }, + "startMinute": { + "type": "integer", + "format": "int32", + "description": "start minute for maintenance window" + }, + "dayOfWeek": { + "type": "integer", + "format": "int32", + "description": "day of week for maintenance window" + } + } + }, + "FirewallRuleProperties": { + "type":"object", + "properties": { + "startIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The start IP address of the server firewall rule. Must be IPv4 format." + }, + "endIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The end IP address of the server firewall rule. Must be IPv4 format." + } + }, + "required": [ + "startIpAddress", + "endIpAddress" + ], + "description": "The properties of a server firewall rule." + }, + "FirewallRule": { + "type":"object", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "The properties of a firewall rule." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "FirewallRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of firewall rules." + }, + "ConfigurationProperties": { + "type":"object", + "properties": { + "value": { + "type": "string", + "description": "Value of the configuration." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the configuration." + }, + "defaultValue": { + "type": "string", + "readOnly": true, + "description": "Default value of the configuration." + }, + "dataType": { + "type": "string", + "readOnly": true, + "description": "Data type of the configuration.", + "enum": [ + "Boolean", + "Numeric", + "Integer", + "Enumeration" + ], + "x-ms-enum": { + "name": "ConfigurationDataType", + "modelAsString": true + } + }, + "allowedValues": { + "type": "string", + "readOnly": true, + "description": "Allowed values of the configuration." + }, + "source": { + "type": "string", + "description": "Source of the configuration." + } + }, + "description": "The properties of a configuration." + }, + "Configuration": { + "type":"object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Configuration." + }, + "ConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "The list of server configurations." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of server configurations." + }, + "OperationDisplay": { + "type":"object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Operation resource provider name." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "readOnly": true, + "description": "Localized friendly name for the operation." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Operation description." + } + }, + "description": "Display metadata associated with the operation." + }, + "Operation": { + "type":"object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the operation being performed on this particular object." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "readOnly": true, + "description": "The localized display information for this particular operation or action." + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "The intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "x-ms-client-flatten": false, + "description": "Additional descriptions for the operation." + } + }, + "description": "REST API operation definition." + }, + "OperationListResult": { + "description": "A list of resource provider operations.", + "type": "object", + "properties": { + "value": { + "description": "Collection of available operation details", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", + "type": "string" + } + } + }, + "NameAvailabilityRequest": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "type": "string", + "description": "Resource type used for verification." + } + }, + "description": "Request from client to check resource name availability." + }, + "NameAvailability": { + "type":"object", + "properties": { + "message": { + "type": "string", + "description": "Error Message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "name": { + "type": "string", + "description": "name of the PostgreSQL server." + }, + "type": { + "type": "string", + "description": "type of the server" + } + }, + "description": "Represents a resource name availability." + }, + "RestartParameter": { + "type": "object", + "properties": { + "restartWithFailover": { + "type": "boolean", + "description": "Indicates whether to restart the server with failover." + }, + "failoverMode": { + "type": "string", + "description": "Failover mode." + } + }, + "description": "Represents server restart parameters." + }, + "CloudError": { + "x-ms-external": true, + "type":"object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "LocationNameParameter": { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location.", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "FirewallRuleNameParameter": { + "name": "firewallRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server firewall rule.", + "x-ms-parameter-location": "method" + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server configuration.", + "x-ms-parameter-location": "method" + }, + "MaintenanceWindowNameParameter": { + "name": "maintenanceWindowName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the maintenance window.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 38a639d16c71..2fffd054a2c3 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,7 +39,9 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec ``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-preview/postgresql.json +- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json +- Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json ``` ### Tag: package-2021-06-01 From 11a97351a2cfedfed1c008523de1a467b501398c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 14:16:34 -0700 Subject: [PATCH 098/114] update --- .../2021-06-15-privatepreview/Databases.json | 314 +++ .../PrivateDnsZone.json | 106 + .../examples/CapabilitiesByLocation.json | 180 ++ .../examples/CheckNameAvailability.json | 20 + .../examples/ConfigurationGet.json | 26 + .../examples/ConfigurationListByServer.json | 1902 +++++++++++++++++ .../examples/ConfigurationUpdate.json | 33 + .../examples/DatabaseCreate.json | 40 + .../examples/DatabaseDelete.json | 14 + .../examples/DatabaseGet.json | 22 + .../examples/DatabasesListByServer.json | 34 + .../examples/FirewallRuleCreate.json | 40 + .../examples/FirewallRuleDelete.json | 14 + .../examples/FirewallRuleGet.json | 22 + .../examples/FirewallRuleListByServer.json | 35 + .../examples/GetPrivateDnsZoneSuffix.json | 12 + .../examples/OperationList.json | 176 ++ .../examples/ServerCreate.json | 136 ++ .../ServerCreatePointInTimeRestore.json | 107 + .../examples/ServerDelete.json | 13 + .../examples/ServerGet.json | 54 + .../examples/ServerGetWithVnet.json | 57 + .../examples/ServerList.json | 90 + .../examples/ServerListByResourceGroup.json | 91 + .../examples/ServerRestart.json | 12 + .../examples/ServerRestartWithFailover.json | 16 + .../examples/ServerStart.json | 12 + .../examples/ServerStop.json | 12 + .../examples/ServerUpdate.json | 75 + ...erUpdateWithCustomerMaintenanceWindow.json | 70 + .../examples/VirtualNetworkSubnetUsage.json | 26 + .../2021-06-15-privatepreview/postgresql.json | 3 +- .../postgresql/resource-manager/readme.md | 6 +- 33 files changed, 3766 insertions(+), 4 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json new file mode 100644 index 000000000000..7b4405c56409 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -0,0 +1,314 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLServerManagementClient", + "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.", + "version": "2021-06-15-privatepreview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}": { + "put": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Create", + "x-ms-examples": { + "Create a database": { + "$ref": "./examples/DatabaseCreate.json" + } + }, + "description": "Creates a new database or updates an existing database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Database" + }, + "description": "The required parameters for creating or updating a database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Delete", + "x-ms-examples": { + "Delete a database": { + "$ref": "./examples/DatabaseDelete.json" + } + }, + "description": "Deletes a database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Get", + "x-ms-examples": { + "Get a database": { + "$ref": "./examples/DatabaseGet.json" + } + }, + "description": "Gets information about a database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByServer", + "x-ms-examples": { + "List databases in a server": { + "$ref": "./examples/DatabasesListByServer.json" + } + }, + "description": "List all the databases in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DatabaseProperties": { + "type": "object", + "properties": { + "charset": { + "type": "string", + "description": "The charset of the database." + }, + "collation": { + "type": "string", + "description": "The collation of the database." + } + }, + "description": "The properties of a database." + }, + "Database": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "x-ms-client-flatten": true, + "description": "The properties of a database." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Database." + }, + "DatabaseListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "The list of databases housed in a server" + }, + "nextLink": { + "description": "The link used to get the next page of databases.", + "type": "string" + } + }, + "description": "A List of databases." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json new file mode 100644 index 000000000000..661def657f82 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json @@ -0,0 +1,106 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-06-15-privatepreview", + "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." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix": { + "post": { + "tags": [ + "GetPrivateDnsZoneSuffix" + ], + "operationId": "GetPrivateDnsZoneSuffix_Execute", + "x-ms-examples": { + "GetPrivateDnsZoneSuffix": { + "$ref": "./examples/GetPrivateDnsZoneSuffix.json" + } + }, + "description": "Get private DNS zone suffix in the cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "type": "string", + "enum": [ + "PostgreSQL", + "PostgreSQLCitus", + "MySQL", + "MariaDb", + "Oracle" + ] + }, + "description": "The required parameters for getting private DNS zone suffix based on server type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneSuffix" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "PrivateDnsZoneSuffix": { + "type": "string", + "description": "Represents a resource name availability." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json new file mode 100644 index 000000000000..a66cd116f391 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json @@ -0,0 +1,180 @@ +{ + "parameters": { + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "locationName": "WestUS" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "zone": "none", + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768 + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536 + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072 + } + ] + } + ], + "supportedServerVersions": [ + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1s", + "vCores": 1, + "supportedIops": 320, + "supportedMemoryPerVcoreMB": 1024 + }, + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048 + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048 + } + ] + } + ] + } + ] + }, + { + "zone": "1", + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768 + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536 + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072 + } + ] + } + ], + "supportedServerVersions": [ + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1s", + "vCores": 1, + "supportedIops": 320, + "supportedMemoryPerVcoreMB": 1024 + }, + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048 + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048 + } + ] + } + ] + } + ] + }, + { + "zone": "2", + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768 + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536 + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072 + } + ] + } + ], + "supportedServerVersions": [ + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1s", + "vCores": 1, + "supportedIops": 320, + "supportedMemoryPerVcoreMB": 1024 + }, + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048 + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048 + } + ] + } + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..1b845bdb290c --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "", + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json new file mode 100644 index 000000000000..fb6ca8eaaecc --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "configurationName": "array_nulls", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "on", + "description": "Enable input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json new file mode 100644 index 000000000000..3181ad5eda3f --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json @@ -0,0 +1,1902 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations?api-version=2021-06-01-preview&$top=200&$skiptoken=skiptoken", + "value": [ + { + "properties": { + "value": "", + "description": "Sets the application name to be reported in statistics and logs.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._-]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/application_name", + "name": "application_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Starts the autovacuum subprocess.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum", + "name": "autovacuum", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_scale_factor", + "name": "autovacuum_analyze_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50", + "description": "Minimum number of tuple inserts, updates, or deletes prior to analyze.", + "defaultValue": "50", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_threshold", + "name": "autovacuum_analyze_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "60", + "description": "Time to sleep between autovacuum runs.", + "defaultValue": "60", + "dataType": "Integer", + "allowedValues": "1-2147483", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_naptime", + "name": "autovacuum_naptime", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Vacuum cost delay in milliseconds, for autovacuum.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "-1-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_delay", + "name": "autovacuum_vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Vacuum cost amount available before napping, for autovacuum.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_limit", + "name": "autovacuum_vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.2", + "description": "Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.", + "defaultValue": "0.2", + "dataType": "Numeric", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_scale_factor", + "name": "autovacuum_vacuum_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50", + "description": "Minimum number of tuple updates or deletes prior to vacuum.", + "defaultValue": "50", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_threshold", + "name": "autovacuum_vacuum_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the maximum memory to be used by each autovacuum worker process.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_work_mem", + "name": "autovacuum_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Number of pages after which previously performed writes are flushed to disk.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-256", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backend_flush_after", + "name": "backend_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "safe_encoding", + "description": "Sets whether \"\\'\" is allowed in string literals.", + "defaultValue": "safe_encoding", + "dataType": "Enumeration", + "allowedValues": "safe_encoding,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backslash_quote", + "name": "backslash_quote", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Background writer sleep time between rounds.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "10-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_delay", + "name": "bgwriter_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "64", + "description": "Number of pages after which previously performed writes are flushed to disk.", + "defaultValue": "64", + "dataType": "Integer", + "allowedValues": "0-256", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_flush_after", + "name": "bgwriter_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "100", + "description": "Background writer maximum number of LRU pages to flush per round.", + "defaultValue": "100", + "dataType": "Integer", + "allowedValues": "0-1073741823", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_maxpages", + "name": "bgwriter_lru_maxpages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Multiple of the average buffer usage to free per round.", + "defaultValue": "2", + "dataType": "Numeric", + "allowedValues": "0-10", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_multiplier", + "name": "bgwriter_lru_multiplier", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "hex", + "description": "Sets the output format for bytea.", + "defaultValue": "hex", + "dataType": "Enumeration", + "allowedValues": "escape,hex", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bytea_output", + "name": "bytea_output", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Checks function bodies during CREATE FUNCTION.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/check_function_bodies", + "name": "check_function_bodies", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.5", + "description": "Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.", + "defaultValue": "0.5", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_completion_target", + "name": "checkpoint_completion_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "300", + "description": "Sets the maximum time between automatic WAL checkpoints.", + "defaultValue": "300", + "dataType": "Integer", + "allowedValues": "30-86400", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_timeout", + "name": "checkpoint_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30", + "description": "Enables warnings if checkpoint segments are filled more frequently than this.", + "defaultValue": "30", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_warning", + "name": "checkpoint_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "sql_ascii", + "description": "Sets the client's character set encoding.", + "defaultValue": "sql_ascii", + "dataType": "Enumeration", + "allowedValues": "BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_encoding", + "name": "client_encoding", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "notice", + "description": "Sets the message levels that are sent to the client.", + "defaultValue": "notice", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_min_messages", + "name": "client_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the delay in microseconds between transaction commit and flushing WAL to disk.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-100000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_delay", + "name": "commit_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5", + "description": "Sets the minimum concurrent open transactions before performing commit_delay.", + "defaultValue": "5", + "dataType": "Integer", + "allowedValues": "0-1000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_siblings", + "name": "commit_siblings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "partition", + "description": "Enables the planner to use constraints to optimize queries.", + "defaultValue": "partition", + "dataType": "Enumeration", + "allowedValues": "partition,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/constraint_exclusion", + "name": "constraint_exclusion", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.005", + "description": "Sets the planner's estimate of the cost of processing each index entry during an index scan.", + "defaultValue": "0.005", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_index_tuple_cost", + "name": "cpu_index_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.0025", + "description": "Sets the planner's estimate of the cost of processing each operator or function call.", + "defaultValue": "0.0025", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_operator_cost", + "name": "cpu_operator_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.01", + "description": "Sets the planner's estimate of the cost of processing each tuple (row).", + "defaultValue": "0.01", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_tuple_cost", + "name": "cpu_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cursor_tuple_fraction", + "name": "cursor_tuple_fraction", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "ISO, MDY", + "description": "Sets the display format for date and time values.", + "defaultValue": "ISO, MDY", + "dataType": "String", + "allowedValues": "(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/DateStyle", + "name": "DateStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1000", + "description": "Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.", + "defaultValue": "1000", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/deadlock_timeout", + "name": "deadlock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Indents parse and plan tree displays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_pretty_print", + "name": "debug_pretty_print", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's parse tree.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_parse", + "name": "debug_print_parse", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's execution plan.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_plan", + "name": "debug_print_plan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's rewritten parse tree.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_rewritten", + "name": "debug_print_rewritten", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "100", + "description": "Sets the default statistics target.", + "defaultValue": "100", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_statistics_target", + "name": "default_statistics_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "", + "description": "Sets the default tablespace to create tables and indexes in.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z._]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_tablespace", + "name": "default_tablespace", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "pg_catalog.english", + "description": "Sets default text search configuration.", + "defaultValue": "pg_catalog.english", + "dataType": "String", + "allowedValues": "[A-Za-z._]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_text_search_config", + "name": "default_text_search_config", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Sets the default deferrable status of new transactions.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_deferrable", + "name": "default_transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "read committed", + "description": "Sets the transaction isolation level of each new transaction.", + "defaultValue": "read committed", + "dataType": "Enumeration", + "allowedValues": "serializable,repeatable read,read committed,read uncommitted", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_isolation", + "name": "default_transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Sets the default read-only status of new transactions.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_read_only", + "name": "default_transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Creates new tables with OIDs by default.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_with_oids", + "name": "default_with_oids", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "3145728", + "description": "Sets the planner's assumption about the size of the disk cache.", + "defaultValue": "3145728", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/effective_cache_size", + "name": "effective_cache_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of bitmap-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_bitmapscan", + "name": "enable_bitmapscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of gather merge plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_gathermerge", + "name": "enable_gathermerge", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of hashed aggregation plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashagg", + "name": "enable_hashagg", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of hash join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashjoin", + "name": "enable_hashjoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of index-only-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexonlyscan", + "name": "enable_indexonlyscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of index-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexscan", + "name": "enable_indexscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of materialization.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_material", + "name": "enable_material", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of merge join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_mergejoin", + "name": "enable_mergejoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of nested loop join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_nestloop", + "name": "enable_nestloop", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of sequential-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_seqscan", + "name": "enable_seqscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of explicit sort steps.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_sort", + "name": "enable_sort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of TID scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_tidscan", + "name": "enable_tidscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Warns about backslash escapes in ordinary string literals.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/escape_string_warning", + "name": "escape_string_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Terminates session on any error.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/exit_on_error", + "name": "exit_on_error", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Sets the number of digits displayed for floating-point values.", + "defaultValue": "1", + "dataType": "Integer", + "allowedValues": "-15-3", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/extra_float_digits", + "name": "extra_float_digits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Forces use of parallel query facilities.", + "defaultValue": "off", + "dataType": "Enumeration", + "allowedValues": "off,on,regress", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/force_parallel_mode", + "name": "force_parallel_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the FROM-list size beyond which subqueries are not collapsed.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/from_collapse_limit", + "name": "from_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables genetic query optimization.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo", + "name": "geqo", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5", + "description": "GEQO: effort is used to set the default for other GEQO parameters.", + "defaultValue": "5", + "dataType": "Integer", + "allowedValues": "1-10", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_effort", + "name": "geqo_effort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: number of iterations of the algorithm.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_generations", + "name": "geqo_generations", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: number of individuals in the population.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_pool_size", + "name": "geqo_pool_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: seed for random path selection.", + "defaultValue": "0", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_seed", + "name": "geqo_seed", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "GEQO: selective pressure within the population.", + "defaultValue": "2", + "dataType": "Numeric", + "allowedValues": "1.5-2", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_selection_bias", + "name": "geqo_selection_bias", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "12", + "description": "Sets the threshold of FROM items beyond which GEQO is used.", + "defaultValue": "12", + "dataType": "Integer", + "allowedValues": "2-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_threshold", + "name": "geqo_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed result for exact search by GIN.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_fuzzy_search_limit", + "name": "gin_fuzzy_search_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "4096", + "description": "Sets the maximum size of the pending list for GIN index.", + "defaultValue": "4096", + "dataType": "Integer", + "allowedValues": "64-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_pending_list_limit", + "name": "gin_pending_list_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration of any idling transaction.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/idle_in_transaction_session_timeout", + "name": "idle_in_transaction_session_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "postgres", + "description": "Sets the display format for interval values.", + "defaultValue": "postgres", + "dataType": "Enumeration", + "allowedValues": "postgres,postgres_verbose,sql_standard,iso_8601", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/IntervalStyle", + "name": "IntervalStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the FROM-list size beyond which JOIN constructs are not flattened.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/join_collapse_limit", + "name": "join_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "en_US.utf-8", + "description": "Sets the locale for formatting monetary amounts.", + "defaultValue": "en_US.utf-8", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._ -]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_monetary", + "name": "lc_monetary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "en_US.utf-8", + "description": "Sets the locale for formatting numbers.", + "defaultValue": "en_US.utf-8", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._ -]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_numeric", + "name": "lc_numeric", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Enables backward compatibility mode for privilege checks on large objects.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lo_compat_privileges", + "name": "lo_compat_privileges", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lock_timeout", + "name": "lock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the minimum execution time above which autovacuum actions will be logged.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_autovacuum_min_duration", + "name": "log_autovacuum_min_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Logs each checkpoint.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_checkpoints", + "name": "log_checkpoints", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Logs each successful connection.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_connections", + "name": "log_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "stderr", + "description": "Sets the destination for server log output.", + "defaultValue": "stderr", + "dataType": "Enumeration", + "allowedValues": "stderr,csvlog", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_destination", + "name": "log_destination", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs end of a session, including duration.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_disconnections", + "name": "log_disconnections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs the duration of each completed SQL statement.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_duration", + "name": "log_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "default", + "description": "Sets the verbosity of logged messages.", + "defaultValue": "default", + "dataType": "Enumeration", + "allowedValues": "terse,default,verbose", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_error_verbosity", + "name": "log_error_verbosity", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs long lock waits.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_lock_waits", + "name": "log_lock_waits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_duration_statement", + "name": "log_min_duration_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "error", + "description": "Causes all statements generating error at or above this level to be logged.", + "defaultValue": "error", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_error_statement", + "name": "log_min_error_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "warning", + "description": "Sets the message levels that are logged.", + "defaultValue": "warning", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_messages", + "name": "log_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each replication command.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_replication_commands", + "name": "log_replication_commands", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "none", + "description": "Sets the type of statements logged.", + "defaultValue": "none", + "dataType": "Enumeration", + "allowedValues": "none,ddl,mod,all", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement", + "name": "log_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "For each query, writes cumulative performance statistics to the server log.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement_stats", + "name": "log_statement_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Logs the use of temporary files larger than this number of kilobytes.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_temp_files", + "name": "log_temp_files", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "332800", + "description": "Sets the maximum memory to be used for maintenance operations.", + "defaultValue": "332800", + "dataType": "Integer", + "allowedValues": "1024-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/maintenance_work_mem", + "name": "maintenance_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the maximum number of parallel workers than can be active at one time.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "0-1024", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers", + "name": "max_parallel_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Sets the maximum number of parallel processes per executor node.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-1024", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers_per_gather", + "name": "max_parallel_workers_per_gather", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Sets the maximum number of predicate-locked tuples per page.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_page", + "name": "max_pred_locks_per_page", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-2", + "description": "Sets the maximum number of predicate-locked pages and tuples per relation.", + "defaultValue": "-2", + "dataType": "Integer", + "allowedValues": "-2147483648-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_relation", + "name": "max_pred_locks_per_relation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30000", + "description": "Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.", + "defaultValue": "30000", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_archive_delay", + "name": "max_standby_archive_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30000", + "description": "Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.", + "defaultValue": "30000", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_streaming_delay", + "name": "max_standby_streaming_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Maximum number of table synchronization workers per subscription.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-262143", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_sync_workers_per_subscription", + "name": "max_sync_workers_per_subscription", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the WAL size that triggers a checkpoint.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "2-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_wal_size", + "name": "max_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "64", + "description": "Sets the minimum amount of index data for a parallel scan.", + "defaultValue": "64", + "dataType": "Integer", + "allowedValues": "0-715827882", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_index_scan_size", + "name": "min_parallel_index_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the minimum amount of table data for a parallel scan.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "0-715827882", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_table_scan_size", + "name": "min_parallel_table_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "80", + "description": "Sets the minimum size to shrink the WAL to.", + "defaultValue": "80", + "dataType": "Integer", + "allowedValues": "2-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_wal_size", + "name": "min_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Emits a warning for constructs that changed meaning since PostgreSQL 9.4.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/operator_precedence_warning", + "name": "operator_precedence_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1000", + "description": "Sets the planner's estimate of the cost of starting up worker processes for parallel query.", + "defaultValue": "1000", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_setup_cost", + "name": "parallel_setup_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Sets the planner's estimate of the cost of passing each tuple (row) from worker to master backend.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_tuple_cost", + "name": "parallel_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "When generating SQL fragments, quotes all identifiers.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/quote_all_identifiers", + "name": "quote_all_identifiers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "4", + "description": "Sets the planner's estimate of the cost of a nonsequentially fetched disk page.", + "defaultValue": "4", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/random_page_cost", + "name": "random_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables row security.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/row_security", + "name": "row_security", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "\"$user\", public", + "description": "Sets the schema search order for names that are not schema-qualified.", + "defaultValue": "\"$user\", public", + "dataType": "String", + "allowedValues": "[A-Za-z.\"$, ]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/search_path", + "name": "search_path", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Sets the planner's estimate of the cost of a sequentially fetched disk page.", + "defaultValue": "1", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/seq_page_cost", + "name": "seq_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "origin", + "description": "Sets the session's behavior for triggers and rewrite rules.", + "defaultValue": "origin", + "dataType": "Enumeration", + "allowedValues": "origin,replica,local", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/session_replication_role", + "name": "session_replication_role", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Causes '...' strings to treat backslashes literally.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/standard_conforming_strings", + "name": "standard_conforming_strings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/statement_timeout", + "name": "statement_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables synchronized sequential scans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronize_seqscans", + "name": "synchronize_seqscans", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Sets the current transaction's synchronization level.", + "defaultValue": "on", + "dataType": "Enumeration", + "allowedValues": "local,remote_write,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronous_commit", + "name": "synchronous_commit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "9", + "description": "Maximum number of TCP keepalive retransmits.", + "defaultValue": "9", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_count", + "name": "tcp_keepalives_count", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "120", + "description": "Time between issuing TCP keepalives.", + "defaultValue": "120", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_idle", + "name": "tcp_keepalives_idle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30", + "description": "Time between TCP keepalive retransmits.", + "defaultValue": "30", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_interval", + "name": "tcp_keepalives_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the maximum number of temporary buffers used by each database session.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "100-1073741823", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_buffers", + "name": "temp_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "", + "description": "Sets the tablespace(s) to use for temporary tables and sort files.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z._]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_tablespaces", + "name": "temp_tablespaces", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "UTC", + "description": "Sets the time zone for displaying and interpreting time stamps.", + "defaultValue": "UTC", + "dataType": "String", + "allowedValues": "[A-Za-z0-9/+_-]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/TimeZone", + "name": "TimeZone", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Collects information about executing commands.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_activities", + "name": "track_activities", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Collects statistics on database activity.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_counts", + "name": "track_counts", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "none", + "description": "Collects function-level statistics on database activity.", + "defaultValue": "none", + "dataType": "Enumeration", + "allowedValues": "none,pl,all", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_functions", + "name": "track_functions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Collects timing statistics for database I/O activity.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_io_timing", + "name": "track_io_timing", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Treats \"expr=NULL\" as \"expr IS NULL\".", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/transform_null_equals", + "name": "transform_null_equals", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Vacuum cost delay in milliseconds.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_delay", + "name": "vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Vacuum cost amount available before napping.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_limit", + "name": "vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "20", + "description": "Vacuum cost for a page dirtied by vacuum.", + "defaultValue": "20", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_dirty", + "name": "vacuum_cost_page_dirty", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Vacuum cost for a page found in the buffer cache.", + "defaultValue": "1", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_hit", + "name": "vacuum_cost_page_hit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "10", + "description": "Vacuum cost for a page not found in the buffer cache.", + "defaultValue": "10", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_miss", + "name": "vacuum_cost_page_miss", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-1000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_defer_cleanup_age", + "name": "vacuum_defer_cleanup_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50000000", + "description": "Minimum age at which VACUUM should freeze a table row.", + "defaultValue": "50000000", + "dataType": "Integer", + "allowedValues": "0-1000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_min_age", + "name": "vacuum_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "150000000", + "description": "Age at which VACUUM should scan whole table to freeze tuples.", + "defaultValue": "150000000", + "dataType": "Integer", + "allowedValues": "0-2000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_table_age", + "name": "vacuum_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5000000", + "description": "Minimum age at which VACUUM should freeze a MultiXactId in a table row.", + "defaultValue": "5000000", + "dataType": "Integer", + "allowedValues": "0-1000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_min_age", + "name": "vacuum_multixact_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "150000000", + "description": "Multixact age at which VACUUM should scan whole table to freeze tuples.", + "defaultValue": "150000000", + "dataType": "Integer", + "allowedValues": "0-2000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_table_age", + "name": "vacuum_multixact_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "10", + "description": "Sets the maximum interval between WAL receiver status reports to the primary.", + "defaultValue": "10", + "dataType": "Integer", + "allowedValues": "0-2147483", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_receiver_status_interval", + "name": "wal_receiver_status_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Time between WAL flushes performed in the WAL writer.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_delay", + "name": "wal_writer_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "128", + "description": "Amount of WAL written out by WAL writer that triggers a flush.", + "defaultValue": "128", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_flush_after", + "name": "wal_writer_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "115712", + "description": "Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.", + "defaultValue": "115712", + "dataType": "Integer", + "allowedValues": "4096-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/work_mem", + "name": "work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "base64", + "description": "Sets how binary values are to be encoded in XML.", + "defaultValue": "base64", + "dataType": "Enumeration", + "allowedValues": "base64,hex", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmlbinary", + "name": "xmlbinary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "content", + "description": "Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.", + "defaultValue": "content", + "dataType": "Enumeration", + "allowedValues": "content,document", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmloption", + "name": "xmloption", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json new file mode 100644 index 000000000000..3bba586d68a6 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "serverName": "testserver", + "configurationName": "event_scheduler", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "value": "on", + "source": "user-override" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "ON", + "description": "Indicates the status of the Event Scheduler.", + "defaultValue": "OFF", + "dataType": "Enumeration", + "allowedValues": "ON,OFF,DISABLED", + "source": "user-override" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/event_scheduler", + "name": "event_scheduler", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json new file mode 100644 index 000000000000..6aab697cd844 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-11-05-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json new file mode 100644 index 000000000000..88e5b22a4519 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-11-05-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json new file mode 100644 index 000000000000..ec82b011b8ce --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-11-05-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json new file mode 100644 index 000000000000..047a261f9ea5 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-11-05-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db2", + "name": "db2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json new file mode 100644 index 000000000000..a77bb1c22444 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json new file mode 100644 index 000000000000..2f675b9a1091 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json new file mode 100644 index 000000000000..7268cc29a22c --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json new file mode 100644 index 000000000000..6c104175fe47 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules?api-version=2021-06-01-preview&$top=2&$skiptoken=skiptoken", + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule2", + "name": "rule2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "1.0.0.0", + "endIpAddress": "255.0.0.0" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json new file mode 100644 index 000000000000..0230cc66fb14 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2021-03-31-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "body": "PostgreSQL" + }, + "responses": { + "200": { + "body": "postgres.database.azure.com" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json new file mode 100644 index 000000000000..c7a129c6acc1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "List/Get PostgreSQL Servers", + "description": "Return the list of servers or gets the properties for the specified server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "Create/Update PostgreSQL Server", + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "Delete PostgreSQL Server", + "description": "Deletes an existing server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "List/Get Firewall Rules", + "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "Create/Update Firewall Rule", + "description": "Creates a firewall rule with the specified parameters or update an existing rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "Delete Firewall Rule", + "description": "Deletes an existing firewall rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Get database metric definitions", + "description": "Return types of metrics that are available for databases" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percent", + "displayDescription": "CPU percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "compute_limit", + "displayName": "Compute Unit limit", + "displayDescription": "Compute Unit limit", + "unit": "Count", + "aggregationType": "Average" + }, + { + "name": "compute_consumption_percent", + "displayName": "Compute Unit percentage", + "displayDescription": "Compute Unit percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "memory_percent", + "displayName": "Memory percent", + "displayDescription": "Memory percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "io_consumption_percent", + "displayName": "IO percent", + "displayDescription": "IO percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Storage percentage", + "displayDescription": "Storage percentage", + "unit": "Percent", + "aggregationType": "Average" + }, + { + "name": "storage_used", + "displayName": "Storage used", + "displayDescription": "Storage used", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "storage_limit", + "displayName": "Storage limit", + "displayDescription": "Storage limit", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "active_connections", + "displayName": "Total active connections", + "displayDescription": "Total active connections", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "connections_failed", + "displayName": "Total failed connections", + "displayDescription": "Total failed connections", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Read diagnostic setting", + "description": "Gets the disagnostic setting for the resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json new file mode 100644 index 000000000000..204416eef81e --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "name": "Standard_D4s_v3" + }, + "properties": { + "administratorLogin": "cloudsa", + "administratorLoginPassword": "password", + "version": "12", + "availabilityZone": "1", + "createMode": "Create", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant" + } + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json new file mode 100644 index 000000000000..76b542fc685a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "serverName": "pgtestsvc5", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "createMode": "PointInTimeRestore", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername", + "pointInTimeUTC": "2021-06-27T00:04:59.4078005+00:00" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "2", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", + "name": "pgtestsvc5", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "2", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", + "name": "pgtestsvc5", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json new file mode 100644 index 000000000000..5993fc904f16 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json new file mode 100644 index 000000000000..247569514223 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "serverName": "pgtestsvc1", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json new file mode 100644 index 000000000000..d9d4e5fe7d8a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json new file mode 100644 index 000000000000..08e74a155bde --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-01-preview&$top=3&$skiptoken=skiptoken", + "value": [ + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json new file mode 100644 index 000000000000..9ca6d7339555 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-01-preview&$top=3&$skiptoken=skiptoken", + "value": [ + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json new file mode 100644 index 000000000000..e35aec2f0a40 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json new file mode 100644 index 000000000000..fdb11d0b1e70 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "restartWithFailover": true, + "failoverMode": "forcedFailover" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json new file mode 100644 index 000000000000..e35aec2f0a40 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json new file mode 100644 index 000000000000..e35aec2f0a40 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json new file mode 100644 index 000000000000..6511eb41b948 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "name": "Standard_D8s_v3" + }, + "properties": { + "administratorLoginPassword": "newpassword", + "createMode": "Update", + "storage": { + "storageSizeGB": 1024 + }, + "backup": { + "backupRetentionDays": 20 + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 1024 + }, + "backup": { + "backupRetentionDays": 20, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json new file mode 100644 index 000000000000..0475ddb11ff0 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "createMode": "Update", + "maintenanceWindow": { + "customWindow": "Enabled", + "dayOfWeek": 0, + "startHour": 8, + "startMinute": 0 + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Enabled", + "dayOfWeek": 0, + "startHour": 8, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json new file mode 100644 index 000000000000..bab833c15cb2 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "locationName": "WestUS", + "parameters": { + "virtualNetworkArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet" + } + }, + "responses": { + "200": { + "body": { + "delegatedSubnetsUsage": [ + { + "subnetName": "test-subnet-1", + "usage": 2 + }, + { + "subnetName": "test-subnet-2", + "usage": 3 + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json index 40340ee0e800..d43f218d942e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -1997,6 +1997,7 @@ } }, "NameAvailabilityRequest": { + "type": "object", "required": [ "name" ], @@ -2013,7 +2014,7 @@ "description": "Request from client to check resource name availability." }, "NameAvailability": { - "type":"object", + "type": "object", "properties": { "message": { "type": "string", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 2fffd054a2c3..5316bc8a813c 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,9 +39,9 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec ``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-preview/postgresql.json -- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json -- Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json ``` ### Tag: package-2021-06-01 From 36e5dd25d667792ce6b7d63a13defa245caffab2 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 14:49:59 -0700 Subject: [PATCH 099/114] prettier --- .../preview/2021-06-15-privatepreview/Databases.json | 4 ++++ .../preview/2021-06-15-privatepreview/postgresql.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json index 7b4405c56409..db413566eb1c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -258,6 +258,10 @@ "description": "The properties of a database." } }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json index d43f218d942e..a9c2f13d70d0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -1936,7 +1936,7 @@ "description": "Display metadata associated with the operation." }, "Operation": { - "type":"object", + "type": "object", "properties": { "name": { "type": "string", @@ -2051,7 +2051,7 @@ }, "CloudError": { "x-ms-external": true, - "type":"object", + "type": "object", "properties": { "error": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" From ba07325260065f4fc8be96a7529b8842695983eb Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 19:46:05 -0700 Subject: [PATCH 100/114] systemdata --- .../preview/2021-06-15-privatepreview/Databases.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json index db413566eb1c..7627bbb6ff48 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -256,12 +256,12 @@ "$ref": "#/definitions/DatabaseProperties", "x-ms-client-flatten": true, "description": "The properties of a database." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true } }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - }, "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" From 122fd7e2c984607b53dcb1932574e5e18761295b Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 21:23:11 -0700 Subject: [PATCH 101/114] update --- .../2021-06-15-privatepreview/Databases.json | 2 - .../2021-06-15-privatepreview/Migrations.json | 2 +- .../examples/CapabilitiesByLocation.json | 6048 ++++++++++++++++- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 4 +- .../examples/ConfigurationUpdate.json | 2 +- .../examples/DatabaseCreate.json | 2 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabasesListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 2 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 4 +- .../examples/GetPrivateDnsZoneSuffix.json | 2 +- .../examples/OperationList.json | 2 +- .../examples/ServerCreate.json | 2 +- .../ServerCreatePointInTimeRestore.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerGetWithVnet.json | 2 +- .../examples/ServerList.json | 4 +- .../examples/ServerListByResourceGroup.json | 4 +- .../examples/ServerRestart.json | 2 +- .../examples/ServerRestartWithFailover.json | 2 +- .../examples/ServerStart.json | 2 +- .../examples/ServerStop.json | 2 +- .../examples/ServerUpdate.json | 2 +- ...erUpdateWithCustomerMaintenanceWindow.json | 2 +- .../examples/VirtualNetworkSubnetUsage.json | 2 +- .../2021-06-15-privatepreview/postgresql.json | 20 +- .../postgresql/resource-manager/readme.md | 10 + 33 files changed, 6025 insertions(+), 121 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json index 7627bbb6ff48..0dcdae5d18d6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -236,7 +236,6 @@ }, "definitions": { "DatabaseProperties": { - "type": "object", "properties": { "charset": { "type": "string", @@ -250,7 +249,6 @@ "description": "The properties of a database." }, "Database": { - "type": "object", "properties": { "properties": { "$ref": "#/definitions/DatabaseProperties", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 1be34ca9b5ee..9a129444e1ad 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -763,7 +763,7 @@ }, "CloudError": { "x-ms-external": true, - "type": "object", + "type": "object", "properties": { "error": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json index a66cd116f391..0eab48a59747 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "locationName": "WestUS" }, @@ -10,6 +10,9 @@ "value": [ { "zone": "none", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, "supportedFlexibleServerEditions": [ { "name": "Burstable", @@ -20,54 +23,173 @@ { "name": "32768", "supportedIops": 120, - "storageSizeMB": 32768 + "storageSizeMB": 32768, + "status": "Available" }, { "name": "65536", "supportedIops": 240, - "storageSizeMB": 65536 + "storageSizeMB": 65536, + "status": "Available" }, { "name": "131072", "supportedIops": 500, - "storageSizeMB": 131072 + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" } - ] + ], + "status": "Default" } ], "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, { "name": "12", "supportedVcores": [ { - "name": "Standard_B1s", + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", "vCores": 1, - "supportedIops": 320, - "supportedMemoryPerVcoreMB": 1024 + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ { "name": "Standard_B1ms", "vCores": 1, "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048 + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" }, { "name": "Standard_B2s", "vCores": 2, "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048 + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" } - ] + ], + "status": "Available" } - ] - } - ] - }, - { - "zone": "1", - "supportedFlexibleServerEditions": [ + ], + "status": "Available" + }, { - "name": "Burstable", + "name": "GeneralPurpose", "supportedStorageEditions": [ { "name": "ManagedDisk", @@ -75,54 +197,593 @@ { "name": "32768", "supportedIops": 120, - "storageSizeMB": 32768 + "storageSizeMB": 32768, + "status": "Available" }, { "name": "65536", "supportedIops": 240, - "storageSizeMB": 65536 + "storageSizeMB": 65536, + "status": "Available" }, { "name": "131072", "supportedIops": 500, - "storageSizeMB": 131072 + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" } - ] + ], + "status": "Default" } ], "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, { "name": "12", "supportedVcores": [ { - "name": "Standard_B1s", - "vCores": 1, - "supportedIops": 320, - "supportedMemoryPerVcoreMB": 1024 + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" }, { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048 + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" }, { - "name": "Standard_B2s", + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048 + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" } - ] + ], + "status": "Available" } - ] - } - ] - }, - { - "zone": "2", - "supportedFlexibleServerEditions": [ + ], + "status": "Available" + }, { - "name": "Burstable", + "name": "MemoryOptimized", "supportedStorageEditions": [ { "name": "ManagedDisk", @@ -130,48 +791,5301 @@ { "name": "32768", "supportedIops": 120, - "storageSizeMB": 32768 + "storageSizeMB": 32768, + "status": "Available" }, { "name": "65536", "supportedIops": 240, - "storageSizeMB": 65536 + "storageSizeMB": 65536, + "status": "Available" }, { "name": "131072", "supportedIops": 500, - "storageSizeMB": 131072 - } - ] - } - ], - "supportedServerVersions": [ - { - "name": "12", - "supportedVcores": [ + "storageSizeMB": 131072, + "status": "Available" + }, { - "name": "Standard_B1s", - "vCores": 1, - "supportedIops": 320, - "supportedMemoryPerVcoreMB": 1024 + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" }, { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048 + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [ + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + }, + { + "name": "33553408", + "supportedIops": 20000, + "storageSizeMB": 33553408, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.0", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2.8", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedNodeTypes": [ + { + "name": "Coordinator", + "nodeType": "Coordinator", + "status": "Default" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + }, + { + "name": "33553408", + "supportedIops": 20000, + "storageSizeMB": 33553408, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.0", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2.8", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedNodeTypes": [ + { + "name": "Worker", + "nodeType": "Worker", + "status": "Default" + } + ], + "status": "Available" + } + ], + "status": "Default" + }, + { + "zone": "1", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" + }, + { + "zone": "2", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" + }, + { + "zone": "3", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" }, { "name": "Standard_B2s", "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048 + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" } - ] + ], + "status": "Available" } - ] + ], + "status": "Available" } - ] + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json index 1b845bdb290c..1faf35ecd5da 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "nameAvailabilityRequest": { "name": "name1", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json index fb6ca8eaaecc..9fdf96943096 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json @@ -3,7 +3,7 @@ "configurationName": "array_nulls", "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json index 3181ad5eda3f..456da452cfbd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json @@ -2,13 +2,13 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations?api-version=2021-06-01-preview&$top=200&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations?api-version=2021-06-15-privatepreview&$top=200&$skiptoken=skiptoken", "value": [ { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json index 3bba586d68a6..c6b9583cd239 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json @@ -3,7 +3,7 @@ "serverName": "testserver", "configurationName": "event_scheduler", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json index 6aab697cd844..cceb55538b91 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json @@ -3,7 +3,7 @@ "databaseName": "db1", "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2020-11-05-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json index 88e5b22a4519..e0b84c89be86 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json @@ -3,7 +3,7 @@ "databaseName": "db1", "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2020-11-05-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json index ec82b011b8ce..986e15827add 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json @@ -3,7 +3,7 @@ "databaseName": "db1", "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2020-11-05-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json index 047a261f9ea5..04398874efe1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2020-11-05-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json index a77bb1c22444..4c607441b4e5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json @@ -3,7 +3,7 @@ "firewallRuleName": "rule1", "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json index 2f675b9a1091..6362cda8fb16 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json @@ -3,7 +3,7 @@ "firewallRuleName": "rule1", "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json index 7268cc29a22c..1889691d5496 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json @@ -3,7 +3,7 @@ "firewallRuleName": "rule1", "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json index 6c104175fe47..05f80a86dd86 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json @@ -2,13 +2,13 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules?api-version=2021-06-01-preview&$top=2&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules?api-version=2021-06-15-privatepreview&$top=2&$skiptoken=skiptoken", "value": [ { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule1", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json index 0230cc66fb14..b6daa3a1ce63 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-03-31-privatepreview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "body": "PostgreSQL" }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json index c7a129c6acc1..d2568e2815bf 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-preview" + "api-version": "2021-06-15-privatepreview" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json index 204416eef81e..93d7fb3f3aea 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc4", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json index 76b542fc685a..b2a772b86fdd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc5", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json index 5993fc904f16..ffc023c9d8a2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json index 247569514223..850933613d90 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc1", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json index d9d4e5fe7d8a..aa7bd9aca30c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc4", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json index 08e74a155bde..0b924c860713 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json @@ -1,12 +1,12 @@ { "parameters": { - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-01-preview&$top=3&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "sku": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json index 9ca6d7339555..161bd2396404 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json @@ -1,13 +1,13 @@ { "parameters": { "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-01-preview&$top=3&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "sku": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json index e35aec2f0a40..8c08c2878d41 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json index fdb11d0b1e70..d928707a0575 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "restartWithFailover": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json index e35aec2f0a40..8c08c2878d41 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json index e35aec2f0a40..8c08c2878d41 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "testserver", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json index 6511eb41b948..5ac55da617e1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc4", "resourceGroupName": "TestGroup", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json index 0475ddb11ff0..2a774f81256b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json @@ -2,7 +2,7 @@ "parameters": { "serverName": "pgtestsvc4", "resourceGroupName": "testrg", - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json index bab833c15cb2..9879af02c1a9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-06-01-preview", + "api-version": "2021-06-15-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "locationName": "WestUS", "parameters": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json index a9c2f13d70d0..97d9504b22b8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -1159,7 +1159,6 @@ "description": "Server version capabilities." }, "StorageEditionCapability": { - "type":"object", "properties": { "name": { "type": "string", @@ -1275,7 +1274,6 @@ "description": "Hyperscale node edition capabilities." }, "CapabilityProperties": { - "type":"object", "properties": { "zone": { "type": "string", @@ -1352,7 +1350,6 @@ } }, "ServerProperties": { - "type":"object", "properties": { "administratorLogin": { "type": "string", @@ -1484,7 +1481,6 @@ "description": "The properties of a server." }, "Server": { - "type":"object", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", @@ -1513,7 +1509,6 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { - "type":"object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1554,7 +1549,6 @@ } }, "ServerForUpdate": { - "type":"object", "properties": { "location": { "type": "string", @@ -1597,7 +1591,7 @@ "description": "A list of servers." }, "Sku": { - "type":"object", + "type": "object", "properties": { "name": { "type": "string", @@ -1624,7 +1618,6 @@ "description": "Sku information related properties of a server." }, "Storage": { - "type":"object", "properties": { "storageSizeGB": { "type": "integer", @@ -1635,7 +1628,6 @@ "description": "Storage properties of a server" }, "Backup": { - "type":"object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1668,7 +1660,6 @@ "description": "Backup properties of a server" }, "Network": { - "type":"object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1703,7 +1694,6 @@ "description": "Network properties of a server" }, "HighAvailability": { - "type":"object", "properties": { "mode": { "type": "string", @@ -1767,7 +1757,6 @@ } }, "FirewallRuleProperties": { - "type":"object", "properties": { "startIpAddress": { "type": "string", @@ -1787,7 +1776,6 @@ "description": "The properties of a server firewall rule." }, "FirewallRule": { - "type":"object", "properties": { "properties": { "$ref": "#/definitions/FirewallRuleProperties", @@ -1828,7 +1816,6 @@ "description": "A list of firewall rules." }, "ConfigurationProperties": { - "type":"object", "properties": { "value": { "type": "string", @@ -1872,7 +1859,6 @@ "description": "The properties of a configuration." }, "Configuration": { - "type":"object", "properties": { "properties": { "$ref": "#/definitions/ConfigurationProperties", @@ -1910,7 +1896,6 @@ "description": "A list of server configurations." }, "OperationDisplay": { - "type":"object", "properties": { "provider": { "type": "string", @@ -1936,7 +1921,6 @@ "description": "Display metadata associated with the operation." }, "Operation": { - "type": "object", "properties": { "name": { "type": "string", @@ -1997,7 +1981,6 @@ } }, "NameAvailabilityRequest": { - "type": "object", "required": [ "name" ], @@ -2014,7 +1997,6 @@ "description": "Request from client to check resource name availability." }, "NameAvailability": { - "type": "object", "properties": { "message": { "type": "string", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 5316bc8a813c..e0e01f6b7f3e 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -77,6 +77,7 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json ``` + ### Tag: package-2021-03-31-privatepreview These settings apply only when `--tag=package-2021-03-31-privatepreview` is specified on the command line. @@ -251,6 +252,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + ## Multi-API/Profile support for AutoRest v3 generators @@ -270,6 +275,8 @@ input-file: - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json + - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json + - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/ServerSecurityAlertPolicies.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/PrivateEndpointConnections.json @@ -277,6 +284,9 @@ input-file: - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/QueryPerformanceInsights.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2018-06-01/PerformanceRecommendations.json - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2020-01-01/DataEncryptionKeys.json + - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json + - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/Databases.json + - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2021-06-01/PrivateDnsZone.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json From 0244fd6d9b25c9d83150488ef0c78171240a6bf0 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Wed, 16 Jun 2021 21:25:43 -0700 Subject: [PATCH 102/114] type object --- .../2021-06-15-privatepreview/Databases.json | 2 ++ .../2021-06-15-privatepreview/postgresql.json | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json index 0dcdae5d18d6..7627bbb6ff48 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -236,6 +236,7 @@ }, "definitions": { "DatabaseProperties": { + "type": "object", "properties": { "charset": { "type": "string", @@ -249,6 +250,7 @@ "description": "The properties of a database." }, "Database": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/DatabaseProperties", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json index 97d9504b22b8..cf142f3c01bd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -1159,6 +1159,7 @@ "description": "Server version capabilities." }, "StorageEditionCapability": { + "type": "object", "properties": { "name": { "type": "string", @@ -1274,6 +1275,7 @@ "description": "Hyperscale node edition capabilities." }, "CapabilityProperties": { + "type": "object", "properties": { "zone": { "type": "string", @@ -1350,6 +1352,7 @@ } }, "ServerProperties": { + "type": "object", "properties": { "administratorLogin": { "type": "string", @@ -1481,6 +1484,7 @@ "description": "The properties of a server." }, "Server": { + "type": "object", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", @@ -1509,6 +1513,7 @@ "description": "Represents a server." }, "ServerPropertiesForUpdate": { + "type": "object", "properties": { "administratorLoginPassword": { "type": "string", @@ -1549,6 +1554,7 @@ } }, "ServerForUpdate": { + "type": "object", "properties": { "location": { "type": "string", @@ -1618,6 +1624,7 @@ "description": "Sku information related properties of a server." }, "Storage": { + "type": "object", "properties": { "storageSizeGB": { "type": "integer", @@ -1628,6 +1635,7 @@ "description": "Storage properties of a server" }, "Backup": { + "type": "object", "properties": { "backupRetentionDays": { "type": "integer", @@ -1660,6 +1668,7 @@ "description": "Backup properties of a server" }, "Network": { + "type": "object", "properties": { "publicNetworkAccess": { "type": "string", @@ -1694,6 +1703,7 @@ "description": "Network properties of a server" }, "HighAvailability": { + "type": "object", "properties": { "mode": { "type": "string", @@ -1757,6 +1767,7 @@ } }, "FirewallRuleProperties": { + "type": "object", "properties": { "startIpAddress": { "type": "string", @@ -1776,6 +1787,7 @@ "description": "The properties of a server firewall rule." }, "FirewallRule": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/FirewallRuleProperties", @@ -1816,6 +1828,7 @@ "description": "A list of firewall rules." }, "ConfigurationProperties": { + "type": "object", "properties": { "value": { "type": "string", @@ -1859,6 +1872,7 @@ "description": "The properties of a configuration." }, "Configuration": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/ConfigurationProperties", @@ -1896,6 +1910,7 @@ "description": "A list of server configurations." }, "OperationDisplay": { + "type": "object", "properties": { "provider": { "type": "string", @@ -1921,6 +1936,7 @@ "description": "Display metadata associated with the operation." }, "Operation": { + "type": "object", "properties": { "name": { "type": "string", @@ -1981,6 +1997,7 @@ } }, "NameAvailabilityRequest": { + "type": "object", "required": [ "name" ], @@ -1997,6 +2014,7 @@ "description": "Request from client to check resource name availability." }, "NameAvailability": { + "type": "object", "properties": { "message": { "type": "string", From 19788a9a6112dba9365a595c6c2c9576e45b2e8f Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 13 Jul 2021 13:12:15 -0700 Subject: [PATCH 103/114] update remove locatiion from rg update error response --- .../2021-06-15-privatepreview/Migrations.json | 26 +++++-------------- .../examples/Migrations_Create.json | 9 +++---- .../examples/Migrations_Get.json | 3 +-- .../Migrations_ListByTargetServer.json | 3 +-- .../examples/Migrations_Update.json | 3 +-- 5 files changed, 12 insertions(+), 32 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 9a129444e1ad..39e77ed32587 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -88,7 +88,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -131,7 +131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -183,7 +183,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -226,7 +226,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -271,7 +271,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -327,7 +327,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -510,10 +510,6 @@ "properties": { "resourceId": { "type": "string" - }, - "location": { - "maxLength": 128, - "type": "string" } }, "description": "Migration resource group." @@ -760,16 +756,6 @@ } }, "description": "Represents a migration name's availability." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." } }, "parameters": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json index 34427f1d0bae..2dc9e95c42bb 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json @@ -27,8 +27,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" } }, "location": "westus" @@ -83,8 +82,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, @@ -148,8 +146,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json index caccff8b412f..b1b5bf273649 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json @@ -55,8 +55,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json index 8758c33623d2..12960acb7c0a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json @@ -57,8 +57,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json index 7130bba5a960..fef41e8b6f3f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json @@ -60,8 +60,7 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", - "location": "westus" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": false, From d561321d423d9726791096abb1dfeace6f35aa38 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 13 Jul 2021 14:41:50 -0700 Subject: [PATCH 104/114] unify error response version --- .../2021-06-15-privatepreview/Migrations.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 39e77ed32587..7232a5a4d757 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -88,7 +88,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } } @@ -131,7 +131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } } @@ -183,7 +183,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } } @@ -226,7 +226,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } } @@ -271,7 +271,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } }, @@ -327,7 +327,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } } } From f4b7c2a7b880590a874aabca7e03b9bbf7e6f638 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 15 Jul 2021 14:55:29 -0700 Subject: [PATCH 105/114] Cloud error already confroms. API update remove location move targetDBServerSubnetResourceId add userAssignedIdentityResourceId --- .../2021-06-15-privatepreview/Migrations.json | 31 +++++++++++++------ .../examples/Migrations_Create.json | 12 +++---- .../examples/Migrations_Get.json | 4 +-- .../Migrations_ListByTargetServer.json | 4 +-- .../examples/Migrations_Update.json | 4 +-- 5 files changed, 34 insertions(+), 21 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 7232a5a4d757..ef5621005b95 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -88,7 +88,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } } @@ -131,7 +131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } } @@ -183,7 +183,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } } @@ -226,7 +226,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } } @@ -271,7 +271,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } }, @@ -327,7 +327,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } } @@ -389,13 +389,13 @@ "secretParameters": { "$ref": "#/definitions/MigrationSecretParameters" }, + "userAssignedIdentityResourceId": { + "type": "string" + }, "targetDBServerResourceId": { "type": "string", "readOnly": true }, - "targetDBServerSubnetResourceId": { - "type": "string" - }, "dBsToMigrate": { "maxItems": 8, "type": "array", @@ -510,6 +510,9 @@ "properties": { "resourceId": { "type": "string" + }, + "subnetResourceId": { + "type": "string" } }, "description": "Migration resource group." @@ -756,6 +759,16 @@ } }, "description": "Represents a migration name's availability." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." } }, "parameters": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json index 2dc9e95c42bb..8f3f8aecc019 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Create.json @@ -19,7 +19,6 @@ "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" } }, - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -27,7 +26,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" } }, "location": "westus" @@ -74,7 +74,6 @@ } }, "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -82,7 +81,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, @@ -138,7 +138,6 @@ } }, "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -146,7 +145,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json index b1b5bf273649..775258ca1968 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Get.json @@ -47,7 +47,6 @@ } }, "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -55,7 +54,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json index 12960acb7c0a..0095c014c06c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_ListByTargetServer.json @@ -49,7 +49,6 @@ } }, "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -57,7 +56,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" }, "setupLogicalReplicationOnSourceDBIfNeeded": false, "overwriteDBsInTarget": false, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json index fef41e8b6f3f..3c60b1eebc14 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/Migrations_Update.json @@ -52,7 +52,6 @@ } }, "targetDBServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testtarget", - "targetDBServerSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default", "dBsToMigrate": [ "db1", "db2", @@ -60,7 +59,8 @@ "db4" ], "migrationResourceGroup": { - "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg" + "resourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg", + "subnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default" }, "setupLogicalReplicationOnSourceDBIfNeeded": true, "overwriteDBsInTarget": false, From 0a9709fcc4319ba9adb74b7d3d8dba48c35d3e3c Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Thu, 15 Jul 2021 16:07:35 -0700 Subject: [PATCH 106/114] update properties for patch and fix prettier --- .../preview/2021-06-15-privatepreview/Migrations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index ef5621005b95..871f49de40a3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -390,7 +390,7 @@ "$ref": "#/definitions/MigrationSecretParameters" }, "userAssignedIdentityResourceId": { - "type": "string" + "type": "string" }, "targetDBServerResourceId": { "type": "string", @@ -470,7 +470,7 @@ "secretParameters": { "$ref": "#/definitions/MigrationSecretParameters" }, - "targetDBServerSubnetResourceId": { + "userAssignedIdentityResourceId": { "type": "string" }, "dBsToMigrate": { From 14453d9b66e73d914c68b441039ff1b70c25c5f8 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 19 Jul 2021 13:16:17 -0700 Subject: [PATCH 107/114] update --- .../2021-06-15-privatepreview/Databases.json | 318 - .../2021-06-15-privatepreview/Migrations.json | 9 +- .../PrivateDnsZone.json | 106 - .../examples/CapabilitiesByLocation.json | 6094 ----------------- .../examples/CheckNameAvailability.json | 20 - .../examples/ConfigurationGet.json | 26 - .../examples/ConfigurationListByServer.json | 1902 ----- .../examples/ConfigurationUpdate.json | 33 - .../examples/DatabaseCreate.json | 40 - .../examples/DatabaseDelete.json | 14 - .../examples/DatabaseGet.json | 22 - .../examples/DatabasesListByServer.json | 34 - .../examples/FirewallRuleCreate.json | 40 - .../examples/FirewallRuleDelete.json | 14 - .../examples/FirewallRuleGet.json | 22 - .../examples/FirewallRuleListByServer.json | 35 - .../examples/GetPrivateDnsZoneSuffix.json | 12 - .../examples/OperationList.json | 176 - .../examples/ServerCreate.json | 136 - .../ServerCreatePointInTimeRestore.json | 107 - .../examples/ServerDelete.json | 13 - .../examples/ServerGet.json | 54 - .../examples/ServerGetWithVnet.json | 57 - .../examples/ServerList.json | 90 - .../examples/ServerListByResourceGroup.json | 91 - .../examples/ServerRestart.json | 12 - .../examples/ServerRestartWithFailover.json | 16 - .../examples/ServerStart.json | 12 - .../examples/ServerStop.json | 12 - .../examples/ServerUpdate.json | 75 - ...erUpdateWithCustomerMaintenanceWindow.json | 70 - .../examples/VirtualNetworkSubnetUsage.json | 26 - .../2021-06-15-privatepreview/postgresql.json | 2105 ------ .../postgresql/resource-manager/readme.md | 8 +- 34 files changed, 7 insertions(+), 11794 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json deleted file mode 100644 index 7627bbb6ff48..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLServerManagementClient", - "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.", - "version": "2021-06-15-privatepreview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}": { - "put": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Create", - "x-ms-examples": { - "Create a database": { - "$ref": "./examples/DatabaseCreate.json" - } - }, - "description": "Creates a new database or updates an existing database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "The required parameters for creating or updating a database." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Delete", - "x-ms-examples": { - "Delete a database": { - "$ref": "./examples/DatabaseDelete.json" - } - }, - "description": "Deletes a database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Get", - "x-ms-examples": { - "Get a database": { - "$ref": "./examples/DatabaseGet.json" - } - }, - "description": "Gets information about a database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases": { - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_ListByServer", - "x-ms-examples": { - "List databases in a server": { - "$ref": "./examples/DatabasesListByServer.json" - } - }, - "description": "List all the databases in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "DatabaseProperties": { - "type": "object", - "properties": { - "charset": { - "type": "string", - "description": "The charset of the database." - }, - "collation": { - "type": "string", - "description": "The collation of the database." - } - }, - "description": "The properties of a database." - }, - "Database": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DatabaseProperties", - "x-ms-client-flatten": true, - "description": "The properties of a database." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Database." - }, - "DatabaseListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "The list of databases housed in a server" - }, - "nextLink": { - "description": "The link used to get the next page of databases.", - "type": "string" - } - }, - "description": "A List of databases." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "description": "The name of the server.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 871f49de40a3..ee32f7a80a47 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -503,9 +503,6 @@ "description": "Migration resource properties for patch." }, "MigrationResourceGroup": { - "required": [ - "resourceId" - ], "type": "object", "properties": { "resourceId": { @@ -607,7 +604,7 @@ "type": "integer" }, "sku": { - "$ref": "#/definitions/Sku" + "$ref": "#/definitions/ServerSku" } }, "description": "Database server metadata." @@ -688,7 +685,7 @@ }, "description": "Migration sub state details." }, - "Sku": { + "ServerSku": { "type": "object", "properties": { "name": { @@ -760,7 +757,7 @@ }, "description": "Represents a migration name's availability." }, - "CloudError": { + "ServiceError": { "x-ms-external": true, "type": "object", "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json deleted file mode 100644 index 661def657f82..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2021-06-15-privatepreview", - "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." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix": { - "post": { - "tags": [ - "GetPrivateDnsZoneSuffix" - ], - "operationId": "GetPrivateDnsZoneSuffix_Execute", - "x-ms-examples": { - "GetPrivateDnsZoneSuffix": { - "$ref": "./examples/GetPrivateDnsZoneSuffix.json" - } - }, - "description": "Get private DNS zone suffix in the cloud", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "type": "string", - "enum": [ - "PostgreSQL", - "PostgreSQLCitus", - "MySQL", - "MariaDb", - "Oracle" - ] - }, - "description": "The required parameters for getting private DNS zone suffix based on server type." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateDnsZoneSuffix" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "PrivateDnsZoneSuffix": { - "type": "string", - "description": "Represents a resource name availability." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json deleted file mode 100644 index 0eab48a59747..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json +++ /dev/null @@ -1,6094 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "locationName": "WestUS" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "zone": "none", - "geoBackupSupported": true, - "zoneRedundantHaSupported": true, - "zoneRedundantHaAndGeoBackupSupported": true, - "supportedFlexibleServerEditions": [ - { - "name": "Burstable", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "GeneralPurpose", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "MemoryOptimized", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedHyperscaleNodeEditions": [ - { - "name": "GeneralPurpose", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - }, - { - "name": "33553408", - "supportedIops": 20000, - "storageSizeMB": 33553408, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.0", - "supportedVcores": [ - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.2", - "supportedVcores": [ - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.2.8", - "supportedVcores": [ - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedNodeTypes": [ - { - "name": "Coordinator", - "nodeType": "Coordinator", - "status": "Default" - } - ], - "status": "Available" - }, - { - "name": "MemoryOptimized", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - }, - { - "name": "33553408", - "supportedIops": 20000, - "storageSizeMB": 33553408, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.0", - "supportedVcores": [ - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.2", - "supportedVcores": [ - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "11.2.8", - "supportedVcores": [ - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 25600, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 51200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 80000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedNodeTypes": [ - { - "name": "Worker", - "nodeType": "Worker", - "status": "Default" - } - ], - "status": "Available" - } - ], - "status": "Default" - }, - { - "zone": "1", - "geoBackupSupported": true, - "zoneRedundantHaSupported": true, - "zoneRedundantHaAndGeoBackupSupported": true, - "supportedFlexibleServerEditions": [ - { - "name": "Burstable", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "GeneralPurpose", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "MemoryOptimized", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedHyperscaleNodeEditions": [], - "status": "Available" - }, - { - "zone": "2", - "geoBackupSupported": true, - "zoneRedundantHaSupported": true, - "zoneRedundantHaAndGeoBackupSupported": true, - "supportedFlexibleServerEditions": [ - { - "name": "Burstable", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "GeneralPurpose", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "MemoryOptimized", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedHyperscaleNodeEditions": [], - "status": "Available" - }, - { - "zone": "3", - "geoBackupSupported": true, - "zoneRedundantHaSupported": true, - "zoneRedundantHaAndGeoBackupSupported": true, - "supportedFlexibleServerEditions": [ - { - "name": "Burstable", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_B1ms", - "vCores": 1, - "supportedIops": 640, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - }, - { - "name": "Standard_B2s", - "vCores": 2, - "supportedIops": 1280, - "supportedMemoryPerVcoreMB": 2048, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "GeneralPurpose", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_D2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - }, - { - "name": "Standard_D64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 4096, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "MemoryOptimized", - "supportedStorageEditions": [ - { - "name": "ManagedDisk", - "supportedStorageMB": [ - { - "name": "32768", - "supportedIops": 120, - "storageSizeMB": 32768, - "status": "Available" - }, - { - "name": "65536", - "supportedIops": 240, - "storageSizeMB": 65536, - "status": "Available" - }, - { - "name": "131072", - "supportedIops": 500, - "storageSizeMB": 131072, - "status": "Available" - }, - { - "name": "262144", - "supportedIops": 1100, - "storageSizeMB": 262144, - "status": "Available" - }, - { - "name": "524288", - "supportedIops": 2300, - "storageSizeMB": 524288, - "status": "Available" - }, - { - "name": "1048576", - "supportedIops": 5000, - "storageSizeMB": 1048576, - "status": "Available" - }, - { - "name": "2097152", - "supportedIops": 7500, - "storageSizeMB": 2097152, - "status": "Available" - }, - { - "name": "4194304", - "supportedIops": 7500, - "storageSizeMB": 4194304, - "status": "Available" - }, - { - "name": "8388608", - "supportedIops": 16000, - "storageSizeMB": 8388608, - "status": "Available" - }, - { - "name": "16777216", - "supportedIops": 18000, - "storageSizeMB": 16777216, - "status": "Available" - } - ], - "status": "Default" - } - ], - "supportedServerVersions": [ - { - "name": "11", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.0", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "12.1", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - }, - { - "name": "13", - "supportedVcores": [ - { - "name": "Standard_E2s_v3", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4s_v3", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8s_v3", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16s_v3", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32s_v3", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48s_v3", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64s_v3", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - }, - { - "name": "Standard_E2ds_v4", - "vCores": 2, - "supportedIops": 3200, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E4ds_v4", - "vCores": 4, - "supportedIops": 6400, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E8ds_v4", - "vCores": 8, - "supportedIops": 12800, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E16ds_v4", - "vCores": 16, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E20ds_v4", - "vCores": 20, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E32ds_v4", - "vCores": 32, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E48ds_v4", - "vCores": 48, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 8192, - "status": "Available" - }, - { - "name": "Standard_E64ds_v4", - "vCores": 64, - "supportedIops": 18000, - "supportedMemoryPerVcoreMB": 6912, - "status": "Available" - } - ], - "status": "Available" - } - ], - "status": "Available" - } - ], - "supportedHyperscaleNodeEditions": [], - "status": "Available" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json deleted file mode 100644 index 1faf35ecd5da..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "nameAvailabilityRequest": { - "name": "name1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true, - "message": "", - "name": "name1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json deleted file mode 100644 index 9fdf96943096..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "configurationName": "array_nulls", - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "properties": { - "value": "on", - "description": "Enable input of NULL elements in arrays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", - "name": "array_nulls", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json deleted file mode 100644 index 456da452cfbd..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json +++ /dev/null @@ -1,1902 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations?api-version=2021-06-15-privatepreview&$top=200&$skiptoken=skiptoken", - "value": [ - { - "properties": { - "value": "", - "description": "Sets the application name to be reported in statistics and logs.", - "defaultValue": "", - "dataType": "String", - "allowedValues": "[A-Za-z0-9._-]*", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/application_name", - "name": "application_name", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables input of NULL elements in arrays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", - "name": "array_nulls", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Starts the autovacuum subprocess.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum", - "name": "autovacuum", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.1", - "description": "Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.", - "defaultValue": "0.1", - "dataType": "Numeric", - "allowedValues": "0-100", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_scale_factor", - "name": "autovacuum_analyze_scale_factor", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "50", - "description": "Minimum number of tuple inserts, updates, or deletes prior to analyze.", - "defaultValue": "50", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_threshold", - "name": "autovacuum_analyze_threshold", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "60", - "description": "Time to sleep between autovacuum runs.", - "defaultValue": "60", - "dataType": "Integer", - "allowedValues": "1-2147483", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_naptime", - "name": "autovacuum_naptime", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "Vacuum cost delay in milliseconds, for autovacuum.", - "defaultValue": "2", - "dataType": "Integer", - "allowedValues": "-1-100", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_delay", - "name": "autovacuum_vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-1", - "description": "Vacuum cost amount available before napping, for autovacuum.", - "defaultValue": "-1", - "dataType": "Integer", - "allowedValues": "-1-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_limit", - "name": "autovacuum_vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.2", - "description": "Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.", - "defaultValue": "0.2", - "dataType": "Numeric", - "allowedValues": "0-100", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_scale_factor", - "name": "autovacuum_vacuum_scale_factor", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "50", - "description": "Minimum number of tuple updates or deletes prior to vacuum.", - "defaultValue": "50", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_threshold", - "name": "autovacuum_vacuum_threshold", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-1", - "description": "Sets the maximum memory to be used by each autovacuum worker process.", - "defaultValue": "-1", - "dataType": "Integer", - "allowedValues": "-1-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_work_mem", - "name": "autovacuum_work_mem", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Number of pages after which previously performed writes are flushed to disk.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-256", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backend_flush_after", - "name": "backend_flush_after", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "safe_encoding", - "description": "Sets whether \"\\'\" is allowed in string literals.", - "defaultValue": "safe_encoding", - "dataType": "Enumeration", - "allowedValues": "safe_encoding,on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backslash_quote", - "name": "backslash_quote", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "200", - "description": "Background writer sleep time between rounds.", - "defaultValue": "200", - "dataType": "Integer", - "allowedValues": "10-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_delay", - "name": "bgwriter_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "64", - "description": "Number of pages after which previously performed writes are flushed to disk.", - "defaultValue": "64", - "dataType": "Integer", - "allowedValues": "0-256", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_flush_after", - "name": "bgwriter_flush_after", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "100", - "description": "Background writer maximum number of LRU pages to flush per round.", - "defaultValue": "100", - "dataType": "Integer", - "allowedValues": "0-1073741823", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_maxpages", - "name": "bgwriter_lru_maxpages", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "Multiple of the average buffer usage to free per round.", - "defaultValue": "2", - "dataType": "Numeric", - "allowedValues": "0-10", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_multiplier", - "name": "bgwriter_lru_multiplier", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "hex", - "description": "Sets the output format for bytea.", - "defaultValue": "hex", - "dataType": "Enumeration", - "allowedValues": "escape,hex", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bytea_output", - "name": "bytea_output", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Checks function bodies during CREATE FUNCTION.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/check_function_bodies", - "name": "check_function_bodies", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.5", - "description": "Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.", - "defaultValue": "0.5", - "dataType": "Numeric", - "allowedValues": "0-1", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_completion_target", - "name": "checkpoint_completion_target", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "300", - "description": "Sets the maximum time between automatic WAL checkpoints.", - "defaultValue": "300", - "dataType": "Integer", - "allowedValues": "30-86400", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_timeout", - "name": "checkpoint_timeout", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "30", - "description": "Enables warnings if checkpoint segments are filled more frequently than this.", - "defaultValue": "30", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_warning", - "name": "checkpoint_warning", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "sql_ascii", - "description": "Sets the client's character set encoding.", - "defaultValue": "sql_ascii", - "dataType": "Enumeration", - "allowedValues": "BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_encoding", - "name": "client_encoding", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "notice", - "description": "Sets the message levels that are sent to the client.", - "defaultValue": "notice", - "dataType": "Enumeration", - "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_min_messages", - "name": "client_min_messages", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Sets the delay in microseconds between transaction commit and flushing WAL to disk.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-100000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_delay", - "name": "commit_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "5", - "description": "Sets the minimum concurrent open transactions before performing commit_delay.", - "defaultValue": "5", - "dataType": "Integer", - "allowedValues": "0-1000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_siblings", - "name": "commit_siblings", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "partition", - "description": "Enables the planner to use constraints to optimize queries.", - "defaultValue": "partition", - "dataType": "Enumeration", - "allowedValues": "partition,on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/constraint_exclusion", - "name": "constraint_exclusion", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.005", - "description": "Sets the planner's estimate of the cost of processing each index entry during an index scan.", - "defaultValue": "0.005", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_index_tuple_cost", - "name": "cpu_index_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.0025", - "description": "Sets the planner's estimate of the cost of processing each operator or function call.", - "defaultValue": "0.0025", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_operator_cost", - "name": "cpu_operator_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.01", - "description": "Sets the planner's estimate of the cost of processing each tuple (row).", - "defaultValue": "0.01", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_tuple_cost", - "name": "cpu_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.1", - "description": "Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.", - "defaultValue": "0.1", - "dataType": "Numeric", - "allowedValues": "0-1", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cursor_tuple_fraction", - "name": "cursor_tuple_fraction", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "ISO, MDY", - "description": "Sets the display format for date and time values.", - "defaultValue": "ISO, MDY", - "dataType": "String", - "allowedValues": "(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/DateStyle", - "name": "DateStyle", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1000", - "description": "Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.", - "defaultValue": "1000", - "dataType": "Integer", - "allowedValues": "1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/deadlock_timeout", - "name": "deadlock_timeout", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Indents parse and plan tree displays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_pretty_print", - "name": "debug_pretty_print", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs each query's parse tree.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_parse", - "name": "debug_print_parse", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs each query's execution plan.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_plan", - "name": "debug_print_plan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs each query's rewritten parse tree.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_rewritten", - "name": "debug_print_rewritten", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "100", - "description": "Sets the default statistics target.", - "defaultValue": "100", - "dataType": "Integer", - "allowedValues": "1-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_statistics_target", - "name": "default_statistics_target", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "", - "description": "Sets the default tablespace to create tables and indexes in.", - "defaultValue": "", - "dataType": "String", - "allowedValues": "[A-Za-z._]*", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_tablespace", - "name": "default_tablespace", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "pg_catalog.english", - "description": "Sets default text search configuration.", - "defaultValue": "pg_catalog.english", - "dataType": "String", - "allowedValues": "[A-Za-z._]+", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_text_search_config", - "name": "default_text_search_config", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Sets the default deferrable status of new transactions.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_deferrable", - "name": "default_transaction_deferrable", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "read committed", - "description": "Sets the transaction isolation level of each new transaction.", - "defaultValue": "read committed", - "dataType": "Enumeration", - "allowedValues": "serializable,repeatable read,read committed,read uncommitted", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_isolation", - "name": "default_transaction_isolation", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Sets the default read-only status of new transactions.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_read_only", - "name": "default_transaction_read_only", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Creates new tables with OIDs by default.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_with_oids", - "name": "default_with_oids", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "3145728", - "description": "Sets the planner's assumption about the size of the disk cache.", - "defaultValue": "3145728", - "dataType": "Integer", - "allowedValues": "1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/effective_cache_size", - "name": "effective_cache_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of bitmap-scan plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_bitmapscan", - "name": "enable_bitmapscan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of gather merge plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_gathermerge", - "name": "enable_gathermerge", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of hashed aggregation plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashagg", - "name": "enable_hashagg", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of hash join plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashjoin", - "name": "enable_hashjoin", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of index-only-scan plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexonlyscan", - "name": "enable_indexonlyscan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of index-scan plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexscan", - "name": "enable_indexscan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of materialization.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_material", - "name": "enable_material", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of merge join plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_mergejoin", - "name": "enable_mergejoin", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of nested loop join plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_nestloop", - "name": "enable_nestloop", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of sequential-scan plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_seqscan", - "name": "enable_seqscan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of explicit sort steps.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_sort", - "name": "enable_sort", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables the planner's use of TID scan plans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_tidscan", - "name": "enable_tidscan", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Warns about backslash escapes in ordinary string literals.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/escape_string_warning", - "name": "escape_string_warning", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Terminates session on any error.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/exit_on_error", - "name": "exit_on_error", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1", - "description": "Sets the number of digits displayed for floating-point values.", - "defaultValue": "1", - "dataType": "Integer", - "allowedValues": "-15-3", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/extra_float_digits", - "name": "extra_float_digits", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Forces use of parallel query facilities.", - "defaultValue": "off", - "dataType": "Enumeration", - "allowedValues": "off,on,regress", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/force_parallel_mode", - "name": "force_parallel_mode", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "8", - "description": "Sets the FROM-list size beyond which subqueries are not collapsed.", - "defaultValue": "8", - "dataType": "Integer", - "allowedValues": "1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/from_collapse_limit", - "name": "from_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables genetic query optimization.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo", - "name": "geqo", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "5", - "description": "GEQO: effort is used to set the default for other GEQO parameters.", - "defaultValue": "5", - "dataType": "Integer", - "allowedValues": "1-10", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_effort", - "name": "geqo_effort", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "GEQO: number of iterations of the algorithm.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_generations", - "name": "geqo_generations", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "GEQO: number of individuals in the population.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_pool_size", - "name": "geqo_pool_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "GEQO: seed for random path selection.", - "defaultValue": "0", - "dataType": "Numeric", - "allowedValues": "0-1", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_seed", - "name": "geqo_seed", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "GEQO: selective pressure within the population.", - "defaultValue": "2", - "dataType": "Numeric", - "allowedValues": "1.5-2", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_selection_bias", - "name": "geqo_selection_bias", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "12", - "description": "Sets the threshold of FROM items beyond which GEQO is used.", - "defaultValue": "12", - "dataType": "Integer", - "allowedValues": "2-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_threshold", - "name": "geqo_threshold", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Sets the maximum allowed result for exact search by GIN.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_fuzzy_search_limit", - "name": "gin_fuzzy_search_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "4096", - "description": "Sets the maximum size of the pending list for GIN index.", - "defaultValue": "4096", - "dataType": "Integer", - "allowedValues": "64-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_pending_list_limit", - "name": "gin_pending_list_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Sets the maximum allowed duration of any idling transaction.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/idle_in_transaction_session_timeout", - "name": "idle_in_transaction_session_timeout", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "postgres", - "description": "Sets the display format for interval values.", - "defaultValue": "postgres", - "dataType": "Enumeration", - "allowedValues": "postgres,postgres_verbose,sql_standard,iso_8601", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/IntervalStyle", - "name": "IntervalStyle", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "8", - "description": "Sets the FROM-list size beyond which JOIN constructs are not flattened.", - "defaultValue": "8", - "dataType": "Integer", - "allowedValues": "1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/join_collapse_limit", - "name": "join_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "en_US.utf-8", - "description": "Sets the locale for formatting monetary amounts.", - "defaultValue": "en_US.utf-8", - "dataType": "String", - "allowedValues": "[A-Za-z0-9._ -]+", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_monetary", - "name": "lc_monetary", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "en_US.utf-8", - "description": "Sets the locale for formatting numbers.", - "defaultValue": "en_US.utf-8", - "dataType": "String", - "allowedValues": "[A-Za-z0-9._ -]+", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_numeric", - "name": "lc_numeric", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Enables backward compatibility mode for privilege checks on large objects.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lo_compat_privileges", - "name": "lo_compat_privileges", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lock_timeout", - "name": "lock_timeout", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-1", - "description": "Sets the minimum execution time above which autovacuum actions will be logged.", - "defaultValue": "-1", - "dataType": "Integer", - "allowedValues": "-1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_autovacuum_min_duration", - "name": "log_autovacuum_min_duration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Logs each checkpoint.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_checkpoints", - "name": "log_checkpoints", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Logs each successful connection.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_connections", - "name": "log_connections", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "stderr", - "description": "Sets the destination for server log output.", - "defaultValue": "stderr", - "dataType": "Enumeration", - "allowedValues": "stderr,csvlog", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_destination", - "name": "log_destination", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs end of a session, including duration.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_disconnections", - "name": "log_disconnections", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs the duration of each completed SQL statement.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_duration", - "name": "log_duration", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "default", - "description": "Sets the verbosity of logged messages.", - "defaultValue": "default", - "dataType": "Enumeration", - "allowedValues": "terse,default,verbose", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_error_verbosity", - "name": "log_error_verbosity", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs long lock waits.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_lock_waits", - "name": "log_lock_waits", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-1", - "description": "Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.", - "defaultValue": "-1", - "dataType": "Integer", - "allowedValues": "-1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_duration_statement", - "name": "log_min_duration_statement", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "error", - "description": "Causes all statements generating error at or above this level to be logged.", - "defaultValue": "error", - "dataType": "Enumeration", - "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_error_statement", - "name": "log_min_error_statement", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "warning", - "description": "Sets the message levels that are logged.", - "defaultValue": "warning", - "dataType": "Enumeration", - "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_messages", - "name": "log_min_messages", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Logs each replication command.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_replication_commands", - "name": "log_replication_commands", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "none", - "description": "Sets the type of statements logged.", - "defaultValue": "none", - "dataType": "Enumeration", - "allowedValues": "none,ddl,mod,all", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement", - "name": "log_statement", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "For each query, writes cumulative performance statistics to the server log.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement_stats", - "name": "log_statement_stats", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-1", - "description": "Logs the use of temporary files larger than this number of kilobytes.", - "defaultValue": "-1", - "dataType": "Integer", - "allowedValues": "-1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_temp_files", - "name": "log_temp_files", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "332800", - "description": "Sets the maximum memory to be used for maintenance operations.", - "defaultValue": "332800", - "dataType": "Integer", - "allowedValues": "1024-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/maintenance_work_mem", - "name": "maintenance_work_mem", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "8", - "description": "Sets the maximum number of parallel workers than can be active at one time.", - "defaultValue": "8", - "dataType": "Integer", - "allowedValues": "0-1024", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers", - "name": "max_parallel_workers", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "Sets the maximum number of parallel processes per executor node.", - "defaultValue": "2", - "dataType": "Integer", - "allowedValues": "0-1024", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers_per_gather", - "name": "max_parallel_workers_per_gather", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "Sets the maximum number of predicate-locked tuples per page.", - "defaultValue": "2", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_page", - "name": "max_pred_locks_per_page", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "-2", - "description": "Sets the maximum number of predicate-locked pages and tuples per relation.", - "defaultValue": "-2", - "dataType": "Integer", - "allowedValues": "-2147483648-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_relation", - "name": "max_pred_locks_per_relation", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "30000", - "description": "Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.", - "defaultValue": "30000", - "dataType": "Integer", - "allowedValues": "-1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_archive_delay", - "name": "max_standby_archive_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "30000", - "description": "Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.", - "defaultValue": "30000", - "dataType": "Integer", - "allowedValues": "-1-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_streaming_delay", - "name": "max_standby_streaming_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "2", - "description": "Maximum number of table synchronization workers per subscription.", - "defaultValue": "2", - "dataType": "Integer", - "allowedValues": "0-262143", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_sync_workers_per_subscription", - "name": "max_sync_workers_per_subscription", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1024", - "description": "Sets the WAL size that triggers a checkpoint.", - "defaultValue": "1024", - "dataType": "Integer", - "allowedValues": "2-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_wal_size", - "name": "max_wal_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "64", - "description": "Sets the minimum amount of index data for a parallel scan.", - "defaultValue": "64", - "dataType": "Integer", - "allowedValues": "0-715827882", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_index_scan_size", - "name": "min_parallel_index_scan_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1024", - "description": "Sets the minimum amount of table data for a parallel scan.", - "defaultValue": "1024", - "dataType": "Integer", - "allowedValues": "0-715827882", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_table_scan_size", - "name": "min_parallel_table_scan_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "80", - "description": "Sets the minimum size to shrink the WAL to.", - "defaultValue": "80", - "dataType": "Integer", - "allowedValues": "2-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_wal_size", - "name": "min_wal_size", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Emits a warning for constructs that changed meaning since PostgreSQL 9.4.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/operator_precedence_warning", - "name": "operator_precedence_warning", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1000", - "description": "Sets the planner's estimate of the cost of starting up worker processes for parallel query.", - "defaultValue": "1000", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_setup_cost", - "name": "parallel_setup_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0.1", - "description": "Sets the planner's estimate of the cost of passing each tuple (row) from worker to master backend.", - "defaultValue": "0.1", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_tuple_cost", - "name": "parallel_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "When generating SQL fragments, quotes all identifiers.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/quote_all_identifiers", - "name": "quote_all_identifiers", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "4", - "description": "Sets the planner's estimate of the cost of a nonsequentially fetched disk page.", - "defaultValue": "4", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/random_page_cost", - "name": "random_page_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables row security.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/row_security", - "name": "row_security", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "\"$user\", public", - "description": "Sets the schema search order for names that are not schema-qualified.", - "defaultValue": "\"$user\", public", - "dataType": "String", - "allowedValues": "[A-Za-z.\"$, ]+", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/search_path", - "name": "search_path", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1", - "description": "Sets the planner's estimate of the cost of a sequentially fetched disk page.", - "defaultValue": "1", - "dataType": "Numeric", - "allowedValues": "0-1.79769e+308", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/seq_page_cost", - "name": "seq_page_cost", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "origin", - "description": "Sets the session's behavior for triggers and rewrite rules.", - "defaultValue": "origin", - "dataType": "Enumeration", - "allowedValues": "origin,replica,local", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/session_replication_role", - "name": "session_replication_role", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Causes '...' strings to treat backslashes literally.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/standard_conforming_strings", - "name": "standard_conforming_strings", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/statement_timeout", - "name": "statement_timeout", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Enables synchronized sequential scans.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronize_seqscans", - "name": "synchronize_seqscans", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Sets the current transaction's synchronization level.", - "defaultValue": "on", - "dataType": "Enumeration", - "allowedValues": "local,remote_write,on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronous_commit", - "name": "synchronous_commit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "9", - "description": "Maximum number of TCP keepalive retransmits.", - "defaultValue": "9", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_count", - "name": "tcp_keepalives_count", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "120", - "description": "Time between issuing TCP keepalives.", - "defaultValue": "120", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_idle", - "name": "tcp_keepalives_idle", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "30", - "description": "Time between TCP keepalive retransmits.", - "defaultValue": "30", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_interval", - "name": "tcp_keepalives_interval", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1024", - "description": "Sets the maximum number of temporary buffers used by each database session.", - "defaultValue": "1024", - "dataType": "Integer", - "allowedValues": "100-1073741823", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_buffers", - "name": "temp_buffers", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "", - "description": "Sets the tablespace(s) to use for temporary tables and sort files.", - "defaultValue": "", - "dataType": "String", - "allowedValues": "[A-Za-z._]*", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_tablespaces", - "name": "temp_tablespaces", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "UTC", - "description": "Sets the time zone for displaying and interpreting time stamps.", - "defaultValue": "UTC", - "dataType": "String", - "allowedValues": "[A-Za-z0-9/+_-]+", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/TimeZone", - "name": "TimeZone", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Collects information about executing commands.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_activities", - "name": "track_activities", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "on", - "description": "Collects statistics on database activity.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_counts", - "name": "track_counts", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "none", - "description": "Collects function-level statistics on database activity.", - "defaultValue": "none", - "dataType": "Enumeration", - "allowedValues": "none,pl,all", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_functions", - "name": "track_functions", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Collects timing statistics for database I/O activity.", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_io_timing", - "name": "track_io_timing", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "off", - "description": "Treats \"expr=NULL\" as \"expr IS NULL\".", - "defaultValue": "off", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/transform_null_equals", - "name": "transform_null_equals", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Vacuum cost delay in milliseconds.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-100", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_delay", - "name": "vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "200", - "description": "Vacuum cost amount available before napping.", - "defaultValue": "200", - "dataType": "Integer", - "allowedValues": "1-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_limit", - "name": "vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "20", - "description": "Vacuum cost for a page dirtied by vacuum.", - "defaultValue": "20", - "dataType": "Integer", - "allowedValues": "0-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_dirty", - "name": "vacuum_cost_page_dirty", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "1", - "description": "Vacuum cost for a page found in the buffer cache.", - "defaultValue": "1", - "dataType": "Integer", - "allowedValues": "0-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_hit", - "name": "vacuum_cost_page_hit", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "10", - "description": "Vacuum cost for a page not found in the buffer cache.", - "defaultValue": "10", - "dataType": "Integer", - "allowedValues": "0-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_miss", - "name": "vacuum_cost_page_miss", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "0", - "description": "Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.", - "defaultValue": "0", - "dataType": "Integer", - "allowedValues": "0-1000000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_defer_cleanup_age", - "name": "vacuum_defer_cleanup_age", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "50000000", - "description": "Minimum age at which VACUUM should freeze a table row.", - "defaultValue": "50000000", - "dataType": "Integer", - "allowedValues": "0-1000000000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_min_age", - "name": "vacuum_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "150000000", - "description": "Age at which VACUUM should scan whole table to freeze tuples.", - "defaultValue": "150000000", - "dataType": "Integer", - "allowedValues": "0-2000000000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_table_age", - "name": "vacuum_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "5000000", - "description": "Minimum age at which VACUUM should freeze a MultiXactId in a table row.", - "defaultValue": "5000000", - "dataType": "Integer", - "allowedValues": "0-1000000000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_min_age", - "name": "vacuum_multixact_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "150000000", - "description": "Multixact age at which VACUUM should scan whole table to freeze tuples.", - "defaultValue": "150000000", - "dataType": "Integer", - "allowedValues": "0-2000000000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_table_age", - "name": "vacuum_multixact_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "10", - "description": "Sets the maximum interval between WAL receiver status reports to the primary.", - "defaultValue": "10", - "dataType": "Integer", - "allowedValues": "0-2147483", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_receiver_status_interval", - "name": "wal_receiver_status_interval", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "200", - "description": "Time between WAL flushes performed in the WAL writer.", - "defaultValue": "200", - "dataType": "Integer", - "allowedValues": "1-10000", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_delay", - "name": "wal_writer_delay", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "128", - "description": "Amount of WAL written out by WAL writer that triggers a flush.", - "defaultValue": "128", - "dataType": "Integer", - "allowedValues": "0-2147483647", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_flush_after", - "name": "wal_writer_flush_after", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "115712", - "description": "Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.", - "defaultValue": "115712", - "dataType": "Integer", - "allowedValues": "4096-2097151", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/work_mem", - "name": "work_mem", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "base64", - "description": "Sets how binary values are to be encoded in XML.", - "defaultValue": "base64", - "dataType": "Enumeration", - "allowedValues": "base64,hex", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmlbinary", - "name": "xmlbinary", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - }, - { - "properties": { - "value": "content", - "description": "Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.", - "defaultValue": "content", - "dataType": "Enumeration", - "allowedValues": "content,document", - "source": "system-default" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmloption", - "name": "xmloption", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json deleted file mode 100644 index c6b9583cd239..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "configurationName": "event_scheduler", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "value": "on", - "source": "user-override" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "value": "ON", - "description": "Indicates the status of the Event Scheduler.", - "defaultValue": "OFF", - "dataType": "Enumeration", - "allowedValues": "ON,OFF,DISABLED", - "source": "user-override" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/event_scheduler", - "name": "event_scheduler", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json deleted file mode 100644 index cceb55538b91..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json deleted file mode 100644 index e0b84c89be86..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json deleted file mode 100644 index 986e15827add..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json deleted file mode 100644 index 04398874efe1..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db2", - "name": "db2", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json deleted file mode 100644 index 4c607441b4e5..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "firewallRuleName": "rule1", - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", - "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", - "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" - } - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json deleted file mode 100644 index 6362cda8fb16..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "firewallRuleName": "rule1", - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json deleted file mode 100644 index 1889691d5496..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "firewallRuleName": "rule1", - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", - "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" - } - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json deleted file mode 100644 index 05f80a86dd86..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules?api-version=2021-06-15-privatepreview&$top=2&$skiptoken=skiptoken", - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule1", - "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule2", - "name": "rule2", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", - "properties": { - "startIpAddress": "1.0.0.0", - "endIpAddress": "255.0.0.0" - } - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json deleted file mode 100644 index b6daa3a1ce63..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "body": "PostgreSQL" - }, - "responses": { - "200": { - "body": "postgres.database.azure.com" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json deleted file mode 100644 index d2568e2815bf..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/read", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "PostgreSQL Server", - "operation": "List/Get PostgreSQL Servers", - "description": "Return the list of servers or gets the properties for the specified server." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "PostgreSQL Server", - "operation": "Create/Update PostgreSQL Server", - "description": "Creates a server with the specified parameters or update the properties or tags for the specified server." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "PostgreSQL Server", - "operation": "Delete PostgreSQL Server", - "description": "Deletes an existing server." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Firewall Rules", - "operation": "List/Get Firewall Rules", - "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Firewall Rules", - "operation": "Create/Update Firewall Rule", - "description": "Creates a firewall rule with the specified parameters or update an existing rule." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Firewall Rules", - "operation": "Delete Firewall Rule", - "description": "Deletes an existing firewall rule." - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Database Metric Definition", - "operation": "Get database metric definitions", - "description": "Return types of metrics that are available for databases" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "cpu_percent", - "displayName": "CPU percent", - "displayDescription": "CPU percent", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "compute_limit", - "displayName": "Compute Unit limit", - "displayDescription": "Compute Unit limit", - "unit": "Count", - "aggregationType": "Average" - }, - { - "name": "compute_consumption_percent", - "displayName": "Compute Unit percentage", - "displayDescription": "Compute Unit percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "memory_percent", - "displayName": "Memory percent", - "displayDescription": "Memory percent", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "io_consumption_percent", - "displayName": "IO percent", - "displayDescription": "IO percent", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "storage_percent", - "displayName": "Storage percentage", - "displayDescription": "Storage percentage", - "unit": "Percent", - "aggregationType": "Average" - }, - { - "name": "storage_used", - "displayName": "Storage used", - "displayDescription": "Storage used", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "storage_limit", - "displayName": "Storage limit", - "displayDescription": "Storage limit", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "active_connections", - "displayName": "Total active connections", - "displayDescription": "Total active connections", - "unit": "Count", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "connections_failed", - "displayName": "Total failed connections", - "displayDescription": "Total failed connections", - "unit": "Count", - "aggregationType": "Average", - "fillGapWithZero": true - } - ] - } - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Database Metric Definition", - "operation": "Read diagnostic setting", - "description": "Gets the disagnostic setting for the resource" - } - }, - { - "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft DB for PostgreSQL", - "resource": "Database Metric Definition", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - } - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json deleted file mode 100644 index 93d7fb3f3aea..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc4", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "sku": { - "tier": "GeneralPurpose", - "name": "Standard_D4s_v3" - }, - "properties": { - "administratorLogin": "cloudsa", - "administratorLoginPassword": "password", - "version": "12", - "availabilityZone": "1", - "createMode": "Create", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled" - }, - "network": { - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant" - } - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "200": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json deleted file mode 100644 index b2a772b86fdd..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc5", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "PointInTimeRestore", - "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername", - "pointInTimeUTC": "2021-06-27T00:04:59.4078005+00:00" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "2", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" - }, - "network": { - "publicNetworkAccess": "Enabled" - }, - "highAvailability": { - "mode": "Disabled", - "state": "NotEnabled" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", - "name": "pgtestsvc5", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "200": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "2", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" - }, - "network": { - "publicNetworkAccess": "Enabled" - }, - "highAvailability": { - "mode": "Disabled", - "state": "NotEnabled" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", - "name": "pgtestsvc5", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json deleted file mode 100644 index ffc023c9d8a2..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json deleted file mode 100644 index 850933613d90..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc1", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00" - }, - "network": { - "publicNetworkAccess": "Enabled" - }, - "highAvailability": { - "mode": "Disabled", - "state": "NotEnabled" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", - "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json deleted file mode 100644 index aa7bd9aca30c..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc4", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json deleted file mode 100644 index 0b924c860713..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", - "value": [ - { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - }, - { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" - }, - "network": { - "publicNetworkAccess": "Enabled" - }, - "highAvailability": { - "mode": "Disabled", - "state": "NotEnabled" - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", - "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json deleted file mode 100644 index 161bd2396404..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", - "value": [ - { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - }, - { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" - }, - "network": { - "publicNetworkAccess": "Enabled" - }, - "highAvailability": { - "mode": "Disabled", - "state": "NotEnabled" - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", - "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json deleted file mode 100644 index 8c08c2878d41..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json deleted file mode 100644 index d928707a0575..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "restartWithFailover": true, - "failoverMode": "forcedFailover" - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json deleted file mode 100644 index 8c08c2878d41..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json deleted file mode 100644 index 8c08c2878d41..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json deleted file mode 100644 index 5ac55da617e1..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc4", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "sku": { - "tier": "GeneralPurpose", - "name": "Standard_D8s_v3" - }, - "properties": { - "administratorLoginPassword": "newpassword", - "createMode": "Update", - "storage": { - "storageSizeGB": 1024 - }, - "backup": { - "backupRetentionDays": 20 - } - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "Standard_D8s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 1024 - }, - "backup": { - "backupRetentionDays": 20, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - }, - "maintenanceWindow": { - "customWindow": "Disabled", - "dayOfWeek": 0, - "startHour": 0, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json deleted file mode 100644 index 2a774f81256b..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "serverName": "pgtestsvc4", - "resourceGroupName": "testrg", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "Update", - "maintenanceWindow": { - "customWindow": "Enabled", - "dayOfWeek": 0, - "startHour": 8, - "startMinute": 0 - } - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "Standard_D4s_v3", - "tier": "GeneralPurpose" - }, - "properties": { - "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", - "version": "12", - "minorVersion": "6", - "administratorLogin": "cloudsa", - "state": "Ready", - "availabilityZone": "1", - "storage": { - "storageSizeGB": 512 - }, - "backup": { - "backupRetentionDays": 7, - "geoRedundantBackup": "Disabled", - "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" - }, - "network": { - "publicNetworkAccess": "Disabled", - "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", - "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" - }, - "highAvailability": { - "mode": "ZoneRedundant", - "state": "Healthy", - "standbyAvailabilityZone": "2" - }, - "maintenanceWindow": { - "customWindow": "Enabled", - "dayOfWeek": 0, - "startHour": 8, - "startMinute": 0 - } - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", - "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json deleted file mode 100644 index 9879af02c1a9..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "locationName": "WestUS", - "parameters": { - "virtualNetworkArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet" - } - }, - "responses": { - "200": { - "body": { - "delegatedSubnetsUsage": [ - { - "subnetName": "test-subnet-1", - "usage": 2 - }, - { - "subnetName": "test-subnet-2", - "usage": 3 - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json deleted file mode 100644 index cf142f3c01bd..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +++ /dev/null @@ -1,2105 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLServerManagementClient", - "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.", - "version": "2021-06-15-privatepreview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}": { - "put": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Create", - "x-ms-examples": { - "Create a new server": { - "$ref": "./examples/ServerCreate.json" - }, - "Create a database as a point in time restore": { - "$ref": "./examples/ServerCreatePointInTimeRestore.json" - } - }, - "description": "Creates a new server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Server" - }, - "description": "The required parameters for creating or updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Update", - "x-ms-examples": { - "ServerUpdate": { - "$ref": "./examples/ServerUpdate.json" - }, - "ServerUpdateWithCustomerMaintenanceWindow": { - "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json" - } - }, - "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ServerForUpdate" - }, - "description": "The required parameters for updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Delete", - "x-ms-examples": { - "ServerDelete": { - "$ref": "./examples/ServerDelete.json" - } - }, - "description": "Deletes a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Get", - "x-ms-examples": { - "ServerGet": { - "$ref": "./examples/ServerGet.json" - }, - "ServerGetWithVnet": { - "$ref": "./examples/ServerGetWithVnet.json" - } - }, - "description": "Gets information about a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Server" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_ListByResourceGroup", - "x-ms-examples": { - "ServerListByResourceGroup": { - "$ref": "./examples/ServerListByResourceGroup.json" - } - }, - "description": "List all the servers in a given resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_List", - "x-ms-examples": { - "ServerList": { - "$ref": "./examples/ServerList.json" - } - }, - "description": "List all the servers in a given subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart": { - "post": { - "tags": [ - "ServerRestart" - ], - "operationId": "Servers_Restart", - "x-ms-examples": { - "ServerRestart": { - "$ref": "./examples/ServerRestart.json" - }, - "ServerRestartWithFailover": { - "$ref": "./examples/ServerRestartWithFailover.json" - } - }, - "description": "Restarts a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/RestartParameter" - }, - "description": "The parameters for restarting a server." - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start": { - "post": { - "tags": [ - "ServerStart" - ], - "operationId": "Servers_Start", - "x-ms-examples": { - "ServerStart": { - "$ref": "./examples/ServerStart.json" - } - }, - "description": "Starts a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop": { - "post": { - "tags": [ - "ServerStop" - ], - "operationId": "Servers_Stop", - "x-ms-examples": { - "ServerStop": { - "$ref": "./examples/ServerStop.json" - } - }, - "description": "Stops a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { - "put": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_CreateOrUpdate", - "x-ms-examples": { - "FirewallRuleCreate": { - "$ref": "./examples/FirewallRuleCreate.json" - } - }, - "description": "Creates a new firewall rule or updates an existing firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The required parameters for creating or updating a firewall rule." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Delete", - "x-ms-examples": { - "FirewallRuleDelete": { - "$ref": "./examples/FirewallRuleDelete.json" - } - }, - "description": "Deletes a PostgreSQL server firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Get", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleGet.json" - } - }, - "description": "List all the firewall rules in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules": { - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_ListByServer", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleListByServer.json" - } - }, - "description": "List all the firewall rules in a given PostgreSQL server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_ListByServer", - "x-ms-examples": { - "ConfigurationList": { - "$ref": "./examples/ConfigurationListByServer.json" - } - }, - "description": "List all the configurations in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Get", - "x-ms-examples": { - "ConfigurationGet": { - "$ref": "./examples/ConfigurationGet.json" - } - }, - "description": "Gets information about a configuration of server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Update", - "x-ms-examples": { - "Update a user configuration": { - "$ref": "./examples/ConfigurationUpdate.json" - } - }, - "description": "Updates a configuration of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Configuration" - }, - "description": "The required parameters for updating a server configuration." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Put", - "x-ms-examples": { - "Update a user configuration": { - "$ref": "./examples/ConfigurationUpdate.json" - } - }, - "description": "Updates a configuration of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Configuration" - }, - "description": "The required parameters for updating a server configuration." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability": { - "post": { - "tags": [ - "CheckNameAvailability" - ], - "operationId": "CheckNameAvailability_Execute", - "x-ms-examples": { - "NameAvailability": { - "$ref": "./examples/CheckNameAvailability.json" - } - }, - "description": "Check the availability of name for resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "nameAvailabilityRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityRequest" - }, - "description": "The required parameters for checking if resource name is available." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/NameAvailability" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/capabilities": { - "get": { - "tags": [ - "LocationBasedCapabilities" - ], - "operationId": "LocationBasedCapabilities_Execute", - "x-ms-examples": { - "CapabilitiesList": { - "$ref": "./examples/CapabilitiesByLocation.json" - } - }, - "description": "Get capabilities at specified location in a given subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CapabilitiesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage": { - "post": { - "tags": [ - "VirtualNetworkSubnetUsage" - ], - "operationId": "VirtualNetworkSubnetUsage_Execute", - "x-ms-examples": { - "VirtualNetworkSubnetUsageList": { - "$ref": "./examples/VirtualNetworkSubnetUsage.json" - } - }, - "description": "Get virtual network subnet usage for a given vNet resource id.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter" - }, - "description": "The required parameters for creating or updating a server." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VirtualNetworkSubnetUsageResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/providers/Microsoft.DBForPostgreSql/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "description": "Lists all of the available REST API operations.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "VirtualNetworkSubnetUsageParameter": { - "type": "object", - "properties": { - "virtualNetworkArmResourceId": { - "type": "string", - "description": "Virtual network resource id." - } - }, - "description": "Virtual network subnet usage parameter" - }, - "VirtualNetworkSubnetUsageResult": { - "type": "object", - "properties": { - "delegatedSubnetsUsage": { - "type": "array", - "items": { - "$ref": "#/definitions/DelegatedSubnetUsage" - }, - "readOnly": true - } - }, - "description": "Virtual network subnet usage data." - }, - "DelegatedSubnetUsage": { - "type": "object", - "properties": { - "subnetName": { - "type": "string", - "readOnly": true, - "description": "name of the subnet" - }, - "usage": { - "type": "integer", - "format": "int64", - "readOnly": true, - "description": "Number of used delegated subnets" - } - }, - "description": "Delegated subnet usage data." - }, - "StorageMBCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "storage MB name", - "readOnly": true - }, - "supportedIops": { - "type": "integer", - "format": "int64", - "description": "supported IOPS", - "readOnly": true - }, - "storageSizeMB": { - "type": "integer", - "format": "int64", - "description": "storage size in MB", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "storage size in MB capability" - }, - "VcoreCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "vCore name", - "readOnly": true - }, - "vCores": { - "type": "integer", - "format": "int64", - "description": "supported vCores", - "readOnly": true - }, - "supportedIops": { - "type": "integer", - "format": "int64", - "description": "supported IOPS", - "readOnly": true - }, - "supportedMemoryPerVcoreMB": { - "type": "integer", - "format": "int64", - "description": "supported memory per vCore in MB", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Vcores capability" - }, - "ServerVersionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "server version", - "readOnly": true - }, - "supportedVcores": { - "type": "array", - "items": { - "$ref": "#/definitions/VcoreCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Server version capabilities." - }, - "StorageEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "storage edition name", - "readOnly": true - }, - "supportedStorageMB": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageMBCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "storage edition capability" - }, - "NodeTypeCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "note type name", - "readOnly": true - }, - "nodeType": { - "type": "string", - "description": "note type", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "node type capability" - }, - "FlexibleServerEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Server edition name", - "readOnly": true - }, - "supportedStorageEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageEditionCapability" - }, - "description": "The list of editions supported by this server edition.", - "readOnly": true - }, - "supportedServerVersions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "description": "The list of server versions supported by this server edition.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Flexible server edition capabilities." - }, - "HyperscaleNodeEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Server edition name", - "readOnly": true - }, - "supportedStorageEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageEditionCapability" - }, - "description": "The list of editions supported by this server edition.", - "readOnly": true - }, - "supportedServerVersions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "description": "The list of server versions supported by this server edition.", - "readOnly": true - }, - "supportedNodeTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/NodeTypeCapability" - }, - "description": "The list of Node Types supported by this server edition.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Hyperscale node edition capabilities." - }, - "CapabilityProperties": { - "type": "object", - "properties": { - "zone": { - "type": "string", - "description": "zone name", - "readOnly": true - }, - "geoBackupSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", - "readOnly": true - }, - "zoneRedundantHaSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can support multi zone HA.", - "readOnly": true - }, - "zoneRedundantHaAndGeoBackupSupported": { - "type": "boolean", - "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", - "readOnly": true - }, - "supportedFlexibleServerEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/FlexibleServerEditionCapability" - }, - "readOnly": true - }, - "supportedHyperscaleNodeEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/HyperscaleNodeEditionCapability" - }, - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status", - "readOnly": true - } - }, - "description": "Location capabilities." - }, - "CapabilitiesListResult": { - "type": "object", - "properties": { - "value": { - "description": "A list of supported capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/CapabilityProperties" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "location capability" - }, - "ServerVersion": { - "type": "string", - "description": "The version of a server.", - "enum": [ - "13", - "12", - "11" - ], - "x-ms-enum": { - "name": "ServerVersion", - "modelAsString": true - } - }, - "ServerProperties": { - "type": "object", - "properties": { - "administratorLogin": { - "type": "string", - "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "administratorLoginPassword": { - "type": "string", - "description": "The administrator login password (required for server creation).", - "x-ms-secret": true, - "format": "password", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "minorVersion": { - "type": "string", - "description": "The minor version of the server.", - "readOnly": true - }, - "state": { - "type": "string", - "description": "A state of a server that is visible to user.", - "readOnly": true, - "enum": [ - "Ready", - "Dropping", - "Disabled", - "Starting", - "Stopping", - "Stopped", - "Updating" - ], - "x-ms-enum": { - "name": "ServerState", - "modelAsString": true - } - }, - "fullyQualifiedDomainName": { - "type": "string", - "description": "The fully qualified domain name of a server.", - "readOnly": true - }, - "storage": { - "$ref": "#/definitions/Storage", - "description": "Storage properties of a server." - }, - "backup": { - "$ref": "#/definitions/Backup", - "description": "Backup properties of a server." - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network properties of a server.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "highAvailability": { - "$ref": "#/definitions/HighAvailability", - "description": "High availability properties of a server." - }, - "maintenanceWindow": { - "$ref": "#/definitions/MaintenanceWindow", - "description": "Maintenance window properties of a server.", - "x-ms-mutability": [ - "update", - "read" - ] - }, - "sourceServerResourceId": { - "type": "string", - "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", - "x-ms-mutability": [ - "create" - ] - }, - "pointInTimeUTC": { - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", - "x-ms-mutability": [ - "create" - ] - }, - "availabilityZone": { - "type": "string", - "description": "availability zone information of the server.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "createMode": { - "type": "string", - "description": "The mode to create a new PostgreSQL server.", - "enum": [ - "Default", - "Create", - "Update", - "PointInTimeRestore" - ], - "x-ms-enum": { - "name": "CreateMode", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "update" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "description": "The properties of a server." - }, - "Server": { - "type": "object", - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", - "description": "The Azure Active Directory identity of the server." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU (pricing tier) of the server." - }, - "properties": { - "$ref": "#/definitions/ServerProperties", - "x-ms-client-flatten": true, - "description": "Properties of the server." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents a server." - }, - "ServerPropertiesForUpdate": { - "type": "object", - "properties": { - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "storage": { - "$ref": "#/definitions/Storage", - "description": "Storage properties of a server." - }, - "backup": { - "$ref": "#/definitions/Backup", - "description": "Backup properties of a server." - }, - "highAvailability": { - "$ref": "#/definitions/HighAvailability", - "description": "High availability properties of a server." - }, - "maintenanceWindow": { - "$ref": "#/definitions/MaintenanceWindow", - "description": "Maintenance window properties of a server." - }, - "createMode": { - "type": "string", - "description": "The mode to update a new PostgreSQL server.", - "enum": [ - "Default", - "Update" - ], - "x-ms-enum": { - "name": "CreateModeForUpdate", - "modelAsString": true - }, - "x-ms-mutability": [ - "update" - ] - } - } - }, - "ServerForUpdate": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU (pricing tier) of the server." - }, - "properties": { - "$ref": "#/definitions/ServerPropertiesForUpdate", - "x-ms-client-flatten": true, - "description": "Properties of the server." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "description": "Represents a server to be updated." - }, - "ServerListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Server" - }, - "description": "The list of flexible servers" - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of servers." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." - }, - "tier": { - "type": "string", - "description": "The tier of the particular SKU, e.g. Burstable.", - "enum": [ - "Burstable", - "GeneralPurpose", - "MemoryOptimized" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } - } - }, - "required": [ - "name", - "tier" - ], - "description": "Sku information related properties of a server." - }, - "Storage": { - "type": "object", - "properties": { - "storageSizeGB": { - "type": "integer", - "format": "int32", - "description": "Max storage allowed for a server." - } - }, - "description": "Storage properties of a server" - }, - "Backup": { - "type": "object", - "properties": { - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "Backup retention days for the server." - }, - "geoRedundantBackup": { - "type": "string", - "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "GeoRedundantBackupEnum", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "earliestRestoreDate": { - "type": "string", - "format": "date-time", - "description": "The earliest restore point time (ISO8601 format) for server.", - "readOnly": true - } - }, - "description": "Backup properties of a server" - }, - "Network": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "type": "string", - "description": "public network access is enabled or not", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ServerPublicNetworkAccessState", - "modelAsString": true - }, - "readOnly": true - }, - "delegatedSubnetResourceId": { - "type": "string", - "description": "delegated subnet arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "privateDnsZoneArmResourceId": { - "type": "string", - "description": "private dns zone arm resource id.", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "description": "Network properties of a server" - }, - "HighAvailability": { - "type": "object", - "properties": { - "mode": { - "type": "string", - "description": "The HA mode for the server.", - "enum": [ - "Disabled", - "ZoneRedundant" - ], - "x-ms-enum": { - "name": "HighAvailabilityMode", - "modelAsString": true - } - }, - "state": { - "type": "string", - "description": "A state of a HA server that is visible to user.", - "enum": [ - "NotEnabled", - "CreatingStandby", - "ReplicatingData", - "FailingOver", - "Healthy", - "RemovingStandby" - ], - "x-ms-enum": { - "name": "ServerHAState", - "modelAsString": true - }, - "readOnly": true - }, - "standbyAvailabilityZone": { - "type": "string", - "description": "availability zone information of the standby." - } - }, - "description": "High availability properties of a server" - }, - "MaintenanceWindow": { - "type": "object", - "description": "Maintenance window properties of a server.", - "properties": { - "customWindow": { - "type": "string", - "description": "indicates whether custom window is enabled or disabled" - }, - "startHour": { - "type": "integer", - "format": "int32", - "description": "start hour for maintenance window" - }, - "startMinute": { - "type": "integer", - "format": "int32", - "description": "start minute for maintenance window" - }, - "dayOfWeek": { - "type": "integer", - "format": "int32", - "description": "day of week for maintenance window" - } - } - }, - "FirewallRuleProperties": { - "type": "object", - "properties": { - "startIpAddress": { - "type": "string", - "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", - "description": "The start IP address of the server firewall rule. Must be IPv4 format." - }, - "endIpAddress": { - "type": "string", - "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", - "description": "The end IP address of the server firewall rule. Must be IPv4 format." - } - }, - "required": [ - "startIpAddress", - "endIpAddress" - ], - "description": "The properties of a server firewall rule." - }, - "FirewallRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FirewallRuleProperties", - "x-ms-client-flatten": true, - "description": "The properties of a firewall rule." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Represents a server firewall rule." - }, - "FirewallRuleListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The list of firewall rules in a server." - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of firewall rules." - }, - "ConfigurationProperties": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "Value of the configuration." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "Description of the configuration." - }, - "defaultValue": { - "type": "string", - "readOnly": true, - "description": "Default value of the configuration." - }, - "dataType": { - "type": "string", - "readOnly": true, - "description": "Data type of the configuration.", - "enum": [ - "Boolean", - "Numeric", - "Integer", - "Enumeration" - ], - "x-ms-enum": { - "name": "ConfigurationDataType", - "modelAsString": true - } - }, - "allowedValues": { - "type": "string", - "readOnly": true, - "description": "Allowed values of the configuration." - }, - "source": { - "type": "string", - "description": "Source of the configuration." - } - }, - "description": "The properties of a configuration." - }, - "Configuration": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "The properties of a configuration." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Configuration." - }, - "ConfigurationListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Configuration" - }, - "description": "The list of server configurations." - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - }, - "description": "A list of server configurations." - }, - "OperationDisplay": { - "type": "object", - "properties": { - "provider": { - "type": "string", - "readOnly": true, - "description": "Operation resource provider name." - }, - "resource": { - "type": "string", - "readOnly": true, - "description": "Resource on which the operation is performed." - }, - "operation": { - "type": "string", - "readOnly": true, - "description": "Localized friendly name for the operation." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "Operation description." - } - }, - "description": "Display metadata associated with the operation." - }, - "Operation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the operation being performed on this particular object." - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "readOnly": true, - "description": "The localized display information for this particular operation or action." - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "type": "string", - "readOnly": true, - "description": "The intended executor of the operation.", - "enum": [ - "NotSpecified", - "user", - "system" - ], - "x-ms-enum": { - "name": "OperationOrigin", - "modelAsString": true - } - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true, - "x-ms-client-flatten": false, - "description": "Additional descriptions for the operation." - } - }, - "description": "REST API operation definition." - }, - "OperationListResult": { - "description": "A list of resource provider operations.", - "type": "object", - "properties": { - "value": { - "description": "Collection of available operation details", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "NameAvailabilityRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Resource name to verify." - }, - "type": { - "type": "string", - "description": "Resource type used for verification." - } - }, - "description": "Request from client to check resource name availability." - }, - "NameAvailability": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "Error Message." - }, - "nameAvailable": { - "type": "boolean", - "description": "Indicates whether the resource name is available." - }, - "name": { - "type": "string", - "description": "name of the PostgreSQL server." - }, - "type": { - "type": "string", - "description": "type of the server" - } - }, - "description": "Represents a resource name availability." - }, - "RestartParameter": { - "type": "object", - "properties": { - "restartWithFailover": { - "type": "boolean", - "description": "Indicates whether to restart the server with failover." - }, - "failoverMode": { - "type": "string", - "description": "Failover mode." - } - }, - "description": "Represents server restart parameters." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - }, - "parameters": { - "LocationNameParameter": { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the location.", - "x-ms-parameter-location": "method" - }, - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" - }, - "FirewallRuleNameParameter": { - "name": "firewallRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server firewall rule.", - "x-ms-parameter-location": "method" - }, - "ConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server configuration.", - "x-ms-parameter-location": "method" - }, - "MaintenanceWindowNameParameter": { - "name": "maintenanceWindowName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the maintenance window.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 60f40d4f9404..5f6373da9c97 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -38,9 +38,9 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec ``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json +- Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json +- Microsoft.DBforPostgreSQL/stable/2021-06-01/Databases.json +- Microsoft.DBforPostgreSQL/stable/2021-06-01/PrivateDnsZone.json ``` ### Tag: package-flexibleserver-2021-06 @@ -56,7 +56,7 @@ input-file: ### Tag: package-flexibleserver-2021-06-preview -These settings apply only when `--tag=package-flexibleserver-2021-06-preview` is specified on the command line. +These settings apply only when `--tag=package-flexibleserver-2021-06-preview` is specified on the command line.cd .. ``` yaml $(tag) == 'package-flexibleserver-2021-06-preview' input-file: From 507950cd57a732bd741c741159799f1a15bda91e Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 19 Jul 2021 14:07:29 -0700 Subject: [PATCH 108/114] Service error --- .../2021-06-15-privatepreview/Migrations.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index ee32f7a80a47..b15935df774e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -88,7 +88,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } } @@ -131,7 +131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } } @@ -183,7 +183,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } } @@ -226,7 +226,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } } @@ -271,7 +271,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } }, @@ -327,7 +327,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "#/definitions/ServiceError" } } } From f4ccbf73869b2f62e223576b2a69b36cb9aaed19 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 11:33:03 -0700 Subject: [PATCH 109/114] type; object, duplicate version --- .../2021-06-15-privatepreview/Databases.json | 319 + .../PrivateDnsZone.json | 106 + .../examples/CapabilitiesByLocation.json | 6094 +++++++++++++++++ .../examples/CheckNameAvailability.json | 20 + .../examples/ConfigurationGet.json | 26 + .../examples/ConfigurationListByServer.json | 1902 +++++ .../examples/ConfigurationUpdate.json | 33 + .../examples/DatabaseCreate.json | 40 + .../examples/DatabaseDelete.json | 14 + .../examples/DatabaseGet.json | 22 + .../examples/DatabasesListByServer.json | 34 + .../examples/FirewallRuleCreate.json | 40 + .../examples/FirewallRuleDelete.json | 14 + .../examples/FirewallRuleGet.json | 22 + .../examples/FirewallRuleListByServer.json | 35 + .../examples/GetPrivateDnsZoneSuffix.json | 12 + .../examples/OperationList.json | 176 + .../examples/ServerCreate.json | 136 + .../ServerCreatePointInTimeRestore.json | 107 + .../examples/ServerDelete.json | 13 + .../examples/ServerGet.json | 54 + .../examples/ServerGetWithVnet.json | 57 + .../examples/ServerList.json | 90 + .../examples/ServerListByResourceGroup.json | 91 + .../examples/ServerRestart.json | 12 + .../examples/ServerRestartWithFailover.json | 16 + .../examples/ServerStart.json | 12 + .../examples/ServerStop.json | 12 + .../examples/ServerUpdate.json | 75 + ...erUpdateWithCustomerMaintenanceWindow.json | 70 + .../examples/VirtualNetworkSubnetUsage.json | 26 + .../examples/WaitStatisticsListByServer.json | 39 + .../2021-06-15-privatepreview/postgresql.json | 2105 ++++++ .../postgresql/resource-manager/readme.md | 6 +- 34 files changed, 11827 insertions(+), 3 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json new file mode 100644 index 000000000000..b5a67197aca2 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -0,0 +1,319 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLServerManagementClient", + "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.", + "version": "2021-06-15-privatepreview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}": { + "put": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Create", + "x-ms-examples": { + "Create a database": { + "$ref": "./examples/DatabaseCreate.json" + } + }, + "description": "Creates a new database or updates an existing database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Database" + }, + "description": "The required parameters for creating or updating a database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Delete", + "x-ms-examples": { + "Delete a database": { + "$ref": "./examples/DatabaseDelete.json" + } + }, + "description": "Deletes a database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Get", + "x-ms-examples": { + "Get a database": { + "$ref": "./examples/DatabaseGet.json" + } + }, + "description": "Gets information about a database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByServer", + "x-ms-examples": { + "List databases in a server": { + "$ref": "./examples/DatabasesListByServer.json" + } + }, + "description": "List all the databases in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DatabaseProperties": { + "type": "object", + "properties": { + "charset": { + "type": "string", + "description": "The charset of the database." + }, + "collation": { + "type": "string", + "description": "The collation of the database." + } + }, + "description": "The properties of a database." + }, + "Database": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "x-ms-client-flatten": true, + "description": "The properties of a database." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Database." + }, + "DatabaseListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "The list of databases housed in a server" + }, + "nextLink": { + "description": "The link used to get the next page of databases.", + "type": "string" + } + }, + "description": "A List of databases." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json new file mode 100644 index 000000000000..661def657f82 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json @@ -0,0 +1,106 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-06-15-privatepreview", + "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." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix": { + "post": { + "tags": [ + "GetPrivateDnsZoneSuffix" + ], + "operationId": "GetPrivateDnsZoneSuffix_Execute", + "x-ms-examples": { + "GetPrivateDnsZoneSuffix": { + "$ref": "./examples/GetPrivateDnsZoneSuffix.json" + } + }, + "description": "Get private DNS zone suffix in the cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "type": "string", + "enum": [ + "PostgreSQL", + "PostgreSQLCitus", + "MySQL", + "MariaDb", + "Oracle" + ] + }, + "description": "The required parameters for getting private DNS zone suffix based on server type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneSuffix" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "PrivateDnsZoneSuffix": { + "type": "string", + "description": "Represents a resource name availability." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json new file mode 100644 index 000000000000..0eab48a59747 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CapabilitiesByLocation.json @@ -0,0 +1,6094 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "locationName": "WestUS" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "zone": "none", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [ + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + }, + { + "name": "33553408", + "supportedIops": 20000, + "storageSizeMB": 33553408, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.0", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2.8", + "supportedVcores": [ + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedNodeTypes": [ + { + "name": "Coordinator", + "nodeType": "Coordinator", + "status": "Default" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + }, + { + "name": "33553408", + "supportedIops": 20000, + "storageSizeMB": 33553408, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.0", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "11.2.8", + "supportedVcores": [ + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 25600, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 51200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 80000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedNodeTypes": [ + { + "name": "Worker", + "nodeType": "Worker", + "status": "Default" + } + ], + "status": "Available" + } + ], + "status": "Default" + }, + { + "zone": "1", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" + }, + { + "zone": "2", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" + }, + { + "zone": "3", + "geoBackupSupported": true, + "zoneRedundantHaSupported": true, + "zoneRedundantHaAndGeoBackupSupported": true, + "supportedFlexibleServerEditions": [ + { + "name": "Burstable", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_B1ms", + "vCores": 1, + "supportedIops": 640, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + }, + { + "name": "Standard_B2s", + "vCores": 2, + "supportedIops": 1280, + "supportedMemoryPerVcoreMB": 2048, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "GeneralPurpose", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_D2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + }, + { + "name": "Standard_D64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 4096, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "MemoryOptimized", + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "supportedStorageMB": [ + { + "name": "32768", + "supportedIops": 120, + "storageSizeMB": 32768, + "status": "Available" + }, + { + "name": "65536", + "supportedIops": 240, + "storageSizeMB": 65536, + "status": "Available" + }, + { + "name": "131072", + "supportedIops": 500, + "storageSizeMB": 131072, + "status": "Available" + }, + { + "name": "262144", + "supportedIops": 1100, + "storageSizeMB": 262144, + "status": "Available" + }, + { + "name": "524288", + "supportedIops": 2300, + "storageSizeMB": 524288, + "status": "Available" + }, + { + "name": "1048576", + "supportedIops": 5000, + "storageSizeMB": 1048576, + "status": "Available" + }, + { + "name": "2097152", + "supportedIops": 7500, + "storageSizeMB": 2097152, + "status": "Available" + }, + { + "name": "4194304", + "supportedIops": 7500, + "storageSizeMB": 4194304, + "status": "Available" + }, + { + "name": "8388608", + "supportedIops": 16000, + "storageSizeMB": 8388608, + "status": "Available" + }, + { + "name": "16777216", + "supportedIops": 18000, + "storageSizeMB": 16777216, + "status": "Available" + } + ], + "status": "Default" + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.0", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "12.1", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + }, + { + "name": "13", + "supportedVcores": [ + { + "name": "Standard_E2s_v3", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4s_v3", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8s_v3", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16s_v3", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32s_v3", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48s_v3", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64s_v3", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + }, + { + "name": "Standard_E2ds_v4", + "vCores": 2, + "supportedIops": 3200, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E4ds_v4", + "vCores": 4, + "supportedIops": 6400, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E8ds_v4", + "vCores": 8, + "supportedIops": 12800, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E16ds_v4", + "vCores": 16, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E20ds_v4", + "vCores": 20, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E32ds_v4", + "vCores": 32, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E48ds_v4", + "vCores": 48, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 8192, + "status": "Available" + }, + { + "name": "Standard_E64ds_v4", + "vCores": 64, + "supportedIops": 18000, + "supportedMemoryPerVcoreMB": 6912, + "status": "Available" + } + ], + "status": "Available" + } + ], + "status": "Available" + } + ], + "supportedHyperscaleNodeEditions": [], + "status": "Available" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..1faf35ecd5da --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/CheckNameAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "", + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json new file mode 100644 index 000000000000..9fdf96943096 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "configurationName": "array_nulls", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "on", + "description": "Enable input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json new file mode 100644 index 000000000000..456da452cfbd --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationListByServer.json @@ -0,0 +1,1902 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations?api-version=2021-06-15-privatepreview&$top=200&$skiptoken=skiptoken", + "value": [ + { + "properties": { + "value": "", + "description": "Sets the application name to be reported in statistics and logs.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._-]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/application_name", + "name": "application_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Starts the autovacuum subprocess.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum", + "name": "autovacuum", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_scale_factor", + "name": "autovacuum_analyze_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50", + "description": "Minimum number of tuple inserts, updates, or deletes prior to analyze.", + "defaultValue": "50", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_threshold", + "name": "autovacuum_analyze_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "60", + "description": "Time to sleep between autovacuum runs.", + "defaultValue": "60", + "dataType": "Integer", + "allowedValues": "1-2147483", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_naptime", + "name": "autovacuum_naptime", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Vacuum cost delay in milliseconds, for autovacuum.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "-1-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_delay", + "name": "autovacuum_vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Vacuum cost amount available before napping, for autovacuum.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_limit", + "name": "autovacuum_vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.2", + "description": "Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.", + "defaultValue": "0.2", + "dataType": "Numeric", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_scale_factor", + "name": "autovacuum_vacuum_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50", + "description": "Minimum number of tuple updates or deletes prior to vacuum.", + "defaultValue": "50", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_threshold", + "name": "autovacuum_vacuum_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the maximum memory to be used by each autovacuum worker process.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_work_mem", + "name": "autovacuum_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Number of pages after which previously performed writes are flushed to disk.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-256", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backend_flush_after", + "name": "backend_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "safe_encoding", + "description": "Sets whether \"\\'\" is allowed in string literals.", + "defaultValue": "safe_encoding", + "dataType": "Enumeration", + "allowedValues": "safe_encoding,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backslash_quote", + "name": "backslash_quote", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Background writer sleep time between rounds.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "10-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_delay", + "name": "bgwriter_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "64", + "description": "Number of pages after which previously performed writes are flushed to disk.", + "defaultValue": "64", + "dataType": "Integer", + "allowedValues": "0-256", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_flush_after", + "name": "bgwriter_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "100", + "description": "Background writer maximum number of LRU pages to flush per round.", + "defaultValue": "100", + "dataType": "Integer", + "allowedValues": "0-1073741823", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_maxpages", + "name": "bgwriter_lru_maxpages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Multiple of the average buffer usage to free per round.", + "defaultValue": "2", + "dataType": "Numeric", + "allowedValues": "0-10", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_multiplier", + "name": "bgwriter_lru_multiplier", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "hex", + "description": "Sets the output format for bytea.", + "defaultValue": "hex", + "dataType": "Enumeration", + "allowedValues": "escape,hex", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bytea_output", + "name": "bytea_output", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Checks function bodies during CREATE FUNCTION.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/check_function_bodies", + "name": "check_function_bodies", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.5", + "description": "Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.", + "defaultValue": "0.5", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_completion_target", + "name": "checkpoint_completion_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "300", + "description": "Sets the maximum time between automatic WAL checkpoints.", + "defaultValue": "300", + "dataType": "Integer", + "allowedValues": "30-86400", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_timeout", + "name": "checkpoint_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30", + "description": "Enables warnings if checkpoint segments are filled more frequently than this.", + "defaultValue": "30", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_warning", + "name": "checkpoint_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "sql_ascii", + "description": "Sets the client's character set encoding.", + "defaultValue": "sql_ascii", + "dataType": "Enumeration", + "allowedValues": "BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_encoding", + "name": "client_encoding", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "notice", + "description": "Sets the message levels that are sent to the client.", + "defaultValue": "notice", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_min_messages", + "name": "client_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the delay in microseconds between transaction commit and flushing WAL to disk.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-100000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_delay", + "name": "commit_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5", + "description": "Sets the minimum concurrent open transactions before performing commit_delay.", + "defaultValue": "5", + "dataType": "Integer", + "allowedValues": "0-1000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_siblings", + "name": "commit_siblings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "partition", + "description": "Enables the planner to use constraints to optimize queries.", + "defaultValue": "partition", + "dataType": "Enumeration", + "allowedValues": "partition,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/constraint_exclusion", + "name": "constraint_exclusion", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.005", + "description": "Sets the planner's estimate of the cost of processing each index entry during an index scan.", + "defaultValue": "0.005", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_index_tuple_cost", + "name": "cpu_index_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.0025", + "description": "Sets the planner's estimate of the cost of processing each operator or function call.", + "defaultValue": "0.0025", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_operator_cost", + "name": "cpu_operator_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.01", + "description": "Sets the planner's estimate of the cost of processing each tuple (row).", + "defaultValue": "0.01", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_tuple_cost", + "name": "cpu_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cursor_tuple_fraction", + "name": "cursor_tuple_fraction", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "ISO, MDY", + "description": "Sets the display format for date and time values.", + "defaultValue": "ISO, MDY", + "dataType": "String", + "allowedValues": "(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/DateStyle", + "name": "DateStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1000", + "description": "Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.", + "defaultValue": "1000", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/deadlock_timeout", + "name": "deadlock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Indents parse and plan tree displays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_pretty_print", + "name": "debug_pretty_print", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's parse tree.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_parse", + "name": "debug_print_parse", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's execution plan.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_plan", + "name": "debug_print_plan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each query's rewritten parse tree.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_rewritten", + "name": "debug_print_rewritten", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "100", + "description": "Sets the default statistics target.", + "defaultValue": "100", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_statistics_target", + "name": "default_statistics_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "", + "description": "Sets the default tablespace to create tables and indexes in.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z._]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_tablespace", + "name": "default_tablespace", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "pg_catalog.english", + "description": "Sets default text search configuration.", + "defaultValue": "pg_catalog.english", + "dataType": "String", + "allowedValues": "[A-Za-z._]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_text_search_config", + "name": "default_text_search_config", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Sets the default deferrable status of new transactions.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_deferrable", + "name": "default_transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "read committed", + "description": "Sets the transaction isolation level of each new transaction.", + "defaultValue": "read committed", + "dataType": "Enumeration", + "allowedValues": "serializable,repeatable read,read committed,read uncommitted", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_isolation", + "name": "default_transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Sets the default read-only status of new transactions.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_read_only", + "name": "default_transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Creates new tables with OIDs by default.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_with_oids", + "name": "default_with_oids", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "3145728", + "description": "Sets the planner's assumption about the size of the disk cache.", + "defaultValue": "3145728", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/effective_cache_size", + "name": "effective_cache_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of bitmap-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_bitmapscan", + "name": "enable_bitmapscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of gather merge plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_gathermerge", + "name": "enable_gathermerge", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of hashed aggregation plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashagg", + "name": "enable_hashagg", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of hash join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashjoin", + "name": "enable_hashjoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of index-only-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexonlyscan", + "name": "enable_indexonlyscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of index-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexscan", + "name": "enable_indexscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of materialization.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_material", + "name": "enable_material", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of merge join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_mergejoin", + "name": "enable_mergejoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of nested loop join plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_nestloop", + "name": "enable_nestloop", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of sequential-scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_seqscan", + "name": "enable_seqscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of explicit sort steps.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_sort", + "name": "enable_sort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables the planner's use of TID scan plans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_tidscan", + "name": "enable_tidscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Warns about backslash escapes in ordinary string literals.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/escape_string_warning", + "name": "escape_string_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Terminates session on any error.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/exit_on_error", + "name": "exit_on_error", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Sets the number of digits displayed for floating-point values.", + "defaultValue": "1", + "dataType": "Integer", + "allowedValues": "-15-3", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/extra_float_digits", + "name": "extra_float_digits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Forces use of parallel query facilities.", + "defaultValue": "off", + "dataType": "Enumeration", + "allowedValues": "off,on,regress", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/force_parallel_mode", + "name": "force_parallel_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the FROM-list size beyond which subqueries are not collapsed.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/from_collapse_limit", + "name": "from_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables genetic query optimization.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo", + "name": "geqo", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5", + "description": "GEQO: effort is used to set the default for other GEQO parameters.", + "defaultValue": "5", + "dataType": "Integer", + "allowedValues": "1-10", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_effort", + "name": "geqo_effort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: number of iterations of the algorithm.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_generations", + "name": "geqo_generations", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: number of individuals in the population.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_pool_size", + "name": "geqo_pool_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "GEQO: seed for random path selection.", + "defaultValue": "0", + "dataType": "Numeric", + "allowedValues": "0-1", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_seed", + "name": "geqo_seed", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "GEQO: selective pressure within the population.", + "defaultValue": "2", + "dataType": "Numeric", + "allowedValues": "1.5-2", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_selection_bias", + "name": "geqo_selection_bias", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "12", + "description": "Sets the threshold of FROM items beyond which GEQO is used.", + "defaultValue": "12", + "dataType": "Integer", + "allowedValues": "2-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_threshold", + "name": "geqo_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed result for exact search by GIN.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_fuzzy_search_limit", + "name": "gin_fuzzy_search_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "4096", + "description": "Sets the maximum size of the pending list for GIN index.", + "defaultValue": "4096", + "dataType": "Integer", + "allowedValues": "64-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_pending_list_limit", + "name": "gin_pending_list_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration of any idling transaction.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/idle_in_transaction_session_timeout", + "name": "idle_in_transaction_session_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "postgres", + "description": "Sets the display format for interval values.", + "defaultValue": "postgres", + "dataType": "Enumeration", + "allowedValues": "postgres,postgres_verbose,sql_standard,iso_8601", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/IntervalStyle", + "name": "IntervalStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the FROM-list size beyond which JOIN constructs are not flattened.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/join_collapse_limit", + "name": "join_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "en_US.utf-8", + "description": "Sets the locale for formatting monetary amounts.", + "defaultValue": "en_US.utf-8", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._ -]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_monetary", + "name": "lc_monetary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "en_US.utf-8", + "description": "Sets the locale for formatting numbers.", + "defaultValue": "en_US.utf-8", + "dataType": "String", + "allowedValues": "[A-Za-z0-9._ -]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_numeric", + "name": "lc_numeric", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Enables backward compatibility mode for privilege checks on large objects.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lo_compat_privileges", + "name": "lo_compat_privileges", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lock_timeout", + "name": "lock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the minimum execution time above which autovacuum actions will be logged.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_autovacuum_min_duration", + "name": "log_autovacuum_min_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Logs each checkpoint.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_checkpoints", + "name": "log_checkpoints", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Logs each successful connection.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_connections", + "name": "log_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "stderr", + "description": "Sets the destination for server log output.", + "defaultValue": "stderr", + "dataType": "Enumeration", + "allowedValues": "stderr,csvlog", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_destination", + "name": "log_destination", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs end of a session, including duration.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_disconnections", + "name": "log_disconnections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs the duration of each completed SQL statement.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_duration", + "name": "log_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "default", + "description": "Sets the verbosity of logged messages.", + "defaultValue": "default", + "dataType": "Enumeration", + "allowedValues": "terse,default,verbose", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_error_verbosity", + "name": "log_error_verbosity", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs long lock waits.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_lock_waits", + "name": "log_lock_waits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_duration_statement", + "name": "log_min_duration_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "error", + "description": "Causes all statements generating error at or above this level to be logged.", + "defaultValue": "error", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_error_statement", + "name": "log_min_error_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "warning", + "description": "Sets the message levels that are logged.", + "defaultValue": "warning", + "dataType": "Enumeration", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_messages", + "name": "log_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Logs each replication command.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_replication_commands", + "name": "log_replication_commands", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "none", + "description": "Sets the type of statements logged.", + "defaultValue": "none", + "dataType": "Enumeration", + "allowedValues": "none,ddl,mod,all", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement", + "name": "log_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "For each query, writes cumulative performance statistics to the server log.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement_stats", + "name": "log_statement_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-1", + "description": "Logs the use of temporary files larger than this number of kilobytes.", + "defaultValue": "-1", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_temp_files", + "name": "log_temp_files", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "332800", + "description": "Sets the maximum memory to be used for maintenance operations.", + "defaultValue": "332800", + "dataType": "Integer", + "allowedValues": "1024-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/maintenance_work_mem", + "name": "maintenance_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "8", + "description": "Sets the maximum number of parallel workers than can be active at one time.", + "defaultValue": "8", + "dataType": "Integer", + "allowedValues": "0-1024", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers", + "name": "max_parallel_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Sets the maximum number of parallel processes per executor node.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-1024", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers_per_gather", + "name": "max_parallel_workers_per_gather", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Sets the maximum number of predicate-locked tuples per page.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_page", + "name": "max_pred_locks_per_page", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "-2", + "description": "Sets the maximum number of predicate-locked pages and tuples per relation.", + "defaultValue": "-2", + "dataType": "Integer", + "allowedValues": "-2147483648-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_relation", + "name": "max_pred_locks_per_relation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30000", + "description": "Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.", + "defaultValue": "30000", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_archive_delay", + "name": "max_standby_archive_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30000", + "description": "Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.", + "defaultValue": "30000", + "dataType": "Integer", + "allowedValues": "-1-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_streaming_delay", + "name": "max_standby_streaming_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "2", + "description": "Maximum number of table synchronization workers per subscription.", + "defaultValue": "2", + "dataType": "Integer", + "allowedValues": "0-262143", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_sync_workers_per_subscription", + "name": "max_sync_workers_per_subscription", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the WAL size that triggers a checkpoint.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "2-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_wal_size", + "name": "max_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "64", + "description": "Sets the minimum amount of index data for a parallel scan.", + "defaultValue": "64", + "dataType": "Integer", + "allowedValues": "0-715827882", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_index_scan_size", + "name": "min_parallel_index_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the minimum amount of table data for a parallel scan.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "0-715827882", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_table_scan_size", + "name": "min_parallel_table_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "80", + "description": "Sets the minimum size to shrink the WAL to.", + "defaultValue": "80", + "dataType": "Integer", + "allowedValues": "2-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_wal_size", + "name": "min_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Emits a warning for constructs that changed meaning since PostgreSQL 9.4.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/operator_precedence_warning", + "name": "operator_precedence_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1000", + "description": "Sets the planner's estimate of the cost of starting up worker processes for parallel query.", + "defaultValue": "1000", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_setup_cost", + "name": "parallel_setup_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0.1", + "description": "Sets the planner's estimate of the cost of passing each tuple (row) from worker to master backend.", + "defaultValue": "0.1", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_tuple_cost", + "name": "parallel_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "When generating SQL fragments, quotes all identifiers.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/quote_all_identifiers", + "name": "quote_all_identifiers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "4", + "description": "Sets the planner's estimate of the cost of a nonsequentially fetched disk page.", + "defaultValue": "4", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/random_page_cost", + "name": "random_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables row security.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/row_security", + "name": "row_security", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "\"$user\", public", + "description": "Sets the schema search order for names that are not schema-qualified.", + "defaultValue": "\"$user\", public", + "dataType": "String", + "allowedValues": "[A-Za-z.\"$, ]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/search_path", + "name": "search_path", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Sets the planner's estimate of the cost of a sequentially fetched disk page.", + "defaultValue": "1", + "dataType": "Numeric", + "allowedValues": "0-1.79769e+308", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/seq_page_cost", + "name": "seq_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "origin", + "description": "Sets the session's behavior for triggers and rewrite rules.", + "defaultValue": "origin", + "dataType": "Enumeration", + "allowedValues": "origin,replica,local", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/session_replication_role", + "name": "session_replication_role", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Causes '...' strings to treat backslashes literally.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/standard_conforming_strings", + "name": "standard_conforming_strings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/statement_timeout", + "name": "statement_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Enables synchronized sequential scans.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronize_seqscans", + "name": "synchronize_seqscans", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Sets the current transaction's synchronization level.", + "defaultValue": "on", + "dataType": "Enumeration", + "allowedValues": "local,remote_write,on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronous_commit", + "name": "synchronous_commit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "9", + "description": "Maximum number of TCP keepalive retransmits.", + "defaultValue": "9", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_count", + "name": "tcp_keepalives_count", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "120", + "description": "Time between issuing TCP keepalives.", + "defaultValue": "120", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_idle", + "name": "tcp_keepalives_idle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "30", + "description": "Time between TCP keepalive retransmits.", + "defaultValue": "30", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_interval", + "name": "tcp_keepalives_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1024", + "description": "Sets the maximum number of temporary buffers used by each database session.", + "defaultValue": "1024", + "dataType": "Integer", + "allowedValues": "100-1073741823", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_buffers", + "name": "temp_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "", + "description": "Sets the tablespace(s) to use for temporary tables and sort files.", + "defaultValue": "", + "dataType": "String", + "allowedValues": "[A-Za-z._]*", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_tablespaces", + "name": "temp_tablespaces", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "UTC", + "description": "Sets the time zone for displaying and interpreting time stamps.", + "defaultValue": "UTC", + "dataType": "String", + "allowedValues": "[A-Za-z0-9/+_-]+", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/TimeZone", + "name": "TimeZone", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Collects information about executing commands.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_activities", + "name": "track_activities", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "on", + "description": "Collects statistics on database activity.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_counts", + "name": "track_counts", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "none", + "description": "Collects function-level statistics on database activity.", + "defaultValue": "none", + "dataType": "Enumeration", + "allowedValues": "none,pl,all", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_functions", + "name": "track_functions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Collects timing statistics for database I/O activity.", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_io_timing", + "name": "track_io_timing", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "off", + "description": "Treats \"expr=NULL\" as \"expr IS NULL\".", + "defaultValue": "off", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/transform_null_equals", + "name": "transform_null_equals", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Vacuum cost delay in milliseconds.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-100", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_delay", + "name": "vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Vacuum cost amount available before napping.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_limit", + "name": "vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "20", + "description": "Vacuum cost for a page dirtied by vacuum.", + "defaultValue": "20", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_dirty", + "name": "vacuum_cost_page_dirty", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "1", + "description": "Vacuum cost for a page found in the buffer cache.", + "defaultValue": "1", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_hit", + "name": "vacuum_cost_page_hit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "10", + "description": "Vacuum cost for a page not found in the buffer cache.", + "defaultValue": "10", + "dataType": "Integer", + "allowedValues": "0-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_miss", + "name": "vacuum_cost_page_miss", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "0", + "description": "Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.", + "defaultValue": "0", + "dataType": "Integer", + "allowedValues": "0-1000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_defer_cleanup_age", + "name": "vacuum_defer_cleanup_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "50000000", + "description": "Minimum age at which VACUUM should freeze a table row.", + "defaultValue": "50000000", + "dataType": "Integer", + "allowedValues": "0-1000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_min_age", + "name": "vacuum_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "150000000", + "description": "Age at which VACUUM should scan whole table to freeze tuples.", + "defaultValue": "150000000", + "dataType": "Integer", + "allowedValues": "0-2000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_table_age", + "name": "vacuum_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "5000000", + "description": "Minimum age at which VACUUM should freeze a MultiXactId in a table row.", + "defaultValue": "5000000", + "dataType": "Integer", + "allowedValues": "0-1000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_min_age", + "name": "vacuum_multixact_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "150000000", + "description": "Multixact age at which VACUUM should scan whole table to freeze tuples.", + "defaultValue": "150000000", + "dataType": "Integer", + "allowedValues": "0-2000000000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_table_age", + "name": "vacuum_multixact_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "10", + "description": "Sets the maximum interval between WAL receiver status reports to the primary.", + "defaultValue": "10", + "dataType": "Integer", + "allowedValues": "0-2147483", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_receiver_status_interval", + "name": "wal_receiver_status_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "200", + "description": "Time between WAL flushes performed in the WAL writer.", + "defaultValue": "200", + "dataType": "Integer", + "allowedValues": "1-10000", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_delay", + "name": "wal_writer_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "128", + "description": "Amount of WAL written out by WAL writer that triggers a flush.", + "defaultValue": "128", + "dataType": "Integer", + "allowedValues": "0-2147483647", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_flush_after", + "name": "wal_writer_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "115712", + "description": "Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.", + "defaultValue": "115712", + "dataType": "Integer", + "allowedValues": "4096-2097151", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/work_mem", + "name": "work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "base64", + "description": "Sets how binary values are to be encoded in XML.", + "defaultValue": "base64", + "dataType": "Enumeration", + "allowedValues": "base64,hex", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmlbinary", + "name": "xmlbinary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + }, + { + "properties": { + "value": "content", + "description": "Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.", + "defaultValue": "content", + "dataType": "Enumeration", + "allowedValues": "content,document", + "source": "system-default" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmloption", + "name": "xmloption", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json new file mode 100644 index 000000000000..c6b9583cd239 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ConfigurationUpdate.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "serverName": "testserver", + "configurationName": "event_scheduler", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "value": "on", + "source": "user-override" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "ON", + "description": "Indicates the status of the Event Scheduler.", + "defaultValue": "OFF", + "dataType": "Enumeration", + "allowedValues": "ON,OFF,DISABLED", + "source": "user-override" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/event_scheduler", + "name": "event_scheduler", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json new file mode 100644 index 000000000000..cceb55538b91 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json new file mode 100644 index 000000000000..e0b84c89be86 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json new file mode 100644 index 000000000000..986e15827add --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "databaseName": "db1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json new file mode 100644 index 000000000000..04398874efe1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", + "name": "db1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db2", + "name": "db2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json new file mode 100644 index 000000000000..4c607441b4e5 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json new file mode 100644 index 000000000000..6362cda8fb16 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json new file mode 100644 index 000000000000..1889691d5496 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json new file mode 100644 index 000000000000..05f80a86dd86 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/FirewallRuleListByServer.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules?api-version=2021-06-15-privatepreview&$top=2&$skiptoken=skiptoken", + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule2", + "name": "rule2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "properties": { + "startIpAddress": "1.0.0.0", + "endIpAddress": "255.0.0.0" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json new file mode 100644 index 000000000000..b6daa3a1ce63 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "body": "PostgreSQL" + }, + "responses": { + "200": { + "body": "postgres.database.azure.com" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json new file mode 100644 index 000000000000..d2568e2815bf --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/OperationList.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "List/Get PostgreSQL Servers", + "description": "Return the list of servers or gets the properties for the specified server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "Create/Update PostgreSQL Server", + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "Delete PostgreSQL Server", + "description": "Deletes an existing server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "List/Get Firewall Rules", + "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "Create/Update Firewall Rule", + "description": "Creates a firewall rule with the specified parameters or update an existing rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "Delete Firewall Rule", + "description": "Deletes an existing firewall rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Get database metric definitions", + "description": "Return types of metrics that are available for databases" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percent", + "displayDescription": "CPU percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "compute_limit", + "displayName": "Compute Unit limit", + "displayDescription": "Compute Unit limit", + "unit": "Count", + "aggregationType": "Average" + }, + { + "name": "compute_consumption_percent", + "displayName": "Compute Unit percentage", + "displayDescription": "Compute Unit percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "memory_percent", + "displayName": "Memory percent", + "displayDescription": "Memory percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "io_consumption_percent", + "displayName": "IO percent", + "displayDescription": "IO percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Storage percentage", + "displayDescription": "Storage percentage", + "unit": "Percent", + "aggregationType": "Average" + }, + { + "name": "storage_used", + "displayName": "Storage used", + "displayDescription": "Storage used", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "storage_limit", + "displayName": "Storage limit", + "displayDescription": "Storage limit", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "active_connections", + "displayName": "Total active connections", + "displayDescription": "Total active connections", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "connections_failed", + "displayName": "Total failed connections", + "displayDescription": "Total failed connections", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Read diagnostic setting", + "description": "Gets the disagnostic setting for the resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json new file mode 100644 index 000000000000..93d7fb3f3aea --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "name": "Standard_D4s_v3" + }, + "properties": { + "administratorLogin": "cloudsa", + "administratorLoginPassword": "password", + "version": "12", + "availabilityZone": "1", + "createMode": "Create", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant" + } + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:08:06.7197478+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json new file mode 100644 index 000000000000..b2a772b86fdd --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "serverName": "pgtestsvc5", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "createMode": "PointInTimeRestore", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername", + "pointInTimeUTC": "2021-06-27T00:04:59.4078005+00:00" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "2", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", + "name": "pgtestsvc5", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc5.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "2", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-27T00:28:17.7279547+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc5", + "name": "pgtestsvc5", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json new file mode 100644 index 000000000000..ffc023c9d8a2 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json new file mode 100644 index 000000000000..850933613d90 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "serverName": "pgtestsvc1", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json new file mode 100644 index 000000000000..aa7bd9aca30c --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerGetWithVnet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json new file mode 100644 index 000000000000..0b924c860713 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", + "value": [ + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json new file mode 100644 index 000000000000..161bd2396404 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerListByResourceGroup.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2021-06-15-privatepreview&$top=3&$skiptoken=skiptoken", + "value": [ + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T23:15:38.8131437+00:00" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json new file mode 100644 index 000000000000..8c08c2878d41 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json new file mode 100644 index 000000000000..d928707a0575 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerRestartWithFailover.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "restartWithFailover": true, + "failoverMode": "forcedFailover" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json new file mode 100644 index 000000000000..8c08c2878d41 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json new file mode 100644 index 000000000000..8c08c2878d41 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json new file mode 100644 index 000000000000..5ac55da617e1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdate.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "TestGroup", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "name": "Standard_D8s_v3" + }, + "properties": { + "administratorLoginPassword": "newpassword", + "createMode": "Update", + "storage": { + "storageSizeGB": 1024 + }, + "backup": { + "backupRetentionDays": 20 + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 1024 + }, + "backup": { + "backupRetentionDays": 20, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json new file mode 100644 index 000000000000..2a774f81256b --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/ServerUpdateWithCustomerMaintenanceWindow.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "testrg", + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "createMode": "Update", + "maintenanceWindow": { + "customWindow": "Enabled", + "dayOfWeek": 0, + "startHour": 8, + "startMinute": 0 + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard_D4s_v3", + "tier": "GeneralPurpose" + }, + "properties": { + "fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com", + "version": "12", + "minorVersion": "6", + "administratorLogin": "cloudsa", + "state": "Ready", + "availabilityZone": "1", + "storage": { + "storageSizeGB": 512 + }, + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled", + "earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00" + }, + "network": { + "publicNetworkAccess": "Disabled", + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com" + }, + "highAvailability": { + "mode": "ZoneRedundant", + "state": "Healthy", + "standbyAvailabilityZone": "2" + }, + "maintenanceWindow": { + "customWindow": "Enabled", + "dayOfWeek": 0, + "startHour": 8, + "startMinute": 0 + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json new file mode 100644 index 000000000000..9879af02c1a9 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/VirtualNetworkSubnetUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "locationName": "WestUS", + "parameters": { + "virtualNetworkArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/testvnet" + } + }, + "responses": { + "200": { + "body": { + "delegatedSubnetsUsage": [ + { + "subnetName": "test-subnet-1", + "usage": 2 + }, + { + "subnetName": "test-subnet-2", + "usage": 3 + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json new file mode 100644 index 000000000000..8a50e325c962 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2021-06-15-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testResourceGroupName", + "serverName": "testServerName", + "parameters": { + "properties": { + "observationStartTime": "2019-05-01T20:00:00.000Z", + "observationEndTime": "2019-05-07T20:00:00.000Z", + "aggregationWindow": "PT15M" + } + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforPostgreSQL/servers/hyshim-wait-stats-fix/waitStatistics/636927606000000000-636927615000000000-lock-wait", + "name": "636927606000000000-636927615000000000-lock-wait", + "type": "Microsoft.DBforPostgreSQL/servers/waitStatistics", + "properties": { + "startTime": "2019-05-06T17:30:00Z", + "endTime": "2019-05-06T17:45:00Z", + "eventName": "wait/synch/mutex/mysys/THR_LOCK::mutex", + "eventTypeName": "lock", + "queryId": 2, + "databaseName": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforPostgreSQL/servers/hyshim-wait-stats-fix/databases/", + "userId": 0, + "count": 4, + "totalTimeInMs": 56.789 + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json new file mode 100644 index 000000000000..5c6b70dd81ad --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json @@ -0,0 +1,2105 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLServerManagementClient", + "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.", + "version": "2021-06-15-privatepreview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { + "put": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Create", + "x-ms-examples": { + "Create a new server": { + "$ref": "./examples/ServerCreate.json" + }, + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" + } + }, + "description": "Creates a new server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Server" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Update", + "x-ms-examples": { + "ServerUpdate": { + "$ref": "./examples/ServerUpdate.json" + }, + "ServerUpdateWithCustomerMaintenanceWindow": { + "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json" + } + }, + "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForUpdate" + }, + "description": "The required parameters for updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Delete", + "x-ms-examples": { + "ServerDelete": { + "$ref": "./examples/ServerDelete.json" + } + }, + "description": "Deletes a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Get", + "x-ms-examples": { + "ServerGet": { + "$ref": "./examples/ServerGet.json" + }, + "ServerGetWithVnet": { + "$ref": "./examples/ServerGetWithVnet.json" + } + }, + "description": "Gets information about a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_ListByResourceGroup", + "x-ms-examples": { + "ServerListByResourceGroup": { + "$ref": "./examples/ServerListByResourceGroup.json" + } + }, + "description": "List all the servers in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_List", + "x-ms-examples": { + "ServerList": { + "$ref": "./examples/ServerList.json" + } + }, + "description": "List all the servers in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + }, + "ServerRestartWithFailover": { + "$ref": "./examples/ServerRestartWithFailover.json" + } + }, + "description": "Restarts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/RestartParameter" + }, + "description": "The parameters for restarting a server." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { + "post": { + "tags": [ + "ServerStart" + ], + "operationId": "Servers_Start", + "x-ms-examples": { + "ServerStart": { + "$ref": "./examples/ServerStart.json" + } + }, + "description": "Starts a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { + "post": { + "tags": [ + "ServerStop" + ], + "operationId": "Servers_Stop", + "x-ms-examples": { + "ServerStop": { + "$ref": "./examples/ServerStop.json" + } + }, + "description": "Stops a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "put": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "x-ms-examples": { + "FirewallRuleCreate": { + "$ref": "./examples/FirewallRuleCreate.json" + } + }, + "description": "Creates a new firewall rule or updates an existing firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The required parameters for creating or updating a firewall rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "x-ms-examples": { + "FirewallRuleDelete": { + "$ref": "./examples/FirewallRuleDelete.json" + } + }, + "description": "Deletes a PostgreSQL server firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleGet.json" + } + }, + "description": "List all the firewall rules in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_ListByServer", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/FirewallRuleListByServer.json" + } + }, + "description": "List all the firewall rules in a given PostgreSQL server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_ListByServer", + "x-ms-examples": { + "ConfigurationList": { + "$ref": "./examples/ConfigurationListByServer.json" + } + }, + "description": "List all the configurations in a given server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Get", + "x-ms-examples": { + "ConfigurationGet": { + "$ref": "./examples/ConfigurationGet.json" + } + }, + "description": "Gets information about a configuration of server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Put", + "x-ms-examples": { + "Update a user configuration": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "operationId": "CheckNameAvailability_Execute", + "x-ms-examples": { + "NameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "description": "Check the availability of name for resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NameAvailabilityRequest" + }, + "description": "The required parameters for checking if resource name is available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": { + "get": { + "tags": [ + "LocationBasedCapabilities" + ], + "operationId": "LocationBasedCapabilities_Execute", + "x-ms-examples": { + "CapabilitiesList": { + "$ref": "./examples/CapabilitiesByLocation.json" + } + }, + "description": "Get capabilities at specified location in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage": { + "post": { + "tags": [ + "VirtualNetworkSubnetUsage" + ], + "operationId": "VirtualNetworkSubnetUsage_Execute", + "x-ms-examples": { + "VirtualNetworkSubnetUsageList": { + "$ref": "./examples/VirtualNetworkSubnetUsage.json" + } + }, + "description": "Get virtual network subnet usage for a given vNet resource id.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter" + }, + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworkSubnetUsageResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.DBforPostgreSQL/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "description": "Lists all of the available REST API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "VirtualNetworkSubnetUsageParameter": { + "type": "object", + "properties": { + "virtualNetworkArmResourceId": { + "type": "string", + "description": "Virtual network resource id." + } + }, + "description": "Virtual network subnet usage parameter" + }, + "VirtualNetworkSubnetUsageResult": { + "type": "object", + "properties": { + "delegatedSubnetsUsage": { + "type": "array", + "items": { + "$ref": "#/definitions/DelegatedSubnetUsage" + }, + "readOnly": true + } + }, + "description": "Virtual network subnet usage data." + }, + "DelegatedSubnetUsage": { + "type": "object", + "properties": { + "subnetName": { + "type": "string", + "readOnly": true, + "description": "name of the subnet" + }, + "usage": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Number of used delegated subnets" + } + }, + "description": "Delegated subnet usage data." + }, + "StorageMBCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "storage MB name", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "storageSizeMB": { + "type": "integer", + "format": "int64", + "description": "storage size in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage size in MB capability" + }, + "VcoreCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "vCore name", + "readOnly": true + }, + "vCores": { + "type": "integer", + "format": "int64", + "description": "supported vCores", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int64", + "description": "supported IOPS", + "readOnly": true + }, + "supportedMemoryPerVcoreMB": { + "type": "integer", + "format": "int64", + "description": "supported memory per vCore in MB", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Vcores capability" + }, + "ServerVersionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "server version", + "readOnly": true + }, + "supportedVcores": { + "type": "array", + "items": { + "$ref": "#/definitions/VcoreCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Server version capabilities." + }, + "StorageEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "storage edition name", + "readOnly": true + }, + "supportedStorageMB": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageMBCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "storage edition capability" + }, + "NodeTypeCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "note type name", + "readOnly": true + }, + "nodeType": { + "type": "string", + "description": "note type", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "node type capability" + }, + "FlexibleServerEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Flexible server edition capabilities." + }, + "HyperscaleNodeEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Server edition name", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "The list of editions supported by this server edition.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of server versions supported by this server edition.", + "readOnly": true + }, + "supportedNodeTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeTypeCapability" + }, + "description": "The list of Node Types supported by this server edition.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Hyperscale node edition capabilities." + }, + "CapabilityProperties": { + "type": "object", + "properties": { + "zone": { + "type": "string", + "description": "zone name", + "readOnly": true + }, + "geoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "zoneRedundantHaSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can support multi zone HA.", + "readOnly": true + }, + "zoneRedundantHaAndGeoBackupSupported": { + "type": "boolean", + "description": "A value indicating whether a new server in this region can have geo-backups to paired region.", + "readOnly": true + }, + "supportedFlexibleServerEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/FlexibleServerEditionCapability" + }, + "readOnly": true + }, + "supportedHyperscaleNodeEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/HyperscaleNodeEditionCapability" + }, + "readOnly": true + }, + "status": { + "type": "string", + "description": "The status", + "readOnly": true + } + }, + "description": "Location capabilities." + }, + "CapabilitiesListResult": { + "type": "object", + "properties": { + "value": { + "description": "A list of supported capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityProperties" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "location capability" + }, + "ServerVersion": { + "type": "string", + "description": "The version of a server.", + "enum": [ + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerProperties": { + "type": "object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "administratorLoginPassword": { + "type": "string", + "description": "The administrator login password (required for server creation).", + "x-ms-secret": true, + "format": "password", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "minorVersion": { + "type": "string", + "description": "The minor version of the server.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "A state of a server that is visible to user.", + "readOnly": true, + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true + } + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "The fully qualified domain name of a server.", + "readOnly": true + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network properties of a server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "sourceServerResourceId": { + "type": "string", + "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "pointInTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.", + "x-ms-mutability": [ + "create" + ] + }, + "availabilityZone": { + "type": "string", + "description": "availability zone information of the server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "createMode": { + "type": "string", + "description": "The mode to create a new PostgreSQL server.", + "enum": [ + "Default", + "Create", + "Update", + "PointInTimeRestore" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "The properties of a server." + }, + "Server": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a server." + }, + "ServerPropertiesForUpdate": { + "type": "object", + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server." + }, + "createMode": { + "type": "string", + "description": "The mode to update a new PostgreSQL server.", + "enum": [ + "Default", + "Update" + ], + "x-ms-enum": { + "name": "CreateModeForUpdate", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + } + } + }, + "ServerForUpdate": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForUpdate", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Represents a server to be updated." + }, + "ServerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of flexible servers" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of servers." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3." + }, + "tier": { + "type": "string", + "description": "The tier of the particular SKU, e.g. Burstable.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "required": [ + "name", + "tier" + ], + "description": "Sku information related properties of a server." + }, + "Storage": { + "type": "object", + "properties": { + "storageSizeGB": { + "type": "integer", + "format": "int32", + "description": "Max storage allowed for a server." + } + }, + "description": "Storage properties of a server" + }, + "Backup": { + "type": "object", + "properties": { + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Backup retention days for the server." + }, + "geoRedundantBackup": { + "type": "string", + "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "GeoRedundantBackupEnum", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "earliestRestoreDate": { + "type": "string", + "format": "date-time", + "description": "The earliest restore point time (ISO8601 format) for server.", + "readOnly": true + } + }, + "description": "Backup properties of a server" + }, + "Network": { + "type": "object", + "properties": { + "publicNetworkAccess": { + "type": "string", + "description": "public network access is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + }, + "readOnly": true + }, + "delegatedSubnetResourceId": { + "type": "string", + "description": "delegated subnet arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "privateDnsZoneArmResourceId": { + "type": "string", + "description": "private dns zone arm resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "description": "Network properties of a server" + }, + "HighAvailability": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": "The HA mode for the server.", + "enum": [ + "Disabled", + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "HighAvailabilityMode", + "modelAsString": true + } + }, + "state": { + "type": "string", + "description": "A state of a HA server that is visible to user.", + "enum": [ + "NotEnabled", + "CreatingStandby", + "ReplicatingData", + "FailingOver", + "Healthy", + "RemovingStandby" + ], + "x-ms-enum": { + "name": "ServerHAState", + "modelAsString": true + }, + "readOnly": true + }, + "standbyAvailabilityZone": { + "type": "string", + "description": "availability zone information of the standby." + } + }, + "description": "High availability properties of a server" + }, + "MaintenanceWindow": { + "type": "object", + "description": "Maintenance window properties of a server.", + "properties": { + "customWindow": { + "type": "string", + "description": "indicates whether custom window is enabled or disabled" + }, + "startHour": { + "type": "integer", + "format": "int32", + "description": "start hour for maintenance window" + }, + "startMinute": { + "type": "integer", + "format": "int32", + "description": "start minute for maintenance window" + }, + "dayOfWeek": { + "type": "integer", + "format": "int32", + "description": "day of week for maintenance window" + } + } + }, + "FirewallRuleProperties": { + "type": "object", + "properties": { + "startIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The start IP address of the server firewall rule. Must be IPv4 format." + }, + "endIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "The end IP address of the server firewall rule. Must be IPv4 format." + } + }, + "required": [ + "startIpAddress", + "endIpAddress" + ], + "description": "The properties of a server firewall rule." + }, + "FirewallRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "The properties of a firewall rule." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "FirewallRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of firewall rules." + }, + "ConfigurationProperties": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Value of the configuration." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the configuration." + }, + "defaultValue": { + "type": "string", + "readOnly": true, + "description": "Default value of the configuration." + }, + "dataType": { + "type": "string", + "readOnly": true, + "description": "Data type of the configuration.", + "enum": [ + "Boolean", + "Numeric", + "Integer", + "Enumeration" + ], + "x-ms-enum": { + "name": "ConfigurationDataType", + "modelAsString": true + } + }, + "allowedValues": { + "type": "string", + "readOnly": true, + "description": "Allowed values of the configuration." + }, + "source": { + "type": "string", + "description": "Source of the configuration." + } + }, + "description": "The properties of a configuration." + }, + "Configuration": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Configuration." + }, + "ConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "The list of server configurations." + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of server configurations." + }, + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Operation resource provider name." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "readOnly": true, + "description": "Localized friendly name for the operation." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Operation description." + } + }, + "description": "Display metadata associated with the operation." + }, + "Operation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the operation being performed on this particular object." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "readOnly": true, + "description": "The localized display information for this particular operation or action." + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "The intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "x-ms-client-flatten": false, + "description": "Additional descriptions for the operation." + } + }, + "description": "REST API operation definition." + }, + "OperationListResult": { + "description": "A list of resource provider operations.", + "type": "object", + "properties": { + "value": { + "description": "Collection of available operation details", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", + "type": "string" + } + } + }, + "NameAvailabilityRequest": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "type": "string", + "description": "Resource type used for verification." + } + }, + "description": "Request from client to check resource name availability." + }, + "NameAvailability": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Error Message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "name": { + "type": "string", + "description": "name of the PostgreSQL server." + }, + "type": { + "type": "string", + "description": "type of the server" + } + }, + "description": "Represents a resource name availability." + }, + "RestartParameter": { + "type": "object", + "properties": { + "restartWithFailover": { + "type": "boolean", + "description": "Indicates whether to restart the server with failover." + }, + "failoverMode": { + "type": "string", + "description": "Failover mode." + } + }, + "description": "Represents server restart parameters." + }, + "CloudError": { + "x-ms-external": true, + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "LocationNameParameter": { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location.", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "FirewallRuleNameParameter": { + "name": "firewallRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server firewall rule.", + "x-ms-parameter-location": "method" + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server configuration.", + "x-ms-parameter-location": "method" + }, + "MaintenanceWindowNameParameter": { + "name": "maintenanceWindowName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the maintenance window.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 5f6373da9c97..61de2e092408 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -38,9 +38,9 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec ``` yaml $(tag) == 'package-2021-06-15-privatepreview' input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json -- Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json -- Microsoft.DBforPostgreSQL/stable/2021-06-01/Databases.json -- Microsoft.DBforPostgreSQL/stable/2021-06-01/PrivateDnsZone.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json ``` ### Tag: package-flexibleserver-2021-06 From fae3c31dc40ef1e28a84624b85413efd46d3c3f0 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 11:45:42 -0700 Subject: [PATCH 110/114] pretty and unused example --- .../2021-06-15-privatepreview/Databases.json | 2 +- .../examples/WaitStatisticsListByServer.json | 39 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json index b5a67197aca2..c5ca3ce11261 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json @@ -257,7 +257,7 @@ "x-ms-client-flatten": true, "description": "The properties of a database." }, - "systemData": { + "systemData": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json deleted file mode 100644 index 8a50e325c962..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/WaitStatisticsListByServer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "testResourceGroupName", - "serverName": "testServerName", - "parameters": { - "properties": { - "observationStartTime": "2019-05-01T20:00:00.000Z", - "observationEndTime": "2019-05-07T20:00:00.000Z", - "aggregationWindow": "PT15M" - } - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforPostgreSQL/servers/hyshim-wait-stats-fix/waitStatistics/636927606000000000-636927615000000000-lock-wait", - "name": "636927606000000000-636927615000000000-lock-wait", - "type": "Microsoft.DBforPostgreSQL/servers/waitStatistics", - "properties": { - "startTime": "2019-05-06T17:30:00Z", - "endTime": "2019-05-06T17:45:00Z", - "eventName": "wait/synch/mutex/mysys/THR_LOCK::mutex", - "eventTypeName": "lock", - "queryId": 2, - "databaseName": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforPostgreSQL/servers/hyshim-wait-stats-fix/databases/", - "userId": 0, - "count": 4, - "totalTimeInMs": 56.789 - } - } - ] - } - } - } -} From 425ee4796e2fadbb32005ffaf74f5aa5c2842596 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 11:53:28 -0700 Subject: [PATCH 111/114] remove privatezone --- .../PrivateDnsZone.json | 106 ------------------ .../examples/GetPrivateDnsZoneSuffix.json | 12 -- .../postgresql/resource-manager/readme.md | 1 - 3 files changed, 119 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json deleted file mode 100644 index 661def657f82..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2021-06-15-privatepreview", - "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." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix": { - "post": { - "tags": [ - "GetPrivateDnsZoneSuffix" - ], - "operationId": "GetPrivateDnsZoneSuffix_Execute", - "x-ms-examples": { - "GetPrivateDnsZoneSuffix": { - "$ref": "./examples/GetPrivateDnsZoneSuffix.json" - } - }, - "description": "Get private DNS zone suffix in the cloud", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "type": "string", - "enum": [ - "PostgreSQL", - "PostgreSQLCitus", - "MySQL", - "MariaDb", - "Oracle" - ] - }, - "description": "The required parameters for getting private DNS zone suffix based on server type." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateDnsZoneSuffix" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "PrivateDnsZoneSuffix": { - "type": "string", - "description": "Represents a resource name availability." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json deleted file mode 100644 index b6daa3a1ce63..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/GetPrivateDnsZoneSuffix.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "body": "PostgreSQL" - }, - "responses": { - "200": { - "body": "postgres.database.azure.com" - } - } -} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 61de2e092408..b2a5145c9e58 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -40,7 +40,6 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/PrivateDnsZone.json ``` ### Tag: package-flexibleserver-2021-06 From eadf1556396079ebbc736187343a5e810722f1a1 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 11:59:45 -0700 Subject: [PATCH 112/114] remvoe db --- .../2021-06-15-privatepreview/Databases.json | 319 ------------------ .../examples/DatabaseCreate.json | 40 --- .../examples/DatabaseDelete.json | 14 - .../examples/DatabaseGet.json | 22 -- .../examples/DatabasesListByServer.json | 34 -- .../postgresql/resource-manager/readme.md | 1 - 6 files changed, 430 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json deleted file mode 100644 index c5ca3ce11261..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json +++ /dev/null @@ -1,319 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLServerManagementClient", - "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.", - "version": "2021-06-15-privatepreview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}": { - "put": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Create", - "x-ms-examples": { - "Create a database": { - "$ref": "./examples/DatabaseCreate.json" - } - }, - "description": "Creates a new database or updates an existing database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "The required parameters for creating or updating a database." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Delete", - "x-ms-examples": { - "Delete a database": { - "$ref": "./examples/DatabaseDelete.json" - } - }, - "description": "Deletes a database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Get", - "x-ms-examples": { - "Get a database": { - "$ref": "./examples/DatabaseGet.json" - } - }, - "description": "Gets information about a database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases": { - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_ListByServer", - "x-ms-examples": { - "List databases in a server": { - "$ref": "./examples/DatabasesListByServer.json" - } - }, - "description": "List all the databases in a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "DatabaseProperties": { - "type": "object", - "properties": { - "charset": { - "type": "string", - "description": "The charset of the database." - }, - "collation": { - "type": "string", - "description": "The collation of the database." - } - }, - "description": "The properties of a database." - }, - "Database": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DatabaseProperties", - "x-ms-client-flatten": true, - "description": "The properties of a database." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "The system metadata relating to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Database." - }, - "DatabaseListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "The list of databases housed in a server" - }, - "nextLink": { - "description": "The link used to get the next page of databases.", - "type": "string" - } - }, - "description": "A List of databases." - }, - "CloudError": { - "x-ms-external": true, - "type": "object", - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response from the Batch service." - } - }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "description": "The name of the server.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json deleted file mode 100644 index cceb55538b91..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseCreate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json deleted file mode 100644 index e0b84c89be86..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json deleted file mode 100644 index 986e15827add..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabaseGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "databaseName": "db1", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json deleted file mode 100644 index 04398874efe1..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/examples/DatabasesListByServer.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2021-06-15-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db1", - "name": "db1", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/databases/db2", - "name": "db2", - "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", - "properties": { - "charset": "utf8", - "collation": "en_US.utf8" - } - } - ] - } - } - } -} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index b2a5145c9e58..a491ea5e7935 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -39,7 +39,6 @@ These settings apply only when `--tag=package-2021-06-15-privatepreview` is spec input-file: - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json - Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json -- Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Databases.json ``` ### Tag: package-flexibleserver-2021-06 From 592e50766ffe178ab926bbdf74ab35fb46f6cc89 Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 12:36:48 -0700 Subject: [PATCH 113/114] Sql -> SQL --- .../preview/2021-06-15-privatepreview/Migrations.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index b15935df774e..26c6477500fa 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { "put": { "tags": [ "Migrations" @@ -232,7 +232,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/migrations": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { "tags": [ "Migrations" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": { "post": { "summary": "Check migration name validity and availability", "description": "This method checks whether a proposed migration name is valid and available.", From c769a75dc7b23317566b589cd479330800f65d9d Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Tue, 20 Jul 2021 13:00:38 -0700 Subject: [PATCH 114/114] casing --- .../preview/2021-06-15-privatepreview/Migrations.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json index 26c6477500fa..0275b5707f28 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": { "put": { "tags": [ "Migrations" @@ -232,7 +232,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": { "get": { "tags": [ "Migrations" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": { + "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": { "post": { "summary": "Check migration name validity and availability", "description": "This method checks whether a proposed migration name is valid and available.",