We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cf1e63 commit 5ae5656Copy full SHA for 5ae5656
docs/cookbook.md
@@ -87,3 +87,11 @@ scw instance server list zone=all -o template="{{.ID}} zone={{.Zone}}" | xargs -
87
# Get all backup older than 7 days
88
scw rdb backup list -ojson | jq --arg d "$(date -d "7 days ago" --utc --iso-8601=ns)" '.[] | select (.created_at < $d)'
89
```
90
+
91
+## IPAM
92
93
+### Find resource ipv4 with exact name using jq
94
95
+```bash
96
+scw ipam ip list resource-name=<server-name> is-ipv6=false -ojson | jq '.[] | select(.resource.name == "<server-name>")'
97
+```
0 commit comments