From 827622f2dc015d396963c92646e0370f1fa5f6c5 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 16:13:42 -0700 Subject: [PATCH 01/51] Initial swagger changes for SSPG. --- .../examples/CheckNameAvailability.json | 20 + .../examples/ConfigurationListByServer.json | 1901 +++++++++++++++++ .../examples/ConfigurationUpdate.json | 35 + .../examples/FirewallRuleCreate.json | 43 + .../examples/FirewallRuleDelete.json | 14 + .../examples/FirewallRuleListByServer.json | 32 + .../examples/OperationList.json | 176 ++ .../examples/ServerCreate.json | 91 + .../ServerCreatePointInTimeRestore.json | 70 + .../examples/ServerDelete.json | 13 + .../examples/ServerGet.json | 32 + .../examples/ServerList.json | 94 + .../examples/ServerListByResourceGroup.json | 69 + .../examples/ServerRestart.json | 12 + .../examples/ServerStart.json | 12 + .../examples/ServerStop.json | 12 + .../examples/ServerUpdate.json | 44 + .../2020-02-14-privatepreview/postgresql.json | 1169 ++++++++++ 18 files changed, 3839 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerRestart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStop.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..95924030201e --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "", + "name": "name1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json new file mode 100644 index 000000000000..e8357cf68fde --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json @@ -0,0 +1,1901 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/application_name", + "name": "application_name", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum", + "name": "autovacuum", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_scale_factor", + "name": "autovacuum_analyze_scale_factor", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_threshold", + "name": "autovacuum_analyze_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_naptime", + "name": "autovacuum_naptime", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_delay", + "name": "autovacuum_vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_limit", + "name": "autovacuum_vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_scale_factor", + "name": "autovacuum_vacuum_scale_factor", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_threshold", + "name": "autovacuum_vacuum_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_work_mem", + "name": "autovacuum_work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backend_flush_after", + "name": "backend_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backslash_quote", + "name": "backslash_quote", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_delay", + "name": "bgwriter_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_flush_after", + "name": "bgwriter_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_maxpages", + "name": "bgwriter_lru_maxpages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_multiplier", + "name": "bgwriter_lru_multiplier", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bytea_output", + "name": "bytea_output", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/check_function_bodies", + "name": "check_function_bodies", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_completion_target", + "name": "checkpoint_completion_target", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_timeout", + "name": "checkpoint_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_warning", + "name": "checkpoint_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_encoding", + "name": "client_encoding", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_min_messages", + "name": "client_min_messages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_delay", + "name": "commit_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_siblings", + "name": "commit_siblings", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/constraint_exclusion", + "name": "constraint_exclusion", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_index_tuple_cost", + "name": "cpu_index_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_operator_cost", + "name": "cpu_operator_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_tuple_cost", + "name": "cpu_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cursor_tuple_fraction", + "name": "cursor_tuple_fraction", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/DateStyle", + "name": "DateStyle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/deadlock_timeout", + "name": "deadlock_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_pretty_print", + "name": "debug_pretty_print", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_parse", + "name": "debug_print_parse", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_plan", + "name": "debug_print_plan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_rewritten", + "name": "debug_print_rewritten", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_statistics_target", + "name": "default_statistics_target", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_tablespace", + "name": "default_tablespace", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_text_search_config", + "name": "default_text_search_config", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_deferrable", + "name": "default_transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_isolation", + "name": "default_transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_read_only", + "name": "default_transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_with_oids", + "name": "default_with_oids", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/effective_cache_size", + "name": "effective_cache_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_bitmapscan", + "name": "enable_bitmapscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_gathermerge", + "name": "enable_gathermerge", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashagg", + "name": "enable_hashagg", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashjoin", + "name": "enable_hashjoin", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexonlyscan", + "name": "enable_indexonlyscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexscan", + "name": "enable_indexscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_material", + "name": "enable_material", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_mergejoin", + "name": "enable_mergejoin", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_nestloop", + "name": "enable_nestloop", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_seqscan", + "name": "enable_seqscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_sort", + "name": "enable_sort", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_tidscan", + "name": "enable_tidscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/escape_string_warning", + "name": "escape_string_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/exit_on_error", + "name": "exit_on_error", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/extra_float_digits", + "name": "extra_float_digits", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/force_parallel_mode", + "name": "force_parallel_mode", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/from_collapse_limit", + "name": "from_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo", + "name": "geqo", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_effort", + "name": "geqo_effort", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_generations", + "name": "geqo_generations", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_pool_size", + "name": "geqo_pool_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_seed", + "name": "geqo_seed", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_selection_bias", + "name": "geqo_selection_bias", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_threshold", + "name": "geqo_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_fuzzy_search_limit", + "name": "gin_fuzzy_search_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_pending_list_limit", + "name": "gin_pending_list_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/idle_in_transaction_session_timeout", + "name": "idle_in_transaction_session_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/IntervalStyle", + "name": "IntervalStyle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/join_collapse_limit", + "name": "join_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_monetary", + "name": "lc_monetary", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_numeric", + "name": "lc_numeric", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lo_compat_privileges", + "name": "lo_compat_privileges", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lock_timeout", + "name": "lock_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_autovacuum_min_duration", + "name": "log_autovacuum_min_duration", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_checkpoints", + "name": "log_checkpoints", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_connections", + "name": "log_connections", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_destination", + "name": "log_destination", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_disconnections", + "name": "log_disconnections", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_duration", + "name": "log_duration", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_error_verbosity", + "name": "log_error_verbosity", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_lock_waits", + "name": "log_lock_waits", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_duration_statement", + "name": "log_min_duration_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_error_statement", + "name": "log_min_error_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_messages", + "name": "log_min_messages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_replication_commands", + "name": "log_replication_commands", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement", + "name": "log_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement_stats", + "name": "log_statement_stats", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_temp_files", + "name": "log_temp_files", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/maintenance_work_mem", + "name": "maintenance_work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers", + "name": "max_parallel_workers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers_per_gather", + "name": "max_parallel_workers_per_gather", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_page", + "name": "max_pred_locks_per_page", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_relation", + "name": "max_pred_locks_per_relation", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_archive_delay", + "name": "max_standby_archive_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_streaming_delay", + "name": "max_standby_streaming_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_sync_workers_per_subscription", + "name": "max_sync_workers_per_subscription", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_wal_size", + "name": "max_wal_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_index_scan_size", + "name": "min_parallel_index_scan_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_table_scan_size", + "name": "min_parallel_table_scan_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_wal_size", + "name": "min_wal_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/operator_precedence_warning", + "name": "operator_precedence_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_setup_cost", + "name": "parallel_setup_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_tuple_cost", + "name": "parallel_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/quote_all_identifiers", + "name": "quote_all_identifiers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/random_page_cost", + "name": "random_page_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/row_security", + "name": "row_security", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/search_path", + "name": "search_path", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/seq_page_cost", + "name": "seq_page_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/session_replication_role", + "name": "session_replication_role", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/standard_conforming_strings", + "name": "standard_conforming_strings", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/statement_timeout", + "name": "statement_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronize_seqscans", + "name": "synchronize_seqscans", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronous_commit", + "name": "synchronous_commit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_count", + "name": "tcp_keepalives_count", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_idle", + "name": "tcp_keepalives_idle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_interval", + "name": "tcp_keepalives_interval", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_buffers", + "name": "temp_buffers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_tablespaces", + "name": "temp_tablespaces", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/TimeZone", + "name": "TimeZone", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_activities", + "name": "track_activities", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_counts", + "name": "track_counts", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_functions", + "name": "track_functions", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_io_timing", + "name": "track_io_timing", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/transform_null_equals", + "name": "transform_null_equals", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_delay", + "name": "vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_limit", + "name": "vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_dirty", + "name": "vacuum_cost_page_dirty", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_hit", + "name": "vacuum_cost_page_hit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_miss", + "name": "vacuum_cost_page_miss", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_defer_cleanup_age", + "name": "vacuum_defer_cleanup_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_min_age", + "name": "vacuum_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_table_age", + "name": "vacuum_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_min_age", + "name": "vacuum_multixact_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_table_age", + "name": "vacuum_multixact_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_receiver_status_interval", + "name": "wal_receiver_status_interval", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_delay", + "name": "wal_writer_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_flush_after", + "name": "wal_writer_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/work_mem", + "name": "work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmlbinary", + "name": "xmlbinary", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmloption", + "name": "xmloption", + "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json new file mode 100644 index 000000000000..08f44f832cb6 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "configurationName": "auto-vaccum", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "value": [{ + "name": "auto-vaccum", + "properties": { + "value": "off" + } + }] + } + }, + "responses": { + "200": { + "body": { + "properties": [{ + "value": "off", + "description": "Enable input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "user-override" + }], + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations", + "name": "auto-vaccum", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json new file mode 100644 index 000000000000..79ec425ec920 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + }, + "name" :"rule1", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + }, + "202": { + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleDelete.json new file mode 100644 index 000000000000..7210184118b1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json new file mode 100644 index 000000000000..f3c4c492f593 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + }, + { + "name": "rule2", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "properties": { + "startIpAddress": "1.0.0.0", + "endIpAddress": "255.0.0.0" + } + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json new file mode 100644 index 000000000000..4d6237beac88 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2020-02-14-privatepreview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DBforPostgreSQL/singleServers/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/singleServers/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/singleServers/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server", + "operation": "Delete PostgreSQL Server", + "description": "Deletes an existing server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/singleServers/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/singleServers/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/singleServers/firewallRules/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules", + "operation": "Delete Firewall Rule", + "description": "Deletes an existing firewall rule." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/singleServers/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/singleServers/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/singleServers/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/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json new file mode 100644 index 000000000000..2223f731af33 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "administratorLogin": "cloudsa", + "administratorLoginPassword": "password", + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "version": "12", + "firewallRules": {}, + "standbyCount": 0, + "backupRetentionDays": 7, + "vnetInjArgs": { + "delegatedSubnetName": "autobot-subnet-pg-ss", + "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", + "delegatedVnetName": "autobot-orcas-vnet" + } + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "standbyCount": 0, + "backupRetentionDays": 7, + "vnetInjArgs": { + "delegatedSubnetName": "subnet-pg-ss", + "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", + "delegatedVnetName": "orcas-vnet" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "200": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "standbyCount": 0, + "backupRetentionDays": 7, + "vnetInjArgs": { + "delegatedSubnetName": "subnet-pg-ss", + "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", + "delegatedVnetName": "orcas-vnet" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json new file mode 100644 index 000000000000..be23b3aa2c97 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "createMode": "PointInTimeRestore", + "sourceServerName": "sourcePgServerName", + "pointInTimeUTC": "2020-06-30T23:41:49.000Z" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "standbyCount": 0, + "backupRetentionDays": 7, + "vnetInjArgs": { + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "200": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "standbyCount": 0, + "backupRetentionDays": 7, + "vnetInjArgs": {} + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerDelete.json new file mode 100644 index 000000000000..4f1c212e5e92 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json new file mode 100644 index 000000000000..82232456a1d9 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "serverName": "pgtestsvc1", + "resourceGroupName": "testrg", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json new file mode 100644 index 000000000000..8c81615b43b0 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "Server": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleservers" + }, + { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc2.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "Server": "2" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc2", + "name": "pgtestsvc2", + "type": "Microsoft.DBforPostgreSQL/singleservers" + }, + { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc3.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "Server": "3" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc3", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + }, + { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "Server": "4" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json new file mode 100644 index 000000000000..4fe109b98e17 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "administratorLogin": "testuser", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleservers" + }, + { + "properties": { + "administratorLogin": "testuser", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc2", + "name": "pgtestsvc2", + "type": "Microsoft.DBforPostgreSQL/singleServers" + }, + { + "properties": { + "administratorLogin": "testuser", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288 + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerRestart.json new file mode 100644 index 000000000000..529712063a59 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerRestart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStart.json new file mode 100644 index 000000000000..529712063a59 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStop.json new file mode 100644 index 000000000000..529712063a59 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json new file mode 100644 index 000000000000..fa22b1cfe2aa --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "serverName": "pgtestsvc4", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "location": "westus", + "properties": { + "vCores": 4, + "administratorLoginPassword": "newpassword", + "backupRetentionDays": 20 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "backupRetentionDays": 20, + "vnetInjArgs": { + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "name": "pgtestsvc4", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + }, + "202": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json new file mode 100644 index 000000000000..c22e9aabb3f6 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -0,0 +1,1169 @@ +{ + "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-02-14-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/singleservers/{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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForCreate" + }, + "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" + } + }, + "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerUpdateParameters" + }, + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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" + } + }, + "description": "Gets information about a server.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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/singleservers": { + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + } + ], + "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/singleservers": { + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/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/singleservers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } + }, + "description": "Restarts a server.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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/singleservers/{serverName}/start": { + "post": { + "tags": [ + "ServerStart" + ], + "operationId": "Servers_Start", + "x-ms-examples": { + "ServerStart": { + "$ref": "./examples/ServerStart.json" + } + }, + "description": "Starts a server.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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/singleservers/{serverName}/stop": { + "post": { + "tags": [ + "ServerStop" + ], + "operationId": "Servers_Stop", + "x-ms-examples": { + "ServerStop": { + "$ref": "./examples/ServerStop.json" + } + }, + "description": "Stops a server.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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/singleservers/{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 server.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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/singleservers/{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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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" + } + }, + "post": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "ConfigurationUpdate": { + "$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" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + }, + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + } + }, + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/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" + } + } + } + } + }, + "/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": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + } + } + } + }, + "definitions": { + "ServerVersion": { + "type": "string", + "description": "The version of a server.", + "enum": [ + "12" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerProperties": { + "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)." + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "Server version." + }, + "state": { + "type": "string", + "description": "A state of a server that is visible to user.", + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true + } + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "The fully qualified domain name of a server." + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + }, + "displayName": { + "type": "string", + "description": "The display name of a server." + }, + "storageQuotaInMb": { + "type": "integer", + "format": "int32", + "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "publicIpAddressRequested": { + "description": "public IP requested as true", + "type": "boolean" + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "vnetInjArgs": { + "properties": { + "delegatedVnetID": { + "type": "string", + "description": "delegated vNet ID" + }, + "delegatedSubnetName": { + "type": "string", + "description": "delegated subnet name" + }, + "delegatedVnetName": { + "type": "string", + "description": "delegated vNet name" + } + } + } + }, + "description": "The properties of a server." + }, + "Server": { + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." + }, + "properties": { + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of the server." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a server." + }, + "ServerForCreate": { + "allOf": [ + { + "$ref": "#/definitions/ServerProperties" + } + ], + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "firewallRules": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." + } + } + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "required": [ + "properties", + "location" + ], + "description": "Represents a server to be created." + }, + "ServerUpdateParameters": { + "properties": { + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "properties": { + "vCores": { + "type": "integer", + "format": "int32", + "minimum": 4, + "description": "The minimum number of vCores that a server can have." + } + }, + "x-ms-client-flatten": true, + "description": "The properties that can be updated for a server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Parameters allowed to update for a server." + }, + "ServerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of servers" + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of servers." + }, + "FirewallRuleProperties": { + "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": { + "properties": { + "properties": { + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "The properties of a firewall rule." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "FirewallRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of firewall rules." + }, + "ConfigurationProperties": { + "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": { + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Configuration." + }, + "ConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "The list of server configurations." + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of server configurations." + }, + "OperationDisplay": { + "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": { + "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." + }, + "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": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "The list of resource provider operations." + } + }, + "description": "A list of resource provider operations." + }, + "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": { + "properties": { + "message": { + "type": "string", + "description": "Error Message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "reason": { + "type": "string", + "description": "Reason for name being unavailable." + } + }, + "description": "Represents a resource name availability." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Batch service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription ID that identifies an Azure subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request." + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "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" + } + } + } +} + \ No newline at end of file From ed0bc47826580ef228afd4eb4adef395a3e05450 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 18:49:22 -0700 Subject: [PATCH 02/51] Successfully validated the postgresql.json --- .../2020-02-14-privatepreview/postgresql.json | 175 ++++++++---------- 1 file changed, 73 insertions(+), 102 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index c22e9aabb3f6..b76300636eb2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -51,13 +51,13 @@ "description": "Creates a new server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -110,13 +110,13 @@ "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -163,13 +163,13 @@ "description": "Deletes a server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -207,13 +207,13 @@ "description": "Gets information about a server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -249,13 +249,13 @@ "description": "List all the servers in a given resource group.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -291,10 +291,10 @@ "description": "List all the servers in a given subscription.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -330,13 +330,13 @@ "description": "Restarts a server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -373,13 +373,13 @@ "description": "Starts a server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -416,13 +416,13 @@ "description": "Stops a server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -459,13 +459,13 @@ "description": "List all the firewall rules in a given server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -504,13 +504,13 @@ "description": "List all the configurations in a given server.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ServerNameParameter" @@ -602,10 +602,10 @@ "description": "Check the availability of name for resource", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { "name": "nameAvailabilityRequest", @@ -647,7 +647,7 @@ "description": "Lists all of the available REST API operations.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -681,7 +681,7 @@ }, "version": { "$ref": "#/definitions/ServerVersion", - "description": "Server version." + "description": "PostgreSQL Server version." }, "state": { "type": "string", @@ -773,41 +773,38 @@ ], "description": "Represents a server." }, - "ServerForCreate": { + "ServerPropertiesForCreate": { "allOf": [ { "$ref": "#/definitions/ServerProperties" } ], "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, - "properties": { - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "firewallRules": { - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The list of firewall rules in a server." - } - } + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + } + } + }, + "ServerForCreate": { + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForCreate", + "x-ms-client-flatten": false, + "description": "Properties of the server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } + "description": "Application-specific metadata in the form of key-value pairs." + } }, "required": [ "properties", @@ -817,21 +814,14 @@ }, "ServerUpdateParameters": { "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, - "properties": { - "vCores": { - "type": "integer", - "format": "int32", - "minimum": 4, - "description": "The minimum number of vCores that a server can have." - } - }, - "x-ms-client-flatten": true, - "description": "The properties that can be updated for a server." + "$ref": "#/definitions/ServerPropertiesForCreate", + "x-ms-client-flatten": false, + "description": "Properties of the server." }, "tags": { "type": "object", @@ -841,7 +831,11 @@ "description": "Application-specific metadata in the form of key-value pairs." } }, - "description": "Parameters allowed to update for a server." + "required": [ + "properties", + "location" + ], + "description": "Represents a server to be updated." }, "ServerListResult": { "properties": { @@ -1133,28 +1127,6 @@ } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription ID that identifies an Azure subscription." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request." - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", - "x-ms-parameter-location": "method" - }, "ServerNameParameter": { "name": "serverName", "in": "path", @@ -1165,5 +1137,4 @@ } } } -} \ No newline at end of file From 28033ca169a56a43234cf607f2dfae7a8eef8dc7 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 21:53:19 -0700 Subject: [PATCH 03/51] Create different properties for Create and Update --- .../examples/ServerCreate.json | 1 - .../examples/ServerUpdate.json | 4 +- .../2020-02-14-privatepreview/postgresql.json | 93 +++++++++++++++++-- 3 files changed, 87 insertions(+), 11 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 2223f731af33..3ff5b8ed0ef3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -13,7 +13,6 @@ "vCores": 4, "storageQuotaInMb": 524288, "version": "12", - "firewallRules": {}, "standbyCount": 0, "backupRetentionDays": 7, "vnetInjArgs": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index fa22b1cfe2aa..2c56b2527020 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -9,7 +9,9 @@ "properties": { "vCores": 4, "administratorLoginPassword": "newpassword", - "backupRetentionDays": 20 + "backupRetentionDays": 20, + "storageQuotaInMb": 524288, + "serverEdition": "GeneralPurpose" } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index b76300636eb2..5e860a08e63d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -126,7 +126,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ServerUpdateParameters" + "$ref": "#/definitions/ServerForUpdate" }, "description": "The required parameters for updating a server." } @@ -692,7 +692,8 @@ "Disabled", "Starting", "Stopping", - "Stopped" + "Stopped", + "Updating" ], "x-ms-enum": { "name": "ServerState", @@ -774,19 +775,93 @@ "description": "Represents a server." }, "ServerPropertiesForCreate": { - "allOf": [ - { - "$ref": "#/definitions/ServerProperties" - } - ], "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)." + }, "administratorLoginPassword": { "type": "string", "format": "password", "description": "The password of the administrator login." + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + }, + "publicIpAddressRequested": { + "description": "public IP requested as true", + "type": "boolean" + }, + "vnetInjArgs": { + "properties": { + "delegatedVnetID": { + "type": "string", + "description": "delegated vNet ID" + }, + "delegatedSubnetName": { + "type": "string", + "description": "delegated subnet name" + }, + "delegatedVnetName": { + "type": "string", + "description": "delegated vNet name" + } + } } } }, + "ServerPropertiesForUpdate": { + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + } + } + }, "ServerForCreate": { "properties": { "location": { @@ -812,14 +887,14 @@ ], "description": "Represents a server to be created." }, - "ServerUpdateParameters": { + "ServerForUpdate": { "properties": { "location": { "type": "string", "description": "The location the resource resides in." }, "properties": { - "$ref": "#/definitions/ServerPropertiesForCreate", + "$ref": "#/definitions/ServerPropertiesForUpdate", "x-ms-client-flatten": false, "description": "Properties of the server." }, From dada2eaddcece9cc8f80aff17b4b49da7e8d54d3 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 22:08:52 -0700 Subject: [PATCH 04/51] Updated the Firewall rules api's. --- .../examples/FirewallRuleGet.json | 22 +++ .../2020-02-14-privatepreview/postgresql.json | 153 +++++++++++++++++- 2 files changed, 172 insertions(+), 3 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json new file mode 100644 index 000000000000..24968b481b31 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", + "name": "rule1", + "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 5e860a08e63d..9e51ab9228e4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -445,15 +445,112 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{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" + } + }, + "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" + } + }, + "x-ms-long-running-operation": true + }, "get": { "tags": [ "FirewallRules" ], - "operationId": "FirewallRules_ListByServer", + "operationId": "FirewallRules_Get", "x-ms-examples": { "FirewallRuleList": { - "$ref": "./examples/FirewallRuleListByServer.json" + "$ref": "./examples/FirewallRuleGet.json" } }, "description": "List all the firewall rules in a given server.", @@ -469,6 +566,9 @@ }, { "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" } ], "responses": { @@ -490,6 +590,45 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/configurations": { "get": { "tags": [ @@ -1209,6 +1348,14 @@ "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" } } } From 4ff4807553cf08d75d662f19b3337a22ef40292a Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 22:27:49 -0700 Subject: [PATCH 05/51] Added Customer maintenance Window Get operation. --- .../CustomerMaintenanceWindowGet.json | 24 ++++ .../2020-02-14-privatepreview/postgresql.json | 106 ++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json new file mode 100644 index 000000000000..09329dc12c71 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [{ + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + }] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 9e51ab9228e4..212a6807af60 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -727,6 +727,51 @@ "x-ms-long-running-operation": true } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "get": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_Get", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/CustomerMaintenanceWindowGet.json" + } + }, + "description": "List all the Customer maintenance windows of 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/CustomerMaintenanceWindowListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { "post": { "tags": [ @@ -1122,6 +1167,67 @@ }, "description": "A list of firewall rules." }, + "CustomerMaintenanceWindowProperties": { + "properties": { + "dayOfWeek": { + "type": "integer", + "description": "The day of week of the customer maintenance window to start" + }, + "durationInMinutes": { + "type": "integer", + "description": "The duration of the customer maintenance window to run." + }, + "startHour": { + "type": "integer", + "description": "The starting hour of the customer maintenance window." + }, + "startMinute": { + "type": "integer", + "description": "The starting minutes of the customer maintenance window." + } + }, + "required": [ + "dayOfWeek", + "startHour", + "startMinute" + ], + "description": "The properties of a server firewall rule." + }, + "CustomerMaintenanceWindow": { + "properties": { + "properties": { + "$ref": "#/definitions/CustomerMaintenanceWindowProperties", + "x-ms-client-flatten": true, + "description": "The properties of a customer maintenance window." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "CustomerMaintenanceWindowListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CustomerMaintenanceWindow" + }, + "description": "The list of CustomerMaintenanceWindows in a PostgreSQL server." + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of firewall rules." + }, "ConfigurationProperties": { "properties": { "value": { From 0a97f093f3272c5757715541131cd722625af982 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 22:33:04 -0700 Subject: [PATCH 06/51] Added Delete operation for CMW --- .../CustomerMaintenanceWindowDelete.json | 14 +++++++ .../2020-02-14-privatepreview/postgresql.json | 38 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json new file mode 100644 index 000000000000..7210184118b1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "firewallRuleName": "rule1", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 212a6807af60..dae2f0879fff 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -728,6 +728,44 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "delete": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_Delete", + "x-ms-examples": { + "FirewallRuleDelete": { + "$ref": "./examples/CustomerMaintenanceWindowDelete.json" + } + }, + "description": "Deletes a PostgreSQL server Customer maintenance window.", + "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" + } + }, + "x-ms-long-running-operation": true + }, "get": { "tags": [ "CustomerMaintenanceWindow" From 25cf53ac2272abf3311fbbbfc7a1ed2e91a2a381 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 22:38:54 -0700 Subject: [PATCH 07/51] Added put API for CMW. --- .../CustomerMaintenanceWindowCreate.json | 44 +++++++++++++++ .../2020-02-14-privatepreview/postgresql.json | 53 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json new file mode 100644 index 000000000000..f69790ccc616 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "parameters": { + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + } + } + }, + "responses": { + "201": { + "body": { + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + } + }, + "200": { + "body": { + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + } + }, + "202": { + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index dae2f0879fff..661cdef64d86 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -728,6 +728,59 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "put": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_CreateOrUpdate", + "x-ms-examples": { + "FirewallRuleCreate": { + "$ref": "./examples/CustomerMaintenanceWindowCreate.json" + } + }, + "description": "Creates a new customer m aintenance window.", + "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/CustomerMaintenanceWindow" + }, + "description": "The required parameters for creating or updating a customer maintenance window." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CustomerMaintenanceWindow" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CustomerMaintenanceWindow" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, "delete": { "tags": [ "CustomerMaintenanceWindow" From dde35ddd979abe7ff4e03ea61a4519ae938d5b4a Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 22:51:27 -0700 Subject: [PATCH 08/51] Added PITR API. --- .../2020-02-14-privatepreview/postgresql.json | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 661cdef64d86..47453a35cc4a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1050,6 +1050,10 @@ "description": "Represents a server." }, "ServerPropertiesForCreate": { + "discriminator": "createMode", + "required": [ + "createMode" + ], "properties": { "administratorLogin": { "type": "string", @@ -1102,9 +1106,64 @@ "description": "delegated vNet name" } } + }, + "createMode": { + "type": "string", + "description": "The mode to create a new PostgreSQL server.", + "enum": [ + "Default", + "PointInTimeRestore" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + } } } }, + "ServerPropertiesForDefaultCreate": { + "x-ms-discriminator-value": "Default", + "allOf": [ + { + "$ref": "#/definitions/ServerPropertiesForCreate" + } + ], + "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)." + }, + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + } + }, + "required": [ + "administratorLogin", + "administratorLoginPassword" + ], + "description": "The properties used to create a new server." + }, + "ServerPropertiesForRestore": { + "x-ms-discriminator-value": "PointInTimeRestore", + "properties": { + "sourceServerName": { + "type": "string", + "description": "The source PostgreSQL server name to restore from." + }, + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." + } + }, + "required": [ + "sourceServerName", + "restorePointInTime" + ], + "description": "The properties used to create a new server by restoring from a backup." + }, "ServerPropertiesForUpdate": { "properties": { "administratorLoginPassword": { From 2ab2ccfaa572827d20fcbe13f793f8bec39cc492 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 23:30:02 -0700 Subject: [PATCH 09/51] Fix for avocado and Spellcheck validations --- .../2020-02-14-privatepreview/postgresql.json | 20 +++++++++---------- .../postgresql/resource-manager/readme.md | 10 ++++++++++ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 47453a35cc4a..96460de4b14e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -235,7 +235,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers": { "get": { "tags": [ "Servers" @@ -277,7 +277,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/singleservers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/singleServers": { "get": { "tags": [ "Servers" @@ -316,7 +316,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -359,7 +359,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -402,7 +402,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -445,7 +445,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -629,7 +629,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -727,7 +727,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleservers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -738,7 +738,7 @@ "$ref": "./examples/CustomerMaintenanceWindowCreate.json" } }, - "description": "Creates a new customer m aintenance window.", + "description": "Creates a new customer maintenance window.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 115fef7db845..dbd672b6aadf 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -90,6 +90,16 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json ``` +### Tag: package-2020-02-14-privatepreview + +These settings apply only when `--tag=package-2020-02-14-privatepreview` is specified on the command line. + + +``` yaml $(tag) == 'package-2020-02-14-privatepreview' +input-file: +- Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +``` + ### Tag: package-2017-12-01 These settings apply only when `--tag=package-2017-12-01` is specified on the command line. From bd7e74120384a0679655cbfe523857dbd446873c Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 1 Jul 2020 23:48:53 -0700 Subject: [PATCH 10/51] Fixed the prettier check issues. --- .../examples/ConfigurationListByServer.json | 3772 ++++++++--------- .../examples/ConfigurationUpdate.json | 30 +- .../CustomerMaintenanceWindowCreate.json | 21 +- .../CustomerMaintenanceWindowGet.json | 22 +- .../examples/FirewallRuleCreate.json | 5 +- .../ServerCreatePointInTimeRestore.json | 3 +- .../examples/ServerUpdate.json | 3 +- .../2020-02-14-privatepreview/postgresql.json | 2911 +++++++------ 8 files changed, 3384 insertions(+), 3383 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json index e8357cf68fde..9fff721ec87c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json @@ -9,1892 +9,1892 @@ "200": { "body": { "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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/application_name", - "name": "application_name", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", - "name": "array_nulls", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum", - "name": "autovacuum", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_scale_factor", - "name": "autovacuum_analyze_scale_factor", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_threshold", - "name": "autovacuum_analyze_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_naptime", - "name": "autovacuum_naptime", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_delay", - "name": "autovacuum_vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_limit", - "name": "autovacuum_vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_scale_factor", - "name": "autovacuum_vacuum_scale_factor", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_threshold", - "name": "autovacuum_vacuum_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_work_mem", - "name": "autovacuum_work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backend_flush_after", - "name": "backend_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backslash_quote", - "name": "backslash_quote", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_delay", - "name": "bgwriter_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_flush_after", - "name": "bgwriter_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_maxpages", - "name": "bgwriter_lru_maxpages", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_multiplier", - "name": "bgwriter_lru_multiplier", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bytea_output", - "name": "bytea_output", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/check_function_bodies", - "name": "check_function_bodies", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_completion_target", - "name": "checkpoint_completion_target", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_timeout", - "name": "checkpoint_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_warning", - "name": "checkpoint_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_encoding", - "name": "client_encoding", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_min_messages", - "name": "client_min_messages", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_delay", - "name": "commit_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_siblings", - "name": "commit_siblings", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/constraint_exclusion", - "name": "constraint_exclusion", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_index_tuple_cost", - "name": "cpu_index_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_operator_cost", - "name": "cpu_operator_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_tuple_cost", - "name": "cpu_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cursor_tuple_fraction", - "name": "cursor_tuple_fraction", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/DateStyle", - "name": "DateStyle", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/deadlock_timeout", - "name": "deadlock_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_pretty_print", - "name": "debug_pretty_print", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_parse", - "name": "debug_print_parse", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_plan", - "name": "debug_print_plan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_rewritten", - "name": "debug_print_rewritten", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_statistics_target", - "name": "default_statistics_target", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_tablespace", - "name": "default_tablespace", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_text_search_config", - "name": "default_text_search_config", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_deferrable", - "name": "default_transaction_deferrable", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_isolation", - "name": "default_transaction_isolation", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_read_only", - "name": "default_transaction_read_only", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_with_oids", - "name": "default_with_oids", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/effective_cache_size", - "name": "effective_cache_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_bitmapscan", - "name": "enable_bitmapscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_gathermerge", - "name": "enable_gathermerge", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashagg", - "name": "enable_hashagg", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashjoin", - "name": "enable_hashjoin", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexonlyscan", - "name": "enable_indexonlyscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexscan", - "name": "enable_indexscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_material", - "name": "enable_material", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_mergejoin", - "name": "enable_mergejoin", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_nestloop", - "name": "enable_nestloop", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_seqscan", - "name": "enable_seqscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_sort", - "name": "enable_sort", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_tidscan", - "name": "enable_tidscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/escape_string_warning", - "name": "escape_string_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/exit_on_error", - "name": "exit_on_error", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/extra_float_digits", - "name": "extra_float_digits", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/force_parallel_mode", - "name": "force_parallel_mode", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/from_collapse_limit", - "name": "from_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo", - "name": "geqo", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_effort", - "name": "geqo_effort", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_generations", - "name": "geqo_generations", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_pool_size", - "name": "geqo_pool_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_seed", - "name": "geqo_seed", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_selection_bias", - "name": "geqo_selection_bias", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_threshold", - "name": "geqo_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_fuzzy_search_limit", - "name": "gin_fuzzy_search_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_pending_list_limit", - "name": "gin_pending_list_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/idle_in_transaction_session_timeout", - "name": "idle_in_transaction_session_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/IntervalStyle", - "name": "IntervalStyle", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/join_collapse_limit", - "name": "join_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_monetary", - "name": "lc_monetary", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_numeric", - "name": "lc_numeric", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lo_compat_privileges", - "name": "lo_compat_privileges", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lock_timeout", - "name": "lock_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_autovacuum_min_duration", - "name": "log_autovacuum_min_duration", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_checkpoints", - "name": "log_checkpoints", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_connections", - "name": "log_connections", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_destination", - "name": "log_destination", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_disconnections", - "name": "log_disconnections", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_duration", - "name": "log_duration", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_error_verbosity", - "name": "log_error_verbosity", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_lock_waits", - "name": "log_lock_waits", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_duration_statement", - "name": "log_min_duration_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_error_statement", - "name": "log_min_error_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_messages", - "name": "log_min_messages", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_replication_commands", - "name": "log_replication_commands", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement", - "name": "log_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement_stats", - "name": "log_statement_stats", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_temp_files", - "name": "log_temp_files", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/maintenance_work_mem", - "name": "maintenance_work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers", - "name": "max_parallel_workers", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers_per_gather", - "name": "max_parallel_workers_per_gather", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_page", - "name": "max_pred_locks_per_page", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_relation", - "name": "max_pred_locks_per_relation", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_archive_delay", - "name": "max_standby_archive_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_streaming_delay", - "name": "max_standby_streaming_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_sync_workers_per_subscription", - "name": "max_sync_workers_per_subscription", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_wal_size", - "name": "max_wal_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_index_scan_size", - "name": "min_parallel_index_scan_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_table_scan_size", - "name": "min_parallel_table_scan_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_wal_size", - "name": "min_wal_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/operator_precedence_warning", - "name": "operator_precedence_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_setup_cost", - "name": "parallel_setup_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_tuple_cost", - "name": "parallel_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/quote_all_identifiers", - "name": "quote_all_identifiers", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/random_page_cost", - "name": "random_page_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/row_security", - "name": "row_security", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/search_path", - "name": "search_path", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/seq_page_cost", - "name": "seq_page_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/session_replication_role", - "name": "session_replication_role", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/standard_conforming_strings", - "name": "standard_conforming_strings", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/statement_timeout", - "name": "statement_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronize_seqscans", - "name": "synchronize_seqscans", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronous_commit", - "name": "synchronous_commit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_count", - "name": "tcp_keepalives_count", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_idle", - "name": "tcp_keepalives_idle", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_interval", - "name": "tcp_keepalives_interval", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_buffers", - "name": "temp_buffers", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_tablespaces", - "name": "temp_tablespaces", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/TimeZone", - "name": "TimeZone", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_activities", - "name": "track_activities", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_counts", - "name": "track_counts", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_functions", - "name": "track_functions", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_io_timing", - "name": "track_io_timing", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/transform_null_equals", - "name": "transform_null_equals", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_delay", - "name": "vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_limit", - "name": "vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_dirty", - "name": "vacuum_cost_page_dirty", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_hit", - "name": "vacuum_cost_page_hit", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_miss", - "name": "vacuum_cost_page_miss", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_defer_cleanup_age", - "name": "vacuum_defer_cleanup_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_min_age", - "name": "vacuum_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_table_age", - "name": "vacuum_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_min_age", - "name": "vacuum_multixact_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_table_age", - "name": "vacuum_multixact_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_receiver_status_interval", - "name": "wal_receiver_status_interval", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_delay", - "name": "wal_writer_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_flush_after", - "name": "wal_writer_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/work_mem", - "name": "work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmlbinary", - "name": "xmlbinary", - "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmloption", - "name": "xmloption", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" - } - ] + { + "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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/application_name", + "name": "application_name", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum", + "name": "autovacuum", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_scale_factor", + "name": "autovacuum_analyze_scale_factor", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_threshold", + "name": "autovacuum_analyze_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_naptime", + "name": "autovacuum_naptime", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_delay", + "name": "autovacuum_vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_limit", + "name": "autovacuum_vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_scale_factor", + "name": "autovacuum_vacuum_scale_factor", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_threshold", + "name": "autovacuum_vacuum_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_work_mem", + "name": "autovacuum_work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backend_flush_after", + "name": "backend_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backslash_quote", + "name": "backslash_quote", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_delay", + "name": "bgwriter_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_flush_after", + "name": "bgwriter_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_maxpages", + "name": "bgwriter_lru_maxpages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_multiplier", + "name": "bgwriter_lru_multiplier", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bytea_output", + "name": "bytea_output", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/check_function_bodies", + "name": "check_function_bodies", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_completion_target", + "name": "checkpoint_completion_target", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_timeout", + "name": "checkpoint_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_warning", + "name": "checkpoint_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_encoding", + "name": "client_encoding", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_min_messages", + "name": "client_min_messages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_delay", + "name": "commit_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_siblings", + "name": "commit_siblings", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/constraint_exclusion", + "name": "constraint_exclusion", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_index_tuple_cost", + "name": "cpu_index_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_operator_cost", + "name": "cpu_operator_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_tuple_cost", + "name": "cpu_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cursor_tuple_fraction", + "name": "cursor_tuple_fraction", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/DateStyle", + "name": "DateStyle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/deadlock_timeout", + "name": "deadlock_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_pretty_print", + "name": "debug_pretty_print", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_parse", + "name": "debug_print_parse", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_plan", + "name": "debug_print_plan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_rewritten", + "name": "debug_print_rewritten", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_statistics_target", + "name": "default_statistics_target", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_tablespace", + "name": "default_tablespace", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_text_search_config", + "name": "default_text_search_config", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_deferrable", + "name": "default_transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_isolation", + "name": "default_transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_read_only", + "name": "default_transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_with_oids", + "name": "default_with_oids", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/effective_cache_size", + "name": "effective_cache_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_bitmapscan", + "name": "enable_bitmapscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_gathermerge", + "name": "enable_gathermerge", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashagg", + "name": "enable_hashagg", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashjoin", + "name": "enable_hashjoin", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexonlyscan", + "name": "enable_indexonlyscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexscan", + "name": "enable_indexscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_material", + "name": "enable_material", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_mergejoin", + "name": "enable_mergejoin", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_nestloop", + "name": "enable_nestloop", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_seqscan", + "name": "enable_seqscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_sort", + "name": "enable_sort", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_tidscan", + "name": "enable_tidscan", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/escape_string_warning", + "name": "escape_string_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/exit_on_error", + "name": "exit_on_error", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/extra_float_digits", + "name": "extra_float_digits", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/force_parallel_mode", + "name": "force_parallel_mode", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/from_collapse_limit", + "name": "from_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo", + "name": "geqo", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_effort", + "name": "geqo_effort", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_generations", + "name": "geqo_generations", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_pool_size", + "name": "geqo_pool_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_seed", + "name": "geqo_seed", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_selection_bias", + "name": "geqo_selection_bias", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_threshold", + "name": "geqo_threshold", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_fuzzy_search_limit", + "name": "gin_fuzzy_search_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_pending_list_limit", + "name": "gin_pending_list_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/idle_in_transaction_session_timeout", + "name": "idle_in_transaction_session_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/IntervalStyle", + "name": "IntervalStyle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/join_collapse_limit", + "name": "join_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_monetary", + "name": "lc_monetary", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_numeric", + "name": "lc_numeric", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lo_compat_privileges", + "name": "lo_compat_privileges", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lock_timeout", + "name": "lock_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_autovacuum_min_duration", + "name": "log_autovacuum_min_duration", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_checkpoints", + "name": "log_checkpoints", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_connections", + "name": "log_connections", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_destination", + "name": "log_destination", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_disconnections", + "name": "log_disconnections", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_duration", + "name": "log_duration", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_error_verbosity", + "name": "log_error_verbosity", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_lock_waits", + "name": "log_lock_waits", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_duration_statement", + "name": "log_min_duration_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_error_statement", + "name": "log_min_error_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_messages", + "name": "log_min_messages", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_replication_commands", + "name": "log_replication_commands", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement", + "name": "log_statement", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement_stats", + "name": "log_statement_stats", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_temp_files", + "name": "log_temp_files", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/maintenance_work_mem", + "name": "maintenance_work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers", + "name": "max_parallel_workers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers_per_gather", + "name": "max_parallel_workers_per_gather", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_page", + "name": "max_pred_locks_per_page", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_relation", + "name": "max_pred_locks_per_relation", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_archive_delay", + "name": "max_standby_archive_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_streaming_delay", + "name": "max_standby_streaming_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_sync_workers_per_subscription", + "name": "max_sync_workers_per_subscription", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_wal_size", + "name": "max_wal_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_index_scan_size", + "name": "min_parallel_index_scan_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_table_scan_size", + "name": "min_parallel_table_scan_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_wal_size", + "name": "min_wal_size", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/operator_precedence_warning", + "name": "operator_precedence_warning", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_setup_cost", + "name": "parallel_setup_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_tuple_cost", + "name": "parallel_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/quote_all_identifiers", + "name": "quote_all_identifiers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/random_page_cost", + "name": "random_page_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/row_security", + "name": "row_security", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/search_path", + "name": "search_path", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/seq_page_cost", + "name": "seq_page_cost", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/session_replication_role", + "name": "session_replication_role", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/standard_conforming_strings", + "name": "standard_conforming_strings", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/statement_timeout", + "name": "statement_timeout", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronize_seqscans", + "name": "synchronize_seqscans", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronous_commit", + "name": "synchronous_commit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_count", + "name": "tcp_keepalives_count", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_idle", + "name": "tcp_keepalives_idle", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_interval", + "name": "tcp_keepalives_interval", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_buffers", + "name": "temp_buffers", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_tablespaces", + "name": "temp_tablespaces", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/TimeZone", + "name": "TimeZone", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_activities", + "name": "track_activities", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_counts", + "name": "track_counts", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_functions", + "name": "track_functions", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_io_timing", + "name": "track_io_timing", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/transform_null_equals", + "name": "transform_null_equals", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_delay", + "name": "vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_limit", + "name": "vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_dirty", + "name": "vacuum_cost_page_dirty", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_hit", + "name": "vacuum_cost_page_hit", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_miss", + "name": "vacuum_cost_page_miss", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_defer_cleanup_age", + "name": "vacuum_defer_cleanup_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_min_age", + "name": "vacuum_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_table_age", + "name": "vacuum_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_min_age", + "name": "vacuum_multixact_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_table_age", + "name": "vacuum_multixact_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_receiver_status_interval", + "name": "wal_receiver_status_interval", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_delay", + "name": "wal_writer_delay", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_flush_after", + "name": "wal_writer_flush_after", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/work_mem", + "name": "work_mem", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmlbinary", + "name": "xmlbinary", + "type": "Microsoft.DBforPostgreSQL/singleservers/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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmloption", + "name": "xmloption", + "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + } + ] } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json index 08f44f832cb6..75f69d441699 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -6,25 +6,29 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "value": [{ - "name": "auto-vaccum", - "properties": { - "value": "off" + "value": [ + { + "name": "auto-vaccum", + "properties": { + "value": "off" + } } - }] + ] } }, "responses": { "200": { "body": { - "properties": [{ - "value": "off", - "description": "Enable input of NULL elements in arrays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "user-override" - }], + "properties": [ + { + "value": "off", + "description": "Enable input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "user-override" + } + ], "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations", "name": "auto-vaccum", "type": "Microsoft.DBforPostgreSQL/singleServers" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json index f69790ccc616..6e9cf738de67 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json @@ -6,9 +6,9 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "properties": { - "dayOfWeek": 1, - "startHour": 0, - "startMinute": 30, + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, "durationInMinutes": 30 } } @@ -18,9 +18,9 @@ "body": { "name": "customerMaintenanceWindow", "properties": { - "dayOfWeek": 1, - "startHour": 0, - "startMinute": 30, + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, "durationInMinutes": 30 }, "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" @@ -30,15 +30,14 @@ "body": { "name": "customerMaintenanceWindow", "properties": { - "dayOfWeek": 1, - "startHour": 0, - "startMinute": 30, + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, "durationInMinutes": 30 }, "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" } }, - "202": { - } + "202": {} } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json index 09329dc12c71..e60e9edd4905 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json @@ -8,16 +8,18 @@ "responses": { "200": { "body": { - "value": [{ - "name": "customerMaintenanceWindow", - "properties": { - "dayOfWeek": 1, - "startHour": 0, - "startMinute": 30, - "durationInMinutes": 30 - }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" - }] + "value": [ + { + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + } + ] } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json index 79ec425ec920..f499c98f82cb 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json @@ -10,7 +10,7 @@ "startIpAddress": "0.0.0.0", "endIpAddress": "255.255.255.255" }, - "name" :"rule1", + "name": "rule1", "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules" } }, @@ -37,7 +37,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index be23b3aa2c97..656b669e9aa5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -28,8 +28,7 @@ "storageQuotaInMb": 524288, "standbyCount": 0, "backupRetentionDays": 7, - "vnetInjArgs": { - } + "vnetInjArgs": {} }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index 2c56b2527020..bee1bc3da930 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -29,8 +29,7 @@ "vCores": 4, "storageQuotaInMb": 524288, "backupRetentionDays": 20, - "vnetInjArgs": { - } + "vnetInjArgs": {} }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 96460de4b14e..d163f907ec7d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1,1618 +1,1617 @@ { - "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-02-14-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" - } + "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-02-14-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/singleServers/{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/ServerForCreate" - }, - "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" - } - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}": { + "put": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Create", + "x-ms-examples": { + "Create a new server": { + "$ref": "./examples/ServerCreate.json" }, - "x-ms-long-running-operation": true + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" + } }, - "patch": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Update", - "x-ms-examples": { - "ServerUpdate": { - "$ref": "./examples/ServerUpdate.json" - } + "description": "Creates a new server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "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" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Delete", - "x-ms-examples": { - "ServerDelete": { - "$ref": "./examples/ServerDelete.json" - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, - "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" + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForCreate" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } + "description": "The required parameters for creating or updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" } }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_Get", - "x-ms-examples": { - "ServerGet": { - "$ref": "./examples/ServerGet.json" + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Server" } }, - "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" - } + "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/singleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_ListByResourceGroup", - "x-ms-examples": { - "ServerListByResourceGroup": { - "$ref": "./examples/ServerListByResourceGroup.json" - } + "patch": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Update", + "x-ms-examples": { + "ServerUpdate": { + "$ref": "./examples/ServerUpdate.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" }, - "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" - } + { + "$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" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } + "description": "The required parameters for updating a server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "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/singleServers": { - "get": { - "tags": [ - "Servers" - ], - "operationId": "Servers_List", - "x-ms-examples": { - "ServerList": { - "$ref": "./examples/ServerList.json" - } + "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" }, - "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" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/restart": { - "post": { - "tags": [ - "ServerRestart" - ], - "operationId": "Servers_Restart", - "x-ms-examples": { - "ServerRestart": { - "$ref": "./examples/ServerRestart.json" - } + ], + "responses": { + "200": { + "description": "OK" }, - "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" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } + "202": { + "description": "Accepted" }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/start": { - "post": { - "tags": [ - "ServerStart" - ], - "operationId": "Servers_Start", - "x-ms-examples": { - "ServerStart": { - "$ref": "./examples/ServerStart.json" - } + "204": { + "description": "NoContent" }, - "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" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } - ], - "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 - } + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/stop": { - "post": { - "tags": [ - "ServerStop" - ], - "operationId": "Servers_Stop", - "x-ms-examples": { - "ServerStop": { - "$ref": "./examples/ServerStop.json" - } + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Get", + "x-ms-examples": { + "ServerGet": { + "$ref": "./examples/ServerGet.json" + } + }, + "description": "Gets information about a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "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" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/firewallRules/{firewallRuleName}": { - "put": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_CreateOrUpdate", - "x-ms-examples": { - "FirewallRuleCreate": { - "$ref": "./examples/FirewallRuleCreate.json" + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" } }, - "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." + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "202": { - "description": "Accepted" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers": { + "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" } }, - "x-ms-long-running-operation": true + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } }, - "delete": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Delete", - "x-ms-examples": { - "FirewallRuleDelete": { - "$ref": "./examples/FirewallRuleDelete.json" + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/singleServers": { + "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" } }, - "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" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "ServerRestart": { + "$ref": "./examples/ServerRestart.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" + } + ], + "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/singleServers/{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" }, - "x-ms-long-running-operation": true + { + "$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" + } + } }, - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Get", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleGet.json" + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{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/singleServers/{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" }, - "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": "../../../../../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" }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" + "description": "The required parameters for creating or updating a firewall rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FirewallRule" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "202": { + "description": "Accepted" } - } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules": { - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_ListByServer", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/FirewallRuleListByServer.json" - } + "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" }, - "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" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "x-ms-pageable": { - "nextLinkName": null + { + "$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" + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/configurations": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_ListByServer", - "x-ms-examples": { - "ConfigurationList": { - "$ref": "./examples/ConfigurationListByServer.json" - } + "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" }, - "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" - } + { + "$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/FirewallRuleListResult" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, - "post": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Update", - "x-ms-examples": { - "ConfigurationUpdate": { - "$ref": "./examples/ConfigurationUpdate.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{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" }, - "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" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConfigurationListResult" - }, - "description": "The required parameters for updating a server configuration." + { + "$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" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConfigurationListResult" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{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" } }, - "x-ms-long-running-operation": true + "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/singleServers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { - "put": { - "tags": [ - "CustomerMaintenanceWindow" - ], - "operationId": "CustomerMaintenanceWindow_CreateOrUpdate", - "x-ms-examples": { - "FirewallRuleCreate": { - "$ref": "./examples/CustomerMaintenanceWindowCreate.json" - } + "post": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "ConfigurationUpdate": { + "$ref": "./examples/ConfigurationUpdate.json" + } + }, + "description": "Updates a configuration of a server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "description": "Creates a new customer maintenance window.", - "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/CustomerMaintenanceWindow" - }, - "description": "The required parameters for creating or updating a customer maintenance window." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomerMaintenanceWindow" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CustomerMaintenanceWindow" - } - }, - "202": { - "description": "Accepted" - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "CustomerMaintenanceWindow" - ], - "operationId": "CustomerMaintenanceWindow_Delete", - "x-ms-examples": { - "FirewallRuleDelete": { - "$ref": "./examples/CustomerMaintenanceWindowDelete.json" - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, - "description": "Deletes a PostgreSQL server Customer maintenance window.", - "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" + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationListResult" }, - "204": { - "description": "NoContent" + "description": "The required parameters for updating a server configuration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" } }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "CustomerMaintenanceWindow" - ], - "operationId": "CustomerMaintenanceWindow_Get", - "x-ms-examples": { - "FirewallRuleList": { - "$ref": "./examples/CustomerMaintenanceWindowGet.json" + "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/singleServers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "put": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_CreateOrUpdate", + "x-ms-examples": { + "FirewallRuleCreate": { + "$ref": "./examples/CustomerMaintenanceWindowCreate.json" + } + }, + "description": "Creates a new customer maintenance window.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "description": "List all the Customer maintenance windows of 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": "../../../../../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/CustomerMaintenanceWindow" }, - { - "$ref": "#/parameters/ServerNameParameter" + "description": "The required parameters for creating or updating a customer maintenance window." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CustomerMaintenanceWindow" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomerMaintenanceWindowListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CustomerMaintenanceWindow" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "202": { + "description": "Accepted" } - } + }, + "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" - } + "delete": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_Delete", + "x-ms-examples": { + "FirewallRuleDelete": { + "$ref": "./examples/CustomerMaintenanceWindowDelete.json" + } + }, + "description": "Deletes a PostgreSQL server Customer maintenance window.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "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" - } - } + { + "$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" } - } + }, + "x-ms-long-running-operation": true }, - "/providers/Microsoft.DBforPostgreSQL/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } + "get": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_Get", + "x-ms-examples": { + "FirewallRuleList": { + "$ref": "./examples/CustomerMaintenanceWindowGet.json" + } + }, + "description": "List all the Customer maintenance windows of a given PostgreSQL server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "description": "Lists all of the available REST API operations.", - "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/CustomerMaintenanceWindowListResult" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationListResult" - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "definitions": { - "ServerVersion": { - "type": "string", - "description": "The version of a server.", - "enum": [ - "12" + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" ], - "x-ms-enum": { - "name": "ServerVersion", - "modelAsString": true - } - }, - "ServerProperties": { - "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)." - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "state": { - "type": "string", - "description": "A state of a server that is visible to user.", - "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." - }, - "serverEdition": { - "type": "string", - "description": "server edition default to general purpose" - }, - "displayName": { - "type": "string", - "description": "The display name of a server." - }, - "storageQuotaInMb": { - "type": "integer", - "format": "int32", - "description": "Max Storage in MB of a server is 2097152MB(2TiB)." - }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "Max compute of a server is 64vCores." - }, - "publicIpAddressRequested": { - "description": "public IP requested as true", - "type": "boolean" - }, - "standbyCount": { - "type": "integer", - "format": "int32", - "description": "stand by count value can be either 0 or 1" - }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, - "vnetInjArgs": { - "properties": { - "delegatedVnetID": { - "type": "string", - "description": "delegated vNet ID" - }, - "delegatedSubnetName": { - "type": "string", - "description": "delegated subnet name" - }, - "delegatedVnetName": { - "type": "string", - "description": "delegated vNet name" - } - } + "operationId": "CheckNameAvailability_Execute", + "x-ms-examples": { + "NameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" } }, - "description": "The properties of a server." - }, - "Server": { - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", - "description": "The Azure Active Directory identity of the server." + "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" }, - "properties": { - "$ref": "#/definitions/ServerProperties", - "x-ms-client-flatten": true, - "description": "Properties of the server." - } - }, - "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NameAvailabilityRequest" + }, + "description": "The required parameters for checking if resource name is available." } ], - "description": "Represents a server." - }, - "ServerPropertiesForCreate": { - "discriminator": "createMode", - "required": [ - "createMode" - ], - "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)." - }, - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "Max compute of a server is 64vCores." - }, - "standbyCount": { - "type": "integer", - "format": "int32", - "description": "stand by count value can be either 0 or 1" - }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, - "serverEdition": { - "type": "string", - "description": "server edition default to general purpose" - }, - "publicIpAddressRequested": { - "description": "public IP requested as true", - "type": "boolean" - }, - "vnetInjArgs": { - "properties": { - "delegatedVnetID": { - "type": "string", - "description": "delegated vNet ID" - }, - "delegatedSubnetName": { - "type": "string", - "description": "delegated subnet name" - }, - "delegatedVnetName": { - "type": "string", - "description": "delegated vNet name" - } + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" } }, - "createMode": { - "type": "string", - "description": "The mode to create a new PostgreSQL server.", - "enum": [ - "Default", - "PointInTimeRestore" - ], - "x-ms-enum": { - "name": "CreateMode", - "modelAsString": true + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" } } } - }, - "ServerPropertiesForDefaultCreate": { - "x-ms-discriminator-value": "Default", - "allOf": [ + } + }, + "/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": "#/definitions/ServerPropertiesForCreate" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], - "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)." - }, - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } } + } + } + } + }, + "definitions": { + "ServerVersion": { + "type": "string", + "description": "The version of a server.", + "enum": [ + "12" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerProperties": { + "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)." }, - "required": [ - "administratorLogin", - "administratorLoginPassword" - ], - "description": "The properties used to create a new server." - }, - "ServerPropertiesForRestore": { - "x-ms-discriminator-value": "PointInTimeRestore", - "properties": { - "sourceServerName": { - "type": "string", - "description": "The source PostgreSQL server name to restore from." - }, - "restorePointInTime": { - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "state": { + "type": "string", + "description": "A state of a server that is visible to user.", + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true } }, - "required": [ - "sourceServerName", - "restorePointInTime" - ], - "description": "The properties used to create a new server by restoring from a backup." - }, - "ServerPropertiesForUpdate": { - "properties": { - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "Max compute of a server is 64vCores." - }, - "standbyCount": { - "type": "integer", - "format": "int32", - "description": "stand by count value can be either 0 or 1" - }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, - "serverEdition": { - "type": "string", - "description": "server edition default to general purpose" - } - } - }, - "ServerForCreate": { - "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "The fully qualified domain name of a server." + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + }, + "displayName": { + "type": "string", + "description": "The display name of a server." + }, + "storageQuotaInMb": { + "type": "integer", + "format": "int32", + "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "publicIpAddressRequested": { + "description": "public IP requested as true", + "type": "boolean" + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "vnetInjArgs": { "properties": { - "$ref": "#/definitions/ServerPropertiesForCreate", - "x-ms-client-flatten": false, - "description": "Properties of the server." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" + "delegatedVnetID": { + "type": "string", + "description": "delegated vNet ID" }, - "description": "Application-specific metadata in the form of key-value pairs." + "delegatedSubnetName": { + "type": "string", + "description": "delegated subnet name" + }, + "delegatedVnetName": { + "type": "string", + "description": "delegated vNet name" + } } - }, - "required": [ - "properties", - "location" - ], - "description": "Represents a server to be created." + } }, - "ServerForUpdate": { + "description": "The properties of a server." + }, + "Server": { + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." + }, "properties": { - "location": { - "type": "string", - "description": "The location the resource resides in." - }, + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of the server." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a server." + }, + "ServerPropertiesForCreate": { + "discriminator": "createMode", + "required": [ + "createMode" + ], + "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)." + }, + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + }, + "publicIpAddressRequested": { + "description": "public IP requested as true", + "type": "boolean" + }, + "vnetInjArgs": { "properties": { - "$ref": "#/definitions/ServerPropertiesForUpdate", - "x-ms-client-flatten": false, - "description": "Properties of the server." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" + "delegatedVnetID": { + "type": "string", + "description": "delegated vNet ID" }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "required": [ - "properties", - "location" - ], - "description": "Represents a server to be updated." - }, - "ServerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Server" + "delegatedSubnetName": { + "type": "string", + "description": "delegated subnet name" }, - "description": "The list of servers" - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true + "delegatedVnetName": { + "type": "string", + "description": "delegated vNet name" + } } }, - "description": "A list of servers." - }, - "FirewallRuleProperties": { - "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." + "createMode": { + "type": "string", + "description": "The mode to create a new PostgreSQL server.", + "enum": [ + "Default", + "PointInTimeRestore" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true } + } + } + }, + "ServerPropertiesForDefaultCreate": { + "x-ms-discriminator-value": "Default", + "allOf": [ + { + "$ref": "#/definitions/ServerPropertiesForCreate" + } + ], + "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)." }, - "required": [ - "startIpAddress", - "endIpAddress" - ], - "description": "The properties of a server firewall rule." + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + } }, - "FirewallRule": { - "properties": { - "properties": { - "$ref": "#/definitions/FirewallRuleProperties", - "x-ms-client-flatten": true, - "description": "The properties of a firewall rule." - } + "required": [ + "administratorLogin", + "administratorLoginPassword" + ], + "description": "The properties used to create a new server." + }, + "ServerPropertiesForRestore": { + "x-ms-discriminator-value": "PointInTimeRestore", + "properties": { + "sourceServerName": { + "type": "string", + "description": "The source PostgreSQL server name to restore from." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Represents a server firewall rule." + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." + } }, - "FirewallRuleListResult": { + "required": [ + "sourceServerName", + "restorePointInTime" + ], + "description": "The properties used to create a new server by restoring from a backup." + }, + "ServerPropertiesForUpdate": { + "properties": { + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login." + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "PostgreSQL Server version." + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Max compute of a server is 64vCores." + }, + "standbyCount": { + "type": "integer", + "format": "int32", + "description": "stand by count value can be either 0 or 1" + }, + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "backup retention days range from min 1 to max 35" + }, + "serverEdition": { + "type": "string", + "description": "server edition default to general purpose" + } + } + }, + "ServerForCreate": { + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "The list of firewall rules in a server." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } + "$ref": "#/definitions/ServerPropertiesForCreate", + "x-ms-client-flatten": false, + "description": "Properties of the server." }, - "description": "A list of firewall rules." + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } }, - "CustomerMaintenanceWindowProperties": { + "required": [ + "properties", + "location" + ], + "description": "Represents a server to be created." + }, + "ServerForUpdate": { + "properties": { + "location": { + "type": "string", + "description": "The location the resource resides in." + }, "properties": { - "dayOfWeek": { - "type": "integer", - "description": "The day of week of the customer maintenance window to start" - }, - "durationInMinutes": { - "type": "integer", - "description": "The duration of the customer maintenance window to run." - }, - "startHour": { - "type": "integer", - "description": "The starting hour of the customer maintenance window." - }, - "startMinute": { - "type": "integer", - "description": "The starting minutes of the customer maintenance window." - } + "$ref": "#/definitions/ServerPropertiesForUpdate", + "x-ms-client-flatten": false, + "description": "Properties of the server." }, - "required": [ - "dayOfWeek", - "startHour", - "startMinute" - ], - "description": "The properties of a server firewall rule." + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } }, - "CustomerMaintenanceWindow": { - "properties": { - "properties": { - "$ref": "#/definitions/CustomerMaintenanceWindowProperties", - "x-ms-client-flatten": true, - "description": "The properties of a customer maintenance window." - } + "required": [ + "properties", + "location" + ], + "description": "Represents a server to be updated." + }, + "ServerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of servers" }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Represents a server firewall rule." + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } }, - "CustomerMaintenanceWindowListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CustomerMaintenanceWindow" - }, - "description": "The list of CustomerMaintenanceWindows in a PostgreSQL server." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } + "description": "A list of servers." + }, + "FirewallRuleProperties": { + "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." }, - "description": "A list of firewall rules." + "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." + } }, - "ConfigurationProperties": { + "required": [ + "startIpAddress", + "endIpAddress" + ], + "description": "The properties of a server firewall rule." + }, + "FirewallRule": { + "properties": { "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." - } + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "The properties of a firewall rule." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "FirewallRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "The list of firewall rules in a server." }, - "description": "The properties of a configuration." + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } }, - "Configuration": { - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "The properties of a configuration." - } + "description": "A list of firewall rules." + }, + "CustomerMaintenanceWindowProperties": { + "properties": { + "dayOfWeek": { + "type": "integer", + "description": "The day of week of the customer maintenance window to start" }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Configuration." + "durationInMinutes": { + "type": "integer", + "description": "The duration of the customer maintenance window to run." + }, + "startHour": { + "type": "integer", + "description": "The starting hour of the customer maintenance window." + }, + "startMinute": { + "type": "integer", + "description": "The starting minutes of the customer maintenance window." + } }, - "ConfigurationListResult": { + "required": [ + "dayOfWeek", + "startHour", + "startMinute" + ], + "description": "The properties of a server firewall rule." + }, + "CustomerMaintenanceWindow": { + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Configuration" - }, - "description": "The list of server configurations." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } + "$ref": "#/definitions/CustomerMaintenanceWindowProperties", + "x-ms-client-flatten": true, + "description": "The properties of a customer maintenance window." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Represents a server firewall rule." + }, + "CustomerMaintenanceWindowListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CustomerMaintenanceWindow" + }, + "description": "The list of CustomerMaintenanceWindows in a PostgreSQL server." }, - "description": "A list of server configurations." + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } }, - "OperationDisplay": { - "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": "A list of firewall rules." + }, + "ConfigurationProperties": { + "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 } }, - "description": "Display metadata associated with the operation." + "allowedValues": { + "type": "string", + "readOnly": true, + "description": "Allowed values of the configuration." + }, + "source": { + "type": "string", + "description": "Source of the configuration." + } }, - "Operation": { + "description": "The properties of a configuration." + }, + "Configuration": { + "properties": { "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." - }, - "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." - } + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Configuration." + }, + "ConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "The list of server configurations." }, - "description": "REST API operation definition." + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } }, - "OperationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "The list of resource provider operations." - } + "description": "A list of server configurations." + }, + "OperationDisplay": { + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Operation resource provider name." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Resource on which the operation is performed." }, - "description": "A list of resource provider operations." + "operation": { + "type": "string", + "readOnly": true, + "description": "Localized friendly name for the operation." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Operation description." + } }, - "NameAvailabilityRequest": { - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Resource name to verify." - }, - "type": { - "type": "string", - "description": "Resource type used for verification." + "description": "Display metadata associated with the operation." + }, + "Operation": { + "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." + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "The intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true } }, - "description": "Request from client to check resource name availability." - }, - "NameAvailability": { "properties": { - "message": { - "type": "string", - "description": "Error Message." + "type": "object", + "additionalProperties": { + "type": "object" }, - "nameAvailable": { - "type": "boolean", - "description": "Indicates whether the resource name is available." - }, - "reason": { - "type": "string", - "description": "Reason for name being unavailable." - } - }, - "description": "Represents a resource name availability." + "readOnly": true, + "x-ms-client-flatten": false, + "description": "Additional descriptions for the operation." + } }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody" - } + "description": "REST API operation definition." + }, + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "The list of resource provider operations." + } + }, + "description": "A list of resource provider operations." + }, + "NameAvailabilityRequest": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." }, - "description": "An error response from the Batch service." + "type": { + "type": "string", + "description": "Resource type used for verification." + } }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } + "description": "Request from client to check resource name availability." + }, + "NameAvailability": { + "properties": { + "message": { + "type": "string", + "description": "Error Message." }, - "description": "An error response from the Batch service." - } + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the resource name is available." + }, + "reason": { + "type": "string", + "description": "Reason for name being unavailable." + } + }, + "description": "Represents a resource name availability." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody" + } }, - "FirewallRuleNameParameter": { - "name": "firewallRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server firewall rule.", - "x-ms-parameter-location": "method" - } + "description": "An error response from the Batch service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Batch service." + } + }, + "parameters": { + "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" } } - \ No newline at end of file +} From 47e6d0529da142b068fd25005b2da5b891c48f61 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 10:22:52 -0700 Subject: [PATCH 11/51] Fixed model validaiton error for Create --- .../2020-02-14-privatepreview/postgresql.json | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index d163f907ec7d..36532e96e7d5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1073,6 +1073,11 @@ "format": "int32", "description": "Max compute of a server is 64vCores." }, + "storageQuotaInMb": { + "type": "integer", + "format": "int32", + "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + }, "standbyCount": { "type": "integer", "format": "int32", @@ -1152,7 +1157,7 @@ "type": "string", "description": "The source PostgreSQL server name to restore from." }, - "restorePointInTime": { + "pointInTimeUTC": { "type": "string", "format": "date-time", "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." @@ -1160,7 +1165,7 @@ }, "required": [ "sourceServerName", - "restorePointInTime" + "pointInTimeUTC" ], "description": "The properties used to create a new server by restoring from a backup." }, @@ -1180,6 +1185,11 @@ "format": "int32", "description": "Max compute of a server is 64vCores." }, + "storageQuotaInMb": { + "type": "integer", + "format": "int32", + "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + }, "standbyCount": { "type": "integer", "format": "int32", @@ -1554,9 +1564,13 @@ "type": "boolean", "description": "Indicates whether the resource name is available." }, - "reason": { + "name": { + "type": "string", + "description": "name of the PostgreSQL server." + }, + "type": { "type": "string", - "description": "Reason for name being unavailable." + "description": "type of the server" } }, "description": "Represents a resource name availability." From 74c3bb8b38ee1e98770a4e4da776b3e3e3c34d66 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 10:44:37 -0700 Subject: [PATCH 12/51] Fixed FirewallRuls_Create model validation --- .../examples/FirewallRuleCreate.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json index f499c98f82cb..a1c7af8eaa5a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json @@ -9,9 +9,7 @@ "properties": { "startIpAddress": "0.0.0.0", "endIpAddress": "255.255.255.255" - }, - "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules" + } } }, "responses": { From 33e0e67d9676b3d88b642ef88b41b6863a0b987f Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 11:22:52 -0700 Subject: [PATCH 13/51] Fixed ConfigurationUpdate example json --- .../examples/ConfigurationUpdate.json | 13 ++++++------- .../2020-02-14-privatepreview/postgresql.json | 4 +++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json index 75f69d441699..2d211b4e6a40 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -19,19 +19,18 @@ "responses": { "200": { "body": { - "properties": [ - { + "value":[ { + "properties": { "value": "off", "description": "Enable input of NULL elements in arrays.", "defaultValue": "on", "dataType": "Boolean", "allowedValues": "on,off", "source": "user-override" - } - ], - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations", - "name": "auto-vaccum", - "type": "Microsoft.DBforPostgreSQL/singleServers" + }, + "name": "auto-vaccum", + "type": "Microsoft.DBforPostgreSQL/singleServers" + }] } }, "202": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 36532e96e7d5..d4b5749b268b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -672,7 +672,9 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/updateConfigurations": { "post": { "tags": [ "Configurations" From dac9bfb8089870585cbe222cffe11d49b6acb3b4 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 11:31:37 -0700 Subject: [PATCH 14/51] Fixed Firewall Rules Get API --- .../preview/2020-02-14-privatepreview/postgresql.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index d4b5749b268b..f795c28fe041 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -575,7 +575,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/FirewallRuleListResult" + "$ref": "#/definitions/FirewallRule" } }, "default": { From a3eb87571daa4b66eb4a69fab86dff270cb42c7e Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 11:50:49 -0700 Subject: [PATCH 15/51] Fixed prettier issues for Configuration Update. --- .../examples/ConfigurationUpdate.json | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json index 2d211b4e6a40..6d8a0c252e88 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -19,18 +19,20 @@ "responses": { "200": { "body": { - "value":[ { - "properties": { - "value": "off", - "description": "Enable input of NULL elements in arrays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "user-override" - }, - "name": "auto-vaccum", - "type": "Microsoft.DBforPostgreSQL/singleServers" - }] + "value": [ + { + "properties": { + "value": "off", + "description": "Enable input of NULL elements in arrays.", + "defaultValue": "on", + "dataType": "Boolean", + "allowedValues": "on,off", + "source": "user-override" + }, + "name": "auto-vaccum", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + ] } }, "202": {} From 3a5a752e3f7c3b5f6408a983c6c7cd77545a9831 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 12:04:00 -0700 Subject: [PATCH 16/51] Fixed Update configuration schema --- .../2020-02-14-privatepreview/postgresql.json | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index f795c28fe041..e788243949df 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -704,7 +704,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ConfigurationListResult" + "$ref": "#/definitions/ConfigurationUpdateList" }, "description": "The required parameters for updating a server configuration." } @@ -1448,6 +1448,21 @@ ], "description": "Represents a Configuration." }, + "ConfigurationUpdate": { + "properties": { + "name": { + "type": "string", + "description": "Value of the configuration." + }, + "properties": { + "value": { + "type": "string", + "description": "Value of the configuration." + } + } + }, + "description": "Represents a Configuration." + }, "ConfigurationListResult": { "properties": { "value": { @@ -1465,6 +1480,18 @@ }, "description": "A list of server configurations." }, + "ConfigurationUpdateList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationUpdate" + }, + "description": "The list of server configurations." + } + }, + "description": "A list of PostgreSQL server configurations to update." + }, "OperationDisplay": { "properties": { "provider": { From 929590d7974ec7dd7a304d5312f56765962c7901 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 12:12:45 -0700 Subject: [PATCH 17/51] Fixed Create PITR server schema --- .../preview/2020-02-14-privatepreview/postgresql.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index e788243949df..5888a613f517 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1154,6 +1154,11 @@ }, "ServerPropertiesForRestore": { "x-ms-discriminator-value": "PointInTimeRestore", + "allOf": [ + { + "$ref": "#/definitions/ServerPropertiesForCreate" + } + ], "properties": { "sourceServerName": { "type": "string", From ed9a1e5fd234f40afbbaf25f97170457c9d6d057 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 12:20:49 -0700 Subject: [PATCH 18/51] Fixed semantic validations --- .../2020-02-14-privatepreview/postgresql.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 5888a613f517..a884671a14fc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1453,6 +1453,14 @@ ], "description": "Represents a Configuration." }, + "ConfigurationUpdateProperties": { + "properties": { + "value": { + "type": "string", + "description": "Value of the configuration." + } + } + }, "ConfigurationUpdate": { "properties": { "name": { @@ -1460,10 +1468,9 @@ "description": "Value of the configuration." }, "properties": { - "value": { - "type": "string", - "description": "Value of the configuration." - } + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "The properties of a configuration." } }, "description": "Represents a Configuration." From 1f33c22bd54da4cdfd26f36526b6843528221120 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 12:36:40 -0700 Subject: [PATCH 19/51] Fixed Lint Diff errors --- .../preview/2020-02-14-privatepreview/postgresql.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index a884671a14fc..261322f7923b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -273,7 +273,7 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": null } } }, @@ -590,7 +590,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" From 358e4991c827a9df02a86e6c8769549647133d52 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 12:46:37 -0700 Subject: [PATCH 20/51] Removed next links --- .../2020-02-14-privatepreview/postgresql.json | 28 +++---------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 261322f7923b..f89aae1b7dd5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -312,7 +312,7 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": null } } }, @@ -586,7 +586,7 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": null } } }, @@ -670,7 +670,7 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": null } } }, @@ -861,7 +861,7 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": null } } }, @@ -1271,11 +1271,6 @@ "$ref": "#/definitions/Server" }, "description": "The list of servers" - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true } }, "description": "A list of servers." @@ -1325,11 +1320,6 @@ "$ref": "#/definitions/FirewallRule" }, "description": "The list of firewall rules in a server." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true } }, "description": "A list of firewall rules." @@ -1386,11 +1376,6 @@ "$ref": "#/definitions/CustomerMaintenanceWindow" }, "description": "The list of CustomerMaintenanceWindows in a PostgreSQL server." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true } }, "description": "A list of firewall rules." @@ -1483,11 +1468,6 @@ "$ref": "#/definitions/Configuration" }, "description": "The list of server configurations." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true } }, "description": "A list of server configurations." From bfe2e8b252e9f4dd025a0cf9a96cfe22e6a3494c Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 14:50:42 -0700 Subject: [PATCH 21/51] resolved code review comments --- .../examples/ConfigurationUpdate.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/ServerCreate.json | 12 ++++++------ .../postgresql/resource-manager/readme.md | 19 ++++++++++--------- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json index 6d8a0c252e88..96dfba4835ed 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -3,7 +3,7 @@ "configurationName": "auto-vaccum", "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2017-12-01", + "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "value": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json index 24968b481b31..1e7b121ecce5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json @@ -3,7 +3,7 @@ "firewallRuleName": "rule1", "serverName": "testserver", "resourceGroupName": "TestGroup", - "api-version": "2017-12-01", + "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 3ff5b8ed0ef3..798474b04841 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -16,9 +16,9 @@ "standbyCount": 0, "backupRetentionDays": 7, "vnetInjArgs": { - "delegatedSubnetName": "autobot-subnet-pg-ss", + "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", - "delegatedVnetName": "autobot-orcas-vnet" + "delegatedVnetName": "test-vnet" } }, "tags": { @@ -42,9 +42,9 @@ "standbyCount": 0, "backupRetentionDays": 7, "vnetInjArgs": { - "delegatedSubnetName": "subnet-pg-ss", + "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", - "delegatedVnetName": "orcas-vnet" + "delegatedVnetName": "test-vnet" } }, "location": "westus", @@ -71,9 +71,9 @@ "standbyCount": 0, "backupRetentionDays": 7, "vnetInjArgs": { - "delegatedSubnetName": "subnet-pg-ss", + "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", - "delegatedVnetName": "orcas-vnet" + "delegatedVnetName": "test-vnet" } }, "location": "westus", diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index dbd672b6aadf..6174193b3803 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -31,6 +31,16 @@ openapi-type: arm tag: package-2020-01-01 ``` +### Tag: package-2020-02-14-privatepreview + +These settings apply only when `--tag=package-2020-02-14-privatepreview` is specified on the command line. + + +``` yaml $(tag) == 'package-2020-02-14-privatepreview' +input-file: +- Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +``` + ### Tag: package-2020-01-01-privatepreview These settings apply only when `--tag=package-2020-01-01-privatepreview` is specified on the command line. @@ -90,15 +100,6 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json ``` -### Tag: package-2020-02-14-privatepreview - -These settings apply only when `--tag=package-2020-02-14-privatepreview` is specified on the command line. - - -``` yaml $(tag) == 'package-2020-02-14-privatepreview' -input-file: -- Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json -``` ### Tag: package-2017-12-01 From 0e0dcc607a2d79ff6360c89f1536cef75f45b364 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 2 Jul 2020 16:34:42 -0700 Subject: [PATCH 22/51] resolved code review comments --- .../examples/ServerCreate.json | 2 +- .../examples/ServerGetWithVnet.json | 37 +++++++++++++++++++ .../examples/ServerList.json | 4 +- .../examples/ServerListByResourceGroup.json | 2 +- .../2020-02-14-privatepreview/postgresql.json | 3 ++ 5 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 798474b04841..ca4693c53823 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -1,7 +1,7 @@ { "parameters": { "serverName": "pgtestsvc4", - "resourceGroupName": "TestGroup", + "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json new file mode 100644 index 000000000000..203944fcc963 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "serverName": "pgtestsvc1", + "resourceGroupName": "testrg", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "administratorLogin": "cloudsa", + "version": "12", + "state": "Ready", + "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", + "displayName": "demosingleserver", + "publicIpAddressRequested": true, + "serverEdition": "GeneralPurpose", + "vCores": 4, + "storageQuotaInMb": 524288, + "vnetInjArgs": { + "delegatedSubnetName": "test-subnet", + "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", + "delegatedVnetName": "test-vnet" + } + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc1", + "name": "pgtestsvc1", + "type": "Microsoft.DBforPostgreSQL/singleServers" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 8c81615b43b0..652531dc859d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -64,7 +64,7 @@ "Server": "3" }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc3", - "name": "pgtestsvc1", + "name": "pgtestsvc3", "type": "Microsoft.DBforPostgreSQL/singleServers" }, { @@ -84,7 +84,7 @@ "Server": "4" }, "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", - "name": "pgtestsvc1", + "name": "pgtestsvc4", "type": "Microsoft.DBforPostgreSQL/singleServers" } ] diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 4fe109b98e17..425f4963ee0e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceGroupName": "TestGroup", + "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index f89aae1b7dd5..8f57f0fa35e7 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -202,6 +202,9 @@ "x-ms-examples": { "ServerGet": { "$ref": "./examples/ServerGet.json" + }, + "ServerGetWithVnet": { + "$ref": "./examples/ServerGetWithVnet.json" } }, "description": "Gets information about a server.", From 583e4ac53de71773001f7d8baa61e6173d21c8cb Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 7 Jul 2020 10:25:29 -0700 Subject: [PATCH 23/51] added the state properties --- .../examples/ServerCreate.json | 6 ++++-- .../ServerCreatePointInTimeRestore.json | 6 ++++-- .../examples/ServerGet.json | 3 ++- .../examples/ServerGetWithVnet.json | 3 ++- .../examples/ServerList.json | 12 ++++++++---- .../examples/ServerListByResourceGroup.json | 9 ++++++--- .../2020-02-14-privatepreview/postgresql.json | 18 +++++++++++++++++- 7 files changed, 43 insertions(+), 14 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index ca4693c53823..9dcfcf1e973f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -32,7 +32,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -61,7 +62,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index 656b669e9aa5..bb42b7bccfa3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -19,7 +19,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -44,7 +45,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json index 82232456a1d9..163b72cd0b34 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -11,7 +11,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json index 203944fcc963..8b15e8c77fd0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -11,7 +11,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 652531dc859d..b91acd60f8b8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -11,7 +11,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -31,7 +32,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc2.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -51,7 +53,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "FailingOver", "fullyQualifiedDomainName": "pgtestsvc3.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -71,7 +74,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "ReplicatingData", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 425f4963ee0e..1bb23623a4fa 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -12,7 +12,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -29,7 +30,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -46,7 +48,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 8f57f0fa35e7..752ee6a4c47e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -963,7 +963,7 @@ "$ref": "#/definitions/ServerVersion", "description": "PostgreSQL Server version." }, - "state": { + "userVisibleState": { "type": "string", "description": "A state of a server that is visible to user.", "enum": [ @@ -980,6 +980,22 @@ "modelAsString": true } }, + "userVisibleHAState": { + "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 + } + }, "fullyQualifiedDomainName": { "type": "string", "description": "The fully qualified domain name of a server." From a66a6e0e49960151aca8f39ea232afc2475901a7 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 7 Jul 2020 10:57:54 -0700 Subject: [PATCH 24/51] Fixed the server update example. --- .../2020-02-14-privatepreview/examples/ServerUpdate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index bee1bc3da930..c09dd47114a9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -21,7 +21,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "state": "Ready", + "userVisibleState": "Ready", + "userVisibleHAState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, From 000a2ee2cba010c95c20527ec3b12cf1f85675ca Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 8 Jul 2020 16:40:47 -0700 Subject: [PATCH 25/51] Resolved few code review comments --- .../examples/ConfigurationGet.json | 26 ++++++++ .../CustomerMaintenanceWindowCreate.json | 4 +- .../CustomerMaintenanceWindowGet.json | 3 +- .../examples/FirewallRuleListByServer.json | 2 + .../2020-02-14-privatepreview/postgresql.json | 59 +++++++++++++++++-- 5 files changed, 88 insertions(+), 6 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json new file mode 100644 index 000000000000..88eec736286c --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "configurationName": "array_nulls", + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01", + "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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/singleServers/configurations" + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json index 6e9cf738de67..e43bb2e06e2f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json @@ -1,7 +1,7 @@ { "parameters": { "serverName": "testserver", - "resourceGroupName": "TestGroup", + "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { @@ -16,6 +16,7 @@ "responses": { "201": { "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, @@ -28,6 +29,7 @@ }, "200": { "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json index e60e9edd4905..889c711dbceb 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json @@ -1,7 +1,7 @@ { "parameters": { "serverName": "testserver", - "resourceGroupName": "TestGroup", + "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, @@ -10,6 +10,7 @@ "body": { "value": [ { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json index f3c4c492f593..b85c0fadbe2b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json @@ -10,6 +10,7 @@ "body": { "value": [ { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/firewallRules/rule1", "name": "rule1", "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", "properties": { @@ -18,6 +19,7 @@ } }, { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/firewallRules/rule2", "name": "rule2", "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 752ee6a4c47e..8ac0f227c538 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -587,9 +587,6 @@ "$ref": "#/definitions/CloudError" } } - }, - "x-ms-pageable": { - "nextLinkName": null } } }, @@ -677,8 +674,53 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{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" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/updateConfigurations": { - "post": { + "put": { "tags": [ "Configurations" ], @@ -1082,6 +1124,7 @@ }, "administratorLoginPassword": { "type": "string", + "x-ms-secret": true, "format": "password", "description": "The password of the administrator login." }, @@ -1666,6 +1709,14 @@ "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" } } } From 183041b7ec4bfd9228f36c00a9b3418ac3faa15f Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Wed, 8 Jul 2020 17:48:33 -0700 Subject: [PATCH 26/51] added pagination for all list operations. --- .../examples/ConfigurationListByServer.json | 1 + .../examples/FirewallRuleListByServer.json | 1 + .../examples/ServerList.json | 1 + .../examples/ServerListByResourceGroup.json | 1 + .../2020-02-14-privatepreview/postgresql.json | 23 +++++++++++++++---- 5 files changed, 23 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json index 9fff721ec87c..63677f3dd748 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json @@ -8,6 +8,7 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/testserver/configurations?api-version=2020-02-14-privatepreview&$top=200&$skiptoken=skiptoken", "value": [ { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json index b85c0fadbe2b..51ffe1514fcf 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json @@ -8,6 +8,7 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/testserver/firewallRules?api-version=2020-02-14-privatepreview&$top=2&$skiptoken=skiptoken", "value": [ { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/firewallRules/rule1", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index b91acd60f8b8..6fa444ce2533 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -6,6 +6,7 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/singleservers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 1bb23623a4fa..95a2ab894604 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -7,6 +7,7 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 8ac0f227c538..5865478af36f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -276,7 +276,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -315,7 +315,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -625,7 +625,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -670,7 +670,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -1326,6 +1326,7 @@ "description": "Represents a server to be updated." }, "ServerListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -1333,6 +1334,10 @@ "$ref": "#/definitions/Server" }, "description": "The list of servers" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" } }, "description": "A list of servers." @@ -1375,6 +1380,7 @@ "description": "Represents a server firewall rule." }, "FirewallRuleListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -1382,6 +1388,10 @@ "$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." @@ -1523,6 +1533,7 @@ "description": "Represents a Configuration." }, "ConfigurationListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -1530,6 +1541,10 @@ "$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." From 751e88467f78f24d21a3d579c2a0f16e1af232fb Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 9 Jul 2020 08:28:46 -0700 Subject: [PATCH 27/51] Updated the CMW API Contracts. --- .../CustomerMaintenanceWindowCreate.json | 1 + .../CustomerMaintenanceWindowDelete.json | 2 +- .../CustomerMaintenanceWindowGet.json | 23 +++---- ...CustomerMaintenanceWindowListByServer.json | 27 ++++++++ .../2020-02-14-privatepreview/postgresql.json | 66 ++++++++++++++++--- 5 files changed, 97 insertions(+), 22 deletions(-) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json index e43bb2e06e2f..a0cc0fc87e4b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json @@ -1,5 +1,6 @@ { "parameters": { + "maintenanceWindowName": "customerMaintenanceWindow", "serverName": "testserver", "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json index 7210184118b1..cafa0a76ed07 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "firewallRuleName": "rule1", + "maintenanceWindowName": "customerMaintenanceWindow", "serverName": "testserver", "resourceGroupName": "TestGroup", "api-version": "2020-02-14-privatepreview", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json index 889c711dbceb..d646f917e061 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json @@ -1,5 +1,6 @@ { "parameters": { + "maintenanceWindowName": "customerMaintenanceWindow", "serverName": "testserver", "resourceGroupName": "testrg", "api-version": "2020-02-14-privatepreview", @@ -8,19 +9,15 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", - "name": "customerMaintenanceWindow", - "properties": { - "dayOfWeek": 1, - "startHour": 0, - "startMinute": 30, - "durationInMinutes": 30 - }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" - } - ] + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json new file mode 100644 index 000000000000..889c711dbceb --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "serverName": "testserver", + "resourceGroupName": "testrg", + "api-version": "2020-02-14-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "name": "customerMaintenanceWindow", + "properties": { + "dayOfWeek": 1, + "startHour": 0, + "startMinute": 30, + "durationInMinutes": 30 + }, + "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + } + ] + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 5865478af36f..18b9daafd977 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -774,14 +774,14 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows/customerMaintenanceWindow": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" ], "operationId": "CustomerMaintenanceWindow_CreateOrUpdate", "x-ms-examples": { - "FirewallRuleCreate": { + "CustomerMaintenanceWindowCreate": { "$ref": "./examples/CustomerMaintenanceWindowCreate.json" } }, @@ -799,6 +799,9 @@ { "$ref": "#/parameters/ServerNameParameter" }, + { + "$ref": "#/parameters/MaintenanceWindowNameParameter" + }, { "name": "parameters", "in": "body", @@ -834,7 +837,7 @@ ], "operationId": "CustomerMaintenanceWindow_Delete", "x-ms-examples": { - "FirewallRuleDelete": { + "CustomerMaintenanceWindowDelete": { "$ref": "./examples/CustomerMaintenanceWindowDelete.json" } }, @@ -851,6 +854,9 @@ }, { "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/MaintenanceWindowNameParameter" } ], "responses": { @@ -872,11 +878,11 @@ ], "operationId": "CustomerMaintenanceWindow_Get", "x-ms-examples": { - "FirewallRuleList": { + "CustomerMaintenanceWindowGet": { "$ref": "./examples/CustomerMaintenanceWindowGet.json" } }, - "description": "List all the Customer maintenance windows of a given PostgreSQL server.", + "description": "Get the Customer maintenance windows of a given PostgreSQL server.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" @@ -889,13 +895,16 @@ }, { "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/MaintenanceWindowNameParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CustomerMaintenanceWindowListResult" + "$ref": "#/definitions/CustomerMaintenanceWindow" } }, "default": { @@ -904,9 +913,42 @@ "$ref": "#/definitions/CloudError" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows": { + "get": { + "tags": [ + "CustomerMaintenanceWindow" + ], + "operationId": "CustomerMaintenanceWindow_ListByServer", + "x-ms-examples": { + "CustomerMaintenanceWindowList": { + "$ref": "./examples/CustomerMaintenanceWindowListByServer.json" + } }, - "x-ms-pageable": { - "nextLinkName": null + "description": "List all the Customer Maintenance Windows 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/CustomerMaintenanceWindowListResult" + } + } } } }, @@ -1732,6 +1774,14 @@ "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 0aa09ec965a7dca3a7e09c79feab3ad1afb0bb07 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 16 Jul 2020 16:42:14 -0700 Subject: [PATCH 28/51] rename from singleServers to flexibleServers --- .../examples/CheckNameAvailability.json | 4 +- .../examples/ConfigurationGet.json | 4 +- .../examples/ConfigurationListByServer.json | 582 +++++++++--------- .../examples/ConfigurationUpdate.json | 2 +- .../CustomerMaintenanceWindowCreate.json | 8 +- .../CustomerMaintenanceWindowGet.json | 4 +- ...CustomerMaintenanceWindowListByServer.json | 4 +- .../examples/FirewallRuleCreate.json | 4 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 10 +- .../examples/OperationList.json | 18 +- .../examples/ServerCreate.json | 8 +- .../ServerCreatePointInTimeRestore.json | 8 +- .../examples/ServerGet.json | 4 +- .../examples/ServerGetWithVnet.json | 4 +- .../examples/ServerList.json | 18 +- .../examples/ServerListByResourceGroup.json | 12 +- .../examples/ServerUpdate.json | 4 +- .../2020-02-14-privatepreview/postgresql.json | 26 +- 19 files changed, 363 insertions(+), 363 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json index 95924030201e..8edb7b34471d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CheckNameAvailability.json @@ -4,7 +4,7 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "nameAvailabilityRequest": { "name": "name1", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "responses": { @@ -13,7 +13,7 @@ "nameAvailable": true, "message": "", "name": "name1", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json index 88eec736286c..55890a1e6df0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationGet.json @@ -17,9 +17,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", "name": "array_nulls", - "type": "Microsoft.DBforPostgreSQL/singleServers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json index 63677f3dd748..2cf125c8d12a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationListByServer.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/testserver/configurations?api-version=2020-02-14-privatepreview&$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=2020-02-14-privatepreview&$top=200&$skiptoken=skiptoken", "value": [ { "properties": { @@ -19,9 +19,9 @@ "allowedValues": "[A-Za-z0-9._-]*", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/application_name", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/application_name", "name": "application_name", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -32,9 +32,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/array_nulls", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", "name": "array_nulls", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -45,9 +45,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum", "name": "autovacuum", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -58,9 +58,9 @@ "allowedValues": "0-100", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_scale_factor", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_scale_factor", "name": "autovacuum_analyze_scale_factor", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -71,9 +71,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_analyze_threshold", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_analyze_threshold", "name": "autovacuum_analyze_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -84,9 +84,9 @@ "allowedValues": "1-2147483", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_naptime", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_naptime", "name": "autovacuum_naptime", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -97,9 +97,9 @@ "allowedValues": "-1-100", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_delay", "name": "autovacuum_vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -110,9 +110,9 @@ "allowedValues": "-1-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_cost_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_cost_limit", "name": "autovacuum_vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -123,9 +123,9 @@ "allowedValues": "0-100", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_scale_factor", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_scale_factor", "name": "autovacuum_vacuum_scale_factor", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -136,9 +136,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_vacuum_threshold", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_vacuum_threshold", "name": "autovacuum_vacuum_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -149,9 +149,9 @@ "allowedValues": "-1-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/autovacuum_work_mem", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/autovacuum_work_mem", "name": "autovacuum_work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -162,9 +162,9 @@ "allowedValues": "0-256", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backend_flush_after", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backend_flush_after", "name": "backend_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -175,9 +175,9 @@ "allowedValues": "safe_encoding,on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/backslash_quote", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/backslash_quote", "name": "backslash_quote", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -188,9 +188,9 @@ "allowedValues": "10-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_delay", "name": "bgwriter_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -201,9 +201,9 @@ "allowedValues": "0-256", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_flush_after", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_flush_after", "name": "bgwriter_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -214,9 +214,9 @@ "allowedValues": "0-1073741823", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_maxpages", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_maxpages", "name": "bgwriter_lru_maxpages", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -227,9 +227,9 @@ "allowedValues": "0-10", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bgwriter_lru_multiplier", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bgwriter_lru_multiplier", "name": "bgwriter_lru_multiplier", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -240,9 +240,9 @@ "allowedValues": "escape,hex", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/bytea_output", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/bytea_output", "name": "bytea_output", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -253,9 +253,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/check_function_bodies", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/check_function_bodies", "name": "check_function_bodies", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -266,9 +266,9 @@ "allowedValues": "0-1", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_completion_target", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_completion_target", "name": "checkpoint_completion_target", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -279,9 +279,9 @@ "allowedValues": "30-86400", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_timeout", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_timeout", "name": "checkpoint_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -292,9 +292,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/checkpoint_warning", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/checkpoint_warning", "name": "checkpoint_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -305,9 +305,9 @@ "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/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_encoding", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_encoding", "name": "client_encoding", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -318,9 +318,9 @@ "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/client_min_messages", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/client_min_messages", "name": "client_min_messages", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -331,9 +331,9 @@ "allowedValues": "0-100000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_delay", "name": "commit_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -344,9 +344,9 @@ "allowedValues": "0-1000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/commit_siblings", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/commit_siblings", "name": "commit_siblings", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -357,9 +357,9 @@ "allowedValues": "partition,on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/constraint_exclusion", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/constraint_exclusion", "name": "constraint_exclusion", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -370,9 +370,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_index_tuple_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_index_tuple_cost", "name": "cpu_index_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -383,9 +383,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_operator_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_operator_cost", "name": "cpu_operator_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -396,9 +396,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cpu_tuple_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cpu_tuple_cost", "name": "cpu_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -409,9 +409,9 @@ "allowedValues": "0-1", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/cursor_tuple_fraction", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/cursor_tuple_fraction", "name": "cursor_tuple_fraction", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -422,9 +422,9 @@ "allowedValues": "(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/DateStyle", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/DateStyle", "name": "DateStyle", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -435,9 +435,9 @@ "allowedValues": "1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/deadlock_timeout", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/deadlock_timeout", "name": "deadlock_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -448,9 +448,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_pretty_print", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_pretty_print", "name": "debug_pretty_print", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -461,9 +461,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_parse", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_parse", "name": "debug_print_parse", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -474,9 +474,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_plan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_plan", "name": "debug_print_plan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -487,9 +487,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/debug_print_rewritten", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/debug_print_rewritten", "name": "debug_print_rewritten", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -500,9 +500,9 @@ "allowedValues": "1-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_statistics_target", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_statistics_target", "name": "default_statistics_target", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -513,9 +513,9 @@ "allowedValues": "[A-Za-z._]*", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_tablespace", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_tablespace", "name": "default_tablespace", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -526,9 +526,9 @@ "allowedValues": "[A-Za-z._]+", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_text_search_config", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_text_search_config", "name": "default_text_search_config", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -539,9 +539,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_deferrable", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_deferrable", "name": "default_transaction_deferrable", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -552,9 +552,9 @@ "allowedValues": "serializable,repeatable read,read committed,read uncommitted", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_isolation", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_isolation", "name": "default_transaction_isolation", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -565,9 +565,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_transaction_read_only", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_transaction_read_only", "name": "default_transaction_read_only", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -578,9 +578,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/default_with_oids", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/default_with_oids", "name": "default_with_oids", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -591,9 +591,9 @@ "allowedValues": "1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/effective_cache_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/effective_cache_size", "name": "effective_cache_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -604,9 +604,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_bitmapscan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_bitmapscan", "name": "enable_bitmapscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -617,9 +617,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_gathermerge", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_gathermerge", "name": "enable_gathermerge", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -630,9 +630,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashagg", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashagg", "name": "enable_hashagg", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -643,9 +643,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_hashjoin", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_hashjoin", "name": "enable_hashjoin", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -656,9 +656,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexonlyscan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexonlyscan", "name": "enable_indexonlyscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -669,9 +669,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_indexscan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_indexscan", "name": "enable_indexscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -682,9 +682,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_material", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_material", "name": "enable_material", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -695,9 +695,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_mergejoin", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_mergejoin", "name": "enable_mergejoin", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -708,9 +708,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_nestloop", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_nestloop", "name": "enable_nestloop", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -721,9 +721,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_seqscan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_seqscan", "name": "enable_seqscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -734,9 +734,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_sort", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_sort", "name": "enable_sort", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -747,9 +747,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/enable_tidscan", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/enable_tidscan", "name": "enable_tidscan", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -760,9 +760,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/escape_string_warning", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/escape_string_warning", "name": "escape_string_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -773,9 +773,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/exit_on_error", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/exit_on_error", "name": "exit_on_error", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -786,9 +786,9 @@ "allowedValues": "-15-3", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/extra_float_digits", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/extra_float_digits", "name": "extra_float_digits", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -799,9 +799,9 @@ "allowedValues": "off,on,regress", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/force_parallel_mode", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/force_parallel_mode", "name": "force_parallel_mode", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -812,9 +812,9 @@ "allowedValues": "1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/from_collapse_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/from_collapse_limit", "name": "from_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -825,9 +825,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo", "name": "geqo", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -838,9 +838,9 @@ "allowedValues": "1-10", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_effort", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_effort", "name": "geqo_effort", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -851,9 +851,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_generations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_generations", "name": "geqo_generations", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -864,9 +864,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_pool_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_pool_size", "name": "geqo_pool_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -877,9 +877,9 @@ "allowedValues": "0-1", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_seed", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_seed", "name": "geqo_seed", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -890,9 +890,9 @@ "allowedValues": "1.5-2", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_selection_bias", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_selection_bias", "name": "geqo_selection_bias", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -903,9 +903,9 @@ "allowedValues": "2-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/geqo_threshold", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/geqo_threshold", "name": "geqo_threshold", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -916,9 +916,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_fuzzy_search_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_fuzzy_search_limit", "name": "gin_fuzzy_search_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -929,9 +929,9 @@ "allowedValues": "64-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/gin_pending_list_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/gin_pending_list_limit", "name": "gin_pending_list_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -942,9 +942,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/idle_in_transaction_session_timeout", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/idle_in_transaction_session_timeout", "name": "idle_in_transaction_session_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -955,9 +955,9 @@ "allowedValues": "postgres,postgres_verbose,sql_standard,iso_8601", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/IntervalStyle", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/IntervalStyle", "name": "IntervalStyle", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -968,9 +968,9 @@ "allowedValues": "1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/join_collapse_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/join_collapse_limit", "name": "join_collapse_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -981,9 +981,9 @@ "allowedValues": "[A-Za-z0-9._ -]+", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_monetary", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_monetary", "name": "lc_monetary", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -994,9 +994,9 @@ "allowedValues": "[A-Za-z0-9._ -]+", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lc_numeric", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lc_numeric", "name": "lc_numeric", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1007,9 +1007,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lo_compat_privileges", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lo_compat_privileges", "name": "lo_compat_privileges", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1020,9 +1020,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/lock_timeout", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/lock_timeout", "name": "lock_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1033,9 +1033,9 @@ "allowedValues": "-1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_autovacuum_min_duration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_autovacuum_min_duration", "name": "log_autovacuum_min_duration", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1046,9 +1046,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_checkpoints", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_checkpoints", "name": "log_checkpoints", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1059,9 +1059,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_connections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_connections", "name": "log_connections", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1072,9 +1072,9 @@ "allowedValues": "stderr,csvlog", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_destination", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_destination", "name": "log_destination", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1085,9 +1085,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_disconnections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_disconnections", "name": "log_disconnections", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1098,9 +1098,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_duration", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_duration", "name": "log_duration", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1111,9 +1111,9 @@ "allowedValues": "terse,default,verbose", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_error_verbosity", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_error_verbosity", "name": "log_error_verbosity", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1124,9 +1124,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_lock_waits", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_lock_waits", "name": "log_lock_waits", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1137,9 +1137,9 @@ "allowedValues": "-1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_duration_statement", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_duration_statement", "name": "log_min_duration_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1150,9 +1150,9 @@ "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_error_statement", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_error_statement", "name": "log_min_error_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1163,9 +1163,9 @@ "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_min_messages", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_min_messages", "name": "log_min_messages", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1176,9 +1176,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_replication_commands", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_replication_commands", "name": "log_replication_commands", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1189,9 +1189,9 @@ "allowedValues": "none,ddl,mod,all", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement", "name": "log_statement", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1202,9 +1202,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_statement_stats", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_statement_stats", "name": "log_statement_stats", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1215,9 +1215,9 @@ "allowedValues": "-1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/log_temp_files", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/log_temp_files", "name": "log_temp_files", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1228,9 +1228,9 @@ "allowedValues": "1024-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/maintenance_work_mem", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/maintenance_work_mem", "name": "maintenance_work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1241,9 +1241,9 @@ "allowedValues": "0-1024", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers", "name": "max_parallel_workers", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1254,9 +1254,9 @@ "allowedValues": "0-1024", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_parallel_workers_per_gather", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_parallel_workers_per_gather", "name": "max_parallel_workers_per_gather", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1267,9 +1267,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_page", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_page", "name": "max_pred_locks_per_page", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1280,9 +1280,9 @@ "allowedValues": "-2147483648-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_pred_locks_per_relation", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_pred_locks_per_relation", "name": "max_pred_locks_per_relation", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1293,9 +1293,9 @@ "allowedValues": "-1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_archive_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_archive_delay", "name": "max_standby_archive_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1306,9 +1306,9 @@ "allowedValues": "-1-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_standby_streaming_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_standby_streaming_delay", "name": "max_standby_streaming_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1319,9 +1319,9 @@ "allowedValues": "0-262143", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_sync_workers_per_subscription", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_sync_workers_per_subscription", "name": "max_sync_workers_per_subscription", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1332,9 +1332,9 @@ "allowedValues": "2-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/max_wal_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/max_wal_size", "name": "max_wal_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1345,9 +1345,9 @@ "allowedValues": "0-715827882", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_index_scan_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_index_scan_size", "name": "min_parallel_index_scan_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1358,9 +1358,9 @@ "allowedValues": "0-715827882", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_parallel_table_scan_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_parallel_table_scan_size", "name": "min_parallel_table_scan_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1371,9 +1371,9 @@ "allowedValues": "2-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/min_wal_size", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/min_wal_size", "name": "min_wal_size", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1384,9 +1384,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/operator_precedence_warning", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/operator_precedence_warning", "name": "operator_precedence_warning", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1397,9 +1397,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_setup_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_setup_cost", "name": "parallel_setup_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1410,9 +1410,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/parallel_tuple_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/parallel_tuple_cost", "name": "parallel_tuple_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1423,9 +1423,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/quote_all_identifiers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/quote_all_identifiers", "name": "quote_all_identifiers", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1436,9 +1436,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/random_page_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/random_page_cost", "name": "random_page_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1449,9 +1449,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/row_security", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/row_security", "name": "row_security", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1462,9 +1462,9 @@ "allowedValues": "[A-Za-z.\"$, ]+", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/search_path", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/search_path", "name": "search_path", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1475,9 +1475,9 @@ "allowedValues": "0-1.79769e+308", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/seq_page_cost", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/seq_page_cost", "name": "seq_page_cost", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1488,9 +1488,9 @@ "allowedValues": "origin,replica,local", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/session_replication_role", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/session_replication_role", "name": "session_replication_role", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1501,9 +1501,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/standard_conforming_strings", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/standard_conforming_strings", "name": "standard_conforming_strings", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1514,9 +1514,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/statement_timeout", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/statement_timeout", "name": "statement_timeout", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1527,9 +1527,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronize_seqscans", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronize_seqscans", "name": "synchronize_seqscans", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1540,9 +1540,9 @@ "allowedValues": "local,remote_write,on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/synchronous_commit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/synchronous_commit", "name": "synchronous_commit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1553,9 +1553,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_count", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_count", "name": "tcp_keepalives_count", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1566,9 +1566,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_idle", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_idle", "name": "tcp_keepalives_idle", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1579,9 +1579,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/tcp_keepalives_interval", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/tcp_keepalives_interval", "name": "tcp_keepalives_interval", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1592,9 +1592,9 @@ "allowedValues": "100-1073741823", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_buffers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_buffers", "name": "temp_buffers", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1605,9 +1605,9 @@ "allowedValues": "[A-Za-z._]*", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/temp_tablespaces", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/temp_tablespaces", "name": "temp_tablespaces", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1618,9 +1618,9 @@ "allowedValues": "[A-Za-z0-9/+_-]+", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/TimeZone", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/TimeZone", "name": "TimeZone", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1631,9 +1631,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_activities", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_activities", "name": "track_activities", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1644,9 +1644,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_counts", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_counts", "name": "track_counts", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1657,9 +1657,9 @@ "allowedValues": "none,pl,all", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_functions", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_functions", "name": "track_functions", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1670,9 +1670,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/track_io_timing", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/track_io_timing", "name": "track_io_timing", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1683,9 +1683,9 @@ "allowedValues": "on,off", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/transform_null_equals", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/transform_null_equals", "name": "transform_null_equals", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1696,9 +1696,9 @@ "allowedValues": "0-100", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_delay", "name": "vacuum_cost_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1709,9 +1709,9 @@ "allowedValues": "1-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_limit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_limit", "name": "vacuum_cost_limit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1722,9 +1722,9 @@ "allowedValues": "0-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_dirty", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_dirty", "name": "vacuum_cost_page_dirty", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1735,9 +1735,9 @@ "allowedValues": "0-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_hit", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_hit", "name": "vacuum_cost_page_hit", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1748,9 +1748,9 @@ "allowedValues": "0-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_cost_page_miss", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_cost_page_miss", "name": "vacuum_cost_page_miss", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1761,9 +1761,9 @@ "allowedValues": "0-1000000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_defer_cleanup_age", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_defer_cleanup_age", "name": "vacuum_defer_cleanup_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1774,9 +1774,9 @@ "allowedValues": "0-1000000000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_min_age", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_min_age", "name": "vacuum_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1787,9 +1787,9 @@ "allowedValues": "0-2000000000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_freeze_table_age", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_freeze_table_age", "name": "vacuum_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1800,9 +1800,9 @@ "allowedValues": "0-1000000000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_min_age", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_min_age", "name": "vacuum_multixact_freeze_min_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1813,9 +1813,9 @@ "allowedValues": "0-2000000000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/vacuum_multixact_freeze_table_age", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/vacuum_multixact_freeze_table_age", "name": "vacuum_multixact_freeze_table_age", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1826,9 +1826,9 @@ "allowedValues": "0-2147483", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_receiver_status_interval", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_receiver_status_interval", "name": "wal_receiver_status_interval", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1839,9 +1839,9 @@ "allowedValues": "1-10000", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_delay", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_delay", "name": "wal_writer_delay", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1852,9 +1852,9 @@ "allowedValues": "0-2147483647", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/wal_writer_flush_after", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/wal_writer_flush_after", "name": "wal_writer_flush_after", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1865,9 +1865,9 @@ "allowedValues": "4096-2097151", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/work_mem", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/work_mem", "name": "work_mem", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1878,9 +1878,9 @@ "allowedValues": "base64,hex", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmlbinary", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmlbinary", "name": "xmlbinary", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" }, { "properties": { @@ -1891,9 +1891,9 @@ "allowedValues": "content,document", "source": "system-default" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/configurations/xmloption", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/xmloption", "name": "xmloption", - "type": "Microsoft.DBforPostgreSQL/singleservers/configurations" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json index 96dfba4835ed..12edd4ede572 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json @@ -30,7 +30,7 @@ "source": "user-override" }, "name": "auto-vaccum", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json index a0cc0fc87e4b..648e0befb9a2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowCreate.json @@ -17,7 +17,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, @@ -25,12 +25,12 @@ "startMinute": 30, "durationInMinutes": 30 }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/maintenanceWindows" } }, "200": { "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, @@ -38,7 +38,7 @@ "startMinute": 30, "durationInMinutes": 30 }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/maintenanceWindows" } }, "202": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json index d646f917e061..8febc0a4b487 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, @@ -17,7 +17,7 @@ "startMinute": 30, "durationInMinutes": 30 }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/maintenanceWindows" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json index 889c711dbceb..aff335545a5c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/CustomerMaintenanceWindowListByServer.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/prkinteastus/maintenanceWindows/customerMaintenanceWindow", "name": "customerMaintenanceWindow", "properties": { "dayOfWeek": 1, @@ -18,7 +18,7 @@ "startMinute": 30, "durationInMinutes": 30 }, - "type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows" + "type": "Microsoft.DBforPostgreSQL/flexibleServers/maintenanceWindows" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json index a1c7af8eaa5a..08347b10a459 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleCreate.json @@ -17,7 +17,7 @@ "body": { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", "properties": { "startIpAddress": "0.0.0.0", "endIpAddress": "255.255.255.255" @@ -28,7 +28,7 @@ "body": { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "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/2020-02-14-privatepreview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json index 1e7b121ecce5..bafbaea55717 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleGet.json @@ -11,7 +11,7 @@ "body": { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1", "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "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/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json index 51ffe1514fcf..d4c80afd0a6e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/FirewallRuleListByServer.json @@ -8,21 +8,21 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/testserver/firewallRules?api-version=2020-02-14-privatepreview&$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=2020-02-14-privatepreview&$top=2&$skiptoken=skiptoken", "value": [ { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/firewallRules/rule1", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule1", "name": "rule1", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", "properties": { "startIpAddress": "0.0.0.0", "endIpAddress": "255.255.255.255" } }, { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/singleServers/testserver/firewallRules/rule2", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/firewallRules/rule2", "name": "rule2", - "type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules", + "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/2020-02-14-privatepreview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json index 4d6237beac88..af13889175e0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/OperationList.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "Microsoft.DBforPostgreSQL/singleServers/read", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/read", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "PostgreSQL Server", @@ -16,7 +16,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/write", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "PostgreSQL Server", @@ -25,7 +25,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/delete", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "PostgreSQL Server", @@ -34,7 +34,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/firewallRules/read", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Firewall Rules", @@ -43,7 +43,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/firewallRules/write", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Firewall Rules", @@ -52,7 +52,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/firewallRules/delete", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Firewall Rules", @@ -61,7 +61,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/providers/Microsoft.Insights/metricDefinitions/read", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Database Metric Definition", @@ -152,7 +152,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/providers/Microsoft.Insights/diagnosticSettings/read", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Database Metric Definition", @@ -161,7 +161,7 @@ } }, { - "name": "Microsoft.DBforPostgreSQL/singleServers/providers/Microsoft.Insights/diagnosticSettings/write", + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write", "display": { "provider": "Microsoft DB for PostgreSQL", "resource": "Database Metric Definition", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 9dcfcf1e973f..882d23a67611 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -52,9 +52,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "200": { @@ -82,9 +82,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "202": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index bb42b7bccfa3..1287327dcefd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -35,9 +35,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "200": { @@ -61,9 +61,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "202": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json index 163b72cd0b34..1a3cc5edd165 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -24,9 +24,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc1", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json index 8b15e8c77fd0..492566c46832 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -29,9 +29,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc1", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 6fa444ce2533..82029bd1cf88 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/singleservers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "properties": { @@ -25,9 +25,9 @@ "tags": { "Server": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc1", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc1", "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/singleservers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { "properties": { @@ -46,9 +46,9 @@ "tags": { "Server": "2" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc2", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc2", "name": "pgtestsvc2", - "type": "Microsoft.DBforPostgreSQL/singleservers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { "properties": { @@ -67,9 +67,9 @@ "tags": { "Server": "3" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers/pgtestsvc3", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc3", "name": "pgtestsvc3", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { "properties": { @@ -88,9 +88,9 @@ "tags": { "Server": "4" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 95a2ab894604..13641e72c310 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleservers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { "properties": { @@ -25,7 +25,7 @@ "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1", "name": "pgtestsvc1", - "type": "Microsoft.DBforPostgreSQL/singleservers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { "properties": { @@ -41,9 +41,9 @@ "storageQuotaInMb": 524288 }, "location": "westus", - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc2", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc2", "name": "pgtestsvc2", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { "properties": { @@ -62,9 +62,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index c09dd47114a9..e0302923990d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -36,9 +36,9 @@ "tags": { "ElasticServer": "1" }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/singleServers/pgtestsvc4", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4", "name": "pgtestsvc4", - "type": "Microsoft.DBforPostgreSQL/singleServers" + "type": "Microsoft.DBforPostgreSQL/flexibleServers" } }, "202": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 18b9daafd977..28e9059cb289 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -238,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/singleServers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -319,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -362,7 +362,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -405,7 +405,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -448,7 +448,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -590,7 +590,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" @@ -629,7 +629,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -674,7 +674,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/configurations/{configurationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { "get": { "tags": [ "Configurations" @@ -719,7 +719,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/updateConfigurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { "put": { "tags": [ "Configurations" @@ -774,7 +774,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -916,7 +916,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/singleServers/{serverName}/maintenanceWindows": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { "get": { "tags": [ "CustomerMaintenanceWindow" From 0e044cc0010e55328da5844220ecfae0045a8d34 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Fri, 24 Jul 2020 17:58:00 -0700 Subject: [PATCH 29/51] Updated cloud error body to common types. --- .../2020-02-14-privatepreview/postgresql.json | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 28e9059cb289..1a1a91d2e269 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1719,32 +1719,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Batch service." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from the Batch service." From fe5494254f1eb23a290c1cfeb6a26bd907a6e23e Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 12:25:09 -0700 Subject: [PATCH 30/51] Fixed lint errors. --- .../2020-02-14-privatepreview/postgresql.json | 68 ++++++++++++++----- 1 file changed, 51 insertions(+), 17 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 1a1a91d2e269..b9d77bef14d3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -238,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -319,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -362,7 +362,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -405,7 +405,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -448,7 +448,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -501,7 +501,12 @@ }, "202": { "description": "Accepted" - } + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } + } }, "x-ms-long-running-operation": true }, @@ -542,7 +547,12 @@ }, "204": { "description": "NoContent" - } + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } + } }, "x-ms-long-running-operation": true }, @@ -590,7 +600,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" @@ -622,6 +632,11 @@ "schema": { "$ref": "#/definitions/FirewallRuleListResult" } + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } } }, "x-ms-pageable": { @@ -629,7 +644,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -674,7 +689,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { "get": { "tags": [ "Configurations" @@ -719,7 +734,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { "put": { "tags": [ "Configurations" @@ -774,7 +789,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -827,6 +842,11 @@ }, "202": { "description": "Accepted" + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -868,6 +888,11 @@ }, "204": { "description": "NoContent" + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -916,7 +941,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { "get": { "tags": [ "CustomerMaintenanceWindow" @@ -948,11 +973,16 @@ "schema": { "$ref": "#/definitions/CustomerMaintenanceWindowListResult" } + }, + "default": { + "schema":{ + "$ref": "#/definitions/CloudError" + } } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/checkNameAvailability": { "post": { "tags": [ "CheckNameAvailability" @@ -997,7 +1027,7 @@ } } }, - "/providers/Microsoft.DBforPostgreSQL/operations": { + "/providers/Microsoft.DBForPostgreSQL/operations": { "get": { "tags": [ "Operations" @@ -1442,18 +1472,22 @@ "properties": { "dayOfWeek": { "type": "integer", + "format": "int64", "description": "The day of week of the customer maintenance window to start" }, "durationInMinutes": { "type": "integer", + "format": "int64", "description": "The duration of the customer maintenance window to run." }, "startHour": { "type": "integer", + "format": "int64", "description": "The starting hour of the customer maintenance window." }, "startMinute": { "type": "integer", + "format": "int64", "description": "The starting minutes of the customer maintenance window." } }, From 5140f06a4f4b159b4894eaa70e5b268984de91f5 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 12:28:28 -0700 Subject: [PATCH 31/51] Fixed the prettier --- .../2020-02-14-privatepreview/postgresql.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index b9d77bef14d3..0abfeb0a121a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -503,10 +503,10 @@ "description": "Accepted" }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } - } + } }, "x-ms-long-running-operation": true }, @@ -549,10 +549,10 @@ "description": "NoContent" }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } - } + } }, "x-ms-long-running-operation": true }, @@ -634,7 +634,7 @@ } }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } } @@ -844,7 +844,7 @@ "description": "Accepted" }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } } @@ -890,7 +890,7 @@ "description": "NoContent" }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } } @@ -975,7 +975,7 @@ } }, "default": { - "schema":{ + "schema": { "$ref": "#/definitions/CloudError" } } From f5249e55acc30f631cf68ac882b1e102d88cf94d Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 12:44:35 -0700 Subject: [PATCH 32/51] Revert "Fixed the prettier" This reverts commit 5140f06a4f4b159b4894eaa70e5b268984de91f5. --- .../2020-02-14-privatepreview/postgresql.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 0abfeb0a121a..b9d77bef14d3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -503,10 +503,10 @@ "description": "Accepted" }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } - } + } }, "x-ms-long-running-operation": true }, @@ -549,10 +549,10 @@ "description": "NoContent" }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } - } + } }, "x-ms-long-running-operation": true }, @@ -634,7 +634,7 @@ } }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } } @@ -844,7 +844,7 @@ "description": "Accepted" }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } } @@ -890,7 +890,7 @@ "description": "NoContent" }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } } @@ -975,7 +975,7 @@ } }, "default": { - "schema": { + "schema":{ "$ref": "#/definitions/CloudError" } } From e9c42285e394ddc0f8d2ca1a7950c67fce2b6f19 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 12:44:42 -0700 Subject: [PATCH 33/51] Revert "Fixed lint errors." This reverts commit fe5494254f1eb23a290c1cfeb6a26bd907a6e23e. --- .../2020-02-14-privatepreview/postgresql.json | 68 +++++-------------- 1 file changed, 17 insertions(+), 51 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index b9d77bef14d3..1a1a91d2e269 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -238,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -319,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -362,7 +362,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -405,7 +405,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -448,7 +448,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -501,12 +501,7 @@ }, "202": { "description": "Accepted" - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } - } + } }, "x-ms-long-running-operation": true }, @@ -547,12 +542,7 @@ }, "204": { "description": "NoContent" - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } - } + } }, "x-ms-long-running-operation": true }, @@ -600,7 +590,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" @@ -632,11 +622,6 @@ "schema": { "$ref": "#/definitions/FirewallRuleListResult" } - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } } }, "x-ms-pageable": { @@ -644,7 +629,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -689,7 +674,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { "get": { "tags": [ "Configurations" @@ -734,7 +719,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { "put": { "tags": [ "Configurations" @@ -789,7 +774,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -842,11 +827,6 @@ }, "202": { "description": "Accepted" - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } } }, "x-ms-long-running-operation": true @@ -888,11 +868,6 @@ }, "204": { "description": "NoContent" - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } } }, "x-ms-long-running-operation": true @@ -941,7 +916,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { "get": { "tags": [ "CustomerMaintenanceWindow" @@ -973,16 +948,11 @@ "schema": { "$ref": "#/definitions/CustomerMaintenanceWindowListResult" } - }, - "default": { - "schema":{ - "$ref": "#/definitions/CloudError" - } } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/checkNameAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { "post": { "tags": [ "CheckNameAvailability" @@ -1027,7 +997,7 @@ } } }, - "/providers/Microsoft.DBForPostgreSQL/operations": { + "/providers/Microsoft.DBforPostgreSQL/operations": { "get": { "tags": [ "Operations" @@ -1472,22 +1442,18 @@ "properties": { "dayOfWeek": { "type": "integer", - "format": "int64", "description": "The day of week of the customer maintenance window to start" }, "durationInMinutes": { "type": "integer", - "format": "int64", "description": "The duration of the customer maintenance window to run." }, "startHour": { "type": "integer", - "format": "int64", "description": "The starting hour of the customer maintenance window." }, "startMinute": { "type": "integer", - "format": "int64", "description": "The starting minutes of the customer maintenance window." } }, From cafd00f1caf1cafed96bc78cef2ca4278502bd64 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 14:19:27 -0700 Subject: [PATCH 34/51] Fixed new lint errors --- .../2020-02-14-privatepreview/postgresql.json | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 1a1a91d2e269..28345b24cb42 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -501,6 +501,12 @@ }, "202": { "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -542,6 +548,12 @@ }, "204": { "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -622,6 +634,12 @@ "schema": { "$ref": "#/definitions/FirewallRuleListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-pageable": { @@ -827,6 +845,12 @@ }, "202": { "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -868,6 +892,12 @@ }, "204": { "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-long-running-operation": true @@ -948,6 +978,12 @@ "schema": { "$ref": "#/definitions/CustomerMaintenanceWindowListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } } } @@ -1442,18 +1478,22 @@ "properties": { "dayOfWeek": { "type": "integer", + "format": "int32", "description": "The day of week of the customer maintenance window to start" }, "durationInMinutes": { "type": "integer", + "format": "int32", "description": "The duration of the customer maintenance window to run." }, "startHour": { "type": "integer", + "format": "int32", "description": "The starting hour of the customer maintenance window." }, "startMinute": { "type": "integer", + "format": "int32", "description": "The starting minutes of the customer maintenance window." } }, From 96b4378c93e97dce96f9e951c05fdbe8f61008e4 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 14:30:47 -0700 Subject: [PATCH 35/51] state property name changes --- .../examples/ServerCreate.json | 4 ++-- .../examples/ServerCreatePointInTimeRestore.json | 4 ++-- .../examples/ServerGet.json | 4 ++-- .../examples/ServerGetWithVnet.json | 4 ++-- .../examples/ServerList.json | 16 ++++++++-------- .../examples/ServerUpdate.json | 4 ++-- .../2020-02-14-privatepreview/postgresql.json | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 882d23a67611..869a02fb5c9b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -62,8 +62,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index 1287327dcefd..249f63e6e152 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -45,8 +45,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json index 1a3cc5edd165..228a83853dc4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -11,8 +11,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json index 492566c46832..c064b39625ac 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -11,8 +11,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 82029bd1cf88..563a143a9189 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -12,8 +12,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -33,8 +33,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "Healthy", + "state": "Ready", + "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc2.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -54,8 +54,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "FailingOver", + "state": "Ready", + "haState": "FailingOver", "fullyQualifiedDomainName": "pgtestsvc3.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -75,8 +75,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "ReplicatingData", + "state": "Ready", + "haState": "ReplicatingData", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index e0302923990d..730a8c4f5d06 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -21,8 +21,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 28345b24cb42..860732d5b705 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1083,7 +1083,7 @@ "$ref": "#/definitions/ServerVersion", "description": "PostgreSQL Server version." }, - "userVisibleState": { + "state": { "type": "string", "description": "A state of a server that is visible to user.", "enum": [ @@ -1100,7 +1100,7 @@ "modelAsString": true } }, - "userVisibleHAState": { + "haState": { "type": "string", "description": "A state of a HA server that is visible to user.", "enum": [ From 910618a87a0985fe3384e1c2b09868b57dca418e Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 14:36:35 -0700 Subject: [PATCH 36/51] Fixed the model validation errors --- .../2020-02-14-privatepreview/examples/ServerCreate.json | 4 ++-- .../examples/ServerCreatePointInTimeRestore.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 869a02fb5c9b..a7caee367186 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -32,8 +32,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index 249f63e6e152..e6a5277ca1a0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -19,8 +19,8 @@ "properties": { "administratorLogin": "cloudsa", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, From 52e3852741a0169a8e9a611d6c9fc406fa4acaae Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 14:40:42 -0700 Subject: [PATCH 37/51] Fixed server list by resource group --- .../examples/ServerListByResourceGroup.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 13641e72c310..9fff7f82868b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -13,8 +13,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "NotEnabled", + "state": "Ready", + "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -31,8 +31,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "Healthy", + "state": "Ready", + "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, @@ -49,8 +49,8 @@ "properties": { "administratorLogin": "testuser", "version": "12", - "userVisibleState": "Ready", - "userVisibleHAState": "Healthy", + "state": "Ready", + "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicIpAddressRequested": true, From c405c0b0b67d6141da6029b0b803374343aa9b1f Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 14:50:52 -0700 Subject: [PATCH 38/51] publicIpAddressRequested to publicNetworkAccess --- .../examples/ServerCreate.json | 4 +-- .../ServerCreatePointInTimeRestore.json | 4 +-- .../examples/ServerGet.json | 2 +- .../examples/ServerGetWithVnet.json | 2 +- .../examples/ServerList.json | 8 +++--- .../examples/ServerListByResourceGroup.json | 6 ++-- .../examples/ServerUpdate.json | 2 +- .../2020-02-14-privatepreview/postgresql.json | 28 +++++++++++++++---- 8 files changed, 36 insertions(+), 20 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index a7caee367186..4c7f0ddc0c53 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -36,7 +36,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, @@ -66,7 +66,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index e6a5277ca1a0..f81a9dd0d670 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -23,7 +23,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, @@ -49,7 +49,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json index 228a83853dc4..198081677ace 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -15,7 +15,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json index c064b39625ac..c575ebe67e96 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -15,7 +15,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Disabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 563a143a9189..5e7c0d9936ef 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -16,7 +16,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 @@ -37,7 +37,7 @@ "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc2.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 @@ -58,7 +58,7 @@ "haState": "FailingOver", "fullyQualifiedDomainName": "pgtestsvc3.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 @@ -79,7 +79,7 @@ "haState": "ReplicatingData", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 9fff7f82868b..865eb3b8e0d6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -17,7 +17,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 @@ -35,7 +35,7 @@ "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 @@ -53,7 +53,7 @@ "haState": "Healthy", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288 diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index 730a8c4f5d06..0b0eef815024 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -25,7 +25,7 @@ "haState": "NotEnabled", "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", - "publicIpAddressRequested": true, + "publicNetworkAccess": "Enabled", "serverEdition": "GeneralPurpose", "vCores": 4, "storageQuotaInMb": 524288, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 860732d5b705..800077f8b805 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1138,9 +1138,17 @@ "format": "int32", "description": "Max compute of a server is 64vCores." }, - "publicIpAddressRequested": { - "description": "public IP requested as true", - "type": "boolean" + "publicNetworkAccess": { + "type": "string", + "description": "public network access is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + } }, "standbyCount": { "type": "integer", @@ -1234,9 +1242,17 @@ "type": "string", "description": "server edition default to general purpose" }, - "publicIpAddressRequested": { - "description": "public IP requested as true", - "type": "boolean" + "publicNetworkAccess": { + "type": "string", + "description": "public network access is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + } }, "vnetInjArgs": { "properties": { From 62d6e5785451e0d7fb79ff4c4527e713a065a0ac Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 15:16:32 -0700 Subject: [PATCH 39/51] Added storage profile and Sku --- .../examples/ServerCreate.json | 39 ++++--- .../ServerCreatePointInTimeRestore.json | 30 ++++-- .../examples/ServerGet.json | 12 ++- .../examples/ServerGetWithVnet.json | 12 ++- .../examples/ServerList.json | 48 ++++++--- .../examples/ServerListByResourceGroup.json | 36 +++++-- .../examples/ServerUpdate.json | 26 +++-- .../2020-02-14-privatepreview/postgresql.json | 100 +++++++++++------- 8 files changed, 210 insertions(+), 93 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json index 4c7f0ddc0c53..3c3908a9039a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json @@ -6,19 +6,24 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "administratorLoginPassword": "password", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "version": "12", "standbyCount": 0, - "backupRetentionDays": 7, "vnetInjArgs": { "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", "delegatedVnetName": "test-vnet" + }, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 } }, "tags": { @@ -29,6 +34,11 @@ "responses": { "201": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -37,15 +47,15 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "standbyCount": 0, - "backupRetentionDays": 7, "vnetInjArgs": { "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", "delegatedVnetName": "test-vnet" + }, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 } }, "location": "westus", @@ -59,6 +69,11 @@ }, "200": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -67,15 +82,15 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "standbyCount": 0, - "backupRetentionDays": 7, "vnetInjArgs": { "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", "delegatedVnetName": "test-vnet" + }, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 } }, "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json index f81a9dd0d670..37fbec167d04 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -16,6 +16,11 @@ "responses": { "201": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -24,12 +29,12 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "standbyCount": 0, - "backupRetentionDays": 7, - "vnetInjArgs": {} + "vnetInjArgs": {}, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { @@ -42,6 +47,11 @@ }, "200": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -50,12 +60,12 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "standbyCount": 0, - "backupRetentionDays": 7, - "vnetInjArgs": {} + "vnetInjArgs": {}, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json index 198081677ace..fdb65ca0219c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json @@ -8,6 +8,11 @@ "responses": { "200": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -16,9 +21,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json index c575ebe67e96..639fb674d91a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json @@ -8,6 +8,11 @@ "responses": { "200": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -16,13 +21,14 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Disabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, "vnetInjArgs": { "delegatedSubnetName": "test-subnet", "delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437", "delegatedVnetName": "test-vnet" + }, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 } }, "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json index 5e7c0d9936ef..c45b4e7331f2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json @@ -9,6 +9,11 @@ "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -17,9 +22,10 @@ "fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { @@ -30,6 +36,11 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -38,9 +49,10 @@ "fullyQualifiedDomainName": "pgtestsvc2.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { @@ -51,6 +63,11 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -59,9 +76,10 @@ "fullyQualifiedDomainName": "pgtestsvc3.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { @@ -72,6 +90,11 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -80,9 +103,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json index 865eb3b8e0d6..eb147eed2fbf 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json @@ -10,6 +10,11 @@ "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2020-02-14-privatepreview&$top=3&$skiptoken=skiptoken", "value": [ { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "testuser", "version": "12", @@ -18,9 +23,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1", @@ -28,6 +34,11 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "testuser", "version": "12", @@ -36,9 +47,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc2", @@ -46,6 +58,11 @@ "type": "Microsoft.DBforPostgreSQL/flexibleServers" }, { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "testuser", "version": "12", @@ -54,9 +71,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288 + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 7 + } }, "location": "westus", "tags": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json index 0b0eef815024..9340c6e76e9b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json @@ -6,18 +6,28 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { "location": "westus", + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { - "vCores": 4, "administratorLoginPassword": "newpassword", - "backupRetentionDays": 20, - "storageQuotaInMb": 524288, - "serverEdition": "GeneralPurpose" + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 20 + } } } }, "responses": { "200": { "body": { + "sku": { + "tier": "GeneralPurpose", + "capacity": 4, + "name": "Standard_D4s_v3" + }, "properties": { "administratorLogin": "cloudsa", "version": "12", @@ -26,10 +36,10 @@ "fullyQualifiedDomainName": "pgtestsvc4.postgres.database.azure.com", "displayName": "demosingleserver", "publicNetworkAccess": "Enabled", - "serverEdition": "GeneralPurpose", - "vCores": 4, - "storageQuotaInMb": 524288, - "backupRetentionDays": 20, + "storageProfile": { + "storageMB": 524288, + "backupRetentionDays": 20 + }, "vnetInjArgs": {} }, "location": "westus", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 800077f8b805..97790b9d7523 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1128,10 +1128,9 @@ "type": "string", "description": "The display name of a server." }, - "storageQuotaInMb": { - "type": "integer", - "format": "int32", - "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Storage profile of a server." }, "vCores": { "type": "integer", @@ -1155,11 +1154,6 @@ "format": "int32", "description": "stand by count value can be either 0 or 1" }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, "vnetInjArgs": { "properties": { "delegatedVnetID": { @@ -1185,6 +1179,10 @@ "$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, @@ -1218,30 +1216,15 @@ "$ref": "#/definitions/ServerVersion", "description": "PostgreSQL Server version." }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "Max compute of a server is 64vCores." - }, - "storageQuotaInMb": { - "type": "integer", - "format": "int32", - "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Storage profile of a server." }, "standbyCount": { "type": "integer", "format": "int32", "description": "stand by count value can be either 0 or 1" }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, - "serverEdition": { - "type": "string", - "description": "server edition default to general purpose" - }, "publicNetworkAccess": { "type": "string", "description": "public network access is enabled or not", @@ -1348,21 +1331,15 @@ "format": "int32", "description": "Max compute of a server is 64vCores." }, - "storageQuotaInMb": { - "type": "integer", - "format": "int32", - "description": "Max Storage in MB of a server is 2097152MB(2TiB)." + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Storage profile of a server." }, "standbyCount": { "type": "integer", "format": "int32", "description": "stand by count value can be either 0 or 1" }, - "backupRetentionDays": { - "type": "integer", - "format": "int32", - "description": "backup retention days range from min 1 to max 35" - }, "serverEdition": { "type": "string", "description": "server edition default to general purpose" @@ -1375,6 +1352,10 @@ "type": "string", "description": "The location the resource resides in." }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU (pricing tier) of the server." + }, "properties": { "$ref": "#/definitions/ServerPropertiesForCreate", "x-ms-client-flatten": false, @@ -1400,6 +1381,10 @@ "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": false, @@ -1436,6 +1421,49 @@ }, "description": "A list of servers." }, + "StorageProfile": { + "properties": { + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Backup retention days for the server." + }, + "storageMB": { + "type": "integer", + "format": "int32", + "description": "Max storage allowed for a server." + } + }, + "description": "Storage Profile properties of a server" + }, + "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 + } + }, + "capacity": { + "type": "integer", + "format": "int32", + "minimum": 0, + "description": "The scale up/out capacity, representing server's compute units." + } + }, + "description": "Sku information related properties of a server." + }, "FirewallRuleProperties": { "properties": { "startIpAddress": { From 0f83a73275f2031a89ca8c7d2d8c6006ec660b28 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 15:21:47 -0700 Subject: [PATCH 40/51] Added Burstable as custom word. --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 127b44f4e57b..54bf7b6e35ca 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -237,6 +237,7 @@ brazilsouth browsable bruceper Bsaling +Burstable BYOC BYOK BYOL From 19aa24ea235ab6525b9ddc8c17af480e011eb692 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 15:52:53 -0700 Subject: [PATCH 41/51] Fix for R3020 PathResourceProviderNamePascalCase --- .../2020-02-14-privatepreview/postgresql.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 97790b9d7523..082ec6c7871c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -238,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { "get": { "tags": [ "Servers" @@ -319,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -362,7 +362,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -405,7 +405,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -448,7 +448,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -602,7 +602,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" @@ -647,7 +647,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -692,7 +692,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { "get": { "tags": [ "Configurations" @@ -737,7 +737,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { "put": { "tags": [ "Configurations" @@ -792,7 +792,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -946,7 +946,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { "get": { "tags": [ "CustomerMaintenanceWindow" @@ -988,7 +988,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/checkNameAvailability": { "post": { "tags": [ "CheckNameAvailability" @@ -1033,7 +1033,7 @@ } } }, - "/providers/Microsoft.DBforPostgreSQL/operations": { + "/providers/Microsoft.DBForPostgreSQL/operations": { "get": { "tags": [ "Operations" From f24e8965327324363b3cb3173f7977fdcc87f407 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 16:10:36 -0700 Subject: [PATCH 42/51] Microsoft.DBForPostgreSQL to Microsoft.DBForPostgreSql --- .../2020-02-14-privatepreview/postgresql.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 082ec6c7871c..12a84d9b2faa 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}": { "put": { "tags": [ "Servers" @@ -238,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers": { "get": { "tags": [ "Servers" @@ -280,7 +280,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/flexibleServers": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers": { "get": { "tags": [ "Servers" @@ -319,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart": { "post": { "tags": [ "ServerRestart" @@ -362,7 +362,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start": { "post": { "tags": [ "ServerStart" @@ -405,7 +405,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop": { "post": { "tags": [ "ServerStop" @@ -448,7 +448,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { "put": { "tags": [ "FirewallRules" @@ -602,7 +602,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules": { "get": { "tags": [ "FirewallRules" @@ -647,7 +647,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations": { "get": { "tags": [ "Configurations" @@ -692,7 +692,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}": { "get": { "tags": [ "Configurations" @@ -737,7 +737,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/updateConfigurations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/updateConfigurations": { "put": { "tags": [ "Configurations" @@ -792,7 +792,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ "CustomerMaintenanceWindow" @@ -946,7 +946,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/flexibleServers/{serverName}/maintenanceWindows": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/maintenanceWindows": { "get": { "tags": [ "CustomerMaintenanceWindow" @@ -988,7 +988,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/checkNameAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability": { "post": { "tags": [ "CheckNameAvailability" @@ -1033,7 +1033,7 @@ } } }, - "/providers/Microsoft.DBForPostgreSQL/operations": { + "/providers/Microsoft.DBForPostgreSql/operations": { "get": { "tags": [ "Operations" From 70035a28b9c25763afc22c090f8732e11a36ce87 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 16:30:59 -0700 Subject: [PATCH 43/51] Fixed Lint errors R2016, R4010 --- .../preview/2020-02-14-privatepreview/postgresql.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 12a84d9b2faa..e58559e8011a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1056,6 +1056,12 @@ "schema": { "$ref": "#/definitions/OperationListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } } } @@ -1398,10 +1404,6 @@ "description": "Application-specific metadata in the form of key-value pairs." } }, - "required": [ - "properties", - "location" - ], "description": "Represents a server to be updated." }, "ServerListResult": { From 6cec660adf9798e7576d450dd2d9d39450137d4c Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Tue, 28 Jul 2020 16:39:21 -0700 Subject: [PATCH 44/51] Fix for R2020 --- .../preview/2020-02-14-privatepreview/postgresql.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index e58559e8011a..359c28d3e074 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1661,7 +1661,6 @@ "description": "Represents a Configuration." }, "ConfigurationListResult": { - "type": "object", "properties": { "value": { "type": "array", From 61ba68f334550ec9c268a868dba91af487c50a21 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 13:09:08 -0700 Subject: [PATCH 45/51] Change names for Operation Ids. --- .../2020-02-14-privatepreview/postgresql.json | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 359c28d3e074..8ddd74302fbf 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -39,7 +39,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_Create", + "operationId": "FlexibleServers_Create", "x-ms-examples": { "Create a new server": { "$ref": "./examples/ServerCreate.json" @@ -101,7 +101,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_Update", + "operationId": "FlexibleServers_Update", "x-ms-examples": { "ServerUpdate": { "$ref": "./examples/ServerUpdate.json" @@ -154,7 +154,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_Delete", + "operationId": "FlexibleServers_Delete", "x-ms-examples": { "ServerDelete": { "$ref": "./examples/ServerDelete.json" @@ -198,7 +198,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_Get", + "operationId": "FlexibleServers_Get", "x-ms-examples": { "ServerGet": { "$ref": "./examples/ServerGet.json" @@ -243,7 +243,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_ListByResourceGroup", + "operationId": "FlexibleServers_ListByResourceGroup", "x-ms-examples": { "ServerListByResourceGroup": { "$ref": "./examples/ServerListByResourceGroup.json" @@ -285,7 +285,7 @@ "tags": [ "Servers" ], - "operationId": "Servers_List", + "operationId": "FlexibleServers_List", "x-ms-examples": { "ServerList": { "$ref": "./examples/ServerList.json" @@ -324,7 +324,7 @@ "tags": [ "ServerRestart" ], - "operationId": "Servers_Restart", + "operationId": "FlexibleServers_Restart", "x-ms-examples": { "ServerRestart": { "$ref": "./examples/ServerRestart.json" @@ -367,7 +367,7 @@ "tags": [ "ServerStart" ], - "operationId": "Servers_Start", + "operationId": "FlexibleServers_Start", "x-ms-examples": { "ServerStart": { "$ref": "./examples/ServerStart.json" @@ -410,7 +410,7 @@ "tags": [ "ServerStop" ], - "operationId": "Servers_Stop", + "operationId": "FlexibleServers_Stop", "x-ms-examples": { "ServerStop": { "$ref": "./examples/ServerStop.json" @@ -453,7 +453,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FirewallRules_CreateOrUpdate", + "operationId": "FlexibleServers_FirewallRules_CreateOrUpdate", "x-ms-examples": { "FirewallRuleCreate": { "$ref": "./examples/FirewallRuleCreate.json" @@ -562,7 +562,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FirewallRules_Get", + "operationId": "FlexibleServers_FirewallRules_Get", "x-ms-examples": { "FirewallRuleList": { "$ref": "./examples/FirewallRuleGet.json" @@ -607,7 +607,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FirewallRules_ListByServer", + "operationId": "FlexibleServers_FirewallRules_ListByServer", "x-ms-examples": { "FirewallRuleList": { "$ref": "./examples/FirewallRuleListByServer.json" @@ -652,7 +652,7 @@ "tags": [ "Configurations" ], - "operationId": "Configurations_ListByServer", + "operationId": "FlexibleServers_Configurations_ListByServer", "x-ms-examples": { "ConfigurationList": { "$ref": "./examples/ConfigurationListByServer.json" @@ -697,7 +697,7 @@ "tags": [ "Configurations" ], - "operationId": "Configurations_Get", + "operationId": "FlexibleServers_Configurations_Get", "x-ms-examples": { "ConfigurationGet": { "$ref": "./examples/ConfigurationGet.json" @@ -742,7 +742,7 @@ "tags": [ "Configurations" ], - "operationId": "Configurations_Update", + "operationId": "FlexibleServers_Configurations_Update", "x-ms-examples": { "ConfigurationUpdate": { "$ref": "./examples/ConfigurationUpdate.json" @@ -797,7 +797,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "CustomerMaintenanceWindow_CreateOrUpdate", + "operationId": "FlexibleServers_CustomerMaintenanceWindow_CreateOrUpdate", "x-ms-examples": { "CustomerMaintenanceWindowCreate": { "$ref": "./examples/CustomerMaintenanceWindowCreate.json" @@ -859,7 +859,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "CustomerMaintenanceWindow_Delete", + "operationId": "FlexibleServers_CustomerMaintenanceWindow_Delete", "x-ms-examples": { "CustomerMaintenanceWindowDelete": { "$ref": "./examples/CustomerMaintenanceWindowDelete.json" @@ -906,7 +906,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "CustomerMaintenanceWindow_Get", + "operationId": "FlexibleServers_CustomerMaintenanceWindow_Get", "x-ms-examples": { "CustomerMaintenanceWindowGet": { "$ref": "./examples/CustomerMaintenanceWindowGet.json" @@ -951,7 +951,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "CustomerMaintenanceWindow_ListByServer", + "operationId": "FlexibleServers_CustomerMaintenanceWindow_ListByServer", "x-ms-examples": { "CustomerMaintenanceWindowList": { "$ref": "./examples/CustomerMaintenanceWindowListByServer.json" @@ -993,7 +993,7 @@ "tags": [ "CheckNameAvailability" ], - "operationId": "CheckNameAvailability_Execute", + "operationId": "FlexibleServers_CheckNameAvailability_Execute", "x-ms-examples": { "NameAvailability": { "$ref": "./examples/CheckNameAvailability.json" From 4620f24db31b89234e23368ecf636ba43a550792 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 13:34:39 -0700 Subject: [PATCH 46/51] Marked fields as readonly and LintDiff Error --- .../2020-02-14-privatepreview/postgresql.json | 43 ++++++++----------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 8ddd74302fbf..32eb4718b660 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -453,7 +453,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FlexibleServers_FirewallRules_CreateOrUpdate", + "operationId": "FlexibleServersFirewallRules_CreateOrUpdate", "x-ms-examples": { "FirewallRuleCreate": { "$ref": "./examples/FirewallRuleCreate.json" @@ -562,7 +562,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FlexibleServers_FirewallRules_Get", + "operationId": "FlexibleServersFirewallRules_Get", "x-ms-examples": { "FirewallRuleList": { "$ref": "./examples/FirewallRuleGet.json" @@ -607,7 +607,7 @@ "tags": [ "FirewallRules" ], - "operationId": "FlexibleServers_FirewallRules_ListByServer", + "operationId": "FlexibleServersFirewallRules_ListByServer", "x-ms-examples": { "FirewallRuleList": { "$ref": "./examples/FirewallRuleListByServer.json" @@ -652,7 +652,7 @@ "tags": [ "Configurations" ], - "operationId": "FlexibleServers_Configurations_ListByServer", + "operationId": "FlexibleServersConfigurations_ListByServer", "x-ms-examples": { "ConfigurationList": { "$ref": "./examples/ConfigurationListByServer.json" @@ -697,7 +697,7 @@ "tags": [ "Configurations" ], - "operationId": "FlexibleServers_Configurations_Get", + "operationId": "FlexibleServersConfigurations_Get", "x-ms-examples": { "ConfigurationGet": { "$ref": "./examples/ConfigurationGet.json" @@ -742,7 +742,7 @@ "tags": [ "Configurations" ], - "operationId": "FlexibleServers_Configurations_Update", + "operationId": "FlexibleServersConfigurations_Update", "x-ms-examples": { "ConfigurationUpdate": { "$ref": "./examples/ConfigurationUpdate.json" @@ -797,7 +797,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "FlexibleServers_CustomerMaintenanceWindow_CreateOrUpdate", + "operationId": "FlexibleServersCustomerMaintenanceWindow_CreateOrUpdate", "x-ms-examples": { "CustomerMaintenanceWindowCreate": { "$ref": "./examples/CustomerMaintenanceWindowCreate.json" @@ -859,7 +859,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "FlexibleServers_CustomerMaintenanceWindow_Delete", + "operationId": "FlexibleServersCustomerMaintenanceWindow_Delete", "x-ms-examples": { "CustomerMaintenanceWindowDelete": { "$ref": "./examples/CustomerMaintenanceWindowDelete.json" @@ -906,7 +906,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "FlexibleServers_CustomerMaintenanceWindow_Get", + "operationId": "FlexibleServersCustomerMaintenanceWindow_Get", "x-ms-examples": { "CustomerMaintenanceWindowGet": { "$ref": "./examples/CustomerMaintenanceWindowGet.json" @@ -951,7 +951,7 @@ "tags": [ "CustomerMaintenanceWindow" ], - "operationId": "FlexibleServers_CustomerMaintenanceWindow_ListByServer", + "operationId": "FlexibleServersCustomerMaintenanceWindow_ListByServer", "x-ms-examples": { "CustomerMaintenanceWindowList": { "$ref": "./examples/CustomerMaintenanceWindowListByServer.json" @@ -993,7 +993,7 @@ "tags": [ "CheckNameAvailability" ], - "operationId": "FlexibleServers_CheckNameAvailability_Execute", + "operationId": "FlexibleServersCheckNameAvailability_Execute", "x-ms-examples": { "NameAvailability": { "$ref": "./examples/CheckNameAvailability.json" @@ -1104,7 +1104,8 @@ "x-ms-enum": { "name": "ServerState", "modelAsString": true - } + }, + "readonly": "true" }, "haState": { "type": "string", @@ -1120,29 +1121,23 @@ "x-ms-enum": { "name": "ServerHAState", "modelAsString": true - } + }, + "readonly": "true" }, "fullyQualifiedDomainName": { "type": "string", - "description": "The fully qualified domain name of a server." - }, - "serverEdition": { - "type": "string", - "description": "server edition default to general purpose" + "description": "The fully qualified domain name of a server.", + "readonly": "true" }, "displayName": { "type": "string", - "description": "The display name of a server." + "description": "The display name of a server.", + "readonly": "true" }, "storageProfile": { "$ref": "#/definitions/StorageProfile", "description": "Storage profile of a server." }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "Max compute of a server is 64vCores." - }, "publicNetworkAccess": { "type": "string", "description": "public network access is enabled or not", From d6fe61ab3746ccae600f666a4b8890878d8d8b53 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 13:52:29 -0700 Subject: [PATCH 47/51] Fixed model validation errors --- .../2020-02-14-privatepreview/postgresql.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 32eb4718b660..8f1189f20dda 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1104,8 +1104,7 @@ "x-ms-enum": { "name": "ServerState", "modelAsString": true - }, - "readonly": "true" + } }, "haState": { "type": "string", @@ -1121,18 +1120,15 @@ "x-ms-enum": { "name": "ServerHAState", "modelAsString": true - }, - "readonly": "true" + } }, "fullyQualifiedDomainName": { "type": "string", - "description": "The fully qualified domain name of a server.", - "readonly": "true" + "description": "The fully qualified domain name of a server." }, "displayName": { "type": "string", - "description": "The display name of a server.", - "readonly": "true" + "description": "The display name of a server." }, "storageProfile": { "$ref": "#/definitions/StorageProfile", From 95400427f1a63923ae51898dbd05abe81ac94808 Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 14:02:22 -0700 Subject: [PATCH 48/51] Fixed lint diff --- .../preview/2020-02-14-privatepreview/postgresql.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 8f1189f20dda..06fb202ef610 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -1652,6 +1652,7 @@ "description": "Represents a Configuration." }, "ConfigurationListResult": { + "type": "object", "properties": { "value": { "type": "array", From 7e6d21eec9dea82c3769cc9fdbcb65fffd2f8b2d Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 15:58:05 -0700 Subject: [PATCH 49/51] Fixed the Comments for Server object create --- .../2020-02-14-privatepreview/postgresql.json | 192 ++++-------------- 1 file changed, 41 insertions(+), 151 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 06fb202ef610..b6658203a5a2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -67,7 +67,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ServerForCreate" + "$ref": "#/definitions/Server" }, "description": "The required parameters for creating or updating a server." } @@ -1083,7 +1083,21 @@ "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)." + "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", @@ -1092,6 +1106,7 @@ "state": { "type": "string", "description": "A state of a server that is visible to user.", + "readOnly": true, "enum": [ "Ready", "Dropping", @@ -1117,6 +1132,7 @@ "Healthy", "RemovingStandby" ], + "readOnly": true, "x-ms-enum": { "name": "ServerHAState", "modelAsString": true @@ -1124,7 +1140,8 @@ }, "fullyQualifiedDomainName": { "type": "string", - "description": "The fully qualified domain name of a server." + "description": "The fully qualified domain name of a server.", + "readOnly": true }, "displayName": { "type": "string", @@ -1151,88 +1168,14 @@ "format": "int32", "description": "stand by count value can be either 0 or 1" }, - "vnetInjArgs": { - "properties": { - "delegatedVnetID": { - "type": "string", - "description": "delegated vNet ID" - }, - "delegatedSubnetName": { - "type": "string", - "description": "delegated subnet name" - }, - "delegatedVnetName": { - "type": "string", - "description": "delegated vNet name" - } - } - } - }, - "description": "The properties of a server." - }, - "Server": { - "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." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents a server." - }, - "ServerPropertiesForCreate": { - "discriminator": "createMode", - "required": [ - "createMode" - ], - "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)." - }, - "administratorLoginPassword": { + "sourceServerName": { "type": "string", - "x-ms-secret": true, - "format": "password", - "description": "The password of the administrator login." - }, - "version": { - "$ref": "#/definitions/ServerVersion", - "description": "PostgreSQL Server version." - }, - "storageProfile": { - "$ref": "#/definitions/StorageProfile", - "description": "Storage profile of a server." - }, - "standbyCount": { - "type": "integer", - "format": "int32", - "description": "stand by count value can be either 0 or 1" + "description": "The source PostgreSQL server name to restore from." }, - "publicNetworkAccess": { + "pointInTimeUTC": { "type": "string", - "description": "public network access is enabled or not", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ServerPublicNetworkAccessState", - "modelAsString": true - } + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." }, "vnetInjArgs": { "properties": { @@ -1262,55 +1205,31 @@ "modelAsString": true } } - } + }, + "description": "The properties of a server." }, - "ServerPropertiesForDefaultCreate": { - "x-ms-discriminator-value": "Default", - "allOf": [ - { - "$ref": "#/definitions/ServerPropertiesForCreate" - } - ], + "Server": { "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)." + "identity": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity", + "description": "The Azure Active Directory identity of the server." }, - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." + "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." } }, - "required": [ - "administratorLogin", - "administratorLoginPassword" - ], - "description": "The properties used to create a new server." - }, - "ServerPropertiesForRestore": { - "x-ms-discriminator-value": "PointInTimeRestore", "allOf": [ { - "$ref": "#/definitions/ServerPropertiesForCreate" - } - ], - "properties": { - "sourceServerName": { - "type": "string", - "description": "The source PostgreSQL server name to restore from." - }, - "pointInTimeUTC": { - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" } - }, - "required": [ - "sourceServerName", - "pointInTimeUTC" ], - "description": "The properties used to create a new server by restoring from a backup." + "description": "Represents a server." }, "ServerPropertiesForUpdate": { "properties": { @@ -1343,35 +1262,6 @@ } } }, - "ServerForCreate": { - "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/ServerPropertiesForCreate", - "x-ms-client-flatten": false, - "description": "Properties of the server." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - }, - "required": [ - "properties", - "location" - ], - "description": "Represents a server to be created." - }, "ServerForUpdate": { "properties": { "location": { From 3a8e2b857e5971c7a651462597b33ede14e06c7a Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 16:11:25 -0700 Subject: [PATCH 50/51] changed the put to post for update configurations --- .../preview/2020-02-14-privatepreview/postgresql.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index b6658203a5a2..3c6e7f4cced2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -738,7 +738,7 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/updateConfigurations": { - "put": { + "post": { "tags": [ "Configurations" ], @@ -789,7 +789,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { From 695b8acb4237bd56f3ea5fd6c5ee1e9999c6880a Mon Sep 17 00:00:00 2001 From: Pradeep Kintali Date: Thu, 30 Jul 2020 17:07:35 -0700 Subject: [PATCH 51/51] Removed the Confgiration Update for now --- .../examples/ConfigurationUpdate.json | 40 -------- .../2020-02-14-privatepreview/postgresql.json | 92 ------------------- 2 files changed, 132 deletions(-) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json deleted file mode 100644 index 12edd4ede572..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ConfigurationUpdate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "configurationName": "auto-vaccum", - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2020-02-14-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "value": [ - { - "name": "auto-vaccum", - "properties": { - "value": "off" - } - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "value": "off", - "description": "Enable input of NULL elements in arrays.", - "defaultValue": "on", - "dataType": "Boolean", - "allowedValues": "on,off", - "source": "user-override" - }, - "name": "auto-vaccum", - "type": "Microsoft.DBforPostgreSQL/flexibleServers" - } - ] - } - }, - "202": {} - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json index 3c6e7f4cced2..8d350737eb01 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json @@ -737,64 +737,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/updateConfigurations": { - "post": { - "tags": [ - "Configurations" - ], - "operationId": "FlexibleServersConfigurations_Update", - "x-ms-examples": { - "ConfigurationUpdate": { - "$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" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConfigurationUpdateList" - }, - "description": "The required parameters for updating a server configuration." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConfigurationListResult" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/maintenanceWindows/{maintenanceWindowName}": { "put": { "tags": [ @@ -1522,28 +1464,6 @@ ], "description": "Represents a Configuration." }, - "ConfigurationUpdateProperties": { - "properties": { - "value": { - "type": "string", - "description": "Value of the configuration." - } - } - }, - "ConfigurationUpdate": { - "properties": { - "name": { - "type": "string", - "description": "Value of the configuration." - }, - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "The properties of a configuration." - } - }, - "description": "Represents a Configuration." - }, "ConfigurationListResult": { "type": "object", "properties": { @@ -1561,18 +1481,6 @@ }, "description": "A list of server configurations." }, - "ConfigurationUpdateList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationUpdate" - }, - "description": "The list of server configurations." - } - }, - "description": "A list of PostgreSQL server configurations to update." - }, "OperationDisplay": { "properties": { "provider": {