Skip to content
Start here

Directory

DirectoryServices

List Workers VPC connectivity services
GET/accounts/{account_id}/connectivity/directory/services
Create Workers VPC connectivity service
POST/accounts/{account_id}/connectivity/directory/services
Get Workers VPC connectivity service
GET/accounts/{account_id}/connectivity/directory/services/{service_id}
Update Workers VPC connectivity service
PUT/accounts/{account_id}/connectivity/directory/services/{service_id}
Delete Workers VPC connectivity service
DELETE/accounts/{account_id}/connectivity/directory/services/{service_id}
ModelsExpand Collapse
ServiceListResponse = { host, name, type, 6 more } or { host, name, type, 6 more }
One of the following:
InfraHTTPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
created_at: optional string
formatdate-time
http_port: optional number
formatint32
minimum1
https_port: optional number
formatint32
minimum1
service_id: optional string
formatuuid
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
InfraTCPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
app_protocol: optional "postgresql" or "mysql"
One of the following:
"postgresql"
"mysql"
created_at: optional string
formatdate-time
service_id: optional string
formatuuid
tcp_port: optional number
formatint32
minimum1
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
ServiceCreateResponse = { host, name, type, 6 more } or { host, name, type, 6 more }
One of the following:
InfraHTTPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
created_at: optional string
formatdate-time
http_port: optional number
formatint32
minimum1
https_port: optional number
formatint32
minimum1
service_id: optional string
formatuuid
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
InfraTCPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
app_protocol: optional "postgresql" or "mysql"
One of the following:
"postgresql"
"mysql"
created_at: optional string
formatdate-time
service_id: optional string
formatuuid
tcp_port: optional number
formatint32
minimum1
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
ServiceGetResponse = { host, name, type, 6 more } or { host, name, type, 6 more }
One of the following:
InfraHTTPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
created_at: optional string
formatdate-time
http_port: optional number
formatint32
minimum1
https_port: optional number
formatint32
minimum1
service_id: optional string
formatuuid
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
InfraTCPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
app_protocol: optional "postgresql" or "mysql"
One of the following:
"postgresql"
"mysql"
created_at: optional string
formatdate-time
service_id: optional string
formatuuid
tcp_port: optional number
formatint32
minimum1
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
ServiceUpdateResponse = { host, name, type, 6 more } or { host, name, type, 6 more }
One of the following:
InfraHTTPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
created_at: optional string
formatdate-time
http_port: optional number
formatint32
minimum1
https_port: optional number
formatint32
minimum1
service_id: optional string
formatuuid
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time
InfraTCPServiceConfig { host, name, type, 6 more }
host: { ipv4, network } or { ipv6, network } or { ipv4, ipv6, network } or { hostname, resolver_network }
One of the following:
InfraIPv4Host { ipv4, network }
ipv4: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraIPv6Host { ipv6, network }
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraDualStackHost { ipv4, ipv6, network }
ipv4: string
ipv6: string
network: { tunnel_id }
tunnel_id: string
formatuuid
InfraHostnameHost { hostname, resolver_network }
hostname: string
resolver_network: { tunnel_id, resolver_ips }
tunnel_id: string
formatuuid
resolver_ips: optional array of string
name: string
type: "tcp" or "http"
One of the following:
"tcp"
"http"
app_protocol: optional "postgresql" or "mysql"
One of the following:
"postgresql"
"mysql"
created_at: optional string
formatdate-time
service_id: optional string
formatuuid
tcp_port: optional number
formatint32
minimum1
tls_settings: optional { cert_verification_mode }

TLS settings for a connectivity service.

If omitted, the default mode (verify_full) is used.

cert_verification_mode: string

TLS certificate verification mode for the connection to the origin.

  • "verify_full" — verify certificate chain and hostname (default)
  • "verify_ca" — verify certificate chain only, skip hostname check
  • "disabled" — do not verify the server certificate at all
updated_at: optional string
formatdate-time