ServerPropertiesForDefaultCreate Class

The properties used to create a new server.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.rdbms.postgresql.models._models_py3.ServerPropertiesForCreate
ServerPropertiesForDefaultCreate

Constructor

ServerPropertiesForDefaultCreate(*, administrator_login: str, administrator_login_password: str, version: Optional[Union[str, azure.mgmt.rdbms.postgresql.models._postgre_sql_management_client_enums.ServerVersion]] = None, ssl_enforcement: Optional[Union[str, azure.mgmt.rdbms.postgresql.models._postgre_sql_management_client_enums.SslEnforcementEnum]] = None, minimal_tls_version: Optional[Union[str, azure.mgmt.rdbms.postgresql.models._postgre_sql_management_client_enums.MinimalTlsVersionEnum]] = None, infrastructure_encryption: Optional[Union[str, azure.mgmt.rdbms.postgresql.models._postgre_sql_management_client_enums.InfrastructureEncryption]] = None, public_network_access: Optional[Union[str, azure.mgmt.rdbms.postgresql.models._postgre_sql_management_client_enums.PublicNetworkAccessEnum]] = None, storage_profile: Optional[azure.mgmt.rdbms.postgresql.models._models_py3.StorageProfile] = None, **kwargs)

Parameters

version
str or ServerVersion
Required

Server version. Possible values include: "9.5", "9.6", "10", "10.0", "10.2", "11".

ssl_enforcement
str or SslEnforcementEnum
Required

Enable ssl enforcement or not when connect to server. Possible values include: "Enabled", "Disabled".

minimal_tls_version
str or MinimalTlsVersionEnum
Required

Enforce a minimal Tls version for the server. Possible values include: "TLS1_0", "TLS1_1", "TLS1_2", "TLSEnforcementDisabled".

infrastructure_encryption
str or InfrastructureEncryption
Required

Status showing whether the server enabled infrastructure encryption. Possible values include: "Enabled", "Disabled".

public_network_access
str or PublicNetworkAccessEnum
Required

Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: "Enabled", "Disabled".

storage_profile
StorageProfile
Required

Storage profile of a server.

create_mode
str or CreateMode
Required

Required. The mode to create a new server.Constant filled by server. Possible values include: "Default", "PointInTimeRestore", "GeoRestore", "Replica".

administrator_login
str
Required

Required. The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

administrator_login_password
str
Required

Required. The password of the administrator login.