knife-ionoscloud 6.0.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/IONOS.CLOUD.BLU.svg +1 -0
- data/README.md +9 -0
- data/docs/README.md +6 -0
- data/docs/changelog.md +10 -0
- data/docs/docs_generator.rb +44 -9
- data/docs/subcommands/{backupunit_create.md → backup/backupunit_create.md} +1 -1
- data/docs/subcommands/{backupunit_delete.md → backup/backupunit_delete.md} +0 -0
- data/docs/subcommands/{backupunit_get.md → backup/backupunit_get.md} +0 -0
- data/docs/subcommands/{backupunit_list.md → backup/backupunit_list.md} +0 -0
- data/docs/subcommands/{backupunit_ssourl.md → backup/backupunit_ssourl.md} +0 -0
- data/docs/subcommands/{backupunit_update.md → backup/backupunit_update.md} +0 -0
- data/docs/subcommands/{composite_server_create.md → compute-engine/composite_server_create.md} +9 -3
- data/docs/subcommands/{cube_server_create.md → compute-engine/cube_server_create.md} +0 -0
- data/docs/subcommands/{datacenter_create.md → compute-engine/datacenter_create.md} +0 -0
- data/docs/subcommands/{datacenter_delete.md → compute-engine/datacenter_delete.md} +0 -0
- data/docs/subcommands/{datacenter_get.md → compute-engine/datacenter_get.md} +0 -0
- data/docs/subcommands/{datacenter_list.md → compute-engine/datacenter_list.md} +0 -0
- data/docs/subcommands/{datacenter_update.md → compute-engine/datacenter_update.md} +0 -0
- data/docs/subcommands/{firewall_create.md → compute-engine/firewall_create.md} +6 -3
- data/docs/subcommands/{firewall_delete.md → compute-engine/firewall_delete.md} +0 -0
- data/docs/subcommands/{firewall_get.md → compute-engine/firewall_get.md} +0 -0
- data/docs/subcommands/{firewall_list.md → compute-engine/firewall_list.md} +0 -0
- data/docs/subcommands/{firewall_update.md → compute-engine/firewall_update.md} +0 -0
- data/docs/subcommands/{flowlog_create.md → compute-engine/flowlog_create.md} +0 -0
- data/docs/subcommands/{flowlog_delete.md → compute-engine/flowlog_delete.md} +0 -0
- data/docs/subcommands/{flowlog_get.md → compute-engine/flowlog_get.md} +0 -0
- data/docs/subcommands/{flowlog_list.md → compute-engine/flowlog_list.md} +0 -0
- data/docs/subcommands/{flowlog_update.md → compute-engine/flowlog_update.md} +0 -0
- data/docs/subcommands/{image_list.md → compute-engine/image_list.md} +0 -0
- data/docs/subcommands/{ipblock_create.md → compute-engine/ipblock_create.md} +0 -0
- data/docs/subcommands/{ipblock_delete.md → compute-engine/ipblock_delete.md} +0 -0
- data/docs/subcommands/{ipblock_get.md → compute-engine/ipblock_get.md} +0 -0
- data/docs/subcommands/{ipblock_list.md → compute-engine/ipblock_list.md} +0 -0
- data/docs/subcommands/{ipblock_update.md → compute-engine/ipblock_update.md} +0 -0
- data/docs/subcommands/{ipfailover_add.md → compute-engine/ipfailover_add.md} +0 -0
- data/docs/subcommands/{ipfailover_remove.md → compute-engine/ipfailover_remove.md} +0 -0
- data/docs/subcommands/{label_add.md → compute-engine/label_add.md} +0 -0
- data/docs/subcommands/{label_list.md → compute-engine/label_list.md} +0 -0
- data/docs/subcommands/{label_remove.md → compute-engine/label_remove.md} +0 -0
- data/docs/subcommands/{lan_create.md → compute-engine/lan_create.md} +0 -0
- data/docs/subcommands/{lan_delete.md → compute-engine/lan_delete.md} +0 -0
- data/docs/subcommands/{lan_get.md → compute-engine/lan_get.md} +0 -0
- data/docs/subcommands/{lan_list.md → compute-engine/lan_list.md} +0 -0
- data/docs/subcommands/{lan_update.md → compute-engine/lan_update.md} +1 -4
- data/docs/subcommands/{loadbalancer_create.md → compute-engine/loadbalancer_create.md} +1 -1
- data/docs/subcommands/{loadbalancer_delete.md → compute-engine/loadbalancer_delete.md} +0 -0
- data/docs/subcommands/{loadbalancer_get.md → compute-engine/loadbalancer_get.md} +0 -0
- data/docs/subcommands/{loadbalancer_list.md → compute-engine/loadbalancer_list.md} +0 -0
- data/docs/subcommands/{loadbalancer_nic_add.md → compute-engine/loadbalancer_nic_add.md} +0 -0
- data/docs/subcommands/{loadbalancer_nic_remove.md → compute-engine/loadbalancer_nic_remove.md} +0 -0
- data/docs/subcommands/{loadbalancer_update.md → compute-engine/loadbalancer_update.md} +0 -0
- data/docs/subcommands/{location_list.md → compute-engine/location_list.md} +0 -0
- data/docs/subcommands/{natgateway_create.md → compute-engine/natgateway_create.md} +0 -0
- data/docs/subcommands/{natgateway_delete.md → compute-engine/natgateway_delete.md} +0 -0
- data/docs/subcommands/{natgateway_get.md → compute-engine/natgateway_get.md} +0 -0
- data/docs/subcommands/{natgateway_lan_add.md → compute-engine/natgateway_lan_add.md} +0 -0
- data/docs/subcommands/{natgateway_lan_remove.md → compute-engine/natgateway_lan_remove.md} +0 -0
- data/docs/subcommands/{natgateway_list.md → compute-engine/natgateway_list.md} +0 -0
- data/docs/subcommands/{natgateway_rule_add.md → compute-engine/natgateway_rule_add.md} +0 -0
- data/docs/subcommands/{natgateway_rule_list.md → compute-engine/natgateway_rule_list.md} +0 -0
- data/docs/subcommands/{natgateway_rule_remove.md → compute-engine/natgateway_rule_remove.md} +0 -0
- data/docs/subcommands/{natgateway_rule_update.md → compute-engine/natgateway_rule_update.md} +0 -0
- data/docs/subcommands/{natgateway_update.md → compute-engine/natgateway_update.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_create.md → compute-engine/networkloadbalancer_create.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_delete.md → compute-engine/networkloadbalancer_delete.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_get.md → compute-engine/networkloadbalancer_get.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_list.md → compute-engine/networkloadbalancer_list.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_add.md → compute-engine/networkloadbalancer_rule_add.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_list.md → compute-engine/networkloadbalancer_rule_list.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_remove.md → compute-engine/networkloadbalancer_rule_remove.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_target_add.md → compute-engine/networkloadbalancer_rule_target_add.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_target_list.md → compute-engine/networkloadbalancer_rule_target_list.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_target_remove.md → compute-engine/networkloadbalancer_rule_target_remove.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_rule_update.md → compute-engine/networkloadbalancer_rule_update.md} +0 -0
- data/docs/subcommands/{networkloadbalancer_update.md → compute-engine/networkloadbalancer_update.md} +0 -0
- data/docs/subcommands/{nic_create.md → compute-engine/nic_create.md} +4 -4
- data/docs/subcommands/{nic_delete.md → compute-engine/nic_delete.md} +1 -1
- data/docs/subcommands/{nic_get.md → compute-engine/nic_get.md} +0 -0
- data/docs/subcommands/{nic_list.md → compute-engine/nic_list.md} +0 -0
- data/docs/subcommands/{nic_update.md → compute-engine/nic_update.md} +3 -3
- data/docs/subcommands/{pcc_create.md → compute-engine/pcc_create.md} +0 -0
- data/docs/subcommands/{pcc_delete.md → compute-engine/pcc_delete.md} +0 -0
- data/docs/subcommands/{pcc_get.md → compute-engine/pcc_get.md} +0 -0
- data/docs/subcommands/{pcc_list.md → compute-engine/pcc_list.md} +0 -0
- data/docs/subcommands/{pcc_update.md → compute-engine/pcc_update.md} +0 -0
- data/docs/subcommands/{request_get.md → compute-engine/request_get.md} +0 -0
- data/docs/subcommands/{request_list.md → compute-engine/request_list.md} +0 -0
- data/docs/subcommands/{request_status.md → compute-engine/request_status.md} +0 -0
- data/docs/subcommands/{request_wait.md → compute-engine/request_wait.md} +0 -0
- data/docs/subcommands/{server_console.md → compute-engine/server_console.md} +0 -0
- data/docs/subcommands/{server_create.md → compute-engine/server_create.md} +0 -0
- data/docs/subcommands/{server_delete.md → compute-engine/server_delete.md} +0 -0
- data/docs/subcommands/{server_get.md → compute-engine/server_get.md} +0 -0
- data/docs/subcommands/{server_list.md → compute-engine/server_list.md} +4 -1
- data/docs/subcommands/{server_reboot.md → compute-engine/server_reboot.md} +0 -0
- data/docs/subcommands/{server_resume.md → compute-engine/server_resume.md} +0 -0
- data/docs/subcommands/{server_start.md → compute-engine/server_start.md} +0 -0
- data/docs/subcommands/{server_stop.md → compute-engine/server_stop.md} +0 -0
- data/docs/subcommands/{server_suspend.md → compute-engine/server_suspend.md} +0 -0
- data/docs/subcommands/{server_token.md → compute-engine/server_token.md} +0 -0
- data/docs/subcommands/{server_update.md → compute-engine/server_update.md} +0 -0
- data/docs/subcommands/{server_upgrade.md → compute-engine/server_upgrade.md} +0 -0
- data/docs/subcommands/{snapshot_create.md → compute-engine/snapshot_create.md} +0 -0
- data/docs/subcommands/{snapshot_delete.md → compute-engine/snapshot_delete.md} +0 -0
- data/docs/subcommands/{snapshot_get.md → compute-engine/snapshot_get.md} +0 -0
- data/docs/subcommands/{snapshot_list.md → compute-engine/snapshot_list.md} +0 -0
- data/docs/subcommands/{snapshot_restore.md → compute-engine/snapshot_restore.md} +0 -0
- data/docs/subcommands/{snapshot_update.md → compute-engine/snapshot_update.md} +10 -10
- data/docs/subcommands/{template_list.md → compute-engine/template_list.md} +0 -0
- data/docs/subcommands/{volume_attach.md → compute-engine/volume_attach.md} +0 -0
- data/docs/subcommands/{volume_create.md → compute-engine/volume_create.md} +2 -23
- data/docs/subcommands/{volume_delete.md → compute-engine/volume_delete.md} +0 -0
- data/docs/subcommands/{volume_detach.md → compute-engine/volume_detach.md} +0 -0
- data/docs/subcommands/{volume_get.md → compute-engine/volume_get.md} +0 -0
- data/docs/subcommands/{volume_list.md → compute-engine/volume_list.md} +0 -0
- data/docs/subcommands/{volume_update.md → compute-engine/volume_update.md} +0 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_backup_get.md +38 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_backup_list.md +38 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_create.md +100 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_delete.md +34 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_get.md +38 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_list.md +34 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_restore.md +44 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_cluster_update.md +65 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_logs_get.md +47 -0
- data/docs/subcommands/dbaas-postgres/dbaas_postgres_version_list.md +38 -0
- data/docs/subcommands/{k8s_create.md → kubernetes/k8s_create.md} +5 -5
- data/docs/subcommands/{k8s_delete.md → kubernetes/k8s_delete.md} +0 -0
- data/docs/subcommands/{k8s_get.md → kubernetes/k8s_get.md} +0 -0
- data/docs/subcommands/{k8s_list.md → kubernetes/k8s_list.md} +0 -0
- data/docs/subcommands/{k8s_update.md → kubernetes/k8s_update.md} +0 -0
- data/docs/subcommands/{kubeconfig_get.md → kubernetes/kubeconfig_get.md} +0 -0
- data/docs/subcommands/{node_delete.md → kubernetes/node_delete.md} +0 -0
- data/docs/subcommands/{node_get.md → kubernetes/node_get.md} +0 -0
- data/docs/subcommands/{node_list.md → kubernetes/node_list.md} +0 -0
- data/docs/subcommands/{node_replace.md → kubernetes/node_replace.md} +0 -0
- data/docs/subcommands/{nodepool_create.md → kubernetes/nodepool_create.md} +4 -4
- data/docs/subcommands/{nodepool_delete.md → kubernetes/nodepool_delete.md} +0 -0
- data/docs/subcommands/{nodepool_get.md → kubernetes/nodepool_get.md} +0 -0
- data/docs/subcommands/{nodepool_lan_add.md → kubernetes/nodepool_lan_add.md} +0 -0
- data/docs/subcommands/{nodepool_lan_remove.md → kubernetes/nodepool_lan_remove.md} +0 -0
- data/docs/subcommands/{nodepool_list.md → kubernetes/nodepool_list.md} +0 -0
- data/docs/subcommands/{nodepool_update.md → kubernetes/nodepool_update.md} +0 -0
- data/docs/subcommands/{contract_list.md → user/contract_list.md} +0 -0
- data/docs/subcommands/{group_create.md → user/group_create.md} +10 -1
- data/docs/subcommands/{group_delete.md → user/group_delete.md} +0 -0
- data/docs/subcommands/{group_get.md → user/group_get.md} +0 -0
- data/docs/subcommands/{group_list.md → user/group_list.md} +0 -0
- data/docs/subcommands/{group_update.md → user/group_update.md} +10 -1
- data/docs/subcommands/{group_user_add.md → user/group_user_add.md} +0 -0
- data/docs/subcommands/{group_user_remove.md → user/group_user_remove.md} +0 -0
- data/docs/subcommands/{resource_list.md → user/resource_list.md} +0 -0
- data/docs/subcommands/{s3key_create.md → user/s3key_create.md} +0 -0
- data/docs/subcommands/{s3key_delete.md → user/s3key_delete.md} +0 -0
- data/docs/subcommands/{s3key_get.md → user/s3key_get.md} +0 -0
- data/docs/subcommands/{s3key_list.md → user/s3key_list.md} +0 -0
- data/docs/subcommands/{share_create.md → user/share_create.md} +1 -1
- data/docs/subcommands/{share_delete.md → user/share_delete.md} +2 -2
- data/docs/subcommands/{share_get.md → user/share_get.md} +0 -0
- data/docs/subcommands/{share_list.md → user/share_list.md} +0 -0
- data/docs/subcommands/{share_update.md → user/share_update.md} +0 -0
- data/docs/subcommands/{user_create.md → user/user_create.md} +3 -9
- data/docs/subcommands/{user_delete.md → user/user_delete.md} +0 -0
- data/docs/subcommands/{user_get.md → user/user_get.md} +0 -0
- data/docs/subcommands/{user_list.md → user/user_list.md} +0 -0
- data/docs/subcommands/{user_ssourl.md → user/user_ssourl.md} +0 -0
- data/docs/subcommands/{user_update.md → user/user_update.md} +0 -0
- data/docs/summary.md +167 -152
- data/docs/templates/summary.mustache +6 -3
- data/knife-ionoscloud.gemspec +1 -0
- data/lib/chef/knife/ionoscloud_backupunit_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_backupunit_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_backupunit_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_backupunit_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_backupunit_ssourl.rb +1 -2
- data/lib/chef/knife/ionoscloud_backupunit_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_base.rb +57 -0
- data/lib/chef/knife/ionoscloud_composite_server_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_contract_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_cube_server_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_datacenter_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_datacenter_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_datacenter_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_datacenter_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_datacenter_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_dbaas_postgres_backup_get.rb +33 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_backup_list.rb +59 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_create.rb +158 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_delete.rb +49 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_get.rb +34 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_list.rb +53 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_restore.rb +48 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_cluster_update.rb +102 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_logs_get.rb +59 -0
- data/lib/chef/knife/ionoscloud_dbaas_postgres_version_list.rb +49 -0
- data/lib/chef/knife/ionoscloud_firewall_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_firewall_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_firewall_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_firewall_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_firewall_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_flowlog_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_flowlog_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_flowlog_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_flowlog_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_flowlog_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_user_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_group_user_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_image_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipblock_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipblock_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipblock_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipblock_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipblock_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipfailover_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_ipfailover_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_k8s_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_k8s_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_k8s_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_k8s_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_k8s_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_kubeconfig_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_label_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_label_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_label_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_lan_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_lan_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_lan_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_lan_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_lan_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_location_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_lan_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_lan_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_natgateway_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_nic_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_nic_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_nic_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_nic_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_nic_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_node_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_node_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_node_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_node_replace.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_lan_add.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_lan_remove.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_nodepool_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_pcc_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_pcc_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_pcc_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_pcc_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_pcc_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_request_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_request_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_request_status.rb +1 -2
- data/lib/chef/knife/ionoscloud_request_wait.rb +1 -2
- data/lib/chef/knife/ionoscloud_resource_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_s3key_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_s3key_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_s3key_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_s3key_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_console.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_reboot.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_resume.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_start.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_stop.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_suspend.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_token.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_server_upgrade.rb +1 -2
- data/lib/chef/knife/ionoscloud_share_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_share_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_share_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_share_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_share_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_restore.rb +1 -2
- data/lib/chef/knife/ionoscloud_snapshot_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_template_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_ssourl.rb +1 -2
- data/lib/chef/knife/ionoscloud_user_update.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_attach.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_create.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_delete.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_detach.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_get.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_list.rb +1 -2
- data/lib/chef/knife/ionoscloud_volume_update.rb +1 -2
- data/lib/knife-ionoscloud/version.rb +1 -1
- data/spec/chef/knife/ionoscloud_dbaas_postgres_backup_get_spec.rb +67 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_backup_list_spec.rb +111 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_create_spec.rb +99 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_delete_spec.rb +109 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_get_spec.rb +73 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_list_spec.rb +84 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_restore_spec.rb +59 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_cluster_update_spec.rb +89 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_logs_get_spec.rb +67 -0
- data/spec/chef/knife/ionoscloud_dbaas_postgres_version_list_spec.rb +94 -0
- data/spec/spec_helper.rb +107 -0
- metadata +209 -156
- data/spec/test.sh +0 -3
@@ -22,12 +22,11 @@ class Chef
|
|
22
22
|
long: '--nic-id NIC_ID',
|
23
23
|
description: 'ID of the load balancer'
|
24
24
|
|
25
|
-
attr_reader :description, :required_options
|
26
|
-
|
27
25
|
def initialize(args = [])
|
28
26
|
super(args)
|
29
27
|
@description =
|
30
28
|
'Retrieves the attributes of a given NIC.'
|
29
|
+
@directory = 'compute-engine'
|
31
30
|
@required_options = [:datacenter_id, :server_id, :nic_id, :ionoscloud_username, :ionoscloud_password]
|
32
31
|
end
|
33
32
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--server-id SERVER_ID',
|
18
18
|
description: 'The ID of the server assigned the NIC'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'List all available NICs connected to a server.'
|
24
|
+
@directory = 'compute-engine'
|
26
25
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -48,12 +48,11 @@ class Chef
|
|
48
48
|
description: 'The type of firewall rules that will be allowed on the NIC. If it is not specified it will take the '\
|
49
49
|
'default value INGRESS'
|
50
50
|
|
51
|
-
attr_reader :description, :required_options
|
52
|
-
|
53
51
|
def initialize(args = [])
|
54
52
|
super(args)
|
55
53
|
@description =
|
56
54
|
'Updates information about a Ionoscloud NIC.'
|
55
|
+
@directory = 'compute-engine'
|
57
56
|
@required_options = [:datacenter_id, :server_id, :nic_id, :ionoscloud_username, :ionoscloud_password]
|
58
57
|
@updatable_fields = [:name, :ips, :dhcp, :lan, :nat]
|
59
58
|
end
|
@@ -18,12 +18,11 @@ class Chef
|
|
18
18
|
long: '--nodepool-id NODEPOOL_ID',
|
19
19
|
description: 'The ID of the K8s Nodepool'
|
20
20
|
|
21
|
-
attr_reader :description, :required_options
|
22
|
-
|
23
21
|
def initialize(args = [])
|
24
22
|
super(args)
|
25
23
|
@description =
|
26
24
|
'Delete a single Kubernetes Node.'
|
25
|
+
@directory = 'kubernetes'
|
27
26
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
28
27
|
end
|
29
28
|
|
@@ -22,12 +22,11 @@ class Chef
|
|
22
22
|
long: '--node-id NODE_ID',
|
23
23
|
description: 'ID of the load balancer'
|
24
24
|
|
25
|
-
attr_reader :description, :required_options
|
26
|
-
|
27
25
|
def initialize(args = [])
|
28
26
|
super(args)
|
29
27
|
@description =
|
30
28
|
'Retrieves the attributes of a given K8S Node.'
|
29
|
+
@directory = 'kubernetes'
|
31
30
|
@required_options = [:cluster_id, :nodepool_id, :node_id, :ionoscloud_username, :ionoscloud_password]
|
32
31
|
end
|
33
32
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--nodepool-id NODEPOOL_ID',
|
18
18
|
description: 'The ID of the K8s Nodepool'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Retrieve a list of Kubernetes Nodes in a Nodepool.'
|
24
|
+
@directory = 'kubernetes'
|
26
25
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -18,8 +18,6 @@ class Chef
|
|
18
18
|
long: '--nodepool-id NODEPOOL_ID',
|
19
19
|
description: 'The ID of the K8s Nodepool'
|
20
20
|
|
21
|
-
attr_reader :description, :required_options
|
22
|
-
|
23
21
|
def initialize(args = [])
|
24
22
|
super(args)
|
25
23
|
@description =
|
@@ -28,6 +26,7 @@ class Chef
|
|
28
26
|
"template creates & configures a new node, waits for status \"ACTIVE\", "\
|
29
27
|
"and migrates all the pods from the faulty node, deleting it once empty. "\
|
30
28
|
"While this operation occurs, the nodepool will have an extra billable \"ACTIVE\" node."
|
29
|
+
@directory = 'kubernetes'
|
31
30
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
32
31
|
end
|
33
32
|
|
@@ -96,14 +96,13 @@ class Chef
|
|
96
96
|
long: '--annotations ANNOTATION [ANNOTATION]',
|
97
97
|
description: 'map of annotations attached to node pool'
|
98
98
|
|
99
|
-
attr_reader :description, :required_options
|
100
|
-
|
101
99
|
def initialize(args = [])
|
102
100
|
super(args)
|
103
101
|
@description =
|
104
102
|
"Creates a node pool into an existing Kubernetes cluster. "\
|
105
103
|
"The Kubernetes cluster must be in state \"ACTIVE\" before creating a node pool.\n\n"\
|
106
104
|
"The worker nodes within the node pools will be deployed into an existing data centers."
|
105
|
+
@directory = 'kubernetes'
|
107
106
|
@required_options = [
|
108
107
|
:datacenter_id, :cluster_id, :name, :version, :node_count, :cpu_family, :cores, :ram,
|
109
108
|
:availability_zone, :storage_type, :storage_size, :ionoscloud_username, :ionoscloud_password,
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--cluster-id CLUSTER_ID',
|
13
13
|
description: 'The ID of the K8s Cluster'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Deletes a node pool within an existing Kubernetes cluster.'
|
19
|
+
@directory = 'kubernetes'
|
21
20
|
@required_options = [:cluster_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--nodepool-id NODEPOOL_ID',
|
18
18
|
description: 'The ID of the K8s Nodepool'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Retrieves the attributes of a given K8S Nodepool.'
|
24
|
+
@directory = 'kubernetes'
|
26
25
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -31,12 +31,11 @@ class Chef
|
|
31
31
|
long: '--routes NETWORK,GATEWAY_IP [NETWORK,GATEWAY_IP]',
|
32
32
|
description: 'An array of additional LANs attached to worker nodes'
|
33
33
|
|
34
|
-
attr_reader :description, :required_options
|
35
|
-
|
36
34
|
def initialize(args = [])
|
37
35
|
super(args)
|
38
36
|
@description =
|
39
37
|
'Adds or updates a LAN within a Nodepool.'
|
38
|
+
@directory = 'kubernetes'
|
40
39
|
@required_options = [:cluster_id, :nodepool_id, :lan_id, :ionoscloud_username, :ionoscloud_password]
|
41
40
|
end
|
42
41
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--nodepool NODEPOOL_ID',
|
18
18
|
description: 'The ID of the K8s Nodepool'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Adds or updates a LAN within a Nodepool.'
|
24
|
+
@directory = 'kubernetes'
|
26
25
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--cluster-id CLUSTER_ID',
|
13
13
|
description: 'The ID of the K8s Cluster'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Retrieve a list of all node pools contained in a selected Kubernetes cluster.'
|
19
|
+
@directory = 'kubernetes'
|
21
20
|
@required_options = [:cluster_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -63,12 +63,11 @@ class Chef
|
|
63
63
|
long: '--annotations ANNOTATION [ANNOTATION]',
|
64
64
|
description: 'map of annotations attached to node pool'
|
65
65
|
|
66
|
-
attr_reader :description, :required_options
|
67
|
-
|
68
66
|
def initialize(args = [])
|
69
67
|
super(args)
|
70
68
|
@description =
|
71
69
|
'Updates information about a Ionoscloud K8s Nodepool.'
|
70
|
+
@directory = 'kubernetes'
|
72
71
|
@required_options = [:cluster_id, :nodepool_id, :ionoscloud_username, :ionoscloud_password]
|
73
72
|
@updatable_fields = [
|
74
73
|
:k8s_version, :node_count, :public_ips, :lans, :maintenance_day, :maintenance_time,
|
@@ -21,12 +21,11 @@ class Chef
|
|
21
21
|
long: '--peers DATACENTER_ID,LAN_ID [DATACENTER_ID,LAN_ID]',
|
22
22
|
description: 'An array of LANs joined to this private cross connect'
|
23
23
|
|
24
|
-
attr_reader :description, :required_options
|
25
|
-
|
26
24
|
def initialize(args = [])
|
27
25
|
super(args)
|
28
26
|
@description =
|
29
27
|
'Creates a Private Cross-Connect.'
|
28
|
+
@directory = 'compute-engine'
|
30
29
|
@required_options = [:ionoscloud_username, :ionoscloud_password]
|
31
30
|
end
|
32
31
|
|
@@ -7,12 +7,11 @@ class Chef
|
|
7
7
|
|
8
8
|
banner 'knife ionoscloud pcc delete PCC_ID [PCC_ID]'
|
9
9
|
|
10
|
-
attr_reader :description, :required_options
|
11
|
-
|
12
10
|
def initialize(args = [])
|
13
11
|
super(args)
|
14
12
|
@description =
|
15
13
|
'Deletes a Private Cross-Connect.'
|
14
|
+
@directory = 'compute-engine'
|
16
15
|
@required_options = [:ionoscloud_username, :ionoscloud_password]
|
17
16
|
end
|
18
17
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--pcc-id PRIVATE_CROSS_CONNECT_ID',
|
13
13
|
description: 'ID of the Private Cross Connect'
|
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 Ionoscloud Private Cross Connect.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:pcc_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -7,12 +7,11 @@ class Chef
|
|
7
7
|
|
8
8
|
banner 'knife ionoscloud pcc list'
|
9
9
|
|
10
|
-
attr_reader :description, :required_options
|
11
|
-
|
12
10
|
def initialize(args = [])
|
13
11
|
super(args)
|
14
12
|
@description =
|
15
13
|
'Lists all Private Cross-Connect instances.'
|
14
|
+
@directory = 'compute-engine'
|
16
15
|
@required_options = [:ionoscloud_username, :ionoscloud_password]
|
17
16
|
end
|
18
17
|
|
@@ -21,13 +21,12 @@ class Chef
|
|
21
21
|
long: '--description DESCRIPTION',
|
22
22
|
description: 'Description of the data center'
|
23
23
|
|
24
|
-
attr_reader :description, :required_options
|
25
|
-
|
26
24
|
def initialize(args = [])
|
27
25
|
super(args)
|
28
26
|
@description =
|
29
27
|
'Updates information about a Ionoscloud Private Cross Connect. In order to add LANs to the Private Cross Connect one should'\
|
30
28
|
'update the LAN and change the pcc property using the ```text\knife ionscloud lan update\n``` command.'
|
29
|
+
@directory = 'compute-engine'
|
31
30
|
@required_options = [:pcc_id, :ionoscloud_username, :ionoscloud_password]
|
32
31
|
@updatable_fields = [:name, :description]
|
33
32
|
end
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--request-id REQUEST_ID',
|
13
13
|
description: 'The ID of the Request.'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Retrieves the properties of a specific request based on the supplied request id.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:request_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -27,8 +27,6 @@ class Chef
|
|
27
27
|
long: '--method METHOD',
|
28
28
|
description: 'Request method filter to fetch all the request based on a particular method [POST, PUT, PATCH, DELETE]'
|
29
29
|
|
30
|
-
attr_reader :description, :required_options
|
31
|
-
|
32
30
|
def initialize(args = [])
|
33
31
|
super(args)
|
34
32
|
@description =
|
@@ -37,6 +35,7 @@ class Chef
|
|
37
35
|
'the request and its current status. The "list request" operation described here will '\
|
38
36
|
'return an array of request items. Each returned request item will have an id that can be '\
|
39
37
|
'used to get additional information as described in the Get Request and Get Request Status sections.'
|
38
|
+
@directory = 'compute-engine'
|
40
39
|
@required_options = [:ionoscloud_username, :ionoscloud_password]
|
41
40
|
end
|
42
41
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--request-id REQUEST_ID',
|
13
13
|
description: 'The ID of the Request.'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Retrieves the status of a specific request based on the supplied request id.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:request_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--request-id REQUEST_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
|
'Waits until a request status is either DONE or FAILED.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:request_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -17,8 +17,6 @@ class Chef
|
|
17
17
|
long: '--resource-id RESOURCE_ID',
|
18
18
|
description: 'The ID of the specific resource to retrieve information about.'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
@@ -40,6 +38,7 @@ class Chef
|
|
40
38
|
"resource_type and resource_id specified: Retrieves a specific resource."\
|
41
39
|
"**NOTE:** if you pass the *resource_id* option it is necessary to also pass the "\
|
42
40
|
"*resource_type* option or a list of all resources will be returned."
|
41
|
+
@directory = 'user'
|
43
42
|
@required_options = [:ionoscloud_username, :ionoscloud_password]
|
44
43
|
end
|
45
44
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--user USER_ID',
|
13
13
|
description: 'The ID of the user'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Creates a new S3 key for a particular user.'
|
19
|
+
@directory = 'user'
|
21
20
|
@required_options = [:user_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--user USER_ID',
|
13
13
|
description: 'The ID of the user'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This operation deletes a specific S3 key.'
|
19
|
+
@directory = 'user'
|
21
20
|
@required_options = [:user_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--s3-key S3KEY_ID',
|
18
18
|
description: 'The ID of the S3 Key.'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Retrieves the properties of an S3 Key.'
|
24
|
+
@directory = 'user'
|
26
25
|
@required_options = [:user_id, :s3_key_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--user USER_ID',
|
13
13
|
description: 'The ID of the user'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'Retrieve a list of all the S3 keys for a specific user.'
|
19
|
+
@directory = 'user'
|
21
20
|
@required_options = [:user_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--server-id SERVER_ID',
|
18
18
|
description: 'The ID of the Server.'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Returns the link with the jwToken to access the server remote console.'
|
24
|
+
@directory = 'compute-engine'
|
26
25
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -45,8 +45,6 @@ class Chef
|
|
45
45
|
long: '--boot-cdrom CDROM_ID',
|
46
46
|
description: 'Reference to a CD-ROM used for booting'
|
47
47
|
|
48
|
-
attr_reader :description, :required_options
|
49
|
-
|
50
48
|
def initialize(args = [])
|
51
49
|
super(args)
|
52
50
|
@description =
|
@@ -54,6 +52,7 @@ class Chef
|
|
54
52
|
"with the other providers is that they allow you to define your own settings "\
|
55
53
|
"for cores, memory, and disk size without being tied to a particular size or flavor.\n\n"\
|
56
54
|
"Note: _The memory parameter value must be a multiple of 256, e.g. 256, 512, 768, 1024, and so forth._"
|
55
|
+
@directory = 'compute-engine'
|
57
56
|
@required_options = [:datacenter_id, :cores, :ram, :ionoscloud_username, :ionoscloud_password]
|
58
57
|
end
|
59
58
|
|
@@ -12,14 +12,13 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'Name of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
"This will remove a server from a VDC.\n\n"\
|
21
19
|
"**NOTE**: This will not automatically remove the storage volume\\(s\\) "\
|
22
20
|
"attached to a server. A separate API call is required to perform that action."
|
21
|
+
@directory = 'compute-engine'
|
23
22
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
24
23
|
end
|
25
24
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--server-id SERVER_ID',
|
18
18
|
description: 'The ID of the server to which the NIC is assigned'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Retrieves the attributes of a given Server.'
|
24
|
+
@directory = 'compute-engine'
|
26
25
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--upgrade-needed',
|
18
18
|
description: 'It can be used to filter which servers can be upgraded'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'List all available servers under a specified data center.'
|
24
|
+
@directory = 'compute-engine'
|
26
25
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -12,14 +12,13 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'ID of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This will force a hard reboot of the server. Do not use this method '\
|
21
19
|
'if you want to gracefully reboot the machine. This is the equivalent '\
|
22
20
|
'of powering off the machine and turning it back on.'
|
21
|
+
@directory = 'compute-engine'
|
23
22
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
24
23
|
end
|
25
24
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'ID of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This will resume a suspended server. The operation can only be applied to suspended Cube servers. No billing event will be generated.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -12,12 +12,11 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'ID of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This will start a server. If the server\'s public IP was deallocated then a new IP will be assigned.'
|
19
|
+
@directory = 'compute-engine'
|
21
20
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
22
21
|
end
|
23
22
|
|
@@ -12,13 +12,12 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'ID of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This will stop a server. The machine will be forcefully powered off, '\
|
21
19
|
'billing will cease, and the public IP, if one is allocated, will be deallocated.'
|
20
|
+
@directory = 'compute-engine'
|
22
21
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
23
22
|
end
|
24
23
|
|
@@ -12,13 +12,12 @@ class Chef
|
|
12
12
|
long: '--datacenter-id DATACENTER_ID',
|
13
13
|
description: 'ID of the data center'
|
14
14
|
|
15
|
-
attr_reader :description, :required_options
|
16
|
-
|
17
15
|
def initialize(args = [])
|
18
16
|
super(args)
|
19
17
|
@description =
|
20
18
|
'This will suspend a server. The operation can only be applied to Cube servers. '\
|
21
19
|
'Note: The virtual machine will not be deleted, and the consumed resources will continue to be billed.'
|
20
|
+
@directory = 'compute-engine'
|
22
21
|
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
|
23
22
|
end
|
24
23
|
|
@@ -17,12 +17,11 @@ class Chef
|
|
17
17
|
long: '--server-id SERVER_ID',
|
18
18
|
description: 'The ID of the Server.'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
'Returns the server json web token to be used for login operations (ex: accessing the server console).'
|
24
|
+
@directory = 'compute-engine'
|
26
25
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
27
26
|
end
|
28
27
|
|
@@ -50,12 +50,11 @@ class Chef
|
|
50
50
|
long: '--boot-cdrom CDROM_ID',
|
51
51
|
description: 'Reference to a CD-ROM used for booting'
|
52
52
|
|
53
|
-
attr_reader :description, :required_options
|
54
|
-
|
55
53
|
def initialize(args = [])
|
56
54
|
super(args)
|
57
55
|
@description =
|
58
56
|
'Updates information about a Ionoscloud Server.'
|
57
|
+
@directory = 'compute-engine'
|
59
58
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
60
59
|
@updatable_fields = [:name, :cores, :cpu_family, :ram, :availability_zone, :boot_volume, :boot_cdrom]
|
61
60
|
end
|
@@ -17,13 +17,12 @@ class Chef
|
|
17
17
|
long: '--server-id SERVER_ID',
|
18
18
|
description: 'The ID of the Server.'
|
19
19
|
|
20
|
-
attr_reader :description, :required_options
|
21
|
-
|
22
20
|
def initialize(args = [])
|
23
21
|
super(args)
|
24
22
|
@description =
|
25
23
|
"This will upgrade the version of the server, if needed. To verify if there is an upgrade available for a server, "\
|
26
24
|
"call '/datacenters/{datacenterId}/servers?upgradeNeeded=true'."
|
25
|
+
@directory = 'compute-engine'
|
27
26
|
@required_options = [:datacenter_id, :server_id, :ionoscloud_username, :ionoscloud_password]
|
28
27
|
end
|
29
28
|
|