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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844d50cdb67740c66e4509ae0d8ad0a95b486c3e31558c30d54f8f96a019f4a2
|
4
|
+
data.tar.gz: b8fdedf4d8c42e69c33306b67580c13c6522d0c2fc5927b5430909fbd6c62d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af364bfbcaa19a9471d22f48e4261a71f941ff2584618587161da76ae4691c0830e20357354a99628661f69bd013f9f6b57f5373d8ffb4ff029ffc270caafb35
|
7
|
+
data.tar.gz: 4a77204a6becf7a87452921a9379a394dbf788e9ad4c3fca24ed349a03d347b7dc1ee6e8495e8c0f27c07084f5f5d1bb1bb4aaf0d9708199076a1ccfdda7b978
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1077.17 255.12"><defs><style>.cls-1{fill:#003d8f;}</style></defs><title>IONOS.CLOUD Blu</title><g id="Ebene_3" data-name="Ebene 3"><path class="cls-1" d="M594.12,211.52a42.56,42.56,0,0,1-8.5-.86,44,44,0,0,1-29-20.73l-.15-.29a13,13,0,0,1,4.8-17.2,12.55,12.55,0,0,1,6.46-1.79,12.77,12.77,0,0,1,11.12,6.54c.13.22.28.47.44.71l1.35,1.84,1.82,1.84a17.69,17.69,0,0,0,8.29,4,18.21,18.21,0,0,0,14.3-3.27,17.27,17.27,0,0,0,7.18-12.93,17.86,17.86,0,0,0-5-13.88s-38.42-39.9-40.14-41.75a47.14,47.14,0,0,1-4.63-5.51c-5.42-7.68-7.12-16.74-6.28-25.7a41.75,41.75,0,0,1,5.41-17.77s1.76-3,2.28-3.73a48.36,48.36,0,0,1,8.78-8.95A45.36,45.36,0,0,1,580,47.67a42,42,0,0,1,54.79,16.91,12.45,12.45,0,0,1,1.33,9.65,12.73,12.73,0,0,1-6.07,7.85,12.21,12.21,0,0,1-6.23,1.69,12.68,12.68,0,0,1-11.05-6.5,16.69,16.69,0,0,0-11.18-7.91,17.35,17.35,0,0,0-13.56,3,16.5,16.5,0,0,0-6.41,12,16.82,16.82,0,0,0,4.57,13l39.28,40.5a43.5,43.5,0,0,1-31.38,73.68"/><path class="cls-1" d="M469.82,211.5a42.29,42.29,0,0,1-42.24-42.24V85.7a42.24,42.24,0,1,1,84.48,0v83.56a42.29,42.29,0,0,1-42.24,42.24m0-142.53A16.76,16.76,0,0,0,453.08,85.7v83.56A16.56,16.56,0,0,0,469.82,186a16.76,16.76,0,0,0,16.74-16.73V85.7A17,17,0,0,0,469.82,69"/><path class="cls-1" d="M305.61,129.64v69.1a12.75,12.75,0,0,1-25.5,0v-122Zm69.18,48.65V56.21a12.75,12.75,0,1,0-25.5,0v69.15ZM304.57,50.69l-.12-.24a13.06,13.06,0,0,0-11.54-6.92,11.84,11.84,0,0,0-2.57.27,12.48,12.48,0,0,0-10.07,12.41v2.91L350.4,204.5a13.14,13.14,0,0,0,11.32,7,11.22,11.22,0,0,0,2.92-.37,12.5,12.5,0,0,0,9.94-12.38V196l-70-145.3"/><path class="cls-1" d="M184.67,211.5a42.29,42.29,0,0,1-42.24-42.24V85.7a42.24,42.24,0,0,1,84.48,0v83.56a42.3,42.3,0,0,1-42.24,42.24m0-142.53A16.76,16.76,0,0,0,167.93,85.7v83.56a16.74,16.74,0,0,0,33.48,0V85.7A17,17,0,0,0,184.67,69"/><path class="cls-1" d="M75.19,211.43a13.8,13.8,0,0,1-13.86-14v-140l0-.27a13.89,13.89,0,0,1,27.29-3.46c.07.24.16.59.24,1l.09.6a14.23,14.23,0,0,1,.18,2.22s0,138.3,0,139.89a13.85,13.85,0,0,1-14,14.05"/><path class="cls-1" d="M709.85,211.61c-7.39,0-14.87-5-14.87-14.64V167.21c0-9.9,7.5-15.08,14.91-15.08s14.92,5.18,14.92,15.08a4.61,4.61,0,1,1-9.22,0,5.7,5.7,0,1,0-11.39,0V197c0,5.16,4.71,5.42,5.65,5.42.59,0,5.74-.15,5.74-5.23a4.61,4.61,0,1,1,9.22,0C724.81,206.54,717.1,211.61,709.85,211.61Z"/><path class="cls-1" d="M929.77,211.73c-7.32,0-14.73-5.2-14.73-15.13V156.45a4.44,4.44,0,1,1,8.88,0V196.6c0,4.61,3.15,6.25,5.85,6.25a6,6,0,0,0,4.05-1.52,6.52,6.52,0,0,0,1.83-5V156.45a4.44,4.44,0,1,1,8.88,0v39.89a15.19,15.19,0,0,1-4.62,11.46A14.74,14.74,0,0,1,929.77,211.73Z"/><path class="cls-1" d="M1005.17,211.83l-10.84-.12a4.43,4.43,0,0,1-4.39-4.43v-50.9a4.43,4.43,0,0,1,4.43-4.43l10.79,0c9.46,0,15.11,5.44,15.11,14.55v30.64C1020.27,206.19,1014.48,211.83,1005.17,211.83Zm-6.36-8.94,6.4.07c4.44,0,6.19-1.64,6.19-5.85V166.47c0-3.51-1-5.68-6.23-5.68h-6.36Z"/><path class="cls-1" d="M773.56,211.65a4.9,4.9,0,0,1-4.92-5V156.94a4.93,4.93,0,0,1,9.68-1.22c0,.08,0,.2.08.34l0,.22a5.38,5.38,0,0,1,.07.78s0,44.16,0,44.72H789a4.93,4.93,0,1,1,0,9.86H773.56Z"/><path class="cls-1" d="M853.28,211.66a15,15,0,0,1-15-15V167.06a14.92,14.92,0,0,1,2.49-8.27l6.55,13.6v24.29a5.88,5.88,0,0,0,5.94,5.94,6,6,0,0,0,5.93-5.64l4.89,10a14.92,14.92,0,0,1-10.82,4.64m0-50.54a6,6,0,0,0-5.93,5.57l-4.84-10a15,15,0,0,1,25.75,10.41v29.62a14.93,14.93,0,0,1-2.45,8.2l-6.6-13.63V167.06a6,6,0,0,0-5.93-5.94"/></g></svg>
|
data/README.md
CHANGED
@@ -10,6 +10,15 @@
|
|
10
10
|
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=security_rating)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
11
11
|
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
12
12
|
|
13
|
+
![Alt text](.github/IONOS.CLOUD.BLU.svg?raw=true "Title")
|
14
|
+
|
15
|
+
|
16
|
+
---
|
17
|
+
**NOTE:**
|
18
|
+
Be aware that the Chef IonosCloud Provider v6 will become main branch and it will be using the latest stable API Version.
|
19
|
+
|
20
|
+
---
|
21
|
+
|
13
22
|
## Overview
|
14
23
|
|
15
24
|
Chef is a popular configuration management tool that allows simplified configuration and maintenance of both servers and cloud provider environments through the use of common templates called recipes. The Chef `knife` command line tool allows management of various nodes within those environments. The `knife-ionoscloud` plugin utilizes the IONOS Cloud REST API to provision and manage various cloud resources on the IONOS Cloud platform.
|
data/docs/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
![CI](https://github.com/ionos-cloud/knife-ionos-cloud/workflows/CI/badge.svg) [![Gem Version](https://badge.fury.io/rb/knife-ionoscloud.svg)](https://badge.fury.io/rb/knife-ionoscloud) [![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
|
4
4
|
|
5
|
+
---
|
6
|
+
**NOTE:**
|
7
|
+
Be aware that the Chef IonosCloud Provider v6 will become main branch and it will be using the latest stable API Version.
|
8
|
+
|
9
|
+
---
|
10
|
+
|
5
11
|
## Overview
|
6
12
|
|
7
13
|
Chef is a popular configuration management tool that allows simplified configuration and maintenance of both servers and cloud provider environments through the use of common templates called recipes. The Chef `knife` command line tool allows management of various nodes within those environments. The `knife-ionoscloud` plugin utilizes the IONOS Cloud REST API to provision and manage various cloud resources on the IONOS Cloud platform.
|
data/docs/changelog.md
CHANGED
data/docs/docs_generator.rb
CHANGED
@@ -3,11 +3,20 @@
|
|
3
3
|
# This must be run from /docs directory
|
4
4
|
|
5
5
|
require 'mustache'
|
6
|
+
require 'fileutils'
|
6
7
|
|
7
8
|
$LOAD_PATH << '.'
|
8
9
|
|
9
10
|
Dir["../lib/chef/knife/*.rb"].each { |file| require file }
|
10
11
|
|
12
|
+
FOLDER_TO_NAME_MAP = {
|
13
|
+
'backup' => 'Managed Backup',
|
14
|
+
'user' => 'User Management',
|
15
|
+
'compute-engine' => 'Compute Engine',
|
16
|
+
'kubernetes' => 'Managed Kubernetes',
|
17
|
+
'dbaas-postgres' => 'DbaaS Postgres',
|
18
|
+
}.freeze
|
19
|
+
|
11
20
|
def underscore_string(s)
|
12
21
|
s.gsub(/::/, '/').
|
13
22
|
gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
|
@@ -36,10 +45,10 @@ class Summary < Mustache
|
|
36
45
|
self.template_path = './templates'
|
37
46
|
self.template_file = './templates/summary.mustache'
|
38
47
|
|
39
|
-
attr_accessor :
|
48
|
+
attr_accessor :categories
|
40
49
|
|
41
|
-
def initialize(
|
42
|
-
@
|
50
|
+
def initialize(categories)
|
51
|
+
@categories = categories || []
|
43
52
|
end
|
44
53
|
end
|
45
54
|
|
@@ -54,7 +63,13 @@ def generate_subcommand_doc(subcommand)
|
|
54
63
|
subcommand_name = subcommand.class.to_s
|
55
64
|
subcommand_name.slice!('Chef::Knife::Ionoscloud')
|
56
65
|
|
57
|
-
|
66
|
+
begin
|
67
|
+
filename = "subcommands/#{subcommand.directory}/#{underscore_string(subcommand_name)}.md"
|
68
|
+
category = FOLDER_TO_NAME_MAP[subcommand.directory]
|
69
|
+
rescue NoMethodError
|
70
|
+
filename = "subcommands/#{underscore_string(subcommand_name)}.md"
|
71
|
+
category = ''
|
72
|
+
end
|
58
73
|
|
59
74
|
begin
|
60
75
|
description = subcommand.description
|
@@ -62,6 +77,8 @@ def generate_subcommand_doc(subcommand)
|
|
62
77
|
description = ''
|
63
78
|
end
|
64
79
|
|
80
|
+
FileUtils.mkdir_p(File.dirname(filename)) unless File.directory?(File.dirname(filename))
|
81
|
+
|
65
82
|
File.open(filename, 'w') { |f|
|
66
83
|
f.write(
|
67
84
|
Subcommand.new(
|
@@ -75,7 +92,11 @@ def generate_subcommand_doc(subcommand)
|
|
75
92
|
}
|
76
93
|
|
77
94
|
puts "Generated documentation for #{subcommand_name}."
|
78
|
-
|
95
|
+
{
|
96
|
+
title: subcommand_name,
|
97
|
+
filename: filename,
|
98
|
+
category: category,
|
99
|
+
}
|
79
100
|
end
|
80
101
|
|
81
102
|
subcommands = []
|
@@ -85,13 +106,14 @@ begin
|
|
85
106
|
Chef::Knife.const_get(c).is_a?(Class) && c.to_s.start_with?('Ionoscloud')
|
86
107
|
}.each {
|
87
108
|
|subcommand|
|
109
|
+
# if subcommand.to_s == 'IonoscloudBackupunitCreate'
|
88
110
|
begin
|
89
|
-
|
90
|
-
subcommands.append({ title: subcommand_name, filename: filename })
|
111
|
+
subcommands.append(generate_subcommand_doc(Chef::Knife.const_get(subcommand).new))
|
91
112
|
rescue Exception => exc
|
92
113
|
puts "Could not generate doc for #{subcommand}. Error: #{exc}"
|
93
114
|
# raise exc
|
94
115
|
end
|
116
|
+
# end
|
95
117
|
}
|
96
118
|
rescue NameError => exc
|
97
119
|
if exc.message == 'uninitialized constant Chef'
|
@@ -100,8 +122,21 @@ rescue NameError => exc
|
|
100
122
|
raise exc
|
101
123
|
end
|
102
124
|
|
103
|
-
|
125
|
+
categories = {}
|
126
|
+
|
127
|
+
subcommands.map do |subcommand|
|
128
|
+
if categories.key?(subcommand[:category])
|
129
|
+
categories[subcommand[:category]] << subcommand
|
130
|
+
else
|
131
|
+
categories[subcommand[:category]] = [subcommand]
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
|
136
|
+
final = []
|
137
|
+
|
138
|
+
categories.map { |key, value| final << { category: key, subcommands: value } }
|
104
139
|
|
105
140
|
File.open('summary.md', 'w') { |f|
|
106
|
-
f.write(Summary.new(
|
141
|
+
f.write(Summary.new(final).render)
|
107
142
|
}
|
@@ -26,7 +26,7 @@ knife ionoscloud backupunit create (options)
|
|
26
26
|
password: --password PASSWORD, -p PASSWORD
|
27
27
|
alphanumeric password you want assigned to the backup unit (required)
|
28
28
|
|
29
|
-
email: --email EMAIL
|
29
|
+
email: --email EMAIL, -e EMAIL
|
30
30
|
the e-mail address you want assigned to the backup unit. (required)
|
31
31
|
|
32
32
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/subcommands/{composite_server_create.md → compute-engine/composite_server_create.md}
RENAMED
@@ -73,6 +73,12 @@ knife ionoscloud composite server create (options)
|
|
73
73
|
ssh_keys: --ssh-keys SSHKEY1,SSHKEY2,..., -K SSHKEY[,SSHKEY,...]
|
74
74
|
a list of public SSH keys to include
|
75
75
|
|
76
|
+
backupunit_id: --backupunit BACKUPUNIT_ID, -B BACKUPUNIT_ID
|
77
|
+
the uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
|
78
|
+
|
79
|
+
user_data: --user-data USER_DATA, -u USER_DATA
|
80
|
+
the cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
|
81
|
+
|
76
82
|
nic_name: --nic-name NAME
|
77
83
|
name of the NIC
|
78
84
|
|
@@ -85,8 +91,8 @@ knife ionoscloud composite server create (options)
|
|
85
91
|
lan: --lan ID, -L ID
|
86
92
|
the LAN ID the NIC will reside on; if the LAN ID does not exist it will be created (required)
|
87
93
|
|
88
|
-
|
89
|
-
|
94
|
+
firewall_type: --firewall-type FIREWALL_TYPE
|
95
|
+
the type of firewall rules that will be allowed on the NIC. If it is not specified it will take the default value INGRESS
|
90
96
|
|
91
97
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
92
98
|
your Ionoscloud username (required)
|
@@ -101,5 +107,5 @@ knife ionoscloud composite server create (options)
|
|
101
107
|
## Example
|
102
108
|
|
103
109
|
```text
|
104
|
-
knife ionoscloud composite server create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --name NAME --cores CORES --cpu-family CPU_FAMILY --ram RAM --availability-zone AVAILABILITY_ZONE --volume-name NAME --size SIZE --bus BUS --image ID --image-alias IMAGE_ALIAS --type TYPE --licence-type LICENCE --image-password PASSWORD --volume-availability-zone AVAILABILITY_ZONE --ssh-keys SSHKEY1,SSHKEY2,... --nic-name NAME --ips IP[,IP,...] --dhcp --lan ID --
|
110
|
+
knife ionoscloud composite server create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --name NAME --cores CORES --cpu-family CPU_FAMILY --ram RAM --availability-zone AVAILABILITY_ZONE --volume-name NAME --size SIZE --bus BUS --image ID --image-alias IMAGE_ALIAS --type TYPE --licence-type LICENCE --image-password PASSWORD --volume-availability-zone AVAILABILITY_ZONE --ssh-keys SSHKEY1,SSHKEY2,... --backupunit BACKUPUNIT_ID --user-data USER_DATA --nic-name NAME --ips IP[,IP,...] --dhcp --lan ID --firewall-type FIREWALL_TYPE --username USERNAME --password PASSWORD --url URL
|
105
111
|
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -30,7 +30,7 @@ knife ionoscloud firewall create (options)
|
|
30
30
|
iD of the NIC (required)
|
31
31
|
|
32
32
|
name: --name NAME, -n NAME
|
33
|
-
name of the
|
33
|
+
name of the NIC
|
34
34
|
|
35
35
|
protocol: --protocol PROTOCOL, -P PROTOCOL
|
36
36
|
the protocol of the firewall rule (TCP, UDP, ICMP, ANY)
|
@@ -47,7 +47,7 @@ knife ionoscloud firewall create (options)
|
|
47
47
|
port_range_start: --port-range-start PORT, -p PORT
|
48
48
|
defines the start range of the allowed port(s)
|
49
49
|
|
50
|
-
port_range_end: --port-range-end PORT
|
50
|
+
port_range_end: --port-range-end PORT
|
51
51
|
defines the end range of the allowed port(s)
|
52
52
|
|
53
53
|
icmp_type: --icmp-type INT
|
@@ -56,6 +56,9 @@ knife ionoscloud firewall create (options)
|
|
56
56
|
icmp_code: --icmp-code INT
|
57
57
|
defines the allowed code (from 0 to 254) if the protocol ICMP is chosen; null allows all codes
|
58
58
|
|
59
|
+
type: --type TYPE, --t TYPE
|
60
|
+
the type of firewall rule. If is not specified, it will take the default value INGRESS
|
61
|
+
|
59
62
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
60
63
|
your Ionoscloud username (required)
|
61
64
|
|
@@ -69,5 +72,5 @@ knife ionoscloud firewall create (options)
|
|
69
72
|
## Example
|
70
73
|
|
71
74
|
```text
|
72
|
-
knife ionoscloud firewall create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --name NAME --protocol PROTOCOL --source-mac MAC --source-ip IP --target-ip IP --port-range-start PORT --port-range-end PORT --icmp-type INT --icmp-code INT --username USERNAME --password PASSWORD --url URL
|
75
|
+
knife ionoscloud firewall create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --name NAME --protocol PROTOCOL --source-mac MAC --source-ip IP --target-ip IP --port-range-start PORT --port-range-end PORT --icmp-type INT --icmp-code INT --type TYPE --username USERNAME --password PASSWORD --url URL
|
73
76
|
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -34,9 +34,6 @@ knife ionoscloud lan update (options)
|
|
34
34
|
pcc: --pcc PCC_ID
|
35
35
|
iD of the PCC to connect the LAN to
|
36
36
|
|
37
|
-
ip_failover: --ip-failover IPFAILOVER [IPFAILOVER]
|
38
|
-
iP failover configurations for lan
|
39
|
-
|
40
37
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
41
38
|
your Ionoscloud username (required)
|
42
39
|
|
@@ -50,5 +47,5 @@ knife ionoscloud lan update (options)
|
|
50
47
|
## Example
|
51
48
|
|
52
49
|
```text
|
53
|
-
knife ionoscloud lan update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --lan-id LAN_ID --name NAME --public PUBLIC --pcc PCC_ID --
|
50
|
+
knife ionoscloud lan update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --lan-id LAN_ID --name NAME --public PUBLIC --pcc PCC_ID --username USERNAME --password PASSWORD --url URL
|
54
51
|
```
|
@@ -28,7 +28,7 @@ knife ionoscloud loadbalancer create (options)
|
|
28
28
|
ip: --ip IP
|
29
29
|
iPv4 address of the load balancer. All attached NICs will inherit this IP.
|
30
30
|
|
31
|
-
dhcp: --dhcp DHCP
|
31
|
+
dhcp: --dhcp DHCP, -d DHCP
|
32
32
|
indicates if the load balancer will reserve an IP using DHCP.
|
33
33
|
|
34
34
|
nics: --nics NIC_ID [NIC_ID]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/subcommands/{loadbalancer_nic_remove.md → compute-engine/loadbalancer_nic_remove.md}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/subcommands/{natgateway_rule_remove.md → compute-engine/natgateway_rule_remove.md}
RENAMED
File without changes
|
data/docs/subcommands/{natgateway_rule_update.md → compute-engine/natgateway_rule_update.md}
RENAMED
File without changes
|
File without changes
|
data/docs/subcommands/{networkloadbalancer_create.md → compute-engine/networkloadbalancer_create.md}
RENAMED
File without changes
|
data/docs/subcommands/{networkloadbalancer_delete.md → compute-engine/networkloadbalancer_delete.md}
RENAMED
File without changes
|
data/docs/subcommands/{networkloadbalancer_get.md → compute-engine/networkloadbalancer_get.md}
RENAMED
File without changes
|
data/docs/subcommands/{networkloadbalancer_list.md → compute-engine/networkloadbalancer_list.md}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/subcommands/{networkloadbalancer_update.md → compute-engine/networkloadbalancer_update.md}
RENAMED
File without changes
|
@@ -32,14 +32,14 @@ knife ionoscloud nic create (options)
|
|
32
32
|
ips: --ips IP[,IP,...], -i IP[,IP,...]
|
33
33
|
iPs assigned to the NIC
|
34
34
|
|
35
|
-
dhcp: --dhcp
|
35
|
+
dhcp: --dhcp, -d
|
36
36
|
set to false if you wish to disable DHCP
|
37
37
|
|
38
38
|
lan: --lan ID, -l ID
|
39
39
|
the LAN ID the NIC will reside on; if the LAN ID does not exist it will be created (required)
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
firewall_type: --firewall-type FIREWALL_TYPE, -t FIREWALL_TYPE
|
42
|
+
the type of firewall rules that will be allowed on the NIC. If it is not specified it will take the default value INGRESS
|
43
43
|
|
44
44
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
45
45
|
your Ionoscloud username (required)
|
@@ -54,5 +54,5 @@ knife ionoscloud nic create (options)
|
|
54
54
|
## Example
|
55
55
|
|
56
56
|
```text
|
57
|
-
knife ionoscloud nic create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --name NAME --ips IP[,IP,...] --dhcp
|
57
|
+
knife ionoscloud nic create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --name NAME --ips IP[,IP,...] --dhcp --lan ID --firewall-type FIREWALL_TYPE --username USERNAME --password PASSWORD --url URL
|
58
58
|
```
|
@@ -23,7 +23,7 @@ knife ionoscloud nic delete NIC_ID [NIC_ID] (options)
|
|
23
23
|
the ID of the data center (required)
|
24
24
|
|
25
25
|
server_id: --server-id SERVER_ID, -S SERVER_ID
|
26
|
-
the ID of the server
|
26
|
+
the ID of the server assigned the NIC (required)
|
27
27
|
|
28
28
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
29
29
|
your Ionoscloud username (required)
|
File without changes
|
File without changes
|
@@ -41,8 +41,8 @@ knife ionoscloud nic update (options)
|
|
41
41
|
lan: --lan ID, -l ID
|
42
42
|
the LAN ID the NIC will reside on; if the LAN ID does not exist it will be created
|
43
43
|
|
44
|
-
|
45
|
-
|
44
|
+
firewall_type: --firewall-type FIREWALL_TYPE, -t FIREWALL_TYPE
|
45
|
+
the type of firewall rules that will be allowed on the NIC. If it is not specified it will take the default value INGRESS
|
46
46
|
|
47
47
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
48
48
|
your Ionoscloud username (required)
|
@@ -57,5 +57,5 @@ knife ionoscloud nic update (options)
|
|
57
57
|
## Example
|
58
58
|
|
59
59
|
```text
|
60
|
-
knife ionoscloud nic update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --name NAME --ips IP[,IP,...] --dhcp DHCP --lan ID --
|
60
|
+
knife ionoscloud nic update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --name NAME --ips IP[,IP,...] --dhcp DHCP --lan ID --firewall-type FIREWALL_TYPE --username USERNAME --password PASSWORD --url URL
|
61
61
|
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -21,6 +21,9 @@ knife ionoscloud server list (options)
|
|
21
21
|
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
22
|
the ID of the datacenter containing the server (required)
|
23
23
|
|
24
|
+
upgrade_needed: --upgrade-needed, -u
|
25
|
+
it can be used to filter which servers can be upgraded
|
26
|
+
|
24
27
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
25
28
|
your Ionoscloud username (required)
|
26
29
|
|
@@ -34,5 +37,5 @@ knife ionoscloud server list (options)
|
|
34
37
|
## Example
|
35
38
|
|
36
39
|
```text
|
37
|
-
knife ionoscloud server list --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --username USERNAME --password PASSWORD --url URL
|
40
|
+
knife ionoscloud server list --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --upgrade-needed --username USERNAME --password PASSWORD --url URL
|
38
41
|
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|