ConnectionError Class
ConnectionError.
- Inheritance
-
azure.mgmt.cosmosdb._serialization.ModelConnectionError
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
|
The IP of host that originated the failed connection. |
i_p_to
|
The IP that the connection attempted to reach. |
port
|
The TCP port the connection was attempted on. |
exception
|
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
|
The IP of host that originated the failed connection. |
i_p_to
|
The IP that the connection attempted to reach. |
port
|
The TCP port the connection was attempted on. |
exception
|
Detailed error message about the failed connection. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for