models_v2.sql_server_instance module

class models_v2.sql_server_instance.SQLServerInstance(id=None, name=None, is_online=None, endpoints=None, is_partof_fci=None)[source]

Bases: object

Implementation of the ‘SQLServerInstance’ model.

Specifies the details of a SQL server.


id (string): Specifies the unique id of the SQL server instance. name (string): Specifies the name of the SQL server instance. is_online (string): Specifies the wehther the SQL server instance is

online or not.

endpoints (list of ResourceEndpoint): Specifies the information about

endpoint associated with this SQL server instance.

is_partof_fci (bool): Specifies whether this SQL server instance is a

part of Failover cluster or not.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.


object: An instance of this structure class.