You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-vpc-private-network-create-usage.golden
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
Create a private network.
3
+
Create a new Private Network. Once created, you can attach Scaleway resources in the same Availability Zone.
4
4
5
5
USAGE:
6
6
scw vpc private-network create [arg=value ...]
7
7
8
8
ARGS:
9
-
name=<generated> The name of the private network
9
+
name=<generated> Name for the Private Network
10
10
[project-id] Project ID to use. If none is passed the default project ID will be used
11
-
[tags.{index}] The private networks tags
12
-
[subnets.{index}] Private network subnets CIDR
11
+
[tags.{index}] Tags for the Private Network
12
+
[subnets.{index}] Private Network subnets CIDR
13
13
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-vpc-private-network-get-usage.golden
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
Get a private network.
3
+
Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
4
4
5
5
USAGE:
6
6
scw vpc private-network get <private-network-id ...> [arg=value ...]
7
7
8
8
ARGS:
9
-
private-network-id The private network id
9
+
private-network-id Private Network ID
10
10
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-vpc-private-network-list-usage.golden
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
List private networks.
3
+
List existing Private Networks in a specified Availability Zone. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
4
4
5
5
USAGE:
6
6
scw vpc private-network list [arg=value ...]
7
7
8
8
ARGS:
9
-
[order-by] The sort order of the returned private networks (created_at_asc | created_at_desc | name_asc | name_desc)
10
-
[name] Filter private networks with names containing this string
11
-
[tags.{index}] Filter private networks with one or more matching tags
12
-
[project-id] The project ID on which to filter the returned private networks
13
-
[private-network-ids.{index}] The PrivateNetwork IDs on which to filter the returned private networks
14
-
[include-regional] Include regional Private Networks
15
-
[organization-id] The organization ID on which to filter the returned private networks
9
+
[order-by] Sort order of the returned Private Networks (created_at_asc | created_at_desc | name_asc | name_desc)
10
+
[name] Name to filter for. Only Private Networks with names containing this string will be returned
11
+
[tags.{index}] Tags to filter for. Only Private Networks with one or more matching tags will be returned
12
+
[project-id] Project ID to filter for. Only Private Networks belonging to this Project will be returned
13
+
[private-network-ids.{index}] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned
14
+
[include-regional] Defines whether to include regional Private Networks in the response
15
+
[organization-id] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned
16
16
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all)
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`| Zone to target. If none is passed will use default zone from the config |
45
42
46
43
47
44
48
-
### Delete a private network
45
+
### Delete a Private Network
49
46
50
-
Delete a private network.
47
+
Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
| private-network-id | Required |The private network ID |
60
+
| private-network-id | Required |Private Network ID |
64
61
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`| Zone to target. If none is passed will use default zone from the config |
65
62
66
63
67
64
68
-
### Get a private network
65
+
### Get a Private Network
69
66
70
-
Get a private network.
67
+
Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`| Zone to target. If none is passed will use default zone from the config |
85
82
86
83
87
84
88
-
### List private networks
85
+
### List Private Networks
89
86
90
-
List private networks.
87
+
List existing Private Networks in a specified Availability Zone. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
91
88
92
89
**Usage:**
93
90
@@ -100,20 +97,20 @@ scw vpc private-network list [arg=value ...]
100
97
101
98
| Name || Description |
102
99
|------|---|-------------|
103
-
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`|The sort order of the returned private networks|
104
-
| name ||Filter private networks with names containing this string |
105
-
| tags.{index} ||Filter private networks with one or more matching tags |
106
-
| project-id ||The project ID on which to filter the returned private networks|
107
-
| private-network-ids.{index} ||The PrivateNetwork IDs on which to filter the returned private networks|
| organization-id ||The organization ID on which to filter the returned private networks|
100
+
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`|Sort order of the returned Private Networks|
101
+
| name ||Name to filter for. Only Private Networks with names containing this string will be returned|
102
+
| tags.{index} ||Tags to filter for. Only Private Networks with one or more matching tags will be returned|
103
+
| project-id ||Project ID to filter for. Only Private Networks belonging to this Project will be returned|
104
+
| private-network-ids.{index} ||Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned|
105
+
| include-regional ||Defines whether to include regional Private Networks in the response|
106
+
| organization-id ||Organization ID to filter for. Only Private Networks belonging to this Organization will be returned|
110
107
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all`| Zone to target. If none is passed will use default zone from the config |
111
108
112
109
113
110
114
-
### Update private network
111
+
### Update Private Network
115
112
116
-
Update private network.
113
+
Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`| Zone to target. If none is passed will use default zone from the config |
0 commit comments