Server Class

An Azure SQL Database server.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
azure.mgmt.sql.models._models_py3.TrackedResource
Server

Constructor

Server(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.sql.models._models_py3.ResourceIdentity] = None, administrator_login: Optional[str] = None, administrator_login_password: Optional[str] = None, version: Optional[str] = None, minimal_tls_version: Optional[str] = None, public_network_access: Optional[Union[str, azure.mgmt.sql.models._sql_management_client_enums.ServerNetworkAccessFlag]] = None, primary_user_assigned_identity_id: Optional[str] = None, federated_client_id: Optional[str] = None, key_id: Optional[str] = None, administrators: Optional[azure.mgmt.sql.models._models_py3.ServerExternalAdministrator] = None, restrict_outbound_network_access: Optional[Union[str, azure.mgmt.sql.models._sql_management_client_enums.ServerNetworkAccessFlag]] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

identity
ResourceIdentity
Required

The Azure Active Directory identity of the server.

administrator_login
str
Required

Administrator username for the server. Once created it cannot be changed.

administrator_login_password
str
Required

The administrator login password (required for server creation).

version
str
Required

The version of the server.

minimal_tls_version
str
Required

Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'.

public_network_access
str or ServerNetworkAccessFlag
Required

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

primary_user_assigned_identity_id
str
Required

The resource id of a user assigned identity to be used by default.

federated_client_id
str
Required

The Client id used for cross tenant CMK scenario.

key_id
str
Required

A CMK URI of the key to use for encryption.

administrators
ServerExternalAdministrator
Required

The Azure Active Directory identity of the server.

restrict_outbound_network_access
str or ServerNetworkAccessFlag
Required

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

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

kind
str

Kind of sql server. This is metadata used for the Azure portal experience.

state
str

The state of the server.

fully_qualified_domain_name
str

The fully qualified domain name of the server.

private_endpoint_connections
list[ServerPrivateEndpointConnection]

List of private endpoint connections on a server.

workspace_feature
str or ServerWorkspaceFeature

Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: "Connected", "Disconnected".