Server Class
Represents a 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.rdbms.mysql.models._models_py3.TrackedResourceServer
Constructor
Server(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.rdbms.mysql.models._models_py3.ResourceIdentity] = None, sku: Optional[azure.mgmt.rdbms.mysql.models._models_py3.Sku] = None, administrator_login: Optional[str] = None, version: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.ServerVersion]] = None, ssl_enforcement: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.SslEnforcementEnum]] = None, minimal_tls_version: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.MinimalTlsVersionEnum]] = None, infrastructure_encryption: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.InfrastructureEncryption]] = None, user_visible_state: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.ServerState]] = None, fully_qualified_domain_name: Optional[str] = None, earliest_restore_date: Optional[datetime.datetime] = None, storage_profile: Optional[azure.mgmt.rdbms.mysql.models._models_py3.StorageProfile] = None, replication_role: Optional[str] = None, master_server_id: Optional[str] = None, replica_capacity: Optional[int] = None, public_network_access: Optional[Union[str, azure.mgmt.rdbms.mysql.models._my_sql_management_client_enums.PublicNetworkAccessEnum]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- location
- str
Required. The geo-location where the resource lives.
- identity
- ResourceIdentity
The Azure Active Directory identity of the server.
- sku
- Sku
The SKU (pricing tier) of the server.
- administrator_login
- str
The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- version
- str or ServerVersion
Server version. Possible values include: "5.6", "5.7", "8.0".
- ssl_enforcement
- str or SslEnforcementEnum
Enable ssl enforcement or not when connect to server. Possible values include: "Enabled", "Disabled".
- minimal_tls_version
- str or MinimalTlsVersionEnum
Enforce a minimal Tls version for the server. Possible values include: "TLS1_0", "TLS1_1", "TLS1_2", "TLSEnforcementDisabled".
- byok_enforcement
- str
Status showing whether the server data encryption is enabled with customer-managed keys.
- infrastructure_encryption
- str or InfrastructureEncryption
Status showing whether the server enabled infrastructure encryption. Possible values include: "Enabled", "Disabled".
- user_visible_state
- str or ServerState
A state of a server that is visible to user. Possible values include: "Ready", "Dropping", "Disabled", "Inaccessible".
- fully_qualified_domain_name
- str
The fully qualified domain name of a server.
- earliest_restore_date
- datetime
Earliest restore point creation time (ISO8601 format).
- storage_profile
- StorageProfile
Storage profile of a server.
- replication_role
- str
The replication role of the server.
- master_server_id
- str
The master server id of a replica server.
- replica_capacity
- int
The maximum number of replicas that a master server can have.
- public_network_access
- str or PublicNetworkAccessEnum
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".
- private_endpoint_connections
- list[ServerPrivateEndpointConnection]
List of private endpoint connections on a server.
Feedback
Submit and view feedback for