HostnameGenerator

Creates or Updates HostnameGenerator entity

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

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v1/mesh/control-planes/{cpId}/api/hostnamegenerators/{name}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

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.

Changes