ConnectionError Class

ConnectionError.

Inheritance
ConnectionError

Constructor

ConnectionError(*, connection_state: Optional[Union[str, azure.mgmt.cosmosdb.models._cosmos_db_management_client_enums.ConnectionState]] = None, i_p_from: Optional[str] = None, i_p_to: Optional[str] = None, port: Optional[int] = None, exception: Optional[str] = None, **kwargs)

Variables

connection_state
str or ConnectionState

The kind of connection error that occurred. Possible values include: "Unknown", "OK", "OperatorToDataCenterNetworkError", "DatacenterToDatacenterNetworkError", "InternalOperatorToDataCenterCertificateError", "InternalError".

i_p_from
str

The IP of host that originated the failed connection.

i_p_to
str

The IP that the connection attempted to reach.

port
int

The TCP port the connection was attempted on.

exception
str

Detailed error message about the failed connection.