Creates MeshTCPRoute entity
Changed onCreates a resource using the name in the body. An existing resource is never modified. Requires Kuma 3.0 or later.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
Id of the Konnect resource
name of the mesh
Request body
NOTICE: This policy defines its own GetDefault method so that it can have the given structure for deserialization but still use the generic policy merging machinery. // MeshTCPRoute configures routing for TCP traffic between services in the mesh. It enables traffic splitting and weighted load balancing across different backend endpoints, useful for canary deployments, blue-green deployments, and gradual traffic migration for TCP-based services.
the type of the resource
Mesh is the name of the Kuma mesh this resource belongs to. It may be omitted for cluster-scoped resources.
A unique identifier for this resource instance used by internal tooling and integrations. Typically derived from resource attributes and may be used for cross-references or indexing
Name of the Kuma resource
The labels to help identity resources
Spec is the specification of the Kuma MeshTCPRoute resource.
Time at which the resource was created
Time at which the resource was updated
Example request
{
"kri": "kri_mtcpr_default_zone-east_kuma-demo_mypolicy1_",
"creationTime": "1901-01-01T00:00:00.000Z",
"modificationTime": "1901-01-01T00:00:00.000Z"
}Response
Successful response
warnings is a list of warning messages to return to the requesting Kuma API clients. Warning messages describe a problem the client making the API request should correct or be aware of.
Changes
- info
endpoint added
- info