Cluster Network Firewall Rules V2

Operations related to perform bulk operation on Cluster network firewall rules, not supported for on-premises clusters

Add multiple network firewall rules in the cluster

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

ID of the cluster

required
Array of objects (ClusterAllNetworkFirewallRuleV2)

Firewall rules

Responses
202

Successfully added cluster network firewall rules

409

Any firewall rule of that kind already exists for that address in cluster

post/cluster-management/v2/resources/cluster-network-firewall-rules/v2/
Request samples
application/json
{
  • "clusterId": "91346037-b969-4c4d-8112-59e1d2aa67e9",
  • "firewallRules": [
    ],
  • "status": "RUNNING"
}
Response samples
application/json
{
  • "clusterId": "91346037-b969-4c4d-8112-59e1d2aa67e9",
  • "firewallRules": [
    ],
  • "status": "RUNNING"
}

Get Network Firewall rules for the cluster

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the cluster

Responses
200

Retrieved Network firewall rules for cluster

404

Cluster or Cluster Network Firewall Rule not found

get/cluster-management/v2/resources/cluster-network-firewall-rules/v2/{clusterId}
Request samples
Response samples
application/json
{
  • "clusterId": "91346037-b969-4c4d-8112-59e1d2aa67e9",
  • "firewallRules": [
    ],
  • "status": "RUNNING"
}

Update multiple network firewall rules in the cluster

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the cluster

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

ID of the cluster

required
Array of objects (ClusterAllNetworkFirewallRuleV2)

Firewall rules

Responses
202

Successfully updated cluster network firewall rules

404

Cluster or Cluster Network Firewall Rule not found

put/cluster-management/v2/resources/cluster-network-firewall-rules/v2/{clusterId}
Request samples
application/json
{
  • "clusterId": "91346037-b969-4c4d-8112-59e1d2aa67e9",
  • "firewallRules": [
    ],
  • "status": "RUNNING"
}
Response samples
application/json
{
  • "clusterId": "91346037-b969-4c4d-8112-59e1d2aa67e9",
  • "firewallRules": [
    ],
  • "status": "RUNNING"
}

Delete cluster network firewall rules

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the cluster

Responses
204

Cluster Network Firewall Rules successfully deleted

404

Cluster or Cluster Network Firewall Rule not found

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