Skip to content

Commit 2f79e0d

Browse files
authored
feat(ipam): add llm_deployment resource (#3636)
1 parent bb53bb3 commit 2f79e0d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-ipam-ip-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARGS:
1212
[private-network-id] Private Network to filter for
1313
[attached] Defines whether to filter only for IPs which are attached to a resource
1414
[resource-id] Resource ID to filter for. Only IPs attached to this resource will be returned
15-
[resource-type] Resource type to filter for. Only IPs attached to this type of resource will be returned (unknown_type | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic)
15+
[resource-type] Resource type to filter for. Only IPs attached to this type of resource will be returned (unknown_type | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic | llm_deployment)
1616
[mac-address] MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned
1717
[tags.{index}] Tags to filter for, only IPs with one or more matching tags will be returned
1818
[is-ipv6] Defines whether to filter only for IPv4s or IPv6s

docs/commands/ipam.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ scw ipam ip list [arg=value ...]
102102
| private-network-id | | Private Network to filter for |
103103
| attached | | Defines whether to filter only for IPs which are attached to a resource |
104104
| resource-id | | Resource ID to filter for. Only IPs attached to this resource will be returned |
105-
| resource-type | One of: `unknown_type`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic` | Resource type to filter for. Only IPs attached to this type of resource will be returned |
105+
| resource-type | One of: `unknown_type`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic`, `llm_deployment` | Resource type to filter for. Only IPs attached to this type of resource will be returned |
106106
| mac-address | | MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned |
107107
| tags.{index} | | Tags to filter for, only IPs with one or more matching tags will be returned |
108108
| is-ipv6 | | Defines whether to filter only for IPv4s or IPv6s |

internal/namespaces/ipam/v1/ipam_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func ipamIPList() *core.Command {
287287
Required: false,
288288
Deprecated: false,
289289
Positional: false,
290-
EnumValues: []string{"unknown_type", "instance_server", "instance_ip", "instance_private_nic", "lb_server", "fip_ip", "vpc_gateway", "vpc_gateway_network", "k8s_node", "k8s_cluster", "rdb_instance", "redis_cluster", "baremetal_server", "baremetal_private_nic"},
290+
EnumValues: []string{"unknown_type", "instance_server", "instance_ip", "instance_private_nic", "lb_server", "fip_ip", "vpc_gateway", "vpc_gateway_network", "k8s_node", "k8s_cluster", "rdb_instance", "redis_cluster", "baremetal_server", "baremetal_private_nic", "llm_deployment"},
291291
},
292292
{
293293
Name: "mac-address",

0 commit comments

Comments
 (0)