Share via


ServerPropertiesForGeoRestore Class

The properties used to create a new server by restoring to a different region from a geo replicated backup.

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

Constructor

ServerPropertiesForGeoRestore(*, source_server_id: str, version: str | ServerVersion | None = None, ssl_enforcement: str | SslEnforcementEnum | None = None, minimal_tls_version: str | MinimalTlsVersionEnum | None = None, infrastructure_encryption: str | InfrastructureEncryption | None = None, public_network_access: str | PublicNetworkAccessEnum | None = None, storage_profile: StorageProfile | None = None, **kwargs)

Keyword-Only Parameters

Name Description
version

Server version. Possible values include: "5.6", "5.7", "8.0".

Default value: None
ssl_enforcement

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

Default value: None
minimal_tls_version

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

Default value: None
infrastructure_encryption

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

Default value: None
public_network_access

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".

Default value: None
storage_profile

Storage profile of a server.

Default value: None
source_server_id
str

Required. The source server id to restore from.

Variables

Name Description
version

Server version. Possible values include: "5.6", "5.7", "8.0".

ssl_enforcement

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

minimal_tls_version

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

infrastructure_encryption

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

public_network_access

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

Storage profile of a server.

create_mode

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

source_server_id
str

Required. The source server id to restore from.