knife-ionoscloud 5.1.1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/README.md +5 -6
- data/docs/subcommands/backupunit_create.md +1 -1
- data/docs/subcommands/backupunit_get.md +35 -0
- data/docs/subcommands/backupunit_update.md +41 -0
- data/docs/subcommands/datacenter_get.md +35 -0
- data/docs/subcommands/datacenter_update.md +44 -0
- data/docs/subcommands/firewall_create.md +1 -1
- data/docs/subcommands/firewall_get.md +47 -0
- data/docs/subcommands/firewall_update.md +71 -0
- data/docs/subcommands/group_update.md +65 -0
- data/docs/subcommands/ipblock_get.md +35 -0
- data/docs/subcommands/ipblock_update.md +38 -0
- data/docs/subcommands/k8s_create.md +8 -5
- data/docs/subcommands/k8s_get.md +35 -0
- data/docs/subcommands/k8s_update.md +53 -0
- data/docs/subcommands/lan_get.md +39 -0
- data/docs/subcommands/lan_update.md +51 -0
- data/docs/subcommands/loadbalancer_create.md +1 -1
- data/docs/subcommands/loadbalancer_update.md +48 -0
- data/docs/subcommands/nic_create.md +3 -3
- data/docs/subcommands/nic_delete.md +1 -1
- data/docs/subcommands/nic_get.md +43 -0
- data/docs/subcommands/nic_update.md +58 -0
- data/docs/subcommands/node_get.md +43 -0
- data/docs/subcommands/nodepool_create.md +11 -5
- data/docs/subcommands/nodepool_get.md +39 -0
- data/docs/subcommands/nodepool_update.md +69 -0
- data/docs/subcommands/pcc_get.md +35 -0
- data/docs/subcommands/pcc_update.md +41 -0
- data/docs/subcommands/request_get.md +35 -0
- data/docs/subcommands/s3key_get.md +39 -0
- data/docs/subcommands/server_get.md +39 -0
- data/docs/subcommands/server_update.md +60 -0
- data/docs/subcommands/share_create.md +1 -1
- data/docs/subcommands/share_delete.md +2 -2
- data/docs/subcommands/share_get.md +39 -0
- data/docs/subcommands/share_update.md +45 -0
- data/docs/subcommands/snapshot_get.md +35 -0
- data/docs/subcommands/snapshot_update.md +77 -0
- data/docs/subcommands/user_create.md +9 -3
- data/docs/subcommands/user_get.md +35 -0
- data/docs/subcommands/user_update.md +56 -0
- data/docs/subcommands/volume_create.md +19 -1
- data/docs/subcommands/volume_get.md +39 -0
- data/docs/subcommands/volume_update.md +66 -0
- data/docs/summary.md +33 -0
- data/lib/chef/knife/ionoscloud_backupunit_create.rb +10 -15
- data/lib/chef/knife/ionoscloud_backupunit_delete.rb +1 -4
- data/lib/chef/knife/ionoscloud_backupunit_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_backupunit_update.rb +62 -0
- data/lib/chef/knife/ionoscloud_base.rb +236 -6
- data/lib/chef/knife/ionoscloud_composite_server_create.rb +1 -13
- data/lib/chef/knife/ionoscloud_datacenter_create.rb +10 -13
- data/lib/chef/knife/ionoscloud_datacenter_delete.rb +1 -7
- data/lib/chef/knife/ionoscloud_datacenter_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_datacenter_list.rb +3 -1
- data/lib/chef/knife/ionoscloud_datacenter_update.rb +67 -0
- data/lib/chef/knife/ionoscloud_firewall_create.rb +2 -13
- data/lib/chef/knife/ionoscloud_firewall_delete.rb +2 -10
- data/lib/chef/knife/ionoscloud_firewall_get.rb +50 -0
- data/lib/chef/knife/ionoscloud_firewall_update.rb +131 -0
- data/lib/chef/knife/ionoscloud_group_create.rb +17 -27
- data/lib/chef/knife/ionoscloud_group_delete.rb +1 -11
- data/lib/chef/knife/ionoscloud_group_get.rb +1 -11
- data/lib/chef/knife/ionoscloud_group_list.rb +13 -7
- data/lib/chef/knife/ionoscloud_group_update.rb +114 -0
- data/lib/chef/knife/ionoscloud_group_user_add.rb +1 -13
- data/lib/chef/knife/ionoscloud_group_user_remove.rb +1 -13
- data/lib/chef/knife/ionoscloud_ipblock_create.rb +10 -13
- data/lib/chef/knife/ionoscloud_ipblock_delete.rb +2 -4
- data/lib/chef/knife/ionoscloud_ipblock_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_ipblock_list.rb +1 -1
- data/lib/chef/knife/ionoscloud_ipblock_update.rb +57 -0
- data/lib/chef/knife/ionoscloud_ipfailover_add.rb +7 -14
- data/lib/chef/knife/ionoscloud_ipfailover_remove.rb +1 -8
- data/lib/chef/knife/ionoscloud_k8s_create.rb +27 -30
- data/lib/chef/knife/ionoscloud_k8s_delete.rb +1 -9
- data/lib/chef/knife/ionoscloud_k8s_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_k8s_update.rb +99 -0
- data/lib/chef/knife/ionoscloud_lan_create.rb +5 -13
- data/lib/chef/knife/ionoscloud_lan_delete.rb +2 -3
- data/lib/chef/knife/ionoscloud_lan_get.rb +38 -0
- data/lib/chef/knife/ionoscloud_lan_list.rb +3 -1
- data/lib/chef/knife/ionoscloud_lan_update.rb +87 -0
- data/lib/chef/knife/ionoscloud_loadbalancer_create.rb +3 -14
- data/lib/chef/knife/ionoscloud_loadbalancer_delete.rb +1 -9
- data/lib/chef/knife/ionoscloud_loadbalancer_get.rb +3 -13
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_add.rb +3 -13
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_remove.rb +3 -13
- data/lib/chef/knife/ionoscloud_loadbalancer_update.rb +73 -0
- data/lib/chef/knife/ionoscloud_nic_create.rb +14 -27
- data/lib/chef/knife/ionoscloud_nic_delete.rb +3 -8
- data/lib/chef/knife/ionoscloud_nic_get.rb +47 -0
- data/lib/chef/knife/ionoscloud_nic_update.rb +93 -0
- data/lib/chef/knife/ionoscloud_node_delete.rb +1 -6
- data/lib/chef/knife/ionoscloud_node_get.rb +47 -0
- data/lib/chef/knife/ionoscloud_nodepool_create.rb +45 -52
- data/lib/chef/knife/ionoscloud_nodepool_delete.rb +1 -7
- data/lib/chef/knife/ionoscloud_nodepool_get.rb +41 -0
- data/lib/chef/knife/ionoscloud_nodepool_update.rb +124 -0
- data/lib/chef/knife/ionoscloud_pcc_create.rb +10 -16
- data/lib/chef/knife/ionoscloud_pcc_delete.rb +1 -9
- data/lib/chef/knife/ionoscloud_pcc_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_pcc_update.rb +63 -0
- data/lib/chef/knife/ionoscloud_request_get.rb +40 -0
- data/lib/chef/knife/ionoscloud_s3key_create.rb +1 -5
- data/lib/chef/knife/ionoscloud_s3key_delete.rb +1 -4
- data/lib/chef/knife/ionoscloud_s3key_get.rb +38 -0
- data/lib/chef/knife/ionoscloud_server_create.rb +12 -24
- data/lib/chef/knife/ionoscloud_server_delete.rb +1 -9
- data/lib/chef/knife/ionoscloud_server_get.rb +41 -0
- data/lib/chef/knife/ionoscloud_server_update.rb +97 -0
- data/lib/chef/knife/ionoscloud_share_create.rb +7 -12
- data/lib/chef/knife/ionoscloud_share_delete.rb +2 -4
- data/lib/chef/knife/ionoscloud_share_get.rb +38 -0
- data/lib/chef/knife/ionoscloud_share_update.rb +70 -0
- data/lib/chef/knife/ionoscloud_snapshot_create.rb +1 -9
- data/lib/chef/knife/ionoscloud_snapshot_delete.rb +1 -6
- data/lib/chef/knife/ionoscloud_snapshot_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_snapshot_update.rb +126 -0
- data/lib/chef/knife/ionoscloud_user_create.rb +24 -20
- data/lib/chef/knife/ionoscloud_user_delete.rb +1 -7
- data/lib/chef/knife/ionoscloud_user_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_user_update.rb +92 -0
- data/lib/chef/knife/ionoscloud_volume_create.rb +43 -23
- data/lib/chef/knife/ionoscloud_volume_delete.rb +1 -8
- data/lib/chef/knife/ionoscloud_volume_detach.rb +1 -8
- data/lib/chef/knife/ionoscloud_volume_get.rb +36 -0
- data/lib/chef/knife/ionoscloud_volume_update.rb +106 -0
- data/lib/knife-ionoscloud/version.rb +1 -1
- data/spec/chef/knife/ionoscloud_backupunit_get_spec.rb +65 -0
- data/spec/chef/knife/ionoscloud_backupunit_update_spec.rb +78 -0
- data/spec/chef/knife/ionoscloud_datacenter_create_spec.rb +10 -0
- data/spec/chef/knife/ionoscloud_datacenter_delete_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_datacenter_get_spec.rb +69 -0
- data/spec/chef/knife/ionoscloud_datacenter_list_spec.rb +3 -1
- data/spec/chef/knife/ionoscloud_datacenter_update_spec.rb +82 -0
- data/spec/chef/knife/ionoscloud_firewall_get_spec.rb +76 -0
- data/spec/chef/knife/ionoscloud_firewall_update_spec.rb +116 -0
- data/spec/chef/knife/ionoscloud_group_create_spec.rb +7 -0
- data/spec/chef/knife/ionoscloud_group_delete_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_group_get_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_group_list_spec.rb +17 -8
- data/spec/chef/knife/ionoscloud_group_update_spec.rb +109 -0
- data/spec/chef/knife/ionoscloud_group_user_add_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_group_user_remove_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_ipblock_delete_spec.rb +2 -0
- data/spec/chef/knife/ionoscloud_ipblock_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_ipblock_list_spec.rb +1 -1
- data/spec/chef/knife/ionoscloud_ipblock_update_spec.rb +79 -0
- data/spec/chef/knife/ionoscloud_ipfailover_add_spec.rb +2 -1
- data/spec/chef/knife/ionoscloud_ipfailover_remove_spec.rb +4 -3
- data/spec/chef/knife/ionoscloud_k8s_create_spec.rb +8 -0
- data/spec/chef/knife/ionoscloud_k8s_delete_spec.rb +7 -1
- data/spec/chef/knife/ionoscloud_k8s_get_spec.rb +73 -0
- data/spec/chef/knife/ionoscloud_k8s_update_spec.rb +115 -0
- data/spec/chef/knife/ionoscloud_lan_create_spec.rb +1 -0
- data/spec/chef/knife/ionoscloud_lan_delete_spec.rb +2 -0
- data/spec/chef/knife/ionoscloud_lan_get_spec.rb +68 -0
- data/spec/chef/knife/ionoscloud_lan_list_spec.rb +3 -1
- data/spec/chef/knife/ionoscloud_lan_update_spec.rb +91 -0
- data/spec/chef/knife/ionoscloud_loadbalancer_update_spec.rb +89 -0
- data/spec/chef/knife/ionoscloud_nic_get_spec.rb +70 -0
- data/spec/chef/knife/ionoscloud_nic_update_spec.rb +92 -0
- data/spec/chef/knife/ionoscloud_node_get_spec.rb +70 -0
- data/spec/chef/knife/ionoscloud_nodepool_create_spec.rb +12 -5
- data/spec/chef/knife/ionoscloud_nodepool_delete_spec.rb +27 -13
- data/spec/chef/knife/ionoscloud_nodepool_get_spec.rb +83 -0
- data/spec/chef/knife/ionoscloud_nodepool_update_spec.rb +130 -0
- data/spec/chef/knife/ionoscloud_pcc_create_spec.rb +5 -2
- data/spec/chef/knife/ionoscloud_pcc_delete_spec.rb +1 -1
- data/spec/chef/knife/ionoscloud_pcc_get_spec.rb +71 -0
- data/spec/chef/knife/ionoscloud_pcc_update_spec.rb +83 -0
- data/spec/chef/knife/ionoscloud_request_get_spec.rb +69 -0
- data/spec/chef/knife/ionoscloud_request_list_spec.rb +9 -8
- data/spec/chef/knife/ionoscloud_s3key_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_server_get_spec.rb +71 -0
- data/spec/chef/knife/ionoscloud_server_update_spec.rb +102 -0
- data/spec/chef/knife/ionoscloud_share_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_share_update_spec.rb +91 -0
- data/spec/chef/knife/ionoscloud_snapshot_create_spec.rb +13 -0
- data/spec/chef/knife/ionoscloud_snapshot_delete_spec.rb +12 -0
- data/spec/chef/knife/ionoscloud_snapshot_get_spec.rb +79 -0
- data/spec/chef/knife/ionoscloud_snapshot_update_spec.rb +113 -0
- data/spec/chef/knife/ionoscloud_user_create_spec.rb +3 -1
- data/spec/chef/knife/ionoscloud_user_delete_spec.rb +4 -2
- data/spec/chef/knife/ionoscloud_user_get_spec.rb +70 -0
- data/spec/chef/knife/ionoscloud_user_update_spec.rb +110 -0
- data/spec/chef/knife/ionoscloud_volume_create_spec.rb +9 -0
- data/spec/chef/knife/ionoscloud_volume_delete_spec.rb +9 -0
- data/spec/chef/knife/ionoscloud_volume_detach_spec.rb +9 -0
- data/spec/chef/knife/ionoscloud_volume_get_spec.rb +80 -0
- data/spec/chef/knife/ionoscloud_volume_update_spec.rb +115 -0
- data/spec/spec_helper.rb +90 -50
- metadata +134 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eedb6192d82af4e852eaffcbcb983097b6c754bacabc53d8ff07ca6eb05d756
|
4
|
+
data.tar.gz: 1d801dbb3188a4c11ea1c0af3885af541de5f2c7dd0217123a6c4b22de8c1c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a34bce481fb7c206d434f148dbf4e6192a7f4c30186802bae6bcae66b2208179bfebbd046de5f8fe8fc1bc4d9f3ffb2c086f2f0d4e90246da185ec2c063df117
|
7
|
+
data.tar.gz: ead0faec57ba79805bff579593099ba13ab0a49366299f89d0d2b8df2f11c93da85f6ae6f105697918a26b5e49a7396c3791e60e60649c1c168e26fc75dbc7f0
|
data/docs/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Introduction
|
2
2
|
|
3
3
|
![CI](https://github.com/ionos-cloud/knife-ionos-cloud/workflows/CI/badge.svg) [![Gem Version](https://badge.fury.io/rb/knife-ionoscloud.svg)](https://badge.fury.io/rb/knife-ionoscloud) [![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
|
4
4
|
|
@@ -69,10 +69,9 @@ $ rspec spec
|
|
69
69
|
|
70
70
|
### Getting input from a file
|
71
71
|
|
72
|
-
In order to make passing JSON or array arguments easier, we allow you to specify a file which holds the arguments for a command. This is done with the
|
73
|
-
`--extra-config EXTRA_CONFIG_FILE_PATH` or `-e EXTRA_CONFIG_FILE_PATH`. The file is expected to contain a JSON which should map the name of arguments to their expected values. Here is an example of such a file.
|
72
|
+
In order to make passing JSON or array arguments easier, we allow you to specify a file which holds the arguments for a command. This is done with the `--extra-config EXTRA_CONFIG_FILE_PATH` or `-e EXTRA_CONFIG_FILE_PATH`. The file is expected to contain a JSON which should map the name of arguments to their expected values. Here is an example of such a file.
|
74
73
|
|
75
|
-
```
|
74
|
+
```javascript
|
76
75
|
{
|
77
76
|
"ionoscloud_username": "username",
|
78
77
|
"ionoscloud_password": "password",
|
@@ -81,9 +80,9 @@ In order to make passing JSON or array arguments easier, we allow you to specify
|
|
81
80
|
}
|
82
81
|
```
|
83
82
|
|
84
|
-
When using the command `knife ionoscloud datacenter create --extra-config EXTRA_CONFIG_FILE_PATH` where
|
83
|
+
When using the command `knife ionoscloud datacenter create --extra-config EXTRA_CONFIG_FILE_PATH` where EXTRA\_CONFIG\_FILE\_PATH is the name of the file containing the JSON above, the arguments described in the file will be used.
|
85
84
|
|
86
|
-
* If any of the arguments are set in any other way, the values from the file will be ignored. Running the command `knife ionoscloud datacenter create --location us/las --extra-config EXTRA_CONFIG_FILE_PATH` will create a datacenter in the 'us/las' location. In the same way if the values for
|
85
|
+
* If any of the arguments are set in any other way, the values from the file will be ignored. Running the command `knife ionoscloud datacenter create --location us/las --extra-config EXTRA_CONFIG_FILE_PATH` will create a datacenter in the 'us/las' location. In the same way if the values for ionoscloud\_username and ionoscloud\_password are already set in the knife.rb file, the contents from the JSON will be ignored.
|
87
86
|
* Only Ionoscloud specific options may be altered using this option.
|
88
87
|
* If an option is ignored because it is not on the available options list or if it is overwritten in another way then a warning message will be displayed.
|
89
88
|
|
@@ -23,7 +23,7 @@ knife ionoscloud backupunit create (options)
|
|
23
23
|
password: --password PASSWORD, -p PASSWORD
|
24
24
|
alphanumeric password you want assigned to the backup unit (required)
|
25
25
|
|
26
|
-
email: --email EMAIL
|
26
|
+
email: --email EMAIL
|
27
27
|
the e-mail address you want assigned to the backup unit. (required)
|
28
28
|
|
29
29
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# BackupunitGet
|
2
|
+
|
3
|
+
Retrieves information about a backup unit.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* backupunit\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
backupunit_id: --backupunit-id BACKUPUNIT_ID, -B BACKUPUNIT_ID
|
19
|
+
the ID of the Backup unit. (required)
|
20
|
+
|
21
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
22
|
+
your Ionoscloud username (required)
|
23
|
+
|
24
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
25
|
+
your Ionoscloud password (required)
|
26
|
+
|
27
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
28
|
+
path to the additional config file
|
29
|
+
|
30
|
+
```
|
31
|
+
## Example
|
32
|
+
|
33
|
+
```text
|
34
|
+
knife ionoscloud backupunit get --backupunit-id BACKUPUNIT_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
35
|
+
```
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# BackupunitUpdate
|
2
|
+
|
3
|
+
Retrieves information about a backup unit.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* backupunit\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
backupunit_id: --backupunit-id BACKUPUNIT_ID, -B BACKUPUNIT_ID
|
19
|
+
the ID of the Backup unit. (required)
|
20
|
+
|
21
|
+
password: --password PASSWORD, -p PASSWORD
|
22
|
+
alphanumeric password you want assigned to the backup unit
|
23
|
+
|
24
|
+
email: --email EMAIL
|
25
|
+
the e-mail address you want assigned to the backup unit.
|
26
|
+
|
27
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
28
|
+
your Ionoscloud username (required)
|
29
|
+
|
30
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
31
|
+
your Ionoscloud password (required)
|
32
|
+
|
33
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
34
|
+
path to the additional config file
|
35
|
+
|
36
|
+
```
|
37
|
+
## Example
|
38
|
+
|
39
|
+
```text
|
40
|
+
knife ionoscloud backupunit update --backupunit-id BACKUPUNIT_ID --password PASSWORD --email EMAIL --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
41
|
+
```
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# DatacenterGet
|
2
|
+
|
3
|
+
Retrieves information about a Ionoscloud Datacenter.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud datacenter get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
19
|
+
iD of the data center (required)
|
20
|
+
|
21
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
22
|
+
your Ionoscloud username (required)
|
23
|
+
|
24
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
25
|
+
your Ionoscloud password (required)
|
26
|
+
|
27
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
28
|
+
path to the additional config file
|
29
|
+
|
30
|
+
```
|
31
|
+
## Example
|
32
|
+
|
33
|
+
```text
|
34
|
+
knife ionoscloud datacenter get --datacenter-id DATACENTER_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
35
|
+
```
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# DatacenterUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud Datacenter.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud datacenter update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
19
|
+
iD of the data center (required)
|
20
|
+
|
21
|
+
name: --name NAME, -n NAME
|
22
|
+
name of the data center
|
23
|
+
|
24
|
+
description: --description DESCRIPTION
|
25
|
+
description of the data center
|
26
|
+
|
27
|
+
sec_auth_protection: --sec-auth-protection SEC_AUTH_PROTECTION
|
28
|
+
boolean value representing if the data center requires extra protection e.g. two factor protection
|
29
|
+
|
30
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
31
|
+
your Ionoscloud username (required)
|
32
|
+
|
33
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
34
|
+
your Ionoscloud password (required)
|
35
|
+
|
36
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
37
|
+
path to the additional config file
|
38
|
+
|
39
|
+
```
|
40
|
+
## Example
|
41
|
+
|
42
|
+
```text
|
43
|
+
knife ionoscloud datacenter update --datacenter-id DATACENTER_ID --name NAME --description DESCRIPTION --sec-auth-protection SEC_AUTH_PROTECTION --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
44
|
+
```
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# FirewallGet
|
2
|
+
|
3
|
+
Retrieves information about a Ionoscloud Firewall Rule.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud firewall get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* firewall\_id
|
14
|
+
* datacenter\_id
|
15
|
+
* server\_id
|
16
|
+
* nic\_id
|
17
|
+
* ionoscloud\_username
|
18
|
+
* ionoscloud\_password
|
19
|
+
|
20
|
+
```text
|
21
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
|
+
the ID of the data center (required)
|
23
|
+
|
24
|
+
server_id: --server-id SERVER_ID, -S SERVER_ID
|
25
|
+
the ID of the server (required)
|
26
|
+
|
27
|
+
nic_id: --nic-id NIC_ID, -N NIC_ID
|
28
|
+
iD of the NIC (required)
|
29
|
+
|
30
|
+
firewall_id: --firewall-id FIREWALL_ID, -F FIREWALL_ID
|
31
|
+
iD of the Firewall Rule (required)
|
32
|
+
|
33
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
34
|
+
your Ionoscloud username (required)
|
35
|
+
|
36
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
37
|
+
your Ionoscloud password (required)
|
38
|
+
|
39
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
40
|
+
path to the additional config file
|
41
|
+
|
42
|
+
```
|
43
|
+
## Example
|
44
|
+
|
45
|
+
```text
|
46
|
+
knife ionoscloud firewall get --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --firewall-id FIREWALL_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
47
|
+
```
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# FirewallUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud Firewall Rule.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud firewall update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
19
|
+
the ID of the data center (required)
|
20
|
+
|
21
|
+
server_id: --server-id SERVER_ID, -S SERVER_ID
|
22
|
+
the ID of the server
|
23
|
+
|
24
|
+
nic_id: --nic-id NIC_ID, -N NIC_ID
|
25
|
+
iD of the NIC
|
26
|
+
|
27
|
+
firewall_id: --firewall-id FIREWALL_ID, -F FIREWALL_ID
|
28
|
+
iD of the Firewall Rule
|
29
|
+
|
30
|
+
name: --name NAME, -n NAME
|
31
|
+
name of the Firewall Rule
|
32
|
+
|
33
|
+
protocol: --protocol PROTOCOL, -P PROTOCOL
|
34
|
+
the protocol of the firewall rule (TCP, UDP, ICMP, ANY)
|
35
|
+
|
36
|
+
source_mac: --source-mac MAC, -m MAC
|
37
|
+
only traffic originating from the respective MAC address is allowed
|
38
|
+
|
39
|
+
source_ip: --source-ip IP, -I IP
|
40
|
+
only traffic originating from the respective IPv4 address is allowed; null allows all source IPs
|
41
|
+
|
42
|
+
target_ip: --target-ip IP
|
43
|
+
in case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed; null value allows all target IPs
|
44
|
+
|
45
|
+
port_range_start: --port-range-start PORT, -p PORT
|
46
|
+
defines the start range of the allowed port(s)
|
47
|
+
|
48
|
+
port_range_end: --port-range-end PORT, -t PORT
|
49
|
+
defines the end range of the allowed port(s)
|
50
|
+
|
51
|
+
icmp_type: --icmp-type INT
|
52
|
+
defines the allowed type (from 0 to 254) if the protocol ICMP is chosen; null allows all types
|
53
|
+
|
54
|
+
icmp_code: --icmp-code INT
|
55
|
+
defines the allowed code (from 0 to 254) if the protocol ICMP is chosen; null allows all codes
|
56
|
+
|
57
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
58
|
+
your Ionoscloud username (required)
|
59
|
+
|
60
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
61
|
+
your Ionoscloud password (required)
|
62
|
+
|
63
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
64
|
+
path to the additional config file
|
65
|
+
|
66
|
+
```
|
67
|
+
## Example
|
68
|
+
|
69
|
+
```text
|
70
|
+
knife ionoscloud firewall update --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --firewall-id FIREWALL_ID --name NAME --protocol PROTOCOL --source-mac MAC --source-ip IP --target-ip IP --port-range-start PORT --port-range-end PORT --icmp-type INT --icmp-code INT --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
71
|
+
```
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# GroupUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud Group.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud group update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* group\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
group_id: --group-id GROUP_ID, -G GROUP_ID
|
19
|
+
iD of the group. (required)
|
20
|
+
|
21
|
+
name: --name NAME, -N NAME
|
22
|
+
mame of the group.
|
23
|
+
|
24
|
+
create_data_center: --create-datacenter CREATE_DATACENTER, -D CREATE_DATACENTER
|
25
|
+
the group will be allowed to create virtual data centers.
|
26
|
+
|
27
|
+
create_snapshot: --create-snapshot CREATE_SNAPSHOT, -s CREATE_SNAPSHOT
|
28
|
+
the group will be allowed to create snapshots.
|
29
|
+
|
30
|
+
reserve_ip: --reserve-ip RESERVE_IP, -i RESERVE_IP
|
31
|
+
the group will be allowed to reserve IP addresses.
|
32
|
+
|
33
|
+
access_activity_log: --access-log ACCESS_ACTIVITY_LOG, -a ACCESS_ACTIVITY_LOG
|
34
|
+
the group will be allowed to access the activity log.
|
35
|
+
|
36
|
+
s3_privilege: --s3 S3_PRIVILEGE
|
37
|
+
the group will be allowed to manage S3
|
38
|
+
|
39
|
+
create_backup_unit: --create-backupunit CREATE_BACKUPUNIT, -b CREATE_BACKUPUNIT
|
40
|
+
the group will be able to manage backup units.
|
41
|
+
|
42
|
+
create_k8s_cluster: --create-k8s-cluster CREATE_K8S_CLUSTER
|
43
|
+
the group will be able to create kubernetes clusters.
|
44
|
+
|
45
|
+
create_pcc: --create-pcc CREATE_PCC
|
46
|
+
the group will be able to manage pccs.
|
47
|
+
|
48
|
+
create_internet_access: --create-internet-access CREATE_INTERNET_ACCESS
|
49
|
+
the group will be have internet access privilege.
|
50
|
+
|
51
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
52
|
+
your Ionoscloud username (required)
|
53
|
+
|
54
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
55
|
+
your Ionoscloud password (required)
|
56
|
+
|
57
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
58
|
+
path to the additional config file
|
59
|
+
|
60
|
+
```
|
61
|
+
## Example
|
62
|
+
|
63
|
+
```text
|
64
|
+
knife ionoscloud group update --group-id GROUP_ID --name NAME --create-datacenter CREATE_DATACENTER --create-snapshot CREATE_SNAPSHOT --reserve-ip RESERVE_IP --access-log ACCESS_ACTIVITY_LOG --s3 S3_PRIVILEGE --create-backupunit CREATE_BACKUPUNIT --create-k8s-cluster CREATE_K8S_CLUSTER --create-pcc CREATE_PCC --create-internet-access CREATE_INTERNET_ACCESS --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
65
|
+
```
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# IpblockGet
|
2
|
+
|
3
|
+
Retrieves information about an IP Block.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud ipblock get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* ipblock\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
ipblock_id: --ipblock-id IPBLOCK_ID, -I IPBLOCK_ID
|
19
|
+
iD of the IPBlock. (required)
|
20
|
+
|
21
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
22
|
+
your Ionoscloud username (required)
|
23
|
+
|
24
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
25
|
+
your Ionoscloud password (required)
|
26
|
+
|
27
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
28
|
+
path to the additional config file
|
29
|
+
|
30
|
+
```
|
31
|
+
## Example
|
32
|
+
|
33
|
+
```text
|
34
|
+
knife ionoscloud ipblock get --ipblock-id IPBLOCK_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
35
|
+
```
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# IpblockUpdate
|
2
|
+
|
3
|
+
Updates information about an IP Block.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud ipblock update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* ipblock\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
ipblock_id: --ipblock-id IPBLOCK_ID, -I IPBLOCK_ID
|
19
|
+
iD of the IPBlock. (required)
|
20
|
+
|
21
|
+
name: --name NAME, -n NAME
|
22
|
+
name of the IP block
|
23
|
+
|
24
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
25
|
+
your Ionoscloud username (required)
|
26
|
+
|
27
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
28
|
+
your Ionoscloud password (required)
|
29
|
+
|
30
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
31
|
+
path to the additional config file
|
32
|
+
|
33
|
+
```
|
34
|
+
## Example
|
35
|
+
|
36
|
+
```text
|
37
|
+
knife ionoscloud ipblock update --ipblock-id IPBLOCK_ID --name NAME --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
38
|
+
```
|
@@ -24,15 +24,18 @@ knife ionoscloud k8s create (options)
|
|
24
24
|
private: --private
|
25
25
|
the indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.
|
26
26
|
|
27
|
-
|
28
|
-
the IP address of the gateway used by the cluster. This is mandatory when `public` is set to `false` and should not be provided otherwise.
|
29
|
-
|
30
|
-
maintenance_day: --maintenance-day MAINTENANCE_DAY, -d MAINTENANCE_DAY
|
27
|
+
maintenance_day: --maintenance-day MAINTENANCE_DAY
|
31
28
|
day Of the week when to perform the maintenance.
|
32
29
|
|
33
30
|
maintenance_time: --maintenance-time MAINTENANCE_TIME, -t MAINTENANCE_TIME
|
34
31
|
time Of the day when to perform the maintenance.
|
35
32
|
|
33
|
+
api_subnet_allow_list: --subnets SUBNET[,SUBNET,...]
|
34
|
+
access to the K8s API server is restricted to these CIDRs. Cluster-internal traffic is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value will be used: 32 for IPv4 and 128 for IPv6.
|
35
|
+
|
36
|
+
s3_buckets: --s3-buckets BUCKET[,BUCKET,...]
|
37
|
+
list of S3 bucket configured for K8s usage. For now it contains only one S3 bucket used to store K8s API audit logs.
|
38
|
+
|
36
39
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
37
40
|
your Ionoscloud username (required)
|
38
41
|
|
@@ -46,5 +49,5 @@ knife ionoscloud k8s create (options)
|
|
46
49
|
## Example
|
47
50
|
|
48
51
|
```text
|
49
|
-
knife ionoscloud k8s create --name NAME --version VERSION --private --
|
52
|
+
knife ionoscloud k8s create --name NAME --version VERSION --private --maintenance-day MAINTENANCE_DAY --maintenance-time MAINTENANCE_TIME --subnets SUBNET[,SUBNET,...] --s3-buckets BUCKET[,BUCKET,...] --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
50
53
|
```
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# K8sGet
|
2
|
+
|
3
|
+
Retrieves information about a K8s Cluster.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud k8s get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* cluster\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
cluster_id: --cluster-id CLUSTER_ID, -C CLUSTER_ID
|
19
|
+
iD of the Kubernetes cluster (required)
|
20
|
+
|
21
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
22
|
+
your Ionoscloud username (required)
|
23
|
+
|
24
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
25
|
+
your Ionoscloud password (required)
|
26
|
+
|
27
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
28
|
+
path to the additional config file
|
29
|
+
|
30
|
+
```
|
31
|
+
## Example
|
32
|
+
|
33
|
+
```text
|
34
|
+
knife ionoscloud k8s get --cluster-id CLUSTER_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
35
|
+
```
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# K8sUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud K8s Cluster.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud k8s update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* cluster\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
cluster_id: --cluster-id CLUSTER_ID, -C CLUSTER_ID
|
19
|
+
iD of the Kubernetes cluster (required)
|
20
|
+
|
21
|
+
name: --name NAME, -n NAME
|
22
|
+
name of the server
|
23
|
+
|
24
|
+
version: --version VERSION, -v VERSION
|
25
|
+
the version for the Kubernetes cluster.
|
26
|
+
|
27
|
+
maintenance_day: --maintenance-day MAINTENANCE_DAY
|
28
|
+
day Of the week when to perform the maintenance.
|
29
|
+
|
30
|
+
maintenance_time: --maintenance-time MAINTENANCE_TIME, -t MAINTENANCE_TIME
|
31
|
+
time Of the day when to perform the maintenance.
|
32
|
+
|
33
|
+
api_subnet_allow_list: --subnets SUBNET[,SUBNET,...]
|
34
|
+
access to the K8s API server is restricted to these CIDRs. Cluster-internal traffic is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value will be used: 32 for IPv4 and 128 for IPv6.
|
35
|
+
|
36
|
+
s3_buckets: --s3-buckets BUCKET[,BUCKET,...]
|
37
|
+
list of S3 bucket configured for K8s usage. For now it contains only one S3 bucket used to store K8s API audit logs.
|
38
|
+
|
39
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
40
|
+
your Ionoscloud username (required)
|
41
|
+
|
42
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
43
|
+
your Ionoscloud password (required)
|
44
|
+
|
45
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
46
|
+
path to the additional config file
|
47
|
+
|
48
|
+
```
|
49
|
+
## Example
|
50
|
+
|
51
|
+
```text
|
52
|
+
knife ionoscloud k8s update --cluster-id CLUSTER_ID --name NAME --version VERSION --maintenance-day MAINTENANCE_DAY --maintenance-time MAINTENANCE_TIME --subnets SUBNET[,SUBNET,...] --s3-buckets BUCKET[,BUCKET,...] --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
53
|
+
```
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# LanGet
|
2
|
+
|
3
|
+
Retrieves information about a Ionoscloud LAN.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud lan get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* lan\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
20
|
+
iD of the data center (required)
|
21
|
+
|
22
|
+
lan_id: --lan-id LAN_ID, -L LAN_ID
|
23
|
+
iD of the LAN (required)
|
24
|
+
|
25
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
26
|
+
your Ionoscloud username (required)
|
27
|
+
|
28
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
29
|
+
your Ionoscloud password (required)
|
30
|
+
|
31
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
32
|
+
path to the additional config file
|
33
|
+
|
34
|
+
```
|
35
|
+
## Example
|
36
|
+
|
37
|
+
```text
|
38
|
+
knife ionoscloud lan get --datacenter-id DATACENTER_ID --lan-id LAN_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
|
39
|
+
```
|