From f9a85de654a2ae953aa13481ad3084c772a9ff09 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 13 Sep 2018 14:05:54 -0700 Subject: [PATCH] Generated from 16bfdf572dc08bae96c0b6ee521c1524b19254d7 (#2875) (#2876) Add support for PG 10 --- .../postgresql/models/postgre_sql_management_client_enums.py | 3 +++ azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server.py | 3 ++- .../rdbms/postgresql/models/server_properties_for_create.py | 3 ++- .../postgresql/models/server_properties_for_create_py3.py | 3 ++- .../postgresql/models/server_properties_for_default_create.py | 3 ++- .../models/server_properties_for_default_create_py3.py | 3 ++- .../postgresql/models/server_properties_for_geo_restore.py | 3 ++- .../postgresql/models/server_properties_for_geo_restore_py3.py | 3 ++- .../rdbms/postgresql/models/server_properties_for_restore.py | 3 ++- .../postgresql/models/server_properties_for_restore_py3.py | 3 ++- .../azure/mgmt/rdbms/postgresql/models/server_py3.py | 3 ++- .../mgmt/rdbms/postgresql/models/server_update_parameters.py | 2 +- .../rdbms/postgresql/models/server_update_parameters_py3.py | 2 +- 13 files changed, 25 insertions(+), 12 deletions(-) diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/postgre_sql_management_client_enums.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/postgre_sql_management_client_enums.py index 113c45c3c003..58b3c8ce4f2b 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/postgre_sql_management_client_enums.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/postgre_sql_management_client_enums.py @@ -16,6 +16,9 @@ class ServerVersion(str, Enum): nine_full_stop_five = "9.5" nine_full_stop_six = "9.6" + one_zero = "10" + one_zero_full_stop_zero = "10.0" + one_zero_full_stop_two = "10.2" class SslEnforcementEnum(str, Enum): diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server.py index be0aabcb6fa4..4ba9b5b3df1d 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server.py @@ -36,7 +36,8 @@ class Server(TrackedResource): Can only be specified when the server is being created (and is required for creation). :type administrator_login: str - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create.py index 8c9b8a45eb69..5ab135d7a54e 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create.py @@ -21,7 +21,8 @@ class ServerPropertiesForCreate(Model): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create_py3.py index 5983a5bff36d..24e5f64e6511 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_create_py3.py @@ -21,7 +21,8 @@ class ServerPropertiesForCreate(Model): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create.py index 89d145f48dc1..da6fd136fecf 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create.py @@ -17,7 +17,8 @@ class ServerPropertiesForDefaultCreate(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create_py3.py index 0fb43758d0da..3cef4094aa1c 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_default_create_py3.py @@ -17,7 +17,8 @@ class ServerPropertiesForDefaultCreate(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore.py index ccd84f7330fb..195d1fe26c04 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore.py @@ -18,7 +18,8 @@ class ServerPropertiesForGeoRestore(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore_py3.py index 91c47cc1418a..bc8ac2dd410f 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_geo_restore_py3.py @@ -18,7 +18,8 @@ class ServerPropertiesForGeoRestore(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore.py index 31ea1129095d..95559a5fe787 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore.py @@ -17,7 +17,8 @@ class ServerPropertiesForRestore(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore_py3.py index c6ff05ab6077..29afafba30c4 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_properties_for_restore_py3.py @@ -17,7 +17,8 @@ class ServerPropertiesForRestore(ServerPropertiesForCreate): All required parameters must be populated in order to send to Azure. - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_py3.py index 29cafa54507d..39e4dd240528 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_py3.py @@ -36,7 +36,8 @@ class Server(TrackedResource): Can only be specified when the server is being created (and is required for creation). :type administrator_login: str - :param version: Server version. Possible values include: '9.5', '9.6' + :param version: Server version. Possible values include: '9.5', '9.6', + '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters.py index f806ed2151a7..98fdfa2e6b76 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters.py @@ -23,7 +23,7 @@ class ServerUpdateParameters(Model): login. :type administrator_login_password: str :param version: The version of a server. Possible values include: '9.5', - '9.6' + '9.6', '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters_py3.py b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters_py3.py index f7f3a6a1b00b..cdcedce754c5 100644 --- a/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters_py3.py +++ b/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/models/server_update_parameters_py3.py @@ -23,7 +23,7 @@ class ServerUpdateParameters(Model): login. :type administrator_login_password: str :param version: The version of a server. Possible values include: '9.5', - '9.6' + '9.6', '10', '10.0', '10.2' :type version: str or ~azure.mgmt.rdbms.postgresql.models.ServerVersion :param ssl_enforcement: Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'