GET /v1/network/{network_id}/network-peerings

List Redpanda network peerings.

Path parameters

  • network_id string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • network_peerings array[object]
      Hide network_peerings attributes Show network_peerings attributes object
      • aws object
        Hide aws attributes Show aws attributes object
        • peer_owner_id string
        • peer_vpc_id string
      • azure object
        Hide azure attributes Show azure attributes object
        • peer_resource_group string
        • peer_subscription_id string
        • peer_tenant_id string
        • peer_vnet_name string
      • cloud_provider string

        Cloud provider where resources are created.

        Values are CLOUD_PROVIDER_AWS, CLOUD_PROVIDER_GCP, or CLOUD_PROVIDER_AZURE.

      • created_at string(date-time)
      • deleted_at string(date-time)
      • display_name string

        name can be set by the caller. unique within an organization.

      • gcp object
        Hide gcp attributes Show gcp attributes object
        • peer_project_id string
        • peer_vpc_name string
      • id string
      • network_id string
      • state string

        state is information describing the network_peering lifecycle. It is only modified by the control plane.

        Values are STATE_CREATING, STATE_PENDING_ACCEPTANCE, STATE_READY, STATE_DELETING, or STATE_FAILED.

      • status object
        Hide status attributes Show status attributes object
        • cloud_provider object
          Hide cloud_provider attributes Show cloud_provider attributes object
          • aws object
            Hide aws attributes Show aws attributes object
            • accepter_cidr_block string
            • expiration_time string(date-time)
            • status string
            • status_message string
          • azure object
            Hide azure attributes Show azure attributes object
            • peering_level string
            • peering_state string
            • status string
          • gcp object
            Hide gcp attributes Show gcp attributes object
            • status string
            • status_message string
        • created object
          Hide created attributes Show created attributes object
          • aws object
            Hide aws attribute Show aws attribute object
            • vpc_peering_connection_id string
          • azure object
            Hide azure attributes Show azure attributes object
            • application_id string
            • application_object_id string
          • gcp object
            Hide gcp attribute Show gcp attribute object
            • vpc_network_peering_name string
      • updated_at string(date-time)
  • 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.

  • default application/json

    An unexpected error response.

    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.

GET /v1/network/{network_id}/network-peerings
curl \
 --request GET 'https://api.redpanda.com/v1/network/{network_id}/network-peerings' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "network_peerings": [
    {
      "aws": {
        "peer_owner_id": "string",
        "peer_vpc_id": "string"
      },
      "azure": {
        "peer_resource_group": "string",
        "peer_subscription_id": "string",
        "peer_tenant_id": "string",
        "peer_vnet_name": "string"
      },
      "cloud_provider": "CLOUD_PROVIDER_AWS",
      "created_at": "2025-05-04T09:42:00Z",
      "deleted_at": "2025-05-04T09:42:00Z",
      "display_name": "string",
      "gcp": {
        "peer_project_id": "string",
        "peer_vpc_name": "string"
      },
      "id": "string",
      "network_id": "string",
      "state": "STATE_CREATING",
      "status": {
        "cloud_provider": {
          "aws": {
            "accepter_cidr_block": "string",
            "expiration_time": "2025-05-04T09:42:00Z",
            "status": "string",
            "status_message": "string"
          },
          "azure": {
            "peering_level": "string",
            "peering_state": "string",
            "status": "string"
          },
          "gcp": {
            "status": "string",
            "status_message": "string"
          }
        },
        "created": {
          "aws": {
            "vpc_peering_connection_id": "string"
          },
          "azure": {
            "application_id": "string",
            "application_object_id": "string"
          },
          "gcp": {
            "vpc_network_peering_name": "string"
          }
        }
      },
      "updated_at": "2025-05-04T09:42:00Z"
    }
  ]
}
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"
}
Response examples (default)
{
  "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"
}