Skip to content

Commit fccdbeb

Browse files
authored
feat(datawarehouse): add datawarehouse support (#5294)
1 parent 2d6e718 commit fccdbeb

25 files changed

+857
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a new database within a deployment.
4+
5+
USAGE:
6+
scw datawarehouse database create [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment
10+
[name] Name of the database
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for create
15+
--list-sub-commands List all subcommands
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete a database from a deployment.
4+
5+
USAGE:
6+
scw datawarehouse database delete [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment
10+
name Name of the database to delete
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for delete
15+
--list-sub-commands List all subcommands
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List databases within a deployment.
4+
5+
USAGE:
6+
scw datawarehouse database list [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment
10+
[name] Name of the database to filter by
11+
[order-by] Criteria to use when ordering database listings (name_asc | name_desc | size_asc | size_desc)
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
13+
14+
FLAGS:
15+
-h, --help help for list
16+
--list-sub-commands List all subcommands
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Manage databases within a deployment.
4+
5+
USAGE:
6+
scw datawarehouse database <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create a new database within a deployment
10+
delete Delete a database from a deployment
11+
list List databases within a deployment
12+
13+
FLAGS:
14+
-h, --help help for database
15+
--list-sub-commands List all subcommands
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
22+
23+
Use "scw datawarehouse database [command] --help" for more information about a command.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a new deployment.
4+
5+
USAGE:
6+
scw datawarehouse deployment create [arg=value ...]
7+
8+
ARGS:
9+
[project-id] Project ID to use. If none is passed the default project ID will be used
10+
[name] Name of the deployment
11+
[tags.{index}] Tags to apply to the deployment
12+
[version] ClickHouse® version to use for the deployment
13+
[replica-count] Number of replicas for the deployment
14+
[password] Password for the initial user
15+
[cpu-min] Minimum CPU count for the deployment
16+
[cpu-max] Maximum CPU count for the deployment
17+
[endpoints.{index}.private-network.private-network-id] UUID of the Private Network
18+
[ram-per-cpu] RAM per CPU count for the deployment (in GB)
19+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
20+
21+
FLAGS:
22+
-h, --help help for create
23+
--list-sub-commands List all subcommands
24+
25+
GLOBAL FLAGS:
26+
-c, --config string The path to the config file
27+
-D, --debug Enable debug mode
28+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
29+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete a given deployment, specified by the `region` and `deployment_id` parameters. Deleting a deployment is permanent, and cannot be undone. Upon deletion, all your data will be lost.
4+
5+
USAGE:
6+
scw datawarehouse deployment delete <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
--list-sub-commands List all subcommands
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Retrieve information about a given deployment, specified by the `region` and `deployment_id` parameters. Its full details, including name, status are returned in the response object.
4+
5+
USAGE:
6+
scw datawarehouse deployment get <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
--list-sub-commands List all subcommands
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List all deployments in the specified region, for a given Scaleway Project. By default, the deployments returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you provide will be checked against the whole name string to see if it includes the string you put in the parameter.
4+
5+
USAGE:
6+
scw datawarehouse deployment list [arg=value ...]
7+
8+
ARGS:
9+
[tags.{index}] List deployments with a given tag
10+
[name] Lists deployments that match a name pattern
11+
[order-by] Criteria to use when ordering deployment listings (created_at_desc | created_at_asc | name_asc | name_desc)
12+
[project-id] Project ID the deployment belongs to
13+
[organization-id] Organization ID the deployment belongs to
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
--list-sub-commands List all subcommands
19+
20+
GLOBAL FLAGS:
21+
-c, --config string The path to the config file
22+
-D, --debug Enable debug mode
23+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
24+
-p, --profile string The config profile to use
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update the parameters of a deployment.
4+
5+
USAGE:
6+
scw datawarehouse deployment update <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id UUID of the deployment to update
10+
[name] Name of the deployment
11+
[tags.{index}] Tags of a deployment
12+
[cpu-min] Minimum CPU count for the deployment
13+
[cpu-max] Maximum CPU count for the deployment
14+
[replica-count] Number of replicas for the deployment
15+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
16+
17+
FLAGS:
18+
-h, --help help for update
19+
--list-sub-commands List all subcommands
20+
21+
GLOBAL FLAGS:
22+
-c, --config string The path to the config file
23+
-D, --debug Enable debug mode
24+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
25+
-p, --profile string The config profile to use
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
A deployment is composed of one or multiple replicas.
4+
5+
USAGE:
6+
scw datawarehouse deployment <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create a deployment
10+
delete Delete a deployment
11+
get Get a deployment
12+
list List deployments
13+
update Update a deployment
14+
15+
FLAGS:
16+
-h, --help help for deployment
17+
--list-sub-commands List all subcommands
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
24+
25+
Use "scw datawarehouse deployment [command] --help" for more information about a command.

0 commit comments

Comments
 (0)