Creates a ruleset that consists of a set of rules.
POST
/deployments/traffic-filter/rulesets
curl \
--request POST 'https://{{hostname}}/api/v1/deployments/traffic-filter/rulesets' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{
"name": "string",
"description": "string",
"type": "string",
"include_by_default": true,
"region": "string",
"rules": [
{
"id": "string",
"remote_cluster_org_id": "string",
"remote_cluster_id": "string",
"description": "string",
"source": "string",
"azure_endpoint_name": "string",
"azure_endpoint_guid": "string",
"egress_rule": {
"target": "string",
"ports": [
42
],
"protocol": "all"
}
}
]
}'