Transit Gateways
Get Transit Gateway
Changed onRetrieves a transit gateway by ID, including its current state and attachment configuration.
get/v2/cloud-gateways/networks/{networkId}/transit-gateways/{transitGatewayId}
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
networkId, string uuid required
The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
Example:36ae63d3-efd1-4bec-b246-62aa5d3f5695
The network to operate on.
transitGatewayId, string uuid required
Example:0850820b-d153-4a2a-b9be-7d2204779139
The ID of the transit gateway to operate on.
Response
Response format for retrieving a transit gateway.
union required
Aws Transit Gateway Response required
OR
Aws Vpc Peering Gateway Response required
OR
Azure Transit Gateway Response required
OR
Azure VHub Peering Gateway Response required
OR
GCPVPCPeering Gateway Response required
OR
Aws Resource Endpoint Gateway Response required
Example response
{
"name": "us-east-2 transit gateway",
"dns_config": [
{
"remote_dns_server_ip_addresses": [
"10.0.0.2"
],
"domain_proxy_list": [
"foobar.com"
]
}
],
"cidr_blocks": [
"10.0.0.0/8",
"100.64.0.0/10",
"172.16.0.0/12"
],
"id": "0850820b-d153-4a2a-b9be-7d2204779139",
"state_metadata": {
"reported_status": "ERROR",
"reason": "Transit Gateway Attachment configuration could not find a resource with the provided ram share arn.\n"
},
"entity_version": 1,
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- warning
added the new
403.00enum value to thestatusresponse property for the response status - warning
added the new
404.00enum value to thestatusresponse property for the response status
- warning
- breaking
the response's body type changed from no type to
objectfor status
18 more changes in this revision
- breaking