Rancher Cluster Security Groups
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/rancher-cluster-security-groups/ |
List Rancher Cluster Security Groups |
| GET | /api/rancher-cluster-security-groups/{uuid}/ |
Retrieve |
| PUT | /api/rancher-cluster-security-groups/{uuid}/ |
Update |
| PATCH | /api/rancher-cluster-security-groups/{uuid}/ |
Partial Update |
List Rancher Cluster Security Groups
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
rancher_cluster_security_groups_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
cluster_uuid |
string (uuid) | |
name |
string | |
name_exact |
string | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
name |
string | |
description |
string | |
rules |
array of objects | |
rules.uuid |
string (uuid) | |
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) |
rules.from_port |
integer | Starting port number in the range (1-65535) |
rules.to_port |
integer | Ending port number in the range (1-65535) |
rules.cidr |
string | CIDR notation for the source/destination network address range |
rules.description |
string |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
rancher_cluster_security_groups_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
name |
string | |
description |
string | |
rules |
array of objects | |
rules.uuid |
string (uuid) | |
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) |
rules.from_port |
integer | Starting port number in the range (1-65535) |
rules.to_port |
integer | Ending port number in the range (1-65535) |
rules.cidr |
string | CIDR notation for the source/destination network address range |
rules.description |
string |
Update
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
ClusterSecurityGroupRequest - API Source:
rancher_cluster_security_groups_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
rules |
array of objects | ✓ | |
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' | |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) | |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) | |
rules.from_port |
integer | Starting port number in the range (1-65535) | |
rules.to_port |
integer | Ending port number in the range (1-65535) | |
rules.cidr |
string | CIDR notation for the source/destination network address range | |
rules.description |
string |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
name |
string | |
description |
string | |
rules |
array of objects | |
rules.uuid |
string (uuid) | |
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) |
rules.from_port |
integer | Starting port number in the range (1-65535) |
rules.to_port |
integer | Ending port number in the range (1-65535) |
rules.cidr |
string | CIDR notation for the source/destination network address range |
rules.description |
string |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedClusterSecurityGroupRequest - API Source:
rancher_cluster_security_groups_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
rules |
array of objects | ||
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' | |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) | |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) | |
rules.from_port |
integer | Starting port number in the range (1-65535) | |
rules.to_port |
integer | Ending port number in the range (1-65535) | |
rules.cidr |
string | CIDR notation for the source/destination network address range | |
rules.description |
string |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
name |
string | |
description |
string | |
rules |
array of objects | |
rules.uuid |
string (uuid) | |
rules.ethertype |
any | IP protocol version - either 'IPv4' or 'IPv6' |
rules.direction |
any | Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing) |
rules.protocol |
any | The network protocol (TCP, UDP, ICMP, or empty for any protocol) |
rules.from_port |
integer | Starting port number in the range (1-65535) |
rules.to_port |
integer | Ending port number in the range (1-65535) |
rules.cidr |
string | CIDR notation for the source/destination network address range |
rules.description |
string |