Verify connectivity and managed-access prerequisites for a target configuration before saving it, including optional SSH tunnel reachability.
Request body application/json · TestConnectionInlineRequest
Connection test request
postgreskubernetesmysqlclickhousemongodbssh2 fields
singleon_cluster Settings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
4 fields
hostfleet4 fields
Organization SSH key Principal signs in with.
Pinned public key of the host in authorized_keys format. Another key stops every operation on the host.
SHA256 fingerprint of the pinned key. Response only.
Labels fleets select the host by.
2 fields
A host joins the fleet when it has every one of these labels.
Lifetime of the certificates Principal issues for this target, 5 to 1440 minutes. Default 480.
Responses
OK
TestConnectionInlineResponse · 9 fields
6 fields
Stable code of the check, for example database_connectivity.
Name of the check for people, for example "Connect and sign in".
passedfailedskippedOutcome of the check in plain words. Never contains driver or library text.
For a failed check, the server's error code and text or the innermost driver error, shown only in the technical details. Never contains addresses or credentials.
8 fields
auto_filled selection_required failedskipped3 fields
no_crd no_providers permission_denied issuer_not_found discovery_error Connection failed
Common errors: 400 401 403 409 413 429 504. They mean the same for every operation, see Errors.