knife-ionoscloud 6.1.2 → 6.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/docs/changelog.md +8 -0
  3. data/docs/docs_generator.rb +2 -1
  4. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_create.md +60 -0
  5. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_delete.md +41 -0
  6. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_get.md +45 -0
  7. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_list.md +41 -0
  8. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_rule_add.md +69 -0
  9. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_rule_httprule_add.md +78 -0
  10. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_rule_httprule_remove.md +49 -0
  11. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_rule_remove.md +45 -0
  12. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_rule_update.md +70 -0
  13. data/docs/subcommands/application-loadbalancer/applicationloadbalancer_update.md +60 -0
  14. data/docs/subcommands/application-loadbalancer/targetgroup_create.md +79 -0
  15. data/docs/subcommands/application-loadbalancer/targetgroup_delete.md +37 -0
  16. data/docs/subcommands/application-loadbalancer/targetgroup_get.md +41 -0
  17. data/docs/subcommands/application-loadbalancer/targetgroup_list.md +37 -0
  18. data/docs/subcommands/application-loadbalancer/targetgroup_target_add.md +59 -0
  19. data/docs/subcommands/application-loadbalancer/targetgroup_target_remove.md +49 -0
  20. data/docs/subcommands/application-loadbalancer/targetgroup_update.md +80 -0
  21. data/docs/summary.md +61 -43
  22. data/knife-ionoscloud.gemspec +3 -2
  23. data/lib/chef/knife/ionoscloud_applicationloadbalancer_create.rb +85 -0
  24. data/lib/chef/knife/ionoscloud_applicationloadbalancer_delete.rb +64 -0
  25. data/lib/chef/knife/ionoscloud_applicationloadbalancer_get.rb +45 -0
  26. data/lib/chef/knife/ionoscloud_applicationloadbalancer_list.rb +56 -0
  27. data/lib/chef/knife/ionoscloud_applicationloadbalancer_rule_add.rb +129 -0
  28. data/lib/chef/knife/ionoscloud_applicationloadbalancer_rule_httprule_add.rb +159 -0
  29. data/lib/chef/knife/ionoscloud_applicationloadbalancer_rule_httprule_remove.rb +89 -0
  30. data/lib/chef/knife/ionoscloud_applicationloadbalancer_rule_remove.rb +70 -0
  31. data/lib/chef/knife/ionoscloud_applicationloadbalancer_rule_update.rb +137 -0
  32. data/lib/chef/knife/ionoscloud_applicationloadbalancer_update.rb +96 -0
  33. data/lib/chef/knife/ionoscloud_base.rb +139 -7
  34. data/lib/chef/knife/ionoscloud_targetgroup_create.rb +140 -0
  35. data/lib/chef/knife/ionoscloud_targetgroup_delete.rb +50 -0
  36. data/lib/chef/knife/ionoscloud_targetgroup_get.rb +34 -0
  37. data/lib/chef/knife/ionoscloud_targetgroup_list.rb +45 -0
  38. data/lib/chef/knife/ionoscloud_targetgroup_target_add.rb +93 -0
  39. data/lib/chef/knife/ionoscloud_targetgroup_target_remove.rb +66 -0
  40. data/lib/chef/knife/ionoscloud_targetgroup_update.rb +151 -0
  41. data/lib/knife-ionoscloud/version.rb +1 -1
  42. data/spec/chef/knife/ionoscloud_applicationloadbalancer_create_spec.rb +82 -0
  43. data/spec/chef/knife/ionoscloud_applicationloadbalancer_delete_spec.rb +110 -0
  44. data/spec/chef/knife/ionoscloud_applicationloadbalancer_get_spec.rb +70 -0
  45. data/spec/chef/knife/ionoscloud_applicationloadbalancer_list_spec.rb +87 -0
  46. data/spec/chef/knife/ionoscloud_applicationloadbalancer_rule_add_spec.rb +140 -0
  47. data/spec/chef/knife/ionoscloud_applicationloadbalancer_rule_httprule_add_spec.rb +238 -0
  48. data/spec/chef/knife/ionoscloud_applicationloadbalancer_rule_httprule_remove_spec.rb +204 -0
  49. data/spec/chef/knife/ionoscloud_applicationloadbalancer_rule_remove_spec.rb +127 -0
  50. data/spec/chef/knife/ionoscloud_applicationloadbalancer_rule_update_spec.rb +219 -0
  51. data/spec/chef/knife/ionoscloud_applicationloadbalancer_update_spec.rb +97 -0
  52. data/spec/chef/knife/ionoscloud_targetgroup_create_spec.rb +109 -0
  53. data/spec/chef/knife/ionoscloud_targetgroup_delete_spec.rb +111 -0
  54. data/spec/chef/knife/ionoscloud_targetgroup_get_spec.rb +71 -0
  55. data/spec/chef/knife/ionoscloud_targetgroup_list_spec.rb +78 -0
  56. data/spec/chef/knife/ionoscloud_targetgroup_target_add_spec.rb +164 -0
  57. data/spec/chef/knife/ionoscloud_targetgroup_target_remove_spec.rb +139 -0
  58. data/spec/chef/knife/ionoscloud_targetgroup_update_spec.rb +144 -0
  59. data/spec/spec_helper.rb +135 -27
  60. metadata +77 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b4dfebeb89ee86a0abd221492442b0d76fbcf0acd5f8e3fa14a8136a8742a6c
4
- data.tar.gz: 0e68b7d6f007055b3ab0384d0f76c6f4a9e0ef7c85eb2e02c938a9dceaa5165e
3
+ metadata.gz: 71feff7578cd72f6d66fe20aa5b0ddf73d655075ea5d4023fbe505aa961f74c1
4
+ data.tar.gz: 973e78b70f6d7982c829e754c120474ddbb2de4fd8f7f963d88bd8d9f2c7c61c
5
5
  SHA512:
6
- metadata.gz: 17363710498faa62b78ee1791a942adcfc145b195b2f267a89291479ab0b8619db1cf2c002d885d40927556af48dc4ada4844d0119c4af5618291e9253cc435b
7
- data.tar.gz: ededda9b79d47881a1ac890ff09dc23ad40f0a64e4111dd566050a70afcb0162e3f194b8ad1d5f4cc36bd7c9370b77cb0ddfc8a0eeef755e247f1d5ecf365b76
6
+ metadata.gz: a4f1412269e2b2f5b554712a5921aecb73918b1f90718d34b1c0aeefe9dd5b6b829bd3e3594a0029cdbebf2b930d1dfaa94fcc1845db83d0238287d2660d8dc4
7
+ data.tar.gz: 5532f4c4f7c9b3011044871fbafbff63284e288715d82346743b90d15877f852d7bdd6d80090ad1f20c7e1cb3f71ab5fbc6b9dfb70b45c4e86f19331bd2e4ab2
data/docs/changelog.md CHANGED
@@ -19,3 +19,11 @@
19
19
  * added direction, since and until arguments to logs get command
20
20
  * added private argument to k8s cluster create
21
21
  * added gateway_ip argument to nodepool create
22
+
23
+ ## 6.1.2
24
+
25
+ ### Enhancements:
26
+
27
+ * added token authentication
28
+ * removed private argument from k8s create
29
+ * removed gateway_ip argument from nodepool create
@@ -15,6 +15,7 @@ FOLDER_TO_NAME_MAP = {
15
15
  'compute-engine' => 'Compute Engine',
16
16
  'kubernetes' => 'Managed Kubernetes',
17
17
  'dbaas-postgres' => 'DBaaS Postgres',
18
+ 'application-loadbalancer' => 'Application Load Balancer',
18
19
  }.freeze
19
20
 
20
21
  def underscore_string(s)
@@ -135,5 +136,5 @@ final_categories = []
135
136
  categories.map { |key, value| final_categories << { category: key, subcommands: value.sort_by { |a| a[:title] } } }
136
137
 
137
138
  File.open('summary.md', 'w') do |f|
138
- f.write(Summary.new(final_categories).render)
139
+ f.write(Summary.new(final_categories.sort_by { |a| a[:category].to_s }).render)
139
140
  end
@@ -0,0 +1,60 @@
1
+ # ApplicationloadbalancerCreate
2
+
3
+ Creates an Application Load Balancer within the datacenter.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer create (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * name
15
+ * listener\_lan
16
+ * target\_lan
17
+ * ips
18
+ * ionoscloud\_username
19
+ * ionoscloud\_password
20
+
21
+ ```text
22
+ ionoscloud_url: --url URL
23
+ the Ionoscloud API URL
24
+
25
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
26
+ path to the additional config file
27
+
28
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
29
+ iD of the data center (required)
30
+
31
+ name: --name NAME, -n NAME
32
+ name of the Application Load Balancer (required)
33
+
34
+ listener_lan: --listener-lan LISTENER_LAN_ID, -l LISTENER_LAN_ID
35
+ id of the listening LAN. (inbound) (required)
36
+
37
+ target_lan: --target-lan TARGET_LAN_ID, -t TARGET_LAN_ID
38
+ id of the balanced private target LAN. (outbound) (required)
39
+
40
+ ips: --ips IP[,IP,...], -i IP[,IP,...]
41
+ collection of IP addresses of the Application Load Balancer. (inbound and outbound) IP of the listenerLan must be a customer reserved IP for the public load balancer and private IP for the private load balancer. (required)
42
+
43
+ lb_private_ips: --private-ips IP[,IP,...]
44
+ collection of private IP addresses with subnet mask of the Application Load Balancer. IPs must contain valid subnet mask. If user will not provide any IP then the system will generate one IP with /24 subnet.
45
+
46
+ ionoscloud_username: --username USERNAME, -u USERNAME
47
+ your Ionoscloud username (required)
48
+
49
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
50
+ your Ionoscloud password (required)
51
+
52
+ ionoscloud_token: --token PASSWORD
53
+ your Ionoscloud access token
54
+
55
+ ```
56
+ ## Example
57
+
58
+ ```text
59
+ knife ionoscloud applicationloadbalancer create --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --name NAME --listener-lan LISTENER_LAN_ID --target-lan TARGET_LAN_ID --ips IP[,IP,...] --private-ips IP[,IP,...] --username USERNAME --password PASSWORD --token PASSWORD
60
+ ```
@@ -0,0 +1,41 @@
1
+ # ApplicationloadbalancerDelete
2
+
3
+ Removes the specified Application Load Balancer.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer delete LOAD_BALANCER_ID [LOAD_BALANCER_ID] (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * ionoscloud\_username
15
+ * ionoscloud\_password
16
+
17
+ ```text
18
+ ionoscloud_url: --url URL
19
+ the Ionoscloud API URL
20
+
21
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
22
+ path to the additional config file
23
+
24
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
25
+ name of the data center (required)
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
+ ionoscloud_token: --token PASSWORD
34
+ your Ionoscloud access token
35
+
36
+ ```
37
+ ## Example
38
+
39
+ ```text
40
+ knife ionoscloud applicationloadbalancer delete LOAD_BALANCER_ID
41
+ ```
@@ -0,0 +1,45 @@
1
+ # ApplicationloadbalancerGet
2
+
3
+ Retrieves the attributes of a given Application Load Balancer.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer get (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * ionoscloud\_username
16
+ * ionoscloud\_password
17
+
18
+ ```text
19
+ ionoscloud_url: --url URL
20
+ the Ionoscloud API URL
21
+
22
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
23
+ path to the additional config file
24
+
25
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
26
+ iD of the data center (required)
27
+
28
+ application_loadbalancer_id: --application-loadbalancer NETWORK_LOADBALANCER_ID, -L NETWORK_LOADBALANCER_ID
29
+ iD of the Application Loadbalancer (required)
30
+
31
+ ionoscloud_username: --username USERNAME, -u USERNAME
32
+ your Ionoscloud username (required)
33
+
34
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
35
+ your Ionoscloud password (required)
36
+
37
+ ionoscloud_token: --token PASSWORD
38
+ your Ionoscloud access token
39
+
40
+ ```
41
+ ## Example
42
+
43
+ ```text
44
+ knife ionoscloud applicationloadbalancer get --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --application-loadbalancer NETWORK_LOADBALANCER_ID --username USERNAME --password PASSWORD --token PASSWORD
45
+ ```
@@ -0,0 +1,41 @@
1
+ # ApplicationloadbalancerList
2
+
3
+ Retrieve a list of Application Load Balancers within the datacenter.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer list (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * ionoscloud\_username
15
+ * ionoscloud\_password
16
+
17
+ ```text
18
+ ionoscloud_url: --url URL
19
+ the Ionoscloud API URL
20
+
21
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
22
+ path to the additional config file
23
+
24
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
25
+ name of the data center (required)
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
+ ionoscloud_token: --token PASSWORD
34
+ your Ionoscloud access token
35
+
36
+ ```
37
+ ## Example
38
+
39
+ ```text
40
+ knife ionoscloud applicationloadbalancer list --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --username USERNAME --password PASSWORD --token PASSWORD
41
+ ```
@@ -0,0 +1,69 @@
1
+ # ApplicationloadbalancerRuleAdd
2
+
3
+ Adds a Forwarding Rule to a Application Load Balancer under a data center.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer rule add (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * name
16
+ * listener\_ip
17
+ * listener\_port
18
+ * ionoscloud\_username
19
+ * ionoscloud\_password
20
+
21
+ ```text
22
+ ionoscloud_url: --url URL
23
+ the Ionoscloud API URL
24
+
25
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
26
+ path to the additional config file
27
+
28
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
29
+ name of the data center (required)
30
+
31
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
32
+ iD of the Application Loadbalancer (required)
33
+
34
+ name: --name NAME, -n NAME
35
+ a name of that Application Load Balancer forwarding rule (required)
36
+
37
+ protocol: --protocol PROTOCOL
38
+ protocol of the balancing
39
+
40
+ listener_ip: --ip LISTENER_IP, -i LISTENER_IP
41
+ listening IP. (inbound) (required)
42
+
43
+ listener_port: --port LISTENER_PORT, -p LISTENER_PORT
44
+ listening port number. (inbound) (range: 1 to 65535) (required)
45
+
46
+ client_timeout: --client-timeout CLIENT_TIMEOUT
47
+ clientTimeout is expressed in milliseconds. This inactivity timeout applies when the client is expected to acknowledge or send data. If unset the default of 50 seconds will be used.
48
+
49
+ server_certificates: --certificates SERVER_CERTIFICATES
50
+ array of server certificates
51
+
52
+ http_rules: --http-rules HTTP_RULES
53
+ array of HTTP Rules
54
+
55
+ ionoscloud_username: --username USERNAME, -u USERNAME
56
+ your Ionoscloud username (required)
57
+
58
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
59
+ your Ionoscloud password (required)
60
+
61
+ ionoscloud_token: --token PASSWORD
62
+ your Ionoscloud access token
63
+
64
+ ```
65
+ ## Example
66
+
67
+ ```text
68
+ knife ionoscloud applicationloadbalancer rule add --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --application-loadbalancer APPLICATION_LOADBALANCER_ID --name NAME --protocol PROTOCOL --ip LISTENER_IP --port LISTENER_PORT --client-timeout CLIENT_TIMEOUT --certificates SERVER_CERTIFICATES --http-rules HTTP_RULES --username USERNAME --password PASSWORD --token PASSWORD
69
+ ```
@@ -0,0 +1,78 @@
1
+ # ApplicationloadbalancerRuleHttpruleAdd
2
+
3
+ Adds a Http Rule to a Application Load Balancer Forwarding Rule under a data center or updates it if one already exists.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer rule httprule add (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * forwarding\_rule\_id
16
+ * name
17
+ * type
18
+ * ionoscloud\_username
19
+ * ionoscloud\_password
20
+
21
+ ```text
22
+ ionoscloud_url: --url URL
23
+ the Ionoscloud API URL
24
+
25
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
26
+ path to the additional config file
27
+
28
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
29
+ name of the data center (required)
30
+
31
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
32
+ iD of the Application Loadbalancer (required)
33
+
34
+ forwarding_rule_id: --forwarding-rule FORWARDING_RULE_ID, -R FORWARDING_RULE_ID
35
+ iD of the Application Loadbalancer Forwarding Rule (required)
36
+
37
+ name: --name NAME, -n NAME
38
+ the name of a Application Load Balancer http rule; unique per forwarding rule (required)
39
+
40
+ type: --type TYPE, -t TYPE
41
+ type of the Http Rule. (required)
42
+
43
+ target_group: --target-group TARGET_GROUP_ID
44
+ the UUID of the target group; mandatory and only valid for FORWARD action.
45
+
46
+ drop_query: --query QUERY, -q QUERY
47
+ default is false; valid only for REDIRECT action.
48
+
49
+ location: --location LOCATION, -l LOCATION
50
+ the location for redirecting; mandatory and valid only for REDIRECT action.
51
+
52
+ status_code: --code STATUS_CODE
53
+ valid only for action REDIRECT and STATIC; on REDIRECT action default is 301 and it can take the values 301, 302, 303, 307, 308; on STATIC action default is 503 and it can take a value between 200 and 599
54
+
55
+ response_message: --message MESSAGE, -m MESSAGE
56
+ the response message of the request; mandatory for STATIC action
57
+
58
+ content_type: --content-type CONTENT_TYPE
59
+ valid only for action STATIC
60
+
61
+ conditions: --conditions CONDITIONS
62
+ array of conditions for the HTTP Rule
63
+
64
+ ionoscloud_username: --username USERNAME, -u USERNAME
65
+ your Ionoscloud username (required)
66
+
67
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
68
+ your Ionoscloud password (required)
69
+
70
+ ionoscloud_token: --token PASSWORD
71
+ your Ionoscloud access token
72
+
73
+ ```
74
+ ## Example
75
+
76
+ ```text
77
+ knife ionoscloud applicationloadbalancer rule httprule add --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --application-loadbalancer APPLICATION_LOADBALANCER_ID --forwarding-rule FORWARDING_RULE_ID --name NAME --type TYPE --target-group TARGET_GROUP_ID --query QUERY --location LOCATION --code STATUS_CODE --message MESSAGE --content-type CONTENT_TYPE --conditions CONDITIONS --username USERNAME --password PASSWORD --token PASSWORD
78
+ ```
@@ -0,0 +1,49 @@
1
+ # ApplicationloadbalancerRuleHttpruleRemove
2
+
3
+ Removes a Http Rule from a Application Load Balancer Forwarding Rule.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer rule httprule remove HTTP_RULE_NAME [HTTP_RULE_NAME] (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * forwarding\_rule\_id
16
+ * ionoscloud\_username
17
+ * ionoscloud\_password
18
+
19
+ ```text
20
+ ionoscloud_url: --url URL
21
+ the Ionoscloud API URL
22
+
23
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
24
+ path to the additional config file
25
+
26
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
27
+ name of the data center (required)
28
+
29
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
30
+ iD of the Application Loadbalancer (required)
31
+
32
+ forwarding_rule_id: --forwarding-rule FORWARDING_RULE_ID, -R FORWARDING_RULE_ID
33
+ iD of the Application Loadbalancer Forwarding Rule (required)
34
+
35
+ ionoscloud_username: --username USERNAME, -u USERNAME
36
+ your Ionoscloud username (required)
37
+
38
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
39
+ your Ionoscloud password (required)
40
+
41
+ ionoscloud_token: --token PASSWORD
42
+ your Ionoscloud access token
43
+
44
+ ```
45
+ ## Example
46
+
47
+ ```text
48
+ knife ionoscloud applicationloadbalancer rule httprule remove HTTP_RULE_NAME
49
+ ```
@@ -0,0 +1,45 @@
1
+ # ApplicationloadbalancerRuleRemove
2
+
3
+ Removes the specified rules from a Application Loadbalancer under a data center.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer rule remove RULE_ID [RULE_ID] (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * ionoscloud\_username
16
+ * ionoscloud\_password
17
+
18
+ ```text
19
+ ionoscloud_url: --url URL
20
+ the Ionoscloud API URL
21
+
22
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
23
+ path to the additional config file
24
+
25
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
26
+ the ID of the data center (required)
27
+
28
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
29
+ iD of the Application Loadbalancer (required)
30
+
31
+ ionoscloud_username: --username USERNAME, -u USERNAME
32
+ your Ionoscloud username (required)
33
+
34
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
35
+ your Ionoscloud password (required)
36
+
37
+ ionoscloud_token: --token PASSWORD
38
+ your Ionoscloud access token
39
+
40
+ ```
41
+ ## Example
42
+
43
+ ```text
44
+ knife ionoscloud applicationloadbalancer rule remove RULE_ID
45
+ ```
@@ -0,0 +1,70 @@
1
+ # ApplicationloadbalancerRuleUpdate
2
+
3
+ Updates information about a Ionoscloud Application LoadBalancer Forwarding Rule.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer rule update (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * forwarding\_rule\_id
16
+ * ionoscloud\_username
17
+ * ionoscloud\_password
18
+
19
+ ```text
20
+ ionoscloud_url: --url URL
21
+ the Ionoscloud API URL
22
+
23
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
24
+ path to the additional config file
25
+
26
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
27
+ iD of the data center (required)
28
+
29
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
30
+ iD of the Application Loadbalancer (required)
31
+
32
+ forwarding_rule_id: --forwarding-rule FORWARDING_RULE_ID, -R FORWARDING_RULE_ID
33
+ iD of the Application Loadbalancer Forwarding Rule (required)
34
+
35
+ name: --name NAME, -n NAME
36
+ a name of that Application Load Balancer forwarding rule
37
+
38
+ protocol: --protocol PROTOCOL
39
+ protocol of the balancing
40
+
41
+ listener_ip: --ip LISTENER_IP, -i LISTENER_IP
42
+ listening IP. (inbound)
43
+
44
+ listener_port: --port LISTENER_PORT, -p LISTENER_PORT
45
+ listening port number. (inbound) (range: 1 to 65535)
46
+
47
+ client_timeout: --client-timeout CLIENT_TIMEOUT
48
+ clientTimeout is expressed in milliseconds. This inactivity timeout applies when the client is expected to acknowledge or send data. If unset the default of 50 seconds will be used.
49
+
50
+ server_certificates: --certificates SERVER_CERTIFICATES
51
+ array of server certificates
52
+
53
+ http_rules: --http-rules HTTP_RULES
54
+ array of HTTP Rules
55
+
56
+ ionoscloud_username: --username USERNAME, -u USERNAME
57
+ your Ionoscloud username (required)
58
+
59
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
60
+ your Ionoscloud password (required)
61
+
62
+ ionoscloud_token: --token PASSWORD
63
+ your Ionoscloud access token
64
+
65
+ ```
66
+ ## Example
67
+
68
+ ```text
69
+ knife ionoscloud applicationloadbalancer rule update --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --application-loadbalancer APPLICATION_LOADBALANCER_ID --forwarding-rule FORWARDING_RULE_ID --name NAME --protocol PROTOCOL --ip LISTENER_IP --port LISTENER_PORT --client-timeout CLIENT_TIMEOUT --certificates SERVER_CERTIFICATES --http-rules HTTP_RULES --username USERNAME --password PASSWORD --token PASSWORD
70
+ ```
@@ -0,0 +1,60 @@
1
+ # ApplicationloadbalancerUpdate
2
+
3
+ Updates information about a Ionoscloud Application LoadBalancer.
4
+
5
+ ```text
6
+ knife ionoscloud applicationloadbalancer update (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * datacenter\_id
14
+ * application\_loadbalancer\_id
15
+ * ionoscloud\_username
16
+ * ionoscloud\_password
17
+
18
+ ```text
19
+ ionoscloud_url: --url URL
20
+ the Ionoscloud API URL
21
+
22
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
23
+ path to the additional config file
24
+
25
+ datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
26
+ iD of the data center (required)
27
+
28
+ application_loadbalancer_id: --application-loadbalancer APPLICATION_LOADBALANCER_ID, -L APPLICATION_LOADBALANCER_ID
29
+ iD of the Application Loadbalancer (required)
30
+
31
+ name: --name NAME, -n NAME
32
+ name of the Application Load Balancer
33
+
34
+ listener_lan: --listener-lan LISTENER_LAN_ID, -l LISTENER_LAN_ID
35
+ id of the listening LAN. (inbound)
36
+
37
+ target_lan: --target-lan TARGET_LAN_ID, -t TARGET_LAN_ID
38
+ id of the balanced private target LAN. (outbound)
39
+
40
+ ips: --ips IP[,IP,...], -i IP[,IP,...]
41
+ collection of IP addresses of the Application Load Balancer. (inbound and outbound) IP of the listenerLan must be a customer reserved IP for the public load balancer and private IP for the private load balancer.
42
+
43
+ lb_private_ips: --private-ips IP[,IP,...]
44
+ collection of private IP addresses with subnet mask of the Application Load Balancer. IPs must contain valid subnet mask. If user will not provide any IP then the system will generate one IP with /24 subnet.
45
+
46
+ ionoscloud_username: --username USERNAME, -u USERNAME
47
+ your Ionoscloud username (required)
48
+
49
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
50
+ your Ionoscloud password (required)
51
+
52
+ ionoscloud_token: --token PASSWORD
53
+ your Ionoscloud access token
54
+
55
+ ```
56
+ ## Example
57
+
58
+ ```text
59
+ knife ionoscloud applicationloadbalancer update --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --application-loadbalancer APPLICATION_LOADBALANCER_ID --name NAME --listener-lan LISTENER_LAN_ID --target-lan TARGET_LAN_ID --ips IP[,IP,...] --private-ips IP[,IP,...] --username USERNAME --password PASSWORD --token PASSWORD
60
+ ```
@@ -0,0 +1,79 @@
1
+ # TargetgroupCreate
2
+
3
+ Creates a new Target Group.
4
+
5
+ ```text
6
+ knife ionoscloud targetgroup create (options)
7
+ ```
8
+
9
+ ## Available options:
10
+
11
+ ### Required options:
12
+
13
+ * name
14
+ * algorithm
15
+ * protocol
16
+ * ionoscloud\_username
17
+ * ionoscloud\_password
18
+
19
+ ```text
20
+ ionoscloud_url: --url URL
21
+ the Ionoscloud API URL
22
+
23
+ extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
24
+ path to the additional config file
25
+
26
+ name: --name NAME, -n NAME
27
+ name of the server (required)
28
+
29
+ algorithm: --algorithm ALGORITHM, -a ALGORITHM
30
+ algorithm for the balancing. One of ["ROUND_ROBIN", "LEAST_CONNECTION", "RANDOM", "SOURCE_IP"] (required)
31
+
32
+ protocol: --protocol PROTOCOL, -p PROTOCOL
33
+ protocol of the balancing. One of ["HTTP"] (required)
34
+
35
+ check_timeout: --check-timeout CHECK_TIMEOUT
36
+ it specifies the time (in milliseconds) for a target VM in this pool to answer the check. If a target VM has CheckInterval set and CheckTimeout is set too, then the smaller value of the two is used after the TCP connection is established.
37
+
38
+ check_interval: --check-interval check_interval
39
+ it specifies the maximum time (in milliseconds) to wait for a connection attempt to a target VM to succeed. If unset, the default of 5 seconds will be used.
40
+
41
+ retries: --retries RETRIES, -r RETRIES
42
+ retries specifies the number of retries to perform on a target VM after a connection failure. If unset, the default value of 3 will be used. (valid range: [0, 65535])
43
+
44
+ path: --path PATH
45
+ the path for the HTTP health check; default: /.
46
+
47
+ method: --method METHOD, -m METHOD
48
+ the method for the HTTP health check.
49
+
50
+ match_type: --match-type MATCH_TYPE
51
+ the method for the HTTP health check. One of ["STATUS_CODE", "RESPONSE_BODY"].
52
+
53
+ response: --response RESPONSE
54
+ the response returned by the request.
55
+
56
+ regex: --regex REGEX
57
+ the regex used.
58
+
59
+ negate: --negate
60
+ whether to negate or not.
61
+
62
+ targets: --targets
63
+ array of TargetGroup targets.
64
+
65
+ ionoscloud_username: --username USERNAME, -u USERNAME
66
+ your Ionoscloud username (required)
67
+
68
+ ionoscloud_password: --password PASSWORD, -p PASSWORD
69
+ your Ionoscloud password (required)
70
+
71
+ ionoscloud_token: --token PASSWORD
72
+ your Ionoscloud access token
73
+
74
+ ```
75
+ ## Example
76
+
77
+ ```text
78
+ knife ionoscloud targetgroup create --url URL --extra-config EXTRA_CONFIG_FILE_PATH --name NAME --algorithm ALGORITHM --protocol PROTOCOL --check-timeout CHECK_TIMEOUT --check-interval check_interval --retries RETRIES --path PATH --method METHOD --match-type MATCH_TYPE --response RESPONSE --regex REGEX --negate --targets --username USERNAME --password PASSWORD --token PASSWORD
79
+ ```