Update cluster Run in API Explorer

PATCH /v1/clusters/{cluster.id}

Update a Redpanda cluster.

Path parameters

  • cluster.id string Required

    ID of the cluster.

application/json

Body Required

ClusterUpdate

Resource describing an Update Cluster.

  • cloud_provider_tags object

    Tags that are placed on Cloud resources. If the cloud provider is GCP and the name of a tag has the prefix "gcp.network-tag.", the tag is a network tag that will be added to the Redpanda cluster GKE nodes. Otherwise, the tag is a normal tag. For example, if the name of a tag is "gcp.network-tag.network-tag-foo", the network tag named "network-tag-foo" will be added to the Redpanda cluster GKE nodes. Note: The value of a network tag will be ignored. See the official GCP VPC for more details on network tags.

    Hide cloud_provider_tags attribute Show cloud_provider_tags attribute object
    • * string Additional properties
  • cloud_storage object
    Hide cloud_storage attributes Show cloud_storage attributes object
    • aws object
    • azure object
      Hide azure attributes Show azure attributes object
      • allowed_ips array[string]

        List of public IP or IP ranges in CIDR Format.

        • Only IPv4 addresses are allowed.
        • Private IP address ranges as defined in RFC 1918 are not allowed.
        • Private IP address ranges as defined in RFC 6598 are not allowed.
        • Small address ranges using "/31" or "/32" prefix sizes are not supported. These ranges should be configured using individual IP address rules without prefix specified.
        • allowed_ips have no effect on requests originating from the same Azure region as the storage account. Use allowed_subnet_ids to allow same-region requests. Services deployed in the same region as the storage account use private Azure IP addresses for communication. Thus, you cannot allow access to specific Azure services based on their public outbound IP address range.
      • allowed_subnet_ids array[string]

        A list of virtual network subnet ids that are allowed to access the storage account.

    • gcp object
    • skip_destroy boolean
  • cluster_configuration object
    Hide cluster_configuration attribute Show cluster_configuration attribute object
    • custom_properties object
  • customer_managed_resources object
    Hide customer_managed_resources attributes Show customer_managed_resources attributes object
    • aws object

      AWS resources managed by user.

      Hide aws attributes Show aws attributes object
      • redpanda_connect_node_group_instance_profile object

        AWS instance profile.

        Hide redpanda_connect_node_group_instance_profile attribute Show redpanda_connect_node_group_instance_profile attribute object
        • arn string Required

          AWS instance profile ARN.

      • redpanda_connect_security_group object

        Security Group identifies AWS security group.

        Hide redpanda_connect_security_group attribute Show redpanda_connect_security_group attribute object
        • arn string Required

          AWS security group ARN.

    • gcp object

      GCP resources managed by user.

      Hide gcp attributes Show gcp attributes object
      • psc_nat_subnet_name string

        NAT subnet name if GCP Private Service Connect (a.k.a. Private Link) is enabled. If it is used for PSC v1, use psc_v2_nat_subnet_name to set NAT subnet name for PSC v2.

      • psc_v2_nat_subnet_name string

        NAT subnet name for PSC v2 if GCP Private Service Connect (a.k.a. Private Link) is enabled and psc_nat_subnet_name is used for PSC v1.

      • redpanda_connect_api_service_account object

        GCP service account.

        Hide redpanda_connect_api_service_account attribute Show redpanda_connect_api_service_account attribute object
        • email string Required

          GCP service account email.

      • redpanda_connect_service_account object

        GCP service account.

        Hide redpanda_connect_service_account attribute Show redpanda_connect_service_account attribute object
        • email string Required

          GCP service account email.

      • redpanda_operator_service_account object

        GCP service account.

        Hide redpanda_operator_service_account attribute Show redpanda_operator_service_account attribute object
        • email string Required

          GCP service account email.

  • gcp_private_service_connect object
    Hide gcp_private_service_connect attributes Show gcp_private_service_connect attributes object
    • consumer_accept_list array[object]

      List of consumers that are allowed to connect to Redpanda GCP PSC (Private Service Connect) service attachment.

      GCP Private Service Connect consumer specifications.

      Hide consumer_accept_list attribute Show consumer_accept_list attribute object
      • source string

        Either the GCP project number or its alphanumeric ID.

    • enabled boolean

      Whether Redpanda GCP Private Service Connect is enabled.

    • global_access_enabled boolean

      Whether global access is enabled.

    • http_proxy_auth_mode string

      Private link authentication mode.

      • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
      • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
      • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

      Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

    • kafka_api_auth_mode string

      Private link authentication mode.

      • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
      • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
      • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

      Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

    • schema_registry_auth_mode string

      Private link authentication mode.

      • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
      • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
      • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
      • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

      Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

  • http_proxy object

    Cluster's HTTP Proxy properties. See Use Redpanda with the HTTP Proxy API and the HTTP Proxy API reference for more information.

    Hide http_proxy attributes Show http_proxy attributes object
    • mtls object

      mTLS configuration.

      Hide mtls attributes Show mtls attributes object
      • ca_certificates_pem array[string]

        CA certificate in PEM format.

      • enabled boolean

        Whether mTLS is enabled.

      • principal_mapping_rules array[string]

        Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

    • sasl object
      Hide sasl attribute Show sasl attribute object
      • enabled boolean

        Whether SASL is enabled.

  • kafka_api object

    Cluster's Kafka API properties.

    Hide kafka_api attributes Show kafka_api attributes object
    • mtls object

      mTLS configuration.

      Hide mtls attributes Show mtls attributes object
      • ca_certificates_pem array[string]

        CA certificate in PEM format.

      • enabled boolean

        Whether mTLS is enabled.

      • principal_mapping_rules array[string]

        Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

    • sasl object
      Hide sasl attribute Show sasl attribute object
      • enabled boolean

        Whether SASL is enabled.

  • kafka_connect object
    Hide kafka_connect attribute Show kafka_connect attribute object
    • enabled boolean
  • maintenance_window_config object

    Resource describing the maintenance window configuration of a cluster.

    Hide maintenance_window_config attributes Show maintenance_window_config attributes object
    • anytime object
    • day_hour object
      Hide day_hour attributes Show day_hour attributes object
      • day_of_week string

        Represents a day of the week.

        • MONDAY: Monday
        • TUESDAY: Tuesday
        • WEDNESDAY: Wednesday
        • THURSDAY: Thursday
        • FRIDAY: Friday
        • SATURDAY: Saturday
        • SUNDAY: Sunday

        Values are MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY.

      • hour_of_day integer(int32)
    • unspecified object
  • name string

    Unique name of the cluster.

  • read_replica_cluster_ids array[string]

    IDs of clusters which may create read-only topics from this cluster.

  • redpanda_node_count integer(int32)
  • schema_registry object

    Cluster's Schema Registry properties. See the Schema Registry overview and the Schema Registry API reference for more information.

    Hide schema_registry attributes Show schema_registry attributes object
    • mtls object

      mTLS configuration.

      Hide mtls attributes Show mtls attributes object
      • ca_certificates_pem array[string]

        CA certificate in PEM format.

      • enabled boolean

        Whether mTLS is enabled.

      • principal_mapping_rules array[string]

        Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

    • sasl object
      Hide sasl attribute Show sasl attribute object
      • enabled boolean

        Whether SASL is enabled.

  • throughput_tier string

Responses

  • 202 application/json

    Accepted

    Hide response attributes Show response attributes object
    • cloud_provider_tags object

      Tags that are placed on Cloud resources. If the cloud provider is GCP and the name of a tag has the prefix "gcp.network-tag.", the tag is a network tag that will be added to the Redpanda cluster GKE nodes. Otherwise, the tag is a normal tag. For example, if the name of a tag is "gcp.network-tag.network-tag-foo", the network tag named "network-tag-foo" will be added to the Redpanda cluster GKE nodes. Note: The value of a network tag will be ignored. See the official GCP VPC for more details on network tags.

      Hide cloud_provider_tags attribute Show cloud_provider_tags attribute object
      • * string Additional properties
    • cloud_storage object
      Hide cloud_storage attributes Show cloud_storage attributes object
      • aws object
      • azure object
        Hide azure attributes Show azure attributes object
        • allowed_ips array[string]

          List of public IP or IP ranges in CIDR Format.

          • Only IPv4 addresses are allowed.
          • Private IP address ranges as defined in RFC 1918 are not allowed.
          • Private IP address ranges as defined in RFC 6598 are not allowed.
          • Small address ranges using "/31" or "/32" prefix sizes are not supported. These ranges should be configured using individual IP address rules without prefix specified.
          • allowed_ips have no effect on requests originating from the same Azure region as the storage account. Use allowed_subnet_ids to allow same-region requests. Services deployed in the same region as the storage account use private Azure IP addresses for communication. Thus, you cannot allow access to specific Azure services based on their public outbound IP address range.
        • allowed_subnet_ids array[string]

          A list of virtual network subnet ids that are allowed to access the storage account.

      • gcp object
      • skip_destroy boolean
    • cluster_configuration object
      Hide cluster_configuration attribute Show cluster_configuration attribute object
      • custom_properties object
    • customer_managed_resources object
      Hide customer_managed_resources attributes Show customer_managed_resources attributes object
      • aws object

        AWS resources managed by user.

        Hide aws attributes Show aws attributes object
        • redpanda_connect_node_group_instance_profile object

          AWS instance profile.

          Hide redpanda_connect_node_group_instance_profile attribute Show redpanda_connect_node_group_instance_profile attribute object
          • arn string Required

            AWS instance profile ARN.

        • redpanda_connect_security_group object

          Security Group identifies AWS security group.

          Hide redpanda_connect_security_group attribute Show redpanda_connect_security_group attribute object
          • arn string Required

            AWS security group ARN.

      • gcp object

        GCP resources managed by user.

        Hide gcp attributes Show gcp attributes object
        • psc_nat_subnet_name string

          NAT subnet name if GCP Private Service Connect (a.k.a. Private Link) is enabled. If it is used for PSC v1, use psc_v2_nat_subnet_name to set NAT subnet name for PSC v2.

        • psc_v2_nat_subnet_name string

          NAT subnet name for PSC v2 if GCP Private Service Connect (a.k.a. Private Link) is enabled and psc_nat_subnet_name is used for PSC v1.

        • redpanda_connect_api_service_account object

          GCP service account.

          Hide redpanda_connect_api_service_account attribute Show redpanda_connect_api_service_account attribute object
          • email string Required

            GCP service account email.

        • redpanda_connect_service_account object

          GCP service account.

          Hide redpanda_connect_service_account attribute Show redpanda_connect_service_account attribute object
          • email string Required

            GCP service account email.

        • redpanda_operator_service_account object

          GCP service account.

          Hide redpanda_operator_service_account attribute Show redpanda_operator_service_account attribute object
          • email string Required

            GCP service account email.

    • gcp_private_service_connect object
      Hide gcp_private_service_connect attributes Show gcp_private_service_connect attributes object
      • consumer_accept_list array[object]

        List of consumers that are allowed to connect to Redpanda GCP PSC (Private Service Connect) service attachment.

        GCP Private Service Connect consumer specifications.

        Hide consumer_accept_list attribute Show consumer_accept_list attribute object
        • source string

          Either the GCP project number or its alphanumeric ID.

      • enabled boolean

        Whether Redpanda GCP Private Service Connect is enabled.

      • global_access_enabled boolean

        Whether global access is enabled.

      • http_proxy_auth_mode string

        Private link authentication mode.

        • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
        • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
        • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

        Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

      • kafka_api_auth_mode string

        Private link authentication mode.

        • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
        • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
        • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

        Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

      • schema_registry_auth_mode string

        Private link authentication mode.

        • PRIVATE_LINK_AUTH_MODE_MATCH: Match the authentication methods configured for the normal API endpoint, i.e. Kafka, HTTP Proxy, or Schema Registry.
        • PRIVATE_LINK_AUTH_MODE_SASL: SASL authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS: mTLS authentication mode only.
        • PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL: Both SASL and mTLS authentication modes.
        • PRIVATE_LINK_AUTH_MODE_NONE: Neither SASL or mTLS is enabled for Private Link.

        Values are PRIVATE_LINK_AUTH_MODE_MATCH, PRIVATE_LINK_AUTH_MODE_SASL, PRIVATE_LINK_AUTH_MODE_MTLS, PRIVATE_LINK_AUTH_MODE_MTLS_AND_SASL, or PRIVATE_LINK_AUTH_MODE_NONE.

    • http_proxy object

      Cluster's HTTP Proxy properties. See Use Redpanda with the HTTP Proxy API and the HTTP Proxy API reference for more information.

      Hide http_proxy attributes Show http_proxy attributes object
      • mtls object

        mTLS configuration.

        Hide mtls attributes Show mtls attributes object
        • ca_certificates_pem array[string]

          CA certificate in PEM format.

        • enabled boolean

          Whether mTLS is enabled.

        • principal_mapping_rules array[string]

          Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

      • sasl object
        Hide sasl attribute Show sasl attribute object
        • enabled boolean

          Whether SASL is enabled.

    • id string Required

      ID of the cluster.

    • kafka_api object

      Cluster's Kafka API properties.

      Hide kafka_api attributes Show kafka_api attributes object
      • mtls object

        mTLS configuration.

        Hide mtls attributes Show mtls attributes object
        • ca_certificates_pem array[string]

          CA certificate in PEM format.

        • enabled boolean

          Whether mTLS is enabled.

        • principal_mapping_rules array[string]

          Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

      • sasl object
        Hide sasl attribute Show sasl attribute object
        • enabled boolean

          Whether SASL is enabled.

    • kafka_connect object
      Hide kafka_connect attribute Show kafka_connect attribute object
      • enabled boolean
    • maintenance_window_config object

      Resource describing the maintenance window configuration of a cluster.

      Hide maintenance_window_config attributes Show maintenance_window_config attributes object
      • anytime object
      • day_hour object
        Hide day_hour attributes Show day_hour attributes object
        • day_of_week string

          Represents a day of the week.

          • MONDAY: Monday
          • TUESDAY: Tuesday
          • WEDNESDAY: Wednesday
          • THURSDAY: Thursday
          • FRIDAY: Friday
          • SATURDAY: Saturday
          • SUNDAY: Sunday

          Values are MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY.

        • hour_of_day integer(int32)
      • unspecified object
    • name string

      Unique name of the cluster.

    • read_replica_cluster_ids array[string]

      IDs of clusters which may create read-only topics from this cluster.

    • redpanda_node_count integer(int32)
    • schema_registry object

      Cluster's Schema Registry properties. See the Schema Registry overview and the Schema Registry API reference for more information.

      Hide schema_registry attributes Show schema_registry attributes object
      • mtls object

        mTLS configuration.

        Hide mtls attributes Show mtls attributes object
        • ca_certificates_pem array[string]

          CA certificate in PEM format.

        • enabled boolean

          Whether mTLS is enabled.

        • principal_mapping_rules array[string]

          Principal mapping rules for mTLS authentication. Only valid for Kafka API. See the Redpanda documentation on configuring authentication.

      • sasl object
        Hide sasl attribute Show sasl attribute object
        • enabled boolean

          Whether SASL is enabled.

    • throughput_tier string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Please reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

PATCH /v1/clusters/{cluster.id}
curl \
 --request PATCH 'https://api.redpanda.com/v1/clusters/{cluster.id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"schema_registry":{"mtls":{"enabled":true,"ca_certificates_pem":["-----BEGIN CERTIFICATE-----\nMII........\n-----END CERTIFICATE-----"]}}}'
Request example
{
  "schema_registry": {
    "mtls": {
      "enabled": true,
      "ca_certificates_pem": [
        "-----BEGIN CERTIFICATE-----\nMII........\n-----END CERTIFICATE-----"
      ]
    }
  }
}
Response examples (202)
{
  "operation": {
    "id": "cjd5159c4vs6rgpkevsg",
    "type": "TYPE_UPDATE_CLUSTER",
    "state": "STATE_IN_PROGRESS",
    "metadata": {
      "@type": "type.googleapis.com/redpanda.api.controlplane.v1.UpdateClusterMetadata",
      "update_type": []
    },
    "started_at": null,
    "finished_at": null,
    "resource_id": "cjd3r21c4vs870t0ku30"
  }
}
Response examples (404)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}