forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-all-usage-dns-record-bulk-update-usage.golden
More file actions
82 lines (76 loc) · 6.91 KB
/
test-all-usage-dns-record-bulk-update-usage.golden
File metadata and controls
82 lines (76 loc) · 6.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update records within a DNS zone that has default name servers and perform several actions on your records.
Actions include:
- add: allows you to add a new record or add a new IP to an existing A record, for example
- set: allows you to edit a record or edit an IP from an existing A record, for example
- delete: allows you to delete a record or delete an IP from an existing A record, for example
- clear: allows you to delete all records from a DNS zone
All edits will be versioned.
USAGE:
scw dns record bulk-update <dns-zone ...> [arg=value ...]
ARGS:
dns-zone DNS zone in which to update the DNS zone records
[changes.{index}.add.records.{index}.data]
[changes.{index}.add.records.{index}.name]
[changes.{index}.add.records.{index}.priority]
[changes.{index}.add.records.{index}.ttl]
[changes.{index}.add.records.{index}.type] (unknown | A | AAAA | CNAME | TXT | SRV | TLSA | MX | NS | PTR | CAA | ALIAS | LOC | SSHFP | HINFO | RP | URI | DS | NAPTR | DNAME | SVCB | HTTPS)
[changes.{index}.add.records.{index}.comment]
[changes.{index}.add.records.{index}.geo-ip-config.matches.{index}.countries.{index}]
[changes.{index}.add.records.{index}.geo-ip-config.matches.{index}.continents.{index}]
[changes.{index}.add.records.{index}.geo-ip-config.matches.{index}.data]
[changes.{index}.add.records.{index}.geo-ip-config.default]
[changes.{index}.add.records.{index}.http-service-config.ips.{index}]
[changes.{index}.add.records.{index}.http-service-config.must-contain]
[changes.{index}.add.records.{index}.http-service-config.url]
[changes.{index}.add.records.{index}.http-service-config.user-agent]
[changes.{index}.add.records.{index}.http-service-config.strategy] (random | hashed | all)
[changes.{index}.add.records.{index}.weighted-config.weighted-ips.{index}.ip]
[changes.{index}.add.records.{index}.weighted-config.weighted-ips.{index}.weight]
[changes.{index}.add.records.{index}.view-config.views.{index}.subnet]
[changes.{index}.add.records.{index}.view-config.views.{index}.data]
[changes.{index}.add.records.{index}.id]
[changes.{index}.add.records.{index}.updated-at]
[changes.{index}.set.id]
[changes.{index}.set.id-fields.name]
[changes.{index}.set.id-fields.type] (unknown | A | AAAA | CNAME | TXT | SRV | TLSA | MX | NS | PTR | CAA | ALIAS | LOC | SSHFP | HINFO | RP | URI | DS | NAPTR | DNAME | SVCB | HTTPS)
[changes.{index}.set.id-fields.data]
[changes.{index}.set.id-fields.ttl]
[changes.{index}.set.records.{index}.data]
[changes.{index}.set.records.{index}.name]
[changes.{index}.set.records.{index}.priority]
[changes.{index}.set.records.{index}.ttl]
[changes.{index}.set.records.{index}.type] (unknown | A | AAAA | CNAME | TXT | SRV | TLSA | MX | NS | PTR | CAA | ALIAS | LOC | SSHFP | HINFO | RP | URI | DS | NAPTR | DNAME | SVCB | HTTPS)
[changes.{index}.set.records.{index}.comment]
[changes.{index}.set.records.{index}.geo-ip-config.matches.{index}.countries.{index}]
[changes.{index}.set.records.{index}.geo-ip-config.matches.{index}.continents.{index}]
[changes.{index}.set.records.{index}.geo-ip-config.matches.{index}.data]
[changes.{index}.set.records.{index}.geo-ip-config.default]
[changes.{index}.set.records.{index}.http-service-config.ips.{index}]
[changes.{index}.set.records.{index}.http-service-config.must-contain]
[changes.{index}.set.records.{index}.http-service-config.url]
[changes.{index}.set.records.{index}.http-service-config.user-agent]
[changes.{index}.set.records.{index}.http-service-config.strategy] (random | hashed | all)
[changes.{index}.set.records.{index}.weighted-config.weighted-ips.{index}.ip]
[changes.{index}.set.records.{index}.weighted-config.weighted-ips.{index}.weight]
[changes.{index}.set.records.{index}.view-config.views.{index}.subnet]
[changes.{index}.set.records.{index}.view-config.views.{index}.data]
[changes.{index}.set.records.{index}.id]
[changes.{index}.set.records.{index}.updated-at]
[changes.{index}.delete.id]
[changes.{index}.delete.id-fields.name]
[changes.{index}.delete.id-fields.type] (unknown | A | AAAA | CNAME | TXT | SRV | TLSA | MX | NS | PTR | CAA | ALIAS | LOC | SSHFP | HINFO | RP | URI | DS | NAPTR | DNAME | SVCB | HTTPS)
[changes.{index}.delete.id-fields.data]
[changes.{index}.delete.id-fields.ttl]
[return-all-records] Specifies whether or not to return all the records
[disallow-new-zone-creation] Disable the creation of the target zone if it does not exist. Target zone creation is disabled by default
[serial] Use the provided serial (0) instead of the auto-increment serial
FLAGS:
-h, --help help for bulk-update
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use