Test a resolver name on a Gateway.

Prev Next
Post
/appliances/{id}/test-resolver-name

Test a resolver name on a Gateway.

Security
HTTP
Type bearer
Path parameters
id
string (uuid) Required

ID of the object.

Example12699e27-b584-464a-81ee-5b4784b6d425
Body parameters

What to test on name resolvers.

object
resourceName
string

The resource name to test on the Gateway.

Exampleaws://tag:Application=Software Defined Perimeter
Responses
200

Test is completed successfully.

object

The test result.

ips
Array of string

List of IPs resolved for the given name.

string
Example10.0.0.1
error
string

Error message if the resolution failed.

ExampleDNS name resolution error for ipv4, pycares errno 11: Could not contact DNS servers
400

JSON error. Check the JSON format.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

412

Appliance is not in the right state for this operation.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

422

Request validation error. Check "errors" array for details.

Expand All
object

Http 422 error for object validation.

id
string

Machine readable error code.

message
string

Human readable error details.

errors
Array of object

List of fields with validation errors.

object
field
string

Name of the field that failed validation.

Examplename
message
string

Failure reason.

Examplemay not be null
500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.