Private Connectivity
APIs for managing Harness Cloud Private Connectivity (per-account L3 private network)
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Current private connectivity status and config; no credentials returned
GET /gateway/ng/api/private-connectivity?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Join credential; serve with Cache-Control: no-store
POST /gateway/ng/api/private-connectivity/credential?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Request body to provision Harness Cloud Private Connectivity for an account
Allowed destination CIDRs for both subnet and App Connector routes. ["*"] permits supported IPv4/IPv6 ranges excluding protected addresses; [] disables routing and requires empty domains.
FQDNs or domain globs to discover, such as api.example.com or *.example.com. Resolved addresses must be permitted by advertiseRoutes; domains do not expand its IP boundary.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Account provisioning state and initial appliance credential on first setup
POST /gateway/ng/api/private-connectivity/setup?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"advertiseRoutes": [
"text"
],
"domains": [
"text"
],
"dns": {
"splitDnsDomains": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Request body to provision Harness Cloud Private Connectivity for an account
Allowed destination CIDRs for both subnet and App Connector routes. ["*"] permits supported IPv4/IPv6 ranges excluding protected addresses; [] disables routing and requires empty domains.
FQDNs or domain globs to discover, such as api.example.com or *.example.com. Resolved addresses must be permitted by advertiseRoutes; domains do not expand its IP boundary.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
PUT /gateway/ng/api/private-connectivity/config?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"advertiseRoutes": [
"text"
],
"domains": [
"text"
],
"dns": {
"splitDnsDomains": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?