ConnectionError Class

ConnectionError.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
ConnectionError

Constructor

ConnectionError(*, connection_state: str | _models.ConnectionState | None = None, i_p_from: str | None = None, i_p_to: str | None = None, port: int | None = None, exception: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
connection_state

The kind of connection error that occurred. Known values are: "Unknown", "OK", "OperatorToDataCenterNetworkError", "DatacenterToDatacenterNetworkError", "InternalOperatorToDataCenterCertificateError", and "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.

Variables

Name Description
connection_state

The kind of connection error that occurred. Known values are: "Unknown", "OK", "OperatorToDataCenterNetworkError", "DatacenterToDatacenterNetworkError", "InternalOperatorToDataCenterCertificateError", and "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.