Skip to content

Commit 86d960a

Browse files
committed
Fix
1 parent 30ab356 commit 86d960a

1 file changed

Lines changed: 336 additions & 0 deletions

File tree

docs/commands/container.md

Lines changed: 336 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,336 @@
1+
<!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen -->
2+
# Documentation for `scw container`
3+
Container as a Service API
4+
5+
- [Container management commands](#container-management-commands)
6+
- [Create a new container](#create-a-new-container)
7+
- [Delete a container](#delete-a-container)
8+
- [Get a container](#get-a-container)
9+
- [List all your containers](#list-all-your-containers)
10+
- [Update an existing container](#update-an-existing-container)
11+
- [Cron management commands](#cron-management-commands)
12+
- [Delete an existing cron](#delete-an-existing-cron)
13+
- [Get a cron](#get-a-cron)
14+
- [List all your crons](#list-all-your-crons)
15+
- [Namespace management commands](#namespace-management-commands)
16+
- [Create a new namespace](#create-a-new-namespace)
17+
- [Delete an existing namespace](#delete-an-existing-namespace)
18+
- [Get a namespace](#get-a-namespace)
19+
- [List all your namespaces](#list-all-your-namespaces)
20+
- [Update an existing namespace](#update-an-existing-namespace)
21+
22+
23+
## Container management commands
24+
25+
Container management commands.
26+
27+
28+
### Create a new container
29+
30+
Create a new container.
31+
32+
**Usage:**
33+
34+
```
35+
scw container container create [arg=value ...]
36+
```
37+
38+
39+
**Args:**
40+
41+
| Name | | Description |
42+
|------|---|-------------|
43+
| namespace-id | | |
44+
| name | Default: `<generated>` | |
45+
| environment-variables.value.{key} | | |
46+
| min-scale | | |
47+
| max-scale | | |
48+
| memory-limit | | |
49+
| timeout.seconds | | |
50+
| timeout.nanos | | |
51+
| privacy | One of: `unknown_privacy`, `public`, `private` | |
52+
| description | | |
53+
| registry-image | | |
54+
| max-concurrency | | |
55+
| domain-name | | |
56+
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | |
57+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
58+
59+
60+
61+
### Delete a container
62+
63+
Delete the container associated with the given id.
64+
65+
**Usage:**
66+
67+
```
68+
scw container container delete <container-id ...> [arg=value ...]
69+
```
70+
71+
72+
**Args:**
73+
74+
| Name | | Description |
75+
|------|---|-------------|
76+
| container-id | Required | |
77+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
78+
79+
80+
81+
### Get a container
82+
83+
Get the container associated with the given id.
84+
85+
**Usage:**
86+
87+
```
88+
scw container container get <container-id ...> [arg=value ...]
89+
```
90+
91+
92+
**Args:**
93+
94+
| Name | | Description |
95+
|------|---|-------------|
96+
| container-id | Required | |
97+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
98+
99+
100+
101+
### List all your containers
102+
103+
List all your containers.
104+
105+
**Usage:**
106+
107+
```
108+
scw container container list [arg=value ...]
109+
```
110+
111+
112+
**Args:**
113+
114+
| Name | | Description |
115+
|------|---|-------------|
116+
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | |
117+
| namespace-id | | |
118+
| name | | |
119+
| project-id | | |
120+
| organization-id | | |
121+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
122+
123+
124+
125+
### Update an existing container
126+
127+
Update the container associated with the given id.
128+
129+
**Usage:**
130+
131+
```
132+
scw container container update <container-id ...> [arg=value ...]
133+
```
134+
135+
136+
**Args:**
137+
138+
| Name | | Description |
139+
|------|---|-------------|
140+
| container-id | Required | |
141+
| environment-variables.value.{key} | | |
142+
| min-scale | | |
143+
| max-scale | | |
144+
| memory-limit | | |
145+
| timeout.seconds | | |
146+
| timeout.nanos | | |
147+
| redeploy | | |
148+
| privacy | One of: `unknown_privacy`, `public`, `private` | |
149+
| description | | |
150+
| registry-image | | |
151+
| max-concurrency | | |
152+
| domain-name | | |
153+
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | |
154+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
155+
156+
157+
158+
## Cron management commands
159+
160+
Cron management commands.
161+
162+
163+
### Delete an existing cron
164+
165+
Delete the cron associated with the given id.
166+
167+
**Usage:**
168+
169+
```
170+
scw container cron delete <cron-id ...> [arg=value ...]
171+
```
172+
173+
174+
**Args:**
175+
176+
| Name | | Description |
177+
|------|---|-------------|
178+
| cron-id | Required | |
179+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
180+
181+
182+
183+
### Get a cron
184+
185+
Get the cron associated with the given id.
186+
187+
**Usage:**
188+
189+
```
190+
scw container cron get <cron-id ...> [arg=value ...]
191+
```
192+
193+
194+
**Args:**
195+
196+
| Name | | Description |
197+
|------|---|-------------|
198+
| cron-id | Required | |
199+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
200+
201+
202+
203+
### List all your crons
204+
205+
List all your crons.
206+
207+
**Usage:**
208+
209+
```
210+
scw container cron list [arg=value ...]
211+
```
212+
213+
214+
**Args:**
215+
216+
| Name | | Description |
217+
|------|---|-------------|
218+
| order-by | One of: `created_at_asc`, `created_at_desc` | |
219+
| container-id | | |
220+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
221+
222+
223+
224+
## Namespace management commands
225+
226+
Namespace management commands.
227+
228+
229+
### Create a new namespace
230+
231+
Create a new namespace.
232+
233+
**Usage:**
234+
235+
```
236+
scw container namespace create [arg=value ...]
237+
```
238+
239+
240+
**Args:**
241+
242+
| Name | | Description |
243+
|------|---|-------------|
244+
| name | Default: `<generated>` | |
245+
| environment-variables.value.{key} | | |
246+
| project-id | | Project ID to use. If none is passed the default project ID will be used |
247+
| description | | |
248+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
249+
250+
251+
252+
### Delete an existing namespace
253+
254+
Delete the namespace associated with the given id.
255+
256+
**Usage:**
257+
258+
```
259+
scw container namespace delete <namespace-id ...> [arg=value ...]
260+
```
261+
262+
263+
**Args:**
264+
265+
| Name | | Description |
266+
|------|---|-------------|
267+
| namespace-id | Required | |
268+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
269+
270+
271+
272+
### Get a namespace
273+
274+
Get the namespace associated with the given id.
275+
276+
**Usage:**
277+
278+
```
279+
scw container namespace get <namespace-id ...> [arg=value ...]
280+
```
281+
282+
283+
**Args:**
284+
285+
| Name | | Description |
286+
|------|---|-------------|
287+
| namespace-id | Required | |
288+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
289+
290+
291+
292+
### List all your namespaces
293+
294+
List all your namespaces.
295+
296+
**Usage:**
297+
298+
```
299+
scw container namespace list [arg=value ...]
300+
```
301+
302+
303+
**Args:**
304+
305+
| Name | | Description |
306+
|------|---|-------------|
307+
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | |
308+
| name | | |
309+
| project-id | | |
310+
| organization-id | | |
311+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
312+
313+
314+
315+
### Update an existing namespace
316+
317+
Update the space associated with the given id.
318+
319+
**Usage:**
320+
321+
```
322+
scw container namespace update <namespace-id ...> [arg=value ...]
323+
```
324+
325+
326+
**Args:**
327+
328+
| Name | | Description |
329+
|------|---|-------------|
330+
| namespace-id | Required | |
331+
| environment-variables.value.{key} | | |
332+
| description | | |
333+
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
334+
335+
336+

0 commit comments

Comments
 (0)