knife-ionoscloud 6.0.0 → 6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (504) hide show
  1. checksums.yaml +4 -4
  2. data/.github/IONOS.CLOUD.BLU.svg +1 -0
  3. data/.github/workflows/build.yml +17 -0
  4. data/.rubocop.yml +72 -0
  5. data/README.md +19 -8
  6. data/docs/README.md +16 -8
  7. data/docs/changelog.md +19 -0
  8. data/docs/docs_generator.rb +61 -29
  9. data/docs/subcommands/{backupunit_create.md → backup/backupunit_create.md} +9 -8
  10. data/docs/subcommands/{backupunit_delete.md → backup/backupunit_delete.md} +8 -7
  11. data/docs/subcommands/{backupunit_get.md → backup/backupunit_get.md} +8 -7
  12. data/docs/subcommands/{backupunit_list.md → backup/backupunit_list.md} +8 -7
  13. data/docs/subcommands/{backupunit_ssourl.md → backup/backupunit_ssourl.md} +8 -7
  14. data/docs/subcommands/{backupunit_update.md → backup/backupunit_update.md} +8 -7
  15. data/docs/subcommands/{composite_server_create.md → compute-engine/composite_server_create.md} +16 -9
  16. data/docs/subcommands/{cube_server_create.md → compute-engine/cube_server_create.md} +8 -7
  17. data/docs/subcommands/{datacenter_create.md → compute-engine/datacenter_create.md} +8 -7
  18. data/docs/subcommands/{datacenter_delete.md → compute-engine/datacenter_delete.md} +8 -7
  19. data/docs/subcommands/{datacenter_get.md → compute-engine/datacenter_get.md} +8 -7
  20. data/docs/subcommands/{datacenter_list.md → compute-engine/datacenter_list.md} +8 -7
  21. data/docs/subcommands/{datacenter_update.md → compute-engine/datacenter_update.md} +8 -7
  22. data/docs/subcommands/{firewall_create.md → compute-engine/firewall_create.md} +13 -9
  23. data/docs/subcommands/{firewall_delete.md → compute-engine/firewall_delete.md} +7 -6
  24. data/docs/subcommands/{firewall_get.md → compute-engine/firewall_get.md} +8 -7
  25. data/docs/subcommands/{firewall_list.md → compute-engine/firewall_list.md} +8 -7
  26. data/docs/subcommands/{firewall_update.md → compute-engine/firewall_update.md} +8 -7
  27. data/docs/subcommands/{flowlog_create.md → compute-engine/flowlog_create.md} +8 -7
  28. data/docs/subcommands/{flowlog_delete.md → compute-engine/flowlog_delete.md} +7 -6
  29. data/docs/subcommands/{flowlog_get.md → compute-engine/flowlog_get.md} +8 -7
  30. data/docs/subcommands/{flowlog_list.md → compute-engine/flowlog_list.md} +8 -7
  31. data/docs/subcommands/{flowlog_update.md → compute-engine/flowlog_update.md} +8 -7
  32. data/docs/subcommands/{image_list.md → compute-engine/image_list.md} +8 -7
  33. data/docs/subcommands/{ipblock_create.md → compute-engine/ipblock_create.md} +8 -7
  34. data/docs/subcommands/{ipblock_delete.md → compute-engine/ipblock_delete.md} +8 -7
  35. data/docs/subcommands/{ipblock_get.md → compute-engine/ipblock_get.md} +8 -7
  36. data/docs/subcommands/{ipblock_list.md → compute-engine/ipblock_list.md} +8 -7
  37. data/docs/subcommands/{ipblock_update.md → compute-engine/ipblock_update.md} +8 -7
  38. data/docs/subcommands/{ipfailover_add.md → compute-engine/ipfailover_add.md} +8 -7
  39. data/docs/subcommands/{ipfailover_remove.md → compute-engine/ipfailover_remove.md} +8 -7
  40. data/docs/subcommands/{label_add.md → compute-engine/label_add.md} +8 -7
  41. data/docs/subcommands/{label_list.md → compute-engine/label_list.md} +8 -7
  42. data/docs/subcommands/{label_remove.md → compute-engine/label_remove.md} +7 -6
  43. data/docs/subcommands/{lan_create.md → compute-engine/lan_create.md} +8 -7
  44. data/docs/subcommands/{lan_delete.md → compute-engine/lan_delete.md} +7 -6
  45. data/docs/subcommands/{lan_get.md → compute-engine/lan_get.md} +8 -7
  46. data/docs/subcommands/{lan_list.md → compute-engine/lan_list.md} +8 -7
  47. data/docs/subcommands/{lan_update.md → compute-engine/lan_update.md} +8 -10
  48. data/docs/subcommands/{loadbalancer_create.md → compute-engine/loadbalancer_create.md} +9 -8
  49. data/docs/subcommands/{loadbalancer_delete.md → compute-engine/loadbalancer_delete.md} +7 -6
  50. data/docs/subcommands/{loadbalancer_get.md → compute-engine/loadbalancer_get.md} +8 -7
  51. data/docs/subcommands/{loadbalancer_list.md → compute-engine/loadbalancer_list.md} +8 -7
  52. data/docs/subcommands/{loadbalancer_nic_add.md → compute-engine/loadbalancer_nic_add.md} +7 -6
  53. data/docs/subcommands/{loadbalancer_nic_remove.md → compute-engine/loadbalancer_nic_remove.md} +7 -6
  54. data/docs/subcommands/{loadbalancer_update.md → compute-engine/loadbalancer_update.md} +8 -7
  55. data/docs/subcommands/{location_list.md → compute-engine/location_list.md} +8 -7
  56. data/docs/subcommands/{natgateway_create.md → compute-engine/natgateway_create.md} +8 -7
  57. data/docs/subcommands/{natgateway_delete.md → compute-engine/natgateway_delete.md} +7 -6
  58. data/docs/subcommands/{natgateway_get.md → compute-engine/natgateway_get.md} +8 -7
  59. data/docs/subcommands/{natgateway_lan_add.md → compute-engine/natgateway_lan_add.md} +8 -7
  60. data/docs/subcommands/{natgateway_lan_remove.md → compute-engine/natgateway_lan_remove.md} +7 -6
  61. data/docs/subcommands/{natgateway_list.md → compute-engine/natgateway_list.md} +8 -7
  62. data/docs/subcommands/{natgateway_rule_add.md → compute-engine/natgateway_rule_add.md} +8 -7
  63. data/docs/subcommands/{natgateway_rule_list.md → compute-engine/natgateway_rule_list.md} +8 -7
  64. data/docs/subcommands/{natgateway_rule_remove.md → compute-engine/natgateway_rule_remove.md} +7 -6
  65. data/docs/subcommands/{natgateway_rule_update.md → compute-engine/natgateway_rule_update.md} +8 -7
  66. data/docs/subcommands/{natgateway_update.md → compute-engine/natgateway_update.md} +8 -7
  67. data/docs/subcommands/{networkloadbalancer_create.md → compute-engine/networkloadbalancer_create.md} +8 -7
  68. data/docs/subcommands/{networkloadbalancer_delete.md → compute-engine/networkloadbalancer_delete.md} +7 -6
  69. data/docs/subcommands/{networkloadbalancer_get.md → compute-engine/networkloadbalancer_get.md} +8 -7
  70. data/docs/subcommands/{networkloadbalancer_list.md → compute-engine/networkloadbalancer_list.md} +8 -7
  71. data/docs/subcommands/{networkloadbalancer_rule_add.md → compute-engine/networkloadbalancer_rule_add.md} +8 -7
  72. data/docs/subcommands/{networkloadbalancer_rule_list.md → compute-engine/networkloadbalancer_rule_list.md} +8 -7
  73. data/docs/subcommands/{networkloadbalancer_rule_remove.md → compute-engine/networkloadbalancer_rule_remove.md} +7 -6
  74. data/docs/subcommands/{networkloadbalancer_rule_target_add.md → compute-engine/networkloadbalancer_rule_target_add.md} +8 -7
  75. data/docs/subcommands/{networkloadbalancer_rule_target_list.md → compute-engine/networkloadbalancer_rule_target_list.md} +8 -7
  76. data/docs/subcommands/{networkloadbalancer_rule_target_remove.md → compute-engine/networkloadbalancer_rule_target_remove.md} +8 -7
  77. data/docs/subcommands/{networkloadbalancer_rule_update.md → compute-engine/networkloadbalancer_rule_update.md} +8 -7
  78. data/docs/subcommands/{networkloadbalancer_update.md → compute-engine/networkloadbalancer_update.md} +8 -7
  79. data/docs/subcommands/{nic_create.md → compute-engine/nic_create.md} +11 -10
  80. data/docs/subcommands/{nic_delete.md → compute-engine/nic_delete.md} +8 -7
  81. data/docs/subcommands/{nic_get.md → compute-engine/nic_get.md} +8 -7
  82. data/docs/subcommands/{nic_list.md → compute-engine/nic_list.md} +8 -7
  83. data/docs/subcommands/{nic_update.md → compute-engine/nic_update.md} +10 -9
  84. data/docs/subcommands/{pcc_create.md → compute-engine/pcc_create.md} +8 -7
  85. data/docs/subcommands/{pcc_delete.md → compute-engine/pcc_delete.md} +8 -7
  86. data/docs/subcommands/{pcc_get.md → compute-engine/pcc_get.md} +8 -7
  87. data/docs/subcommands/{pcc_list.md → compute-engine/pcc_list.md} +8 -7
  88. data/docs/subcommands/{pcc_update.md → compute-engine/pcc_update.md} +8 -7
  89. data/docs/subcommands/{request_get.md → compute-engine/request_get.md} +8 -7
  90. data/docs/subcommands/{request_list.md → compute-engine/request_list.md} +8 -7
  91. data/docs/subcommands/{request_status.md → compute-engine/request_status.md} +8 -7
  92. data/docs/subcommands/{request_wait.md → compute-engine/request_wait.md} +8 -7
  93. data/docs/subcommands/{server_console.md → compute-engine/server_console.md} +8 -7
  94. data/docs/subcommands/{server_create.md → compute-engine/server_create.md} +8 -7
  95. data/docs/subcommands/{server_delete.md → compute-engine/server_delete.md} +7 -6
  96. data/docs/subcommands/{server_get.md → compute-engine/server_get.md} +8 -7
  97. data/docs/subcommands/{server_list.md → compute-engine/server_list.md} +11 -7
  98. data/docs/subcommands/{server_reboot.md → compute-engine/server_reboot.md} +7 -6
  99. data/docs/subcommands/{server_resume.md → compute-engine/server_resume.md} +7 -6
  100. data/docs/subcommands/{server_start.md → compute-engine/server_start.md} +7 -6
  101. data/docs/subcommands/{server_stop.md → compute-engine/server_stop.md} +7 -6
  102. data/docs/subcommands/{server_suspend.md → compute-engine/server_suspend.md} +7 -6
  103. data/docs/subcommands/{server_token.md → compute-engine/server_token.md} +8 -7
  104. data/docs/subcommands/{server_update.md → compute-engine/server_update.md} +8 -7
  105. data/docs/subcommands/{server_upgrade.md → compute-engine/server_upgrade.md} +8 -7
  106. data/docs/subcommands/{snapshot_create.md → compute-engine/snapshot_create.md} +8 -7
  107. data/docs/subcommands/{snapshot_delete.md → compute-engine/snapshot_delete.md} +8 -7
  108. data/docs/subcommands/{snapshot_get.md → compute-engine/snapshot_get.md} +8 -7
  109. data/docs/subcommands/{snapshot_list.md → compute-engine/snapshot_list.md} +8 -7
  110. data/docs/subcommands/{snapshot_restore.md → compute-engine/snapshot_restore.md} +8 -7
  111. data/docs/subcommands/{snapshot_update.md → compute-engine/snapshot_update.md} +18 -17
  112. data/docs/subcommands/{template_list.md → compute-engine/template_list.md} +8 -7
  113. data/docs/subcommands/{volume_attach.md → compute-engine/volume_attach.md} +7 -6
  114. data/docs/subcommands/{volume_create.md → compute-engine/volume_create.md} +9 -29
  115. data/docs/subcommands/{volume_delete.md → compute-engine/volume_delete.md} +7 -6
  116. data/docs/subcommands/{volume_detach.md → compute-engine/volume_detach.md} +7 -6
  117. data/docs/subcommands/{volume_get.md → compute-engine/volume_get.md} +8 -7
  118. data/docs/subcommands/{volume_list.md → compute-engine/volume_list.md} +8 -7
  119. data/docs/subcommands/{volume_update.md → compute-engine/volume_update.md} +8 -7
  120. data/docs/subcommands/dbaas-postgres/dbaas_postgres_backup_get.md +39 -0
  121. data/docs/subcommands/dbaas-postgres/dbaas_postgres_backup_list.md +38 -0
  122. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_create.md +104 -0
  123. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_delete.md +35 -0
  124. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_get.md +39 -0
  125. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_list.md +35 -0
  126. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_restore.md +45 -0
  127. data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_update.md +66 -0
  128. data/docs/subcommands/dbaas-postgres/dbaas_postgres_logs_get.md +57 -0
  129. data/docs/subcommands/dbaas-postgres/dbaas_postgres_version_list.md +38 -0
  130. data/docs/subcommands/{k8s_create.md → kubernetes/k8s_create.md} +12 -11
  131. data/docs/subcommands/{k8s_delete.md → kubernetes/k8s_delete.md} +8 -7
  132. data/docs/subcommands/{k8s_get.md → kubernetes/k8s_get.md} +8 -7
  133. data/docs/subcommands/{k8s_list.md → kubernetes/k8s_list.md} +8 -7
  134. data/docs/subcommands/{k8s_update.md → kubernetes/k8s_update.md} +8 -7
  135. data/docs/subcommands/{kubeconfig_get.md → kubernetes/kubeconfig_get.md} +8 -7
  136. data/docs/subcommands/{node_delete.md → kubernetes/node_delete.md} +7 -6
  137. data/docs/subcommands/{node_get.md → kubernetes/node_get.md} +8 -7
  138. data/docs/subcommands/{node_list.md → kubernetes/node_list.md} +8 -7
  139. data/docs/subcommands/{node_replace.md → kubernetes/node_replace.md} +7 -6
  140. data/docs/subcommands/{nodepool_create.md → kubernetes/nodepool_create.md} +12 -11
  141. data/docs/subcommands/{nodepool_delete.md → kubernetes/nodepool_delete.md} +7 -6
  142. data/docs/subcommands/{nodepool_get.md → kubernetes/nodepool_get.md} +8 -7
  143. data/docs/subcommands/{nodepool_lan_add.md → kubernetes/nodepool_lan_add.md} +8 -7
  144. data/docs/subcommands/{nodepool_lan_remove.md → kubernetes/nodepool_lan_remove.md} +7 -6
  145. data/docs/subcommands/{nodepool_list.md → kubernetes/nodepool_list.md} +8 -7
  146. data/docs/subcommands/{nodepool_update.md → kubernetes/nodepool_update.md} +8 -7
  147. data/docs/subcommands/{contract_list.md → user/contract_list.md} +8 -7
  148. data/docs/subcommands/{group_create.md → user/group_create.md} +17 -7
  149. data/docs/subcommands/{group_delete.md → user/group_delete.md} +8 -7
  150. data/docs/subcommands/{group_get.md → user/group_get.md} +8 -7
  151. data/docs/subcommands/{group_list.md → user/group_list.md} +8 -7
  152. data/docs/subcommands/{group_update.md → user/group_update.md} +17 -7
  153. data/docs/subcommands/{group_user_add.md → user/group_user_add.md} +7 -6
  154. data/docs/subcommands/{group_user_remove.md → user/group_user_remove.md} +7 -6
  155. data/docs/subcommands/{resource_list.md → user/resource_list.md} +8 -7
  156. data/docs/subcommands/{s3key_create.md → user/s3key_create.md} +8 -7
  157. data/docs/subcommands/{s3key_delete.md → user/s3key_delete.md} +7 -6
  158. data/docs/subcommands/{s3key_get.md → user/s3key_get.md} +8 -7
  159. data/docs/subcommands/{s3key_list.md → user/s3key_list.md} +8 -7
  160. data/docs/subcommands/{share_create.md → user/share_create.md} +9 -8
  161. data/docs/subcommands/{share_delete.md → user/share_delete.md} +9 -8
  162. data/docs/subcommands/{share_get.md → user/share_get.md} +8 -7
  163. data/docs/subcommands/{share_list.md → user/share_list.md} +8 -7
  164. data/docs/subcommands/{share_update.md → user/share_update.md} +8 -7
  165. data/docs/subcommands/{user_create.md → user/user_create.md} +10 -15
  166. data/docs/subcommands/{user_delete.md → user/user_delete.md} +8 -7
  167. data/docs/subcommands/{user_get.md → user/user_get.md} +8 -7
  168. data/docs/subcommands/{user_list.md → user/user_list.md} +8 -7
  169. data/docs/subcommands/{user_ssourl.md → user/user_ssourl.md} +8 -7
  170. data/docs/subcommands/{user_update.md → user/user_update.md} +8 -7
  171. data/docs/summary.md +167 -152
  172. data/docs/templates/summary.mustache +6 -3
  173. data/knife-ionoscloud.gemspec +2 -1
  174. data/lib/chef/knife/ionoscloud_backupunit_create.rb +2 -3
  175. data/lib/chef/knife/ionoscloud_backupunit_delete.rb +2 -4
  176. data/lib/chef/knife/ionoscloud_backupunit_get.rb +2 -3
  177. data/lib/chef/knife/ionoscloud_backupunit_list.rb +1 -3
  178. data/lib/chef/knife/ionoscloud_backupunit_ssourl.rb +2 -3
  179. data/lib/chef/knife/ionoscloud_backupunit_update.rb +3 -4
  180. data/lib/chef/knife/ionoscloud_base.rb +77 -2
  181. data/lib/chef/knife/ionoscloud_composite_server_create.rb +4 -5
  182. data/lib/chef/knife/ionoscloud_contract_list.rb +2 -5
  183. data/lib/chef/knife/ionoscloud_cube_server_create.rb +5 -6
  184. data/lib/chef/knife/ionoscloud_datacenter_create.rb +4 -5
  185. data/lib/chef/knife/ionoscloud_datacenter_delete.rb +2 -4
  186. data/lib/chef/knife/ionoscloud_datacenter_get.rb +2 -3
  187. data/lib/chef/knife/ionoscloud_datacenter_list.rb +1 -3
  188. data/lib/chef/knife/ionoscloud_datacenter_update.rb +4 -5
  189. data/lib/chef/knife/ionoscloud_dbaas_postgres_backup_get.rb +33 -0
  190. data/lib/chef/knife/ionoscloud_dbaas_postgres_backup_list.rb +58 -0
  191. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_create.rb +162 -0
  192. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_delete.rb +48 -0
  193. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_get.rb +34 -0
  194. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_list.rb +54 -0
  195. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_restore.rb +48 -0
  196. data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_update.rb +100 -0
  197. data/lib/chef/knife/ionoscloud_dbaas_postgres_logs_get.rb +90 -0
  198. data/lib/chef/knife/ionoscloud_dbaas_postgres_version_list.rb +49 -0
  199. data/lib/chef/knife/ionoscloud_firewall_create.rb +3 -4
  200. data/lib/chef/knife/ionoscloud_firewall_delete.rb +3 -4
  201. data/lib/chef/knife/ionoscloud_firewall_get.rb +2 -3
  202. data/lib/chef/knife/ionoscloud_firewall_list.rb +3 -4
  203. data/lib/chef/knife/ionoscloud_firewall_update.rb +2 -3
  204. data/lib/chef/knife/ionoscloud_flowlog_create.rb +2 -3
  205. data/lib/chef/knife/ionoscloud_flowlog_delete.rb +3 -6
  206. data/lib/chef/knife/ionoscloud_flowlog_get.rb +2 -3
  207. data/lib/chef/knife/ionoscloud_flowlog_list.rb +5 -8
  208. data/lib/chef/knife/ionoscloud_flowlog_update.rb +2 -3
  209. data/lib/chef/knife/ionoscloud_group_create.rb +2 -3
  210. data/lib/chef/knife/ionoscloud_group_delete.rb +2 -4
  211. data/lib/chef/knife/ionoscloud_group_get.rb +2 -3
  212. data/lib/chef/knife/ionoscloud_group_list.rb +1 -3
  213. data/lib/chef/knife/ionoscloud_group_update.rb +3 -4
  214. data/lib/chef/knife/ionoscloud_group_user_add.rb +2 -3
  215. data/lib/chef/knife/ionoscloud_group_user_remove.rb +2 -3
  216. data/lib/chef/knife/ionoscloud_image_list.rb +1 -3
  217. data/lib/chef/knife/ionoscloud_ipblock_create.rb +2 -3
  218. data/lib/chef/knife/ionoscloud_ipblock_delete.rb +2 -4
  219. data/lib/chef/knife/ionoscloud_ipblock_get.rb +2 -3
  220. data/lib/chef/knife/ionoscloud_ipblock_list.rb +1 -3
  221. data/lib/chef/knife/ionoscloud_ipblock_update.rb +2 -3
  222. data/lib/chef/knife/ionoscloud_ipfailover_add.rb +2 -3
  223. data/lib/chef/knife/ionoscloud_ipfailover_remove.rb +2 -3
  224. data/lib/chef/knife/ionoscloud_k8s_create.rb +2 -3
  225. data/lib/chef/knife/ionoscloud_k8s_delete.rb +3 -5
  226. data/lib/chef/knife/ionoscloud_k8s_get.rb +2 -3
  227. data/lib/chef/knife/ionoscloud_k8s_list.rb +1 -3
  228. data/lib/chef/knife/ionoscloud_k8s_update.rb +4 -9
  229. data/lib/chef/knife/ionoscloud_kubeconfig_get.rb +2 -3
  230. data/lib/chef/knife/ionoscloud_label_add.rb +2 -3
  231. data/lib/chef/knife/ionoscloud_label_list.rb +2 -6
  232. data/lib/chef/knife/ionoscloud_label_remove.rb +2 -3
  233. data/lib/chef/knife/ionoscloud_lan_create.rb +2 -3
  234. data/lib/chef/knife/ionoscloud_lan_delete.rb +3 -4
  235. data/lib/chef/knife/ionoscloud_lan_get.rb +2 -3
  236. data/lib/chef/knife/ionoscloud_lan_list.rb +2 -3
  237. data/lib/chef/knife/ionoscloud_lan_update.rb +2 -3
  238. data/lib/chef/knife/ionoscloud_loadbalancer_create.rb +2 -3
  239. data/lib/chef/knife/ionoscloud_loadbalancer_delete.rb +3 -4
  240. data/lib/chef/knife/ionoscloud_loadbalancer_get.rb +2 -3
  241. data/lib/chef/knife/ionoscloud_loadbalancer_list.rb +2 -3
  242. data/lib/chef/knife/ionoscloud_loadbalancer_nic_add.rb +2 -3
  243. data/lib/chef/knife/ionoscloud_loadbalancer_nic_remove.rb +2 -3
  244. data/lib/chef/knife/ionoscloud_loadbalancer_update.rb +2 -3
  245. data/lib/chef/knife/ionoscloud_location_list.rb +1 -3
  246. data/lib/chef/knife/ionoscloud_natgateway_create.rb +3 -4
  247. data/lib/chef/knife/ionoscloud_natgateway_delete.rb +3 -4
  248. data/lib/chef/knife/ionoscloud_natgateway_get.rb +2 -3
  249. data/lib/chef/knife/ionoscloud_natgateway_lan_add.rb +2 -3
  250. data/lib/chef/knife/ionoscloud_natgateway_lan_remove.rb +2 -3
  251. data/lib/chef/knife/ionoscloud_natgateway_list.rb +2 -3
  252. data/lib/chef/knife/ionoscloud_natgateway_rule_add.rb +3 -4
  253. data/lib/chef/knife/ionoscloud_natgateway_rule_list.rb +2 -3
  254. data/lib/chef/knife/ionoscloud_natgateway_rule_remove.rb +2 -3
  255. data/lib/chef/knife/ionoscloud_natgateway_rule_update.rb +3 -4
  256. data/lib/chef/knife/ionoscloud_natgateway_update.rb +3 -5
  257. data/lib/chef/knife/ionoscloud_networkloadbalancer_create.rb +2 -3
  258. data/lib/chef/knife/ionoscloud_networkloadbalancer_delete.rb +3 -4
  259. data/lib/chef/knife/ionoscloud_networkloadbalancer_get.rb +2 -3
  260. data/lib/chef/knife/ionoscloud_networkloadbalancer_list.rb +2 -3
  261. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_add.rb +3 -5
  262. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_list.rb +2 -3
  263. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_remove.rb +2 -3
  264. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_add.rb +2 -3
  265. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_list.rb +2 -3
  266. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_remove.rb +3 -5
  267. data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_update.rb +3 -5
  268. data/lib/chef/knife/ionoscloud_networkloadbalancer_update.rb +2 -3
  269. data/lib/chef/knife/ionoscloud_nic_create.rb +5 -6
  270. data/lib/chef/knife/ionoscloud_nic_delete.rb +3 -4
  271. data/lib/chef/knife/ionoscloud_nic_get.rb +2 -3
  272. data/lib/chef/knife/ionoscloud_nic_list.rb +2 -3
  273. data/lib/chef/knife/ionoscloud_nic_update.rb +2 -3
  274. data/lib/chef/knife/ionoscloud_node_delete.rb +3 -4
  275. data/lib/chef/knife/ionoscloud_node_get.rb +2 -3
  276. data/lib/chef/knife/ionoscloud_node_list.rb +2 -3
  277. data/lib/chef/knife/ionoscloud_node_replace.rb +5 -6
  278. data/lib/chef/knife/ionoscloud_nodepool_create.rb +4 -5
  279. data/lib/chef/knife/ionoscloud_nodepool_delete.rb +3 -4
  280. data/lib/chef/knife/ionoscloud_nodepool_get.rb +2 -3
  281. data/lib/chef/knife/ionoscloud_nodepool_lan_add.rb +2 -3
  282. data/lib/chef/knife/ionoscloud_nodepool_lan_remove.rb +2 -3
  283. data/lib/chef/knife/ionoscloud_nodepool_list.rb +2 -3
  284. data/lib/chef/knife/ionoscloud_nodepool_update.rb +2 -3
  285. data/lib/chef/knife/ionoscloud_pcc_create.rb +1 -3
  286. data/lib/chef/knife/ionoscloud_pcc_delete.rb +2 -4
  287. data/lib/chef/knife/ionoscloud_pcc_get.rb +2 -3
  288. data/lib/chef/knife/ionoscloud_pcc_list.rb +1 -3
  289. data/lib/chef/knife/ionoscloud_pcc_update.rb +3 -4
  290. data/lib/chef/knife/ionoscloud_request_get.rb +2 -3
  291. data/lib/chef/knife/ionoscloud_request_list.rb +7 -21
  292. data/lib/chef/knife/ionoscloud_request_status.rb +2 -3
  293. data/lib/chef/knife/ionoscloud_request_wait.rb +2 -3
  294. data/lib/chef/knife/ionoscloud_resource_list.rb +11 -15
  295. data/lib/chef/knife/ionoscloud_s3key_create.rb +2 -3
  296. data/lib/chef/knife/ionoscloud_s3key_delete.rb +3 -4
  297. data/lib/chef/knife/ionoscloud_s3key_get.rb +2 -3
  298. data/lib/chef/knife/ionoscloud_s3key_list.rb +2 -3
  299. data/lib/chef/knife/ionoscloud_server_console.rb +2 -3
  300. data/lib/chef/knife/ionoscloud_server_create.rb +5 -6
  301. data/lib/chef/knife/ionoscloud_server_delete.rb +5 -6
  302. data/lib/chef/knife/ionoscloud_server_get.rb +2 -3
  303. data/lib/chef/knife/ionoscloud_server_list.rb +2 -3
  304. data/lib/chef/knife/ionoscloud_server_reboot.rb +2 -3
  305. data/lib/chef/knife/ionoscloud_server_resume.rb +2 -3
  306. data/lib/chef/knife/ionoscloud_server_start.rb +2 -3
  307. data/lib/chef/knife/ionoscloud_server_stop.rb +2 -3
  308. data/lib/chef/knife/ionoscloud_server_suspend.rb +2 -3
  309. data/lib/chef/knife/ionoscloud_server_token.rb +2 -3
  310. data/lib/chef/knife/ionoscloud_server_update.rb +2 -3
  311. data/lib/chef/knife/ionoscloud_server_upgrade.rb +3 -4
  312. data/lib/chef/knife/ionoscloud_share_create.rb +2 -3
  313. data/lib/chef/knife/ionoscloud_share_delete.rb +3 -4
  314. data/lib/chef/knife/ionoscloud_share_get.rb +2 -3
  315. data/lib/chef/knife/ionoscloud_share_list.rb +2 -3
  316. data/lib/chef/knife/ionoscloud_share_update.rb +2 -3
  317. data/lib/chef/knife/ionoscloud_snapshot_create.rb +2 -3
  318. data/lib/chef/knife/ionoscloud_snapshot_delete.rb +2 -4
  319. data/lib/chef/knife/ionoscloud_snapshot_get.rb +2 -3
  320. data/lib/chef/knife/ionoscloud_snapshot_list.rb +2 -4
  321. data/lib/chef/knife/ionoscloud_snapshot_restore.rb +2 -3
  322. data/lib/chef/knife/ionoscloud_snapshot_update.rb +2 -3
  323. data/lib/chef/knife/ionoscloud_template_list.rb +1 -3
  324. data/lib/chef/knife/ionoscloud_user_create.rb +2 -3
  325. data/lib/chef/knife/ionoscloud_user_delete.rb +2 -4
  326. data/lib/chef/knife/ionoscloud_user_get.rb +2 -3
  327. data/lib/chef/knife/ionoscloud_user_list.rb +1 -3
  328. data/lib/chef/knife/ionoscloud_user_ssourl.rb +2 -3
  329. data/lib/chef/knife/ionoscloud_user_update.rb +2 -3
  330. data/lib/chef/knife/ionoscloud_volume_attach.rb +2 -3
  331. data/lib/chef/knife/ionoscloud_volume_create.rb +2 -3
  332. data/lib/chef/knife/ionoscloud_volume_delete.rb +3 -4
  333. data/lib/chef/knife/ionoscloud_volume_detach.rb +6 -7
  334. data/lib/chef/knife/ionoscloud_volume_get.rb +2 -3
  335. data/lib/chef/knife/ionoscloud_volume_list.rb +2 -3
  336. data/lib/chef/knife/ionoscloud_volume_update.rb +2 -3
  337. data/lib/knife-ionoscloud/version.rb +1 -1
  338. data/sonar-project.properties +3 -0
  339. data/spec/chef/knife/ionoscloud_backupunit_create_spec.rb +11 -9
  340. data/spec/chef/knife/ionoscloud_backupunit_delete_spec.rb +10 -8
  341. data/spec/chef/knife/ionoscloud_backupunit_get_spec.rb +10 -8
  342. data/spec/chef/knife/ionoscloud_backupunit_list_spec.rb +10 -8
  343. data/spec/chef/knife/ionoscloud_backupunit_ssourl_spec.rb +11 -12
  344. data/spec/chef/knife/ionoscloud_backupunit_update_spec.rb +10 -8
  345. data/spec/chef/knife/ionoscloud_base_spec.rb +52 -4
  346. data/spec/chef/knife/ionoscloud_composite_server_create_spec.rb +10 -8
  347. data/spec/chef/knife/ionoscloud_contract_list_spec.rb +10 -8
  348. data/spec/chef/knife/ionoscloud_cube_server_create_spec.rb +12 -10
  349. data/spec/chef/knife/ionoscloud_datacenter_create_spec.rb +10 -8
  350. data/spec/chef/knife/ionoscloud_datacenter_delete_spec.rb +10 -8
  351. data/spec/chef/knife/ionoscloud_datacenter_get_spec.rb +10 -8
  352. data/spec/chef/knife/ionoscloud_datacenter_list_spec.rb +10 -8
  353. data/spec/chef/knife/ionoscloud_datacenter_update_spec.rb +10 -8
  354. data/spec/chef/knife/ionoscloud_dbaas_postgres_backup_get_spec.rb +69 -0
  355. data/spec/chef/knife/ionoscloud_dbaas_postgres_backup_list_spec.rb +113 -0
  356. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_create_spec.rb +103 -0
  357. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_delete_spec.rb +112 -0
  358. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_get_spec.rb +76 -0
  359. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_list_spec.rb +88 -0
  360. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_restore_spec.rb +61 -0
  361. data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_update_spec.rb +92 -0
  362. data/spec/chef/knife/ionoscloud_dbaas_postgres_logs_get_spec.rb +141 -0
  363. data/spec/chef/knife/ionoscloud_dbaas_postgres_version_list_spec.rb +96 -0
  364. data/spec/chef/knife/ionoscloud_firewall_create_spec.rb +10 -8
  365. data/spec/chef/knife/ionoscloud_firewall_delete_spec.rb +10 -8
  366. data/spec/chef/knife/ionoscloud_firewall_get_spec.rb +10 -8
  367. data/spec/chef/knife/ionoscloud_firewall_list_spec.rb +10 -8
  368. data/spec/chef/knife/ionoscloud_firewall_update_spec.rb +12 -10
  369. data/spec/chef/knife/ionoscloud_flowlog_create_spec.rb +10 -8
  370. data/spec/chef/knife/ionoscloud_flowlog_delete_spec.rb +10 -8
  371. data/spec/chef/knife/ionoscloud_flowlog_get_spec.rb +10 -9
  372. data/spec/chef/knife/ionoscloud_flowlog_list_spec.rb +10 -8
  373. data/spec/chef/knife/ionoscloud_flowlog_update_spec.rb +10 -9
  374. data/spec/chef/knife/ionoscloud_group_create_spec.rb +10 -8
  375. data/spec/chef/knife/ionoscloud_group_delete_spec.rb +10 -8
  376. data/spec/chef/knife/ionoscloud_group_get_spec.rb +10 -8
  377. data/spec/chef/knife/ionoscloud_group_list_spec.rb +12 -10
  378. data/spec/chef/knife/ionoscloud_group_update_spec.rb +10 -8
  379. data/spec/chef/knife/ionoscloud_group_user_add_spec.rb +10 -8
  380. data/spec/chef/knife/ionoscloud_group_user_remove_spec.rb +10 -8
  381. data/spec/chef/knife/ionoscloud_image_list_spec.rb +10 -8
  382. data/spec/chef/knife/ionoscloud_ipblock_create_spec.rb +10 -8
  383. data/spec/chef/knife/ionoscloud_ipblock_delete_spec.rb +10 -8
  384. data/spec/chef/knife/ionoscloud_ipblock_get_spec.rb +10 -8
  385. data/spec/chef/knife/ionoscloud_ipblock_list_spec.rb +10 -8
  386. data/spec/chef/knife/ionoscloud_ipblock_update_spec.rb +10 -8
  387. data/spec/chef/knife/ionoscloud_ipfailover_add_spec.rb +10 -8
  388. data/spec/chef/knife/ionoscloud_ipfailover_remove_spec.rb +10 -8
  389. data/spec/chef/knife/ionoscloud_k8s_create_spec.rb +10 -8
  390. data/spec/chef/knife/ionoscloud_k8s_delete_spec.rb +13 -11
  391. data/spec/chef/knife/ionoscloud_k8s_get_spec.rb +10 -8
  392. data/spec/chef/knife/ionoscloud_k8s_list_spec.rb +10 -8
  393. data/spec/chef/knife/ionoscloud_k8s_update_spec.rb +12 -10
  394. data/spec/chef/knife/ionoscloud_kubeconfig_get_spec.rb +11 -12
  395. data/spec/chef/knife/ionoscloud_label_add_spec.rb +11 -9
  396. data/spec/chef/knife/ionoscloud_label_list_spec.rb +14 -12
  397. data/spec/chef/knife/ionoscloud_label_remove_spec.rb +11 -9
  398. data/spec/chef/knife/ionoscloud_lan_create_spec.rb +10 -8
  399. data/spec/chef/knife/ionoscloud_lan_delete_spec.rb +10 -8
  400. data/spec/chef/knife/ionoscloud_lan_get_spec.rb +10 -8
  401. data/spec/chef/knife/ionoscloud_lan_list_spec.rb +10 -8
  402. data/spec/chef/knife/ionoscloud_lan_update_spec.rb +10 -8
  403. data/spec/chef/knife/ionoscloud_loadbalancer_create_spec.rb +10 -8
  404. data/spec/chef/knife/ionoscloud_loadbalancer_delete_spec.rb +10 -8
  405. data/spec/chef/knife/ionoscloud_loadbalancer_get_spec.rb +10 -8
  406. data/spec/chef/knife/ionoscloud_loadbalancer_list_spec.rb +10 -8
  407. data/spec/chef/knife/ionoscloud_loadbalancer_nic_add_spec.rb +10 -8
  408. data/spec/chef/knife/ionoscloud_loadbalancer_nic_remove_spec.rb +10 -8
  409. data/spec/chef/knife/ionoscloud_loadbalancer_update_spec.rb +11 -9
  410. data/spec/chef/knife/ionoscloud_location_list_spec.rb +11 -9
  411. data/spec/chef/knife/ionoscloud_natgateway_create_spec.rb +10 -8
  412. data/spec/chef/knife/ionoscloud_natgateway_delete_spec.rb +10 -8
  413. data/spec/chef/knife/ionoscloud_natgateway_get_spec.rb +10 -8
  414. data/spec/chef/knife/ionoscloud_natgateway_lan_add_spec.rb +12 -10
  415. data/spec/chef/knife/ionoscloud_natgateway_lan_remove_spec.rb +10 -8
  416. data/spec/chef/knife/ionoscloud_natgateway_list_spec.rb +10 -8
  417. data/spec/chef/knife/ionoscloud_natgateway_rule_add_spec.rb +10 -8
  418. data/spec/chef/knife/ionoscloud_natgateway_rule_list_spec.rb +10 -8
  419. data/spec/chef/knife/ionoscloud_natgateway_rule_remove_spec.rb +10 -8
  420. data/spec/chef/knife/ionoscloud_natgateway_rule_update_spec.rb +14 -12
  421. data/spec/chef/knife/ionoscloud_natgateway_update_spec.rb +14 -13
  422. data/spec/chef/knife/ionoscloud_networkloadbalancer_create_spec.rb +10 -8
  423. data/spec/chef/knife/ionoscloud_networkloadbalancer_delete_spec.rb +10 -8
  424. data/spec/chef/knife/ionoscloud_networkloadbalancer_get_spec.rb +10 -8
  425. data/spec/chef/knife/ionoscloud_networkloadbalancer_list_spec.rb +10 -8
  426. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_add_spec.rb +10 -8
  427. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_list_spec.rb +10 -8
  428. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_remove_spec.rb +10 -8
  429. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_target_add_spec.rb +11 -9
  430. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_target_list_spec.rb +10 -8
  431. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_target_remove_spec.rb +22 -22
  432. data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_update_spec.rb +14 -13
  433. data/spec/chef/knife/ionoscloud_networkloadbalancer_update_spec.rb +12 -10
  434. data/spec/chef/knife/ionoscloud_nic_create_spec.rb +10 -8
  435. data/spec/chef/knife/ionoscloud_nic_delete_spec.rb +10 -8
  436. data/spec/chef/knife/ionoscloud_nic_get_spec.rb +10 -8
  437. data/spec/chef/knife/ionoscloud_nic_list_spec.rb +10 -8
  438. data/spec/chef/knife/ionoscloud_nic_update_spec.rb +11 -9
  439. data/spec/chef/knife/ionoscloud_node_delete_spec.rb +10 -8
  440. data/spec/chef/knife/ionoscloud_node_get_spec.rb +10 -8
  441. data/spec/chef/knife/ionoscloud_node_list_spec.rb +10 -8
  442. data/spec/chef/knife/ionoscloud_node_replace_spec.rb +10 -8
  443. data/spec/chef/knife/ionoscloud_nodepool_create_spec.rb +11 -8
  444. data/spec/chef/knife/ionoscloud_nodepool_delete_spec.rb +11 -8
  445. data/spec/chef/knife/ionoscloud_nodepool_get_spec.rb +10 -8
  446. data/spec/chef/knife/ionoscloud_nodepool_lan_add_spec.rb +11 -10
  447. data/spec/chef/knife/{ionoscloud_nodepool_lan_remove.rb → ionoscloud_nodepool_lan_remove_spec.rb} +22 -24
  448. data/spec/chef/knife/ionoscloud_nodepool_list_spec.rb +10 -8
  449. data/spec/chef/knife/ionoscloud_nodepool_update_spec.rb +12 -10
  450. data/spec/chef/knife/ionoscloud_pcc_create_spec.rb +10 -8
  451. data/spec/chef/knife/ionoscloud_pcc_delete_spec.rb +10 -8
  452. data/spec/chef/knife/ionoscloud_pcc_get_spec.rb +10 -8
  453. data/spec/chef/knife/ionoscloud_pcc_list_spec.rb +10 -8
  454. data/spec/chef/knife/ionoscloud_pcc_update_spec.rb +10 -8
  455. data/spec/chef/knife/ionoscloud_request_get_spec.rb +10 -8
  456. data/spec/chef/knife/ionoscloud_request_list_spec.rb +11 -10
  457. data/spec/chef/knife/ionoscloud_request_status_spec.rb +11 -12
  458. data/spec/chef/knife/ionoscloud_request_wait_spec.rb +11 -13
  459. data/spec/chef/knife/ionoscloud_resource_list_spec.rb +11 -10
  460. data/spec/chef/knife/ionoscloud_s3key_create_spec.rb +10 -8
  461. data/spec/chef/knife/ionoscloud_s3key_delete_spec.rb +10 -8
  462. data/spec/chef/knife/ionoscloud_s3key_get_spec.rb +10 -8
  463. data/spec/chef/knife/ionoscloud_s3key_list_spec.rb +10 -8
  464. data/spec/chef/knife/ionoscloud_server_console_spec.rb +11 -12
  465. data/spec/chef/knife/ionoscloud_server_create_spec.rb +10 -8
  466. data/spec/chef/knife/ionoscloud_server_delete_spec.rb +10 -8
  467. data/spec/chef/knife/ionoscloud_server_get_spec.rb +10 -8
  468. data/spec/chef/knife/ionoscloud_server_list_spec.rb +10 -8
  469. data/spec/chef/knife/ionoscloud_server_reboot_spec.rb +10 -8
  470. data/spec/chef/knife/ionoscloud_server_resume_spec.rb +10 -8
  471. data/spec/chef/knife/ionoscloud_server_start_spec.rb +10 -8
  472. data/spec/chef/knife/ionoscloud_server_stop_spec.rb +10 -8
  473. data/spec/chef/knife/ionoscloud_server_suspend_spec.rb +10 -8
  474. data/spec/chef/knife/ionoscloud_server_token_spec.rb +11 -12
  475. data/spec/chef/knife/ionoscloud_server_update_spec.rb +10 -8
  476. data/spec/chef/knife/ionoscloud_server_upgrade_spec.rb +10 -8
  477. data/spec/chef/knife/ionoscloud_share_create_spec.rb +10 -8
  478. data/spec/chef/knife/ionoscloud_share_delete_spec.rb +10 -8
  479. data/spec/chef/knife/ionoscloud_share_get_spec.rb +10 -8
  480. data/spec/chef/knife/ionoscloud_share_list_spec.rb +10 -8
  481. data/spec/chef/knife/ionoscloud_share_update_spec.rb +10 -8
  482. data/spec/chef/knife/ionoscloud_snapshot_create_spec.rb +10 -8
  483. data/spec/chef/knife/ionoscloud_snapshot_delete_spec.rb +10 -8
  484. data/spec/chef/knife/ionoscloud_snapshot_get_spec.rb +10 -8
  485. data/spec/chef/knife/ionoscloud_snapshot_list_spec.rb +10 -8
  486. data/spec/chef/knife/ionoscloud_snapshot_restore_spec.rb +10 -8
  487. data/spec/chef/knife/ionoscloud_snapshot_update_spec.rb +10 -8
  488. data/spec/chef/knife/ionoscloud_template_list_spec.rb +10 -8
  489. data/spec/chef/knife/ionoscloud_user_create_spec.rb +10 -8
  490. data/spec/chef/knife/ionoscloud_user_delete_spec.rb +10 -8
  491. data/spec/chef/knife/ionoscloud_user_get_spec.rb +10 -8
  492. data/spec/chef/knife/ionoscloud_user_list_spec.rb +12 -10
  493. data/spec/chef/knife/ionoscloud_user_ssourl_spec.rb +11 -12
  494. data/spec/chef/knife/ionoscloud_user_update_spec.rb +10 -8
  495. data/spec/chef/knife/ionoscloud_volume_attach_spec.rb +10 -8
  496. data/spec/chef/knife/ionoscloud_volume_create_spec.rb +10 -8
  497. data/spec/chef/knife/ionoscloud_volume_delete_spec.rb +10 -8
  498. data/spec/chef/knife/ionoscloud_volume_detach_spec.rb +10 -8
  499. data/spec/chef/knife/ionoscloud_volume_get_spec.rb +10 -8
  500. data/spec/chef/knife/ionoscloud_volume_list_spec.rb +12 -10
  501. data/spec/chef/knife/ionoscloud_volume_update_spec.rb +10 -8
  502. data/spec/spec_helper.rb +116 -6
  503. metadata +213 -160
  504. data/spec/test.sh +0 -3
@@ -11,10 +11,11 @@ knife ionoscloud user get (options)
11
11
  ### Required options:
12
12
 
13
13
  * user\_id
14
- * ionoscloud\_username
15
- * ionoscloud\_password
16
14
 
17
15
  ```text
16
+ ionoscloud_url: --url URL
17
+ the Ionoscloud API URL
18
+
18
19
  extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
19
20
  path to the additional config file
20
21
 
@@ -22,17 +23,17 @@ knife ionoscloud user get (options)
22
23
  iD of the group. (required)
23
24
 
24
25
  ionoscloud_username: --username USERNAME, -u USERNAME
25
- your Ionoscloud username (required)
26
+ your Ionoscloud username
26
27
 
27
28
  ionoscloud_password: --password PASSWORD, -p PASSWORD
28
- your Ionoscloud password (required)
29
+ your Ionoscloud password
29
30
 
30
- ionoscloud_url: --url URL
31
- the Ionoscloud API URL
31
+ ionoscloud_token: --token PASSWORD
32
+ your Ionoscloud access token
32
33
 
33
34
  ```
34
35
  ## Example
35
36
 
36
37
  ```text
37
- knife ionoscloud user get --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --username USERNAME --password PASSWORD --url URL
38
+ knife ionoscloud user get --url URL --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --username USERNAME --password PASSWORD --token PASSWORD
38
39
  ```
@@ -10,10 +10,11 @@ knife ionoscloud user list (options)
10
10
 
11
11
  ### Required options:
12
12
 
13
- * ionoscloud\_username
14
- * ionoscloud\_password
15
13
 
16
14
  ```text
15
+ ionoscloud_url: --url URL
16
+ the Ionoscloud API URL
17
+
17
18
  extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
18
19
  path to the additional config file
19
20
 
@@ -21,17 +22,17 @@ knife ionoscloud user list (options)
21
22
  iD of the group.
22
23
 
23
24
  ionoscloud_username: --username USERNAME, -u USERNAME
24
- your Ionoscloud username (required)
25
+ your Ionoscloud username
25
26
 
26
27
  ionoscloud_password: --password PASSWORD, -p PASSWORD
27
- your Ionoscloud password (required)
28
+ your Ionoscloud password
28
29
 
29
- ionoscloud_url: --url URL
30
- the Ionoscloud API URL
30
+ ionoscloud_token: --token PASSWORD
31
+ your Ionoscloud access token
31
32
 
32
33
  ```
33
34
  ## Example
34
35
 
35
36
  ```text
36
- knife ionoscloud user list --extra-config EXTRA_CONFIG_FILE_PATH --group-id GROUP_ID --username USERNAME --password PASSWORD --url URL
37
+ knife ionoscloud user list --url URL --extra-config EXTRA_CONFIG_FILE_PATH --group-id GROUP_ID --username USERNAME --password PASSWORD --token PASSWORD
37
38
  ```
@@ -11,10 +11,11 @@ knife ionoscloud user ssourl (options)
11
11
  ### Required options:
12
12
 
13
13
  * user\_id
14
- * ionoscloud\_username
15
- * ionoscloud\_password
16
14
 
17
15
  ```text
16
+ ionoscloud_url: --url URL
17
+ the Ionoscloud API URL
18
+
18
19
  extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
19
20
  path to the additional config file
20
21
 
@@ -22,17 +23,17 @@ knife ionoscloud user ssourl (options)
22
23
  the ID of the Backup unit. (required)
23
24
 
24
25
  ionoscloud_username: --username USERNAME, -u USERNAME
25
- your Ionoscloud username (required)
26
+ your Ionoscloud username
26
27
 
27
28
  ionoscloud_password: --password PASSWORD, -p PASSWORD
28
- your Ionoscloud password (required)
29
+ your Ionoscloud password
29
30
 
30
- ionoscloud_url: --url URL
31
- the Ionoscloud API URL
31
+ ionoscloud_token: --token PASSWORD
32
+ your Ionoscloud access token
32
33
 
33
34
  ```
34
35
  ## Example
35
36
 
36
37
  ```text
37
- knife ionoscloud user ssourl --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --username USERNAME --password PASSWORD --url URL
38
+ knife ionoscloud user ssourl --url URL --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --username USERNAME --password PASSWORD --token PASSWORD
38
39
  ```
@@ -11,10 +11,11 @@ knife ionoscloud user update (options)
11
11
  ### Required options:
12
12
 
13
13
  * user\_id
14
- * ionoscloud\_username
15
- * ionoscloud\_password
16
14
 
17
15
  ```text
16
+ ionoscloud_url: --url URL
17
+ the Ionoscloud API URL
18
+
18
19
  extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
19
20
  path to the additional config file
20
21
 
@@ -43,17 +44,17 @@ knife ionoscloud user update (options)
43
44
  indicates if the user is active.
44
45
 
45
46
  ionoscloud_username: --username USERNAME, -u USERNAME
46
- your Ionoscloud username (required)
47
+ your Ionoscloud username
47
48
 
48
49
  ionoscloud_password: --password PASSWORD, -p PASSWORD
49
- your Ionoscloud password (required)
50
+ your Ionoscloud password
50
51
 
51
- ionoscloud_url: --url URL
52
- the Ionoscloud API URL
52
+ ionoscloud_token: --token PASSWORD
53
+ your Ionoscloud access token
53
54
 
54
55
  ```
55
56
  ## Example
56
57
 
57
58
  ```text
58
- knife ionoscloud user update --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --firstname FIRSTNAME --lastname LASTNAME --email EMAIL --admin ADMIN --sec-auth FORCE_SEC_AUTH --sec-auth SEC_AUTH_ACTIVE --active ACTIVE --username USERNAME --password PASSWORD --url URL
59
+ knife ionoscloud user update --url URL --extra-config EXTRA_CONFIG_FILE_PATH --user-id USER_ID --firstname FIRSTNAME --lastname LASTNAME --email EMAIL --admin ADMIN --sec-auth FORCE_SEC_AUTH --sec-auth SEC_AUTH_ACTIVE --active ACTIVE --username USERNAME --password PASSWORD --token PASSWORD
59
60
  ```
data/docs/summary.md CHANGED
@@ -5,155 +5,170 @@
5
5
 
6
6
  ## Subcommands
7
7
 
8
- * [BackupunitCreate](subcommands/backupunit_create.md)
9
- * [BackupunitDelete](subcommands/backupunit_delete.md)
10
- * [BackupunitGet](subcommands/backupunit_get.md)
11
- * [BackupunitList](subcommands/backupunit_list.md)
12
- * [BackupunitSsourl](subcommands/backupunit_ssourl.md)
13
- * [BackupunitUpdate](subcommands/backupunit_update.md)
14
- * [CompositeServerCreate](subcommands/composite_server_create.md)
15
- * [ContractList](subcommands/contract_list.md)
16
- * [CubeServerCreate](subcommands/cube_server_create.md)
17
- * [DatacenterCreate](subcommands/datacenter_create.md)
18
- * [DatacenterDelete](subcommands/datacenter_delete.md)
19
- * [DatacenterGet](subcommands/datacenter_get.md)
20
- * [DatacenterList](subcommands/datacenter_list.md)
21
- * [DatacenterUpdate](subcommands/datacenter_update.md)
22
- * [FirewallCreate](subcommands/firewall_create.md)
23
- * [FirewallDelete](subcommands/firewall_delete.md)
24
- * [FirewallGet](subcommands/firewall_get.md)
25
- * [FirewallList](subcommands/firewall_list.md)
26
- * [FirewallUpdate](subcommands/firewall_update.md)
27
- * [FlowlogCreate](subcommands/flowlog_create.md)
28
- * [FlowlogDelete](subcommands/flowlog_delete.md)
29
- * [FlowlogGet](subcommands/flowlog_get.md)
30
- * [FlowlogList](subcommands/flowlog_list.md)
31
- * [FlowlogUpdate](subcommands/flowlog_update.md)
32
- * [GroupCreate](subcommands/group_create.md)
33
- * [GroupDelete](subcommands/group_delete.md)
34
- * [GroupGet](subcommands/group_get.md)
35
- * [GroupList](subcommands/group_list.md)
36
- * [GroupUpdate](subcommands/group_update.md)
37
- * [GroupUserAdd](subcommands/group_user_add.md)
38
- * [GroupUserRemove](subcommands/group_user_remove.md)
39
- * [ImageList](subcommands/image_list.md)
40
- * [IpblockCreate](subcommands/ipblock_create.md)
41
- * [IpblockDelete](subcommands/ipblock_delete.md)
42
- * [IpblockGet](subcommands/ipblock_get.md)
43
- * [IpblockList](subcommands/ipblock_list.md)
44
- * [IpblockUpdate](subcommands/ipblock_update.md)
45
- * [IpfailoverAdd](subcommands/ipfailover_add.md)
46
- * [IpfailoverRemove](subcommands/ipfailover_remove.md)
47
- * [K8sCreate](subcommands/k8s_create.md)
48
- * [K8sDelete](subcommands/k8s_delete.md)
49
- * [K8sGet](subcommands/k8s_get.md)
50
- * [K8sList](subcommands/k8s_list.md)
51
- * [K8sUpdate](subcommands/k8s_update.md)
52
- * [KubeconfigGet](subcommands/kubeconfig_get.md)
53
- * [LabelAdd](subcommands/label_add.md)
54
- * [LabelList](subcommands/label_list.md)
55
- * [LabelRemove](subcommands/label_remove.md)
56
- * [LanCreate](subcommands/lan_create.md)
57
- * [LanDelete](subcommands/lan_delete.md)
58
- * [LanGet](subcommands/lan_get.md)
59
- * [LanList](subcommands/lan_list.md)
60
- * [LanUpdate](subcommands/lan_update.md)
61
- * [LoadbalancerCreate](subcommands/loadbalancer_create.md)
62
- * [LoadbalancerDelete](subcommands/loadbalancer_delete.md)
63
- * [LoadbalancerGet](subcommands/loadbalancer_get.md)
64
- * [LoadbalancerList](subcommands/loadbalancer_list.md)
65
- * [LoadbalancerNicAdd](subcommands/loadbalancer_nic_add.md)
66
- * [LoadbalancerNicRemove](subcommands/loadbalancer_nic_remove.md)
67
- * [LoadbalancerUpdate](subcommands/loadbalancer_update.md)
68
- * [LocationList](subcommands/location_list.md)
69
- * [NatgatewayCreate](subcommands/natgateway_create.md)
70
- * [NatgatewayDelete](subcommands/natgateway_delete.md)
71
- * [NatgatewayGet](subcommands/natgateway_get.md)
72
- * [NatgatewayLanAdd](subcommands/natgateway_lan_add.md)
73
- * [NatgatewayLanRemove](subcommands/natgateway_lan_remove.md)
74
- * [NatgatewayList](subcommands/natgateway_list.md)
75
- * [NatgatewayRuleAdd](subcommands/natgateway_rule_add.md)
76
- * [NatgatewayRuleList](subcommands/natgateway_rule_list.md)
77
- * [NatgatewayRuleRemove](subcommands/natgateway_rule_remove.md)
78
- * [NatgatewayRuleUpdate](subcommands/natgateway_rule_update.md)
79
- * [NatgatewayUpdate](subcommands/natgateway_update.md)
80
- * [NetworkloadbalancerCreate](subcommands/networkloadbalancer_create.md)
81
- * [NetworkloadbalancerDelete](subcommands/networkloadbalancer_delete.md)
82
- * [NetworkloadbalancerGet](subcommands/networkloadbalancer_get.md)
83
- * [NetworkloadbalancerList](subcommands/networkloadbalancer_list.md)
84
- * [NetworkloadbalancerRuleAdd](subcommands/networkloadbalancer_rule_add.md)
85
- * [NetworkloadbalancerRuleList](subcommands/networkloadbalancer_rule_list.md)
86
- * [NetworkloadbalancerRuleRemove](subcommands/networkloadbalancer_rule_remove.md)
87
- * [NetworkloadbalancerRuleTargetAdd](subcommands/networkloadbalancer_rule_target_add.md)
88
- * [NetworkloadbalancerRuleTargetList](subcommands/networkloadbalancer_rule_target_list.md)
89
- * [NetworkloadbalancerRuleTargetRemove](subcommands/networkloadbalancer_rule_target_remove.md)
90
- * [NetworkloadbalancerRuleUpdate](subcommands/networkloadbalancer_rule_update.md)
91
- * [NetworkloadbalancerUpdate](subcommands/networkloadbalancer_update.md)
92
- * [NicCreate](subcommands/nic_create.md)
93
- * [NicDelete](subcommands/nic_delete.md)
94
- * [NicGet](subcommands/nic_get.md)
95
- * [NicList](subcommands/nic_list.md)
96
- * [NicUpdate](subcommands/nic_update.md)
97
- * [NodeDelete](subcommands/node_delete.md)
98
- * [NodeGet](subcommands/node_get.md)
99
- * [NodeList](subcommands/node_list.md)
100
- * [NodeReplace](subcommands/node_replace.md)
101
- * [NodepoolCreate](subcommands/nodepool_create.md)
102
- * [NodepoolDelete](subcommands/nodepool_delete.md)
103
- * [NodepoolGet](subcommands/nodepool_get.md)
104
- * [NodepoolLanAdd](subcommands/nodepool_lan_add.md)
105
- * [NodepoolLanRemove](subcommands/nodepool_lan_remove.md)
106
- * [NodepoolList](subcommands/nodepool_list.md)
107
- * [NodepoolUpdate](subcommands/nodepool_update.md)
108
- * [PccCreate](subcommands/pcc_create.md)
109
- * [PccDelete](subcommands/pcc_delete.md)
110
- * [PccGet](subcommands/pcc_get.md)
111
- * [PccList](subcommands/pcc_list.md)
112
- * [PccUpdate](subcommands/pcc_update.md)
113
- * [RequestGet](subcommands/request_get.md)
114
- * [RequestList](subcommands/request_list.md)
115
- * [RequestStatus](subcommands/request_status.md)
116
- * [RequestWait](subcommands/request_wait.md)
117
- * [ResourceList](subcommands/resource_list.md)
118
- * [S3keyCreate](subcommands/s3key_create.md)
119
- * [S3keyDelete](subcommands/s3key_delete.md)
120
- * [S3keyGet](subcommands/s3key_get.md)
121
- * [S3keyList](subcommands/s3key_list.md)
122
- * [ServerConsole](subcommands/server_console.md)
123
- * [ServerCreate](subcommands/server_create.md)
124
- * [ServerDelete](subcommands/server_delete.md)
125
- * [ServerGet](subcommands/server_get.md)
126
- * [ServerList](subcommands/server_list.md)
127
- * [ServerReboot](subcommands/server_reboot.md)
128
- * [ServerResume](subcommands/server_resume.md)
129
- * [ServerStart](subcommands/server_start.md)
130
- * [ServerStop](subcommands/server_stop.md)
131
- * [ServerSuspend](subcommands/server_suspend.md)
132
- * [ServerToken](subcommands/server_token.md)
133
- * [ServerUpdate](subcommands/server_update.md)
134
- * [ServerUpgrade](subcommands/server_upgrade.md)
135
- * [ShareCreate](subcommands/share_create.md)
136
- * [ShareDelete](subcommands/share_delete.md)
137
- * [ShareGet](subcommands/share_get.md)
138
- * [ShareList](subcommands/share_list.md)
139
- * [ShareUpdate](subcommands/share_update.md)
140
- * [SnapshotCreate](subcommands/snapshot_create.md)
141
- * [SnapshotDelete](subcommands/snapshot_delete.md)
142
- * [SnapshotGet](subcommands/snapshot_get.md)
143
- * [SnapshotList](subcommands/snapshot_list.md)
144
- * [SnapshotRestore](subcommands/snapshot_restore.md)
145
- * [SnapshotUpdate](subcommands/snapshot_update.md)
146
- * [TemplateList](subcommands/template_list.md)
147
- * [UserCreate](subcommands/user_create.md)
148
- * [UserDelete](subcommands/user_delete.md)
149
- * [UserGet](subcommands/user_get.md)
150
- * [UserList](subcommands/user_list.md)
151
- * [UserSsourl](subcommands/user_ssourl.md)
152
- * [UserUpdate](subcommands/user_update.md)
153
- * [VolumeAttach](subcommands/volume_attach.md)
154
- * [VolumeCreate](subcommands/volume_create.md)
155
- * [VolumeDelete](subcommands/volume_delete.md)
156
- * [VolumeDetach](subcommands/volume_detach.md)
157
- * [VolumeGet](subcommands/volume_get.md)
158
- * [VolumeList](subcommands/volume_list.md)
159
- * [VolumeUpdate](subcommands/volume_update.md)
8
+ * User Management
9
+ * [ContractList](subcommands/user/contract_list.md)
10
+ * [GroupCreate](subcommands/user/group_create.md)
11
+ * [GroupDelete](subcommands/user/group_delete.md)
12
+ * [GroupGet](subcommands/user/group_get.md)
13
+ * [GroupList](subcommands/user/group_list.md)
14
+ * [GroupUpdate](subcommands/user/group_update.md)
15
+ * [GroupUserAdd](subcommands/user/group_user_add.md)
16
+ * [GroupUserRemove](subcommands/user/group_user_remove.md)
17
+ * [ResourceList](subcommands/user/resource_list.md)
18
+ * [S3keyCreate](subcommands/user/s3key_create.md)
19
+ * [S3keyDelete](subcommands/user/s3key_delete.md)
20
+ * [S3keyGet](subcommands/user/s3key_get.md)
21
+ * [S3keyList](subcommands/user/s3key_list.md)
22
+ * [ShareCreate](subcommands/user/share_create.md)
23
+ * [ShareDelete](subcommands/user/share_delete.md)
24
+ * [ShareGet](subcommands/user/share_get.md)
25
+ * [ShareList](subcommands/user/share_list.md)
26
+ * [ShareUpdate](subcommands/user/share_update.md)
27
+ * [UserCreate](subcommands/user/user_create.md)
28
+ * [UserDelete](subcommands/user/user_delete.md)
29
+ * [UserGet](subcommands/user/user_get.md)
30
+ * [UserList](subcommands/user/user_list.md)
31
+ * [UserSsourl](subcommands/user/user_ssourl.md)
32
+ * [UserUpdate](subcommands/user/user_update.md)
33
+ * Compute Engine
34
+ * [CompositeServerCreate](subcommands/compute-engine/composite_server_create.md)
35
+ * [CubeServerCreate](subcommands/compute-engine/cube_server_create.md)
36
+ * [DatacenterCreate](subcommands/compute-engine/datacenter_create.md)
37
+ * [DatacenterDelete](subcommands/compute-engine/datacenter_delete.md)
38
+ * [DatacenterGet](subcommands/compute-engine/datacenter_get.md)
39
+ * [DatacenterList](subcommands/compute-engine/datacenter_list.md)
40
+ * [DatacenterUpdate](subcommands/compute-engine/datacenter_update.md)
41
+ * [FirewallCreate](subcommands/compute-engine/firewall_create.md)
42
+ * [FirewallDelete](subcommands/compute-engine/firewall_delete.md)
43
+ * [FirewallGet](subcommands/compute-engine/firewall_get.md)
44
+ * [FirewallList](subcommands/compute-engine/firewall_list.md)
45
+ * [FirewallUpdate](subcommands/compute-engine/firewall_update.md)
46
+ * [FlowlogCreate](subcommands/compute-engine/flowlog_create.md)
47
+ * [FlowlogDelete](subcommands/compute-engine/flowlog_delete.md)
48
+ * [FlowlogGet](subcommands/compute-engine/flowlog_get.md)
49
+ * [FlowlogList](subcommands/compute-engine/flowlog_list.md)
50
+ * [FlowlogUpdate](subcommands/compute-engine/flowlog_update.md)
51
+ * [ImageList](subcommands/compute-engine/image_list.md)
52
+ * [IpblockCreate](subcommands/compute-engine/ipblock_create.md)
53
+ * [IpblockDelete](subcommands/compute-engine/ipblock_delete.md)
54
+ * [IpblockGet](subcommands/compute-engine/ipblock_get.md)
55
+ * [IpblockList](subcommands/compute-engine/ipblock_list.md)
56
+ * [IpblockUpdate](subcommands/compute-engine/ipblock_update.md)
57
+ * [IpfailoverAdd](subcommands/compute-engine/ipfailover_add.md)
58
+ * [IpfailoverRemove](subcommands/compute-engine/ipfailover_remove.md)
59
+ * [LabelAdd](subcommands/compute-engine/label_add.md)
60
+ * [LabelList](subcommands/compute-engine/label_list.md)
61
+ * [LabelRemove](subcommands/compute-engine/label_remove.md)
62
+ * [LanCreate](subcommands/compute-engine/lan_create.md)
63
+ * [LanDelete](subcommands/compute-engine/lan_delete.md)
64
+ * [LanGet](subcommands/compute-engine/lan_get.md)
65
+ * [LanList](subcommands/compute-engine/lan_list.md)
66
+ * [LanUpdate](subcommands/compute-engine/lan_update.md)
67
+ * [LoadbalancerCreate](subcommands/compute-engine/loadbalancer_create.md)
68
+ * [LoadbalancerDelete](subcommands/compute-engine/loadbalancer_delete.md)
69
+ * [LoadbalancerGet](subcommands/compute-engine/loadbalancer_get.md)
70
+ * [LoadbalancerList](subcommands/compute-engine/loadbalancer_list.md)
71
+ * [LoadbalancerNicAdd](subcommands/compute-engine/loadbalancer_nic_add.md)
72
+ * [LoadbalancerNicRemove](subcommands/compute-engine/loadbalancer_nic_remove.md)
73
+ * [LoadbalancerUpdate](subcommands/compute-engine/loadbalancer_update.md)
74
+ * [LocationList](subcommands/compute-engine/location_list.md)
75
+ * [NatgatewayCreate](subcommands/compute-engine/natgateway_create.md)
76
+ * [NatgatewayDelete](subcommands/compute-engine/natgateway_delete.md)
77
+ * [NatgatewayGet](subcommands/compute-engine/natgateway_get.md)
78
+ * [NatgatewayLanAdd](subcommands/compute-engine/natgateway_lan_add.md)
79
+ * [NatgatewayLanRemove](subcommands/compute-engine/natgateway_lan_remove.md)
80
+ * [NatgatewayList](subcommands/compute-engine/natgateway_list.md)
81
+ * [NatgatewayRuleAdd](subcommands/compute-engine/natgateway_rule_add.md)
82
+ * [NatgatewayRuleList](subcommands/compute-engine/natgateway_rule_list.md)
83
+ * [NatgatewayRuleRemove](subcommands/compute-engine/natgateway_rule_remove.md)
84
+ * [NatgatewayRuleUpdate](subcommands/compute-engine/natgateway_rule_update.md)
85
+ * [NatgatewayUpdate](subcommands/compute-engine/natgateway_update.md)
86
+ * [NetworkloadbalancerCreate](subcommands/compute-engine/networkloadbalancer_create.md)
87
+ * [NetworkloadbalancerDelete](subcommands/compute-engine/networkloadbalancer_delete.md)
88
+ * [NetworkloadbalancerGet](subcommands/compute-engine/networkloadbalancer_get.md)
89
+ * [NetworkloadbalancerList](subcommands/compute-engine/networkloadbalancer_list.md)
90
+ * [NetworkloadbalancerRuleAdd](subcommands/compute-engine/networkloadbalancer_rule_add.md)
91
+ * [NetworkloadbalancerRuleList](subcommands/compute-engine/networkloadbalancer_rule_list.md)
92
+ * [NetworkloadbalancerRuleRemove](subcommands/compute-engine/networkloadbalancer_rule_remove.md)
93
+ * [NetworkloadbalancerRuleTargetAdd](subcommands/compute-engine/networkloadbalancer_rule_target_add.md)
94
+ * [NetworkloadbalancerRuleTargetList](subcommands/compute-engine/networkloadbalancer_rule_target_list.md)
95
+ * [NetworkloadbalancerRuleTargetRemove](subcommands/compute-engine/networkloadbalancer_rule_target_remove.md)
96
+ * [NetworkloadbalancerRuleUpdate](subcommands/compute-engine/networkloadbalancer_rule_update.md)
97
+ * [NetworkloadbalancerUpdate](subcommands/compute-engine/networkloadbalancer_update.md)
98
+ * [NicCreate](subcommands/compute-engine/nic_create.md)
99
+ * [NicDelete](subcommands/compute-engine/nic_delete.md)
100
+ * [NicGet](subcommands/compute-engine/nic_get.md)
101
+ * [NicList](subcommands/compute-engine/nic_list.md)
102
+ * [NicUpdate](subcommands/compute-engine/nic_update.md)
103
+ * [PccCreate](subcommands/compute-engine/pcc_create.md)
104
+ * [PccDelete](subcommands/compute-engine/pcc_delete.md)
105
+ * [PccGet](subcommands/compute-engine/pcc_get.md)
106
+ * [PccList](subcommands/compute-engine/pcc_list.md)
107
+ * [PccUpdate](subcommands/compute-engine/pcc_update.md)
108
+ * [RequestGet](subcommands/compute-engine/request_get.md)
109
+ * [RequestList](subcommands/compute-engine/request_list.md)
110
+ * [RequestStatus](subcommands/compute-engine/request_status.md)
111
+ * [RequestWait](subcommands/compute-engine/request_wait.md)
112
+ * [ServerConsole](subcommands/compute-engine/server_console.md)
113
+ * [ServerCreate](subcommands/compute-engine/server_create.md)
114
+ * [ServerDelete](subcommands/compute-engine/server_delete.md)
115
+ * [ServerGet](subcommands/compute-engine/server_get.md)
116
+ * [ServerList](subcommands/compute-engine/server_list.md)
117
+ * [ServerReboot](subcommands/compute-engine/server_reboot.md)
118
+ * [ServerResume](subcommands/compute-engine/server_resume.md)
119
+ * [ServerStart](subcommands/compute-engine/server_start.md)
120
+ * [ServerStop](subcommands/compute-engine/server_stop.md)
121
+ * [ServerSuspend](subcommands/compute-engine/server_suspend.md)
122
+ * [ServerToken](subcommands/compute-engine/server_token.md)
123
+ * [ServerUpdate](subcommands/compute-engine/server_update.md)
124
+ * [ServerUpgrade](subcommands/compute-engine/server_upgrade.md)
125
+ * [SnapshotCreate](subcommands/compute-engine/snapshot_create.md)
126
+ * [SnapshotDelete](subcommands/compute-engine/snapshot_delete.md)
127
+ * [SnapshotGet](subcommands/compute-engine/snapshot_get.md)
128
+ * [SnapshotList](subcommands/compute-engine/snapshot_list.md)
129
+ * [SnapshotRestore](subcommands/compute-engine/snapshot_restore.md)
130
+ * [SnapshotUpdate](subcommands/compute-engine/snapshot_update.md)
131
+ * [TemplateList](subcommands/compute-engine/template_list.md)
132
+ * [VolumeAttach](subcommands/compute-engine/volume_attach.md)
133
+ * [VolumeCreate](subcommands/compute-engine/volume_create.md)
134
+ * [VolumeDelete](subcommands/compute-engine/volume_delete.md)
135
+ * [VolumeDetach](subcommands/compute-engine/volume_detach.md)
136
+ * [VolumeGet](subcommands/compute-engine/volume_get.md)
137
+ * [VolumeList](subcommands/compute-engine/volume_list.md)
138
+ * [VolumeUpdate](subcommands/compute-engine/volume_update.md)
139
+ * Managed Kubernetes
140
+ * [K8sCreate](subcommands/kubernetes/k8s_create.md)
141
+ * [K8sDelete](subcommands/kubernetes/k8s_delete.md)
142
+ * [K8sGet](subcommands/kubernetes/k8s_get.md)
143
+ * [K8sList](subcommands/kubernetes/k8s_list.md)
144
+ * [K8sUpdate](subcommands/kubernetes/k8s_update.md)
145
+ * [KubeconfigGet](subcommands/kubernetes/kubeconfig_get.md)
146
+ * [NodeDelete](subcommands/kubernetes/node_delete.md)
147
+ * [NodeGet](subcommands/kubernetes/node_get.md)
148
+ * [NodeList](subcommands/kubernetes/node_list.md)
149
+ * [NodeReplace](subcommands/kubernetes/node_replace.md)
150
+ * [NodepoolCreate](subcommands/kubernetes/nodepool_create.md)
151
+ * [NodepoolDelete](subcommands/kubernetes/nodepool_delete.md)
152
+ * [NodepoolGet](subcommands/kubernetes/nodepool_get.md)
153
+ * [NodepoolLanAdd](subcommands/kubernetes/nodepool_lan_add.md)
154
+ * [NodepoolLanRemove](subcommands/kubernetes/nodepool_lan_remove.md)
155
+ * [NodepoolList](subcommands/kubernetes/nodepool_list.md)
156
+ * [NodepoolUpdate](subcommands/kubernetes/nodepool_update.md)
157
+ * Managed Backup
158
+ * [BackupunitCreate](subcommands/backup/backupunit_create.md)
159
+ * [BackupunitDelete](subcommands/backup/backupunit_delete.md)
160
+ * [BackupunitGet](subcommands/backup/backupunit_get.md)
161
+ * [BackupunitList](subcommands/backup/backupunit_list.md)
162
+ * [BackupunitSsourl](subcommands/backup/backupunit_ssourl.md)
163
+ * [BackupunitUpdate](subcommands/backup/backupunit_update.md)
164
+ * DBaaS Postgres
165
+ * [DbaasPostgresBackupGet](subcommands/dbaas-postgres/dbaas_postgres_backup_get.md)
166
+ * [DbaasPostgresBackupList](subcommands/dbaas-postgres/dbaas_postgres_backup_list.md)
167
+ * [DbaasPostgresClusterCreate](subcommands/dbaas-postgres/dbaas_postgres_cluster_create.md)
168
+ * [DbaasPostgresClusterDelete](subcommands/dbaas-postgres/dbaas_postgres_cluster_delete.md)
169
+ * [DbaasPostgresClusterGet](subcommands/dbaas-postgres/dbaas_postgres_cluster_get.md)
170
+ * [DbaasPostgresClusterList](subcommands/dbaas-postgres/dbaas_postgres_cluster_list.md)
171
+ * [DbaasPostgresClusterRestore](subcommands/dbaas-postgres/dbaas_postgres_cluster_restore.md)
172
+ * [DbaasPostgresClusterUpdate](subcommands/dbaas-postgres/dbaas_postgres_cluster_update.md)
173
+ * [DbaasPostgresLogsGet](subcommands/dbaas-postgres/dbaas_postgres_logs_get.md)
174
+ * [DbaasPostgresVersionList](subcommands/dbaas-postgres/dbaas_postgres_version_list.md)
@@ -5,6 +5,9 @@
5
5
 
6
6
  ## Subcommands
7
7
 
8
- {{#subcommands}}
9
- * [{{title}}]({{filename}})
10
- {{/subcommands}}
8
+ {{#categories}}
9
+ * {{category}}
10
+ {{#subcommands}}
11
+ * [{{title}}]({{filename}})
12
+ {{/subcommands}}
13
+ {{/categories}}
@@ -20,7 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_runtime_dependency 'chef', '~> 16.10', '>= 16.10.17'
23
- spec.add_runtime_dependency 'ionoscloud', '~> 6.0.0'
23
+ spec.add_runtime_dependency 'ionoscloud', '~> 6.0.2'
24
+ spec.add_runtime_dependency 'ionoscloud-dbaas-postgres', '~> 1.0.2'
24
25
 
25
26
  spec.add_development_dependency 'rspec', '~> 3.10'
26
27
  spec.add_development_dependency 'simplecov', '~> 0.21.2'
@@ -22,13 +22,12 @@ class Chef
22
22
  long: '--email EMAIL',
23
23
  description: 'The e-mail address you want assigned to the backup unit.'
24
24
 
25
- attr_reader :description, :required_options
26
-
27
25
  def initialize(args = [])
28
26
  super(args)
29
27
  @description =
30
28
  'Create a new backup unit.'
31
- @required_options = [:name, :password, :email, :ionoscloud_username, :ionoscloud_password]
29
+ @directory = 'backup'
30
+ @required_options = [:name, :password, :email]
32
31
  end
33
32
 
34
33
  def run
@@ -7,8 +7,6 @@ class Chef
7
7
 
8
8
  banner 'knife ionoscloud backupunit delete BACKUPUNIT_ID [BACKUPUNIT_ID]'
9
9
 
10
- attr_reader :description, :required_options
11
-
12
10
  def initialize(args = [])
13
11
  super(args)
14
12
  @description =
@@ -16,7 +14,7 @@ class Chef
16
14
  'is a dangerous operation. A successful DELETE request will remove the backup '\
17
15
  'plans inside a backup unit, ALL backups associated with the backup unit, the '\
18
16
  'backup user and finally the backup unit itself.'
19
- @required_options = [:ionoscloud_username, :ionoscloud_password]
17
+ @directory = 'backup'
20
18
  end
21
19
 
22
20
  def run
@@ -40,7 +38,7 @@ class Chef
40
38
 
41
39
  begin
42
40
  confirm('Do you really want to delete this Backup unit')
43
- rescue SystemExit => exc
41
+ rescue SystemExit
44
42
  next
45
43
  end
46
44
 
@@ -12,13 +12,12 @@ class Chef
12
12
  long: '--backupunit-id BACKUPUNIT_ID',
13
13
  description: 'The ID of the Backup unit.'
14
14
 
15
- attr_reader :description, :required_options
16
-
17
15
  def initialize(args = [])
18
16
  super(args)
19
17
  @description =
20
18
  'Retrieves information about a backup unit.'
21
- @required_options = [:backupunit_id, :ionoscloud_username, :ionoscloud_password]
19
+ @directory = 'backup'
20
+ @required_options = [:backupunit_id]
22
21
  end
23
22
 
24
23
  def run
@@ -7,13 +7,11 @@ class Chef
7
7
 
8
8
  banner 'knife ionoscloud backupunit list'
9
9
 
10
- attr_reader :description, :required_options
11
-
12
10
  def initialize(args = [])
13
11
  super(args)
14
12
  @description =
15
13
  'Retrieve a list of all the backup units the supplied credentials have access to.'
16
- @required_options = [:ionoscloud_username, :ionoscloud_password]
14
+ @directory = 'backup'
17
15
  end
18
16
 
19
17
  def run
@@ -12,15 +12,14 @@ class Chef
12
12
  long: '--backupunit-id BACKUPUNIT_ID',
13
13
  description: 'The ID of the Backup unit.'
14
14
 
15
- attr_reader :description, :required_options
16
-
17
15
  def initialize(args = [])
18
16
  super(args)
19
17
  @description =
20
18
  'The ProfitBricks backup system features a web-based GUI. Once you have created '\
21
19
  'a backup unit, you can access the GUI with a Single Sign On \(SSO\) URL that can be '\
22
20
  'retrieved from the Cloud API using this request.'
23
- @required_options = [:backupunit_id, :ionoscloud_username, :ionoscloud_password]
21
+ @directory = 'backup'
22
+ @required_options = [:backupunit_id]
24
23
  end
25
24
 
26
25
  def run
@@ -21,13 +21,12 @@ class Chef
21
21
  long: '--email EMAIL',
22
22
  description: 'The e-mail address you want assigned to the backup unit.'
23
23
 
24
- attr_reader :description, :required_options
25
-
26
24
  def initialize(args = [])
27
25
  super(args)
28
26
  @description =
29
27
  'Retrieves information about a backup unit.'
30
- @required_options = [:backupunit_id, :ionoscloud_username, :ionoscloud_password]
28
+ @directory = 'backup'
29
+ @required_options = [:backupunit_id]
31
30
  @updatable_fields = [:email, :password]
32
31
  end
33
32
 
@@ -41,7 +40,7 @@ class Chef
41
40
  if @updatable_fields.map { |el| config[el] }.any?
42
41
  print "#{ui.color('Updating Backup unit...', :magenta)}"
43
42
 
44
- backupunit, _, headers = backupunit_api.backupunits_patch_with_http_info(
43
+ _, _, headers = backupunit_api.backupunits_patch_with_http_info(
45
44
  config[:backupunit_id],
46
45
  Ionoscloud::BackupUnitProperties.new(
47
46
  password: config[:password],