DNS Forwarders (networking/v1)

Update a DNS Forwarder

General Availability

Make a request to update a DNS forwarder.

patch/networking/v1/dns-forwarders/{id}

Path parameters

idstring required

The unique identifier for the DNS forwarder.

Request body

api_version'networking/v1'

APIVersion defines the schema version of this representation of a resource.

kind'DnsForwarder'

Kind defines the object this REST resource represents.

idstring

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

Example request

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/networking/v1/dns-forwarders/df-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "spec": {
    "display_name": "prod-dnsf-1",
    "domains": [
      "example.com",
      "domainname.com"
    ],
    "config": {
      "dns_server_ips": [
        "10.200.0.0",
        "10.200.0.1"
      ]
    },
    "environment": {
      "id": "env-00000"
    }
  },
  "status": {
    "phase": "READY"
  }
}

Response

DNS Forwarder.

api_version'networking/v1' required

APIVersion defines the schema version of this representation of a resource.

kind'DnsForwarder' required

Kind defines the object this REST resource represents.

idstring required

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

Example response

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/networking/v1/dns-forwarders/df-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "spec": {
    "display_name": "prod-dnsf-1",
    "domains": [
      "example.com",
      "domainname.com"
    ],
    "config": {
      "dns_server_ips": [
        "10.200.0.0",
        "10.200.0.1"
      ]
    },
    "environment": {
      "id": "env-00000",
      "related": "https://api.confluent.cloud/v2/environments/env-00000",
      "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-00000"
    },
    "gateway": {
      "id": "gw-00000",
      "related": "https://api.confluent.cloud/networking/v1/gateways/gw-00000",
      "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-00000"
    }
  },
  "status": {
    "phase": "READY"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.