Cluster Network Firewall Rule V2

List all cluster network firewall rules

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the cluster.

Responses
200

Successfully retrieved cluster network firewall rules.

get/cluster-management/v2/data-sources/cluster/{clusterId}/network-firewall-rules/v2
Request samples
Response samples
application/json
[
  • {
    }
]

Add a cluster network firewall rule

SecurityBasic Authentication
Request
Request Body schema: application/json
clusterId
required
string <uuid>

ID of the cluster for the cluster network firewall rule.

type
required
string (FirewallRuleTypesV2)

The type of firewall rule.

Enum: "APACHE_ZOOKEEPER" "CADENCE" "CADENCE_GRPC" "CADENCE_WEB" "CASSANDRA" "CASSANDRA_CQL" "ELASTICSEARCH" "KAFKA" "KAFKA_CONNECT" "KAFKA_ENCRYPTION" "KAFKA_MTLS" "KAFKA_NO_ENCRYPTION" "KAFKA_REST_PROXY" "KAFKA_SCHEMA_REGISTRY" "KARAPACE_REST_PROXY" "KARAPACE_SCHEMA_REGISTRY" "OPENSEARCH" "OPENSEARCH_DASHBOARDS" "PGBOUNCER" "POSTGRESQL" "REDIS" "SEARCH_DASHBOARDS" "SECURE_APACHE_ZOOKEEPER" "SPARK" "SPARK_JOBSERVER" "SHOTOVER_PROXY"
network
required
string

The network of the cluster network firewall rule.

Responses
202

Successfully added the cluster network firewall rule.

post/cluster-management/v2/resources/network-firewall-rules/v2
Request samples
application/json
{
  • "clusterId": "c1af59c6-ba0e-4cc2-a0f3-65cee17a5f37",
  • "network": "219.90.173.177/32",
  • "type": "CASSANDRA"
}
Response samples
application/json
{
  • "clusterId": "c1af59c6-ba0e-4cc2-a0f3-65cee17a5f37",
  • "network": "219.90.173.177/32",
  • "type": "CASSANDRA"
}

Get cluster network firewall rule details

SecurityBasic Authentication
Request
path Parameters
firewallRuleId
required
string <uuid>

ID of the cluster network firewall rule.

Responses
200

Retrieved the details of the cluster network firewall rule.

404

Cluster network firewall rule not found

get/cluster-management/v2/resources/network-firewall-rules/v2/{firewallRuleId}
Request samples
Response samples
application/json
{
  • "clusterId": "c1af59c6-ba0e-4cc2-a0f3-65cee17a5f37",
  • "network": "219.90.173.177/32",
  • "type": "CASSANDRA"
}

Delete cluster network firewall rule

SecurityBasic Authentication
Request
path Parameters
firewallRuleId
required
string <uuid>

ID of the cluster network firewall rule.

Responses
204

Cluster Network Firewall Rule successfully deleted.

404

Cluster Network Firewall Rule not found

delete/cluster-management/v2/resources/network-firewall-rules/v2/{firewallRuleId}
Request samples
Response samples
application/json
{
  • "errors": [
    ]
}