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: Dict[str, str] | None = None, identity: ResourceIdentity | None = None, administrator_login: str | None = None, administrator_login_password: str | None = None, version: str | None = None, minimal_tls_version: str | None = None, public_network_access: str | ServerNetworkAccessFlag | None = None, primary_user_assigned_identity_id: str | None = None, federated_client_id: str | None = None, key_id: str | None = None, administrators: ServerExternalAdministrator | None = None, restrict_outbound_network_access: str | ServerNetworkAccessFlag | None = None, **kwargs)

Parameters

Name Description
location
Required
str

Required. Resource location.

tags
Required

A set of tags. Resource tags.

identity
Required

The Azure Active Directory identity of the server.

administrator_login
Required
str

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

administrator_login_password
Required
str

The administrator login password (required for server creation).

version
Required
str

The version of the server.

minimal_tls_version
Required
str

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

public_network_access
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
Required
str

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

federated_client_id
Required
str

The Client id used for cross tenant CMK scenario.

key_id
Required
str

A CMK URI of the key to use for encryption.

administrators
Required

The Azure Active Directory identity of the server.

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

Keyword-Only Parameters

Name Description
location
Required
tags
Required
identity
Required
administrator_login
Required
administrator_login_password
Required
version
Required
minimal_tls_version
Required
public_network_access
Required
primary_user_assigned_identity_id
Required
federated_client_id
Required
key_id
Required
administrators
Required
restrict_outbound_network_access
Required

Variables

Name Description
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 of private endpoint connections on a server.

workspace_feature

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