v28

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-263064641.4 MB
HostnameGenerator

Creates or Updates HostnameGenerator entity

put/v1/mesh/control-planes/{cpId}/api/hostnamegenerators/{name}

Path parameters

namestring required

name of the HostnameGenerator

Request body

type'HostnameGenerator' required

the type of the resource

kristring

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

namestring required

Name of the Kuma resource

labelsobject

The labels to help identity resources

creationTimestring date-time

Time at which the resource was created

modificationTimestring date-time

Time at which the resource was updated

Example request

{
  "kri": "kri_hg___kuma-system_myresource1_",
  "creationTime": "0001-01-01T00:00:00Z",
  "modificationTime": "0001-01-01T00:00:00Z"
}

Response

Successful response

warningsstring[]

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.