Skip to content

Commit

Permalink
Generated from 16bfdf572dc08bae96c0b6ee521c1524b19254d7 (#2875) (#2876)
Browse files Browse the repository at this point in the history
Add support for PG 10
  • Loading branch information
AutorestCI authored and lmazuel committed Sep 13, 2018
1 parent 63d80a9 commit f9a85de
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f9a85de

Please sign in to comment.