knife-ionoscloud 6.0.0.alpha.1 → 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/.github/workflows/publish.yml +4 -1
- data/README.md +9 -0
- data/docs/README.md +37 -0
- data/docs/changelog.md +10 -0
- data/docs/docs_generator.rb +45 -10
- data/docs/subcommands/{backupunit_create.md → backup/backupunit_create.md} +7 -1
- data/docs/subcommands/{backupunit_delete.md → backup/backupunit_delete.md} +7 -1
- data/docs/subcommands/backup/backupunit_get.md +38 -0
- data/docs/subcommands/{backupunit_list.md → backup/backupunit_list.md} +7 -1
- data/docs/subcommands/{backupunit_ssourl.md → backup/backupunit_ssourl.md} +7 -1
- data/docs/subcommands/backup/backupunit_update.md +44 -0
- data/docs/subcommands/{composite_server_create.md → compute-engine/composite_server_create.md} +15 -3
- data/docs/subcommands/compute-engine/cube_server_create.md +94 -0
- data/docs/subcommands/{datacenter_create.md → compute-engine/datacenter_create.md} +7 -1
- data/docs/subcommands/{datacenter_delete.md → compute-engine/datacenter_delete.md} +7 -1
- data/docs/subcommands/compute-engine/datacenter_get.md +38 -0
- data/docs/subcommands/{datacenter_list.md → compute-engine/datacenter_list.md} +7 -1
- data/docs/subcommands/compute-engine/datacenter_update.md +47 -0
- data/docs/subcommands/{firewall_create.md → compute-engine/firewall_create.md} +11 -2
- data/docs/subcommands/{firewall_delete.md → compute-engine/firewall_delete.md} +6 -0
- data/docs/subcommands/compute-engine/firewall_get.md +50 -0
- data/docs/subcommands/{firewall_list.md → compute-engine/firewall_list.md} +7 -1
- data/docs/subcommands/compute-engine/firewall_update.md +74 -0
- data/docs/subcommands/compute-engine/flowlog_create.md +66 -0
- data/docs/subcommands/compute-engine/flowlog_delete.md +54 -0
- data/docs/subcommands/compute-engine/flowlog_get.md +58 -0
- data/docs/subcommands/compute-engine/flowlog_list.md +54 -0
- data/docs/subcommands/compute-engine/flowlog_update.md +70 -0
- data/docs/subcommands/{image_list.md → compute-engine/image_list.md} +7 -1
- data/docs/subcommands/{ipblock_create.md → compute-engine/ipblock_create.md} +7 -1
- data/docs/subcommands/{ipblock_delete.md → compute-engine/ipblock_delete.md} +7 -1
- data/docs/subcommands/compute-engine/ipblock_get.md +38 -0
- data/docs/subcommands/{ipblock_list.md → compute-engine/ipblock_list.md} +7 -1
- data/docs/subcommands/compute-engine/ipblock_update.md +41 -0
- data/docs/subcommands/{ipfailover_add.md → compute-engine/ipfailover_add.md} +7 -1
- data/docs/subcommands/{ipfailover_remove.md → compute-engine/ipfailover_remove.md} +7 -1
- data/docs/subcommands/{label_add.md → compute-engine/label_add.md} +7 -1
- data/docs/subcommands/{label_list.md → compute-engine/label_list.md} +7 -1
- data/docs/subcommands/{label_remove.md → compute-engine/label_remove.md} +6 -0
- data/docs/subcommands/{lan_create.md → compute-engine/lan_create.md} +7 -1
- data/docs/subcommands/{lan_delete.md → compute-engine/lan_delete.md} +6 -0
- data/docs/subcommands/compute-engine/lan_get.md +42 -0
- data/docs/subcommands/{lan_list.md → compute-engine/lan_list.md} +7 -1
- data/docs/subcommands/compute-engine/lan_update.md +51 -0
- data/docs/subcommands/{loadbalancer_create.md → compute-engine/loadbalancer_create.md} +7 -1
- data/docs/subcommands/{loadbalancer_delete.md → compute-engine/loadbalancer_delete.md} +6 -0
- data/docs/subcommands/{loadbalancer_get.md → compute-engine/loadbalancer_get.md} +7 -1
- data/docs/subcommands/{loadbalancer_list.md → compute-engine/loadbalancer_list.md} +7 -1
- data/docs/subcommands/{loadbalancer_nic_add.md → compute-engine/loadbalancer_nic_add.md} +6 -0
- data/docs/subcommands/{loadbalancer_nic_remove.md → compute-engine/loadbalancer_nic_remove.md} +6 -0
- data/docs/subcommands/compute-engine/loadbalancer_update.md +51 -0
- data/docs/subcommands/{location_list.md → compute-engine/location_list.md} +7 -1
- data/docs/subcommands/compute-engine/natgateway_create.md +44 -0
- data/docs/subcommands/compute-engine/natgateway_delete.md +38 -0
- data/docs/subcommands/compute-engine/natgateway_get.md +42 -0
- data/docs/subcommands/compute-engine/natgateway_lan_add.md +49 -0
- data/docs/subcommands/compute-engine/natgateway_lan_remove.md +42 -0
- data/docs/subcommands/compute-engine/natgateway_list.md +38 -0
- data/docs/subcommands/compute-engine/natgateway_rule_add.md +69 -0
- data/docs/subcommands/compute-engine/natgateway_rule_list.md +41 -0
- data/docs/subcommands/compute-engine/natgateway_rule_remove.md +42 -0
- data/docs/subcommands/compute-engine/natgateway_rule_update.md +69 -0
- data/docs/subcommands/compute-engine/natgateway_update.md +51 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_create.md +57 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_delete.md +38 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_get.md +42 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_list.md +38 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_add.md +75 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_list.md +42 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_remove.md +42 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_target_add.md +67 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_target_list.md +46 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_target_remove.md +54 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_rule_update.md +75 -0
- data/docs/subcommands/compute-engine/networkloadbalancer_update.md +57 -0
- data/docs/subcommands/{nic_create.md → compute-engine/nic_create.md} +9 -3
- data/docs/subcommands/{nic_delete.md → compute-engine/nic_delete.md} +6 -0
- data/docs/subcommands/compute-engine/nic_get.md +46 -0
- data/docs/subcommands/{nic_list.md → compute-engine/nic_list.md} +7 -1
- data/docs/subcommands/compute-engine/nic_update.md +61 -0
- data/docs/subcommands/{pcc_create.md → compute-engine/pcc_create.md} +7 -1
- data/docs/subcommands/{pcc_delete.md → compute-engine/pcc_delete.md} +7 -1
- data/docs/subcommands/compute-engine/pcc_get.md +38 -0
- data/docs/subcommands/{pcc_list.md → compute-engine/pcc_list.md} +7 -1
- data/docs/subcommands/compute-engine/pcc_update.md +44 -0
- data/docs/subcommands/compute-engine/request_get.md +38 -0
- data/docs/subcommands/{request_list.md → compute-engine/request_list.md} +7 -1
- data/docs/subcommands/{request_status.md → compute-engine/request_status.md} +7 -1
- data/docs/subcommands/{request_wait.md → compute-engine/request_wait.md} +7 -1
- data/docs/subcommands/compute-engine/server_console.md +42 -0
- data/docs/subcommands/{server_create.md → compute-engine/server_create.md} +7 -1
- data/docs/subcommands/{server_delete.md → compute-engine/server_delete.md} +6 -0
- data/docs/subcommands/compute-engine/server_get.md +42 -0
- data/docs/subcommands/{server_list.md → compute-engine/server_list.md} +10 -1
- data/docs/subcommands/{server_reboot.md → compute-engine/server_reboot.md} +6 -0
- data/docs/subcommands/compute-engine/server_resume.md +38 -0
- data/docs/subcommands/{server_start.md → compute-engine/server_start.md} +6 -0
- data/docs/subcommands/{server_stop.md → compute-engine/server_stop.md} +6 -0
- data/docs/subcommands/compute-engine/server_suspend.md +38 -0
- data/docs/subcommands/compute-engine/server_token.md +42 -0
- data/docs/subcommands/compute-engine/server_update.md +63 -0
- data/docs/subcommands/compute-engine/server_upgrade.md +42 -0
- data/docs/subcommands/{snapshot_create.md → compute-engine/snapshot_create.md} +7 -1
- data/docs/subcommands/{snapshot_delete.md → compute-engine/snapshot_delete.md} +7 -1
- data/docs/subcommands/compute-engine/snapshot_get.md +38 -0
- data/docs/subcommands/{snapshot_list.md → compute-engine/snapshot_list.md} +7 -1
- data/docs/subcommands/{snapshot_restore.md → compute-engine/snapshot_restore.md} +7 -1
- data/docs/subcommands/compute-engine/snapshot_update.md +80 -0
- data/docs/subcommands/compute-engine/template_list.md +34 -0
- data/docs/subcommands/{volume_attach.md → compute-engine/volume_attach.md} +6 -0
- data/docs/subcommands/{volume_create.md → compute-engine/volume_create.md} +14 -5
- data/docs/subcommands/{volume_delete.md → compute-engine/volume_delete.md} +6 -0
- data/docs/subcommands/{volume_detach.md → compute-engine/volume_detach.md} +6 -0
- data/docs/subcommands/compute-engine/volume_get.md +42 -0
- data/docs/subcommands/{volume_list.md → compute-engine/volume_list.md} +7 -1
- data/docs/subcommands/compute-engine/volume_update.md +69 -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/kubernetes/k8s_create.md +53 -0
- data/docs/subcommands/{k8s_delete.md → kubernetes/k8s_delete.md} +7 -1
- data/docs/subcommands/kubernetes/k8s_get.md +38 -0
- data/docs/subcommands/{k8s_list.md → kubernetes/k8s_list.md} +7 -1
- data/docs/subcommands/kubernetes/k8s_update.md +56 -0
- data/docs/subcommands/{kubeconfig_get.md → kubernetes/kubeconfig_get.md} +7 -1
- data/docs/subcommands/{node_delete.md → kubernetes/node_delete.md} +6 -0
- data/docs/subcommands/kubernetes/node_get.md +46 -0
- data/docs/subcommands/{node_list.md → kubernetes/node_list.md} +7 -1
- data/docs/subcommands/{node_replace.md → kubernetes/node_replace.md} +6 -0
- data/docs/subcommands/{nodepool_create.md → kubernetes/nodepool_create.md} +16 -1
- data/docs/subcommands/{nodepool_delete.md → kubernetes/nodepool_delete.md} +6 -0
- data/docs/subcommands/kubernetes/nodepool_get.md +42 -0
- data/docs/subcommands/kubernetes/nodepool_lan_add.md +52 -0
- data/docs/subcommands/kubernetes/nodepool_lan_remove.md +42 -0
- data/docs/subcommands/{nodepool_list.md → kubernetes/nodepool_list.md} +7 -1
- data/docs/subcommands/kubernetes/nodepool_update.md +72 -0
- data/docs/subcommands/{contract_list.md → user/contract_list.md} +7 -1
- data/docs/subcommands/{group_create.md → user/group_create.md} +16 -1
- data/docs/subcommands/{group_delete.md → user/group_delete.md} +7 -1
- data/docs/subcommands/{group_get.md → user/group_get.md} +7 -1
- data/docs/subcommands/{group_list.md → user/group_list.md} +7 -1
- data/docs/subcommands/user/group_update.md +77 -0
- data/docs/subcommands/{group_user_add.md → user/group_user_add.md} +6 -0
- data/docs/subcommands/{group_user_remove.md → user/group_user_remove.md} +6 -0
- data/docs/subcommands/{resource_list.md → user/resource_list.md} +7 -1
- data/docs/subcommands/{s3key_create.md → user/s3key_create.md} +7 -1
- data/docs/subcommands/{s3key_delete.md → user/s3key_delete.md} +6 -0
- data/docs/subcommands/user/s3key_get.md +42 -0
- data/docs/subcommands/{s3key_list.md → user/s3key_list.md} +7 -1
- data/docs/subcommands/{share_create.md → user/share_create.md} +7 -1
- data/docs/subcommands/{share_delete.md → user/share_delete.md} +6 -0
- data/docs/subcommands/user/share_get.md +42 -0
- data/docs/subcommands/{share_list.md → user/share_list.md} +7 -1
- data/docs/subcommands/user/share_update.md +48 -0
- data/docs/subcommands/{user_create.md → user/user_create.md} +7 -1
- data/docs/subcommands/{user_delete.md → user/user_delete.md} +7 -1
- data/docs/subcommands/user/user_get.md +38 -0
- data/docs/subcommands/{user_list.md → user/user_list.md} +7 -1
- data/docs/subcommands/{user_ssourl.md → user/user_ssourl.md} +7 -1
- data/docs/subcommands/user/user_update.md +59 -0
- data/docs/summary.md +167 -82
- data/docs/templates/summary.mustache +6 -3
- data/knife-ionoscloud.gemspec +2 -1
- data/lib/chef/knife/ionoscloud_backupunit_create.rb +12 -16
- data/lib/chef/knife/ionoscloud_backupunit_delete.rb +3 -6
- data/lib/chef/knife/ionoscloud_backupunit_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_backupunit_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_backupunit_ssourl.rb +2 -2
- data/lib/chef/knife/ionoscloud_backupunit_update.rb +61 -0
- data/lib/chef/knife/ionoscloud_base.rb +417 -1
- data/lib/chef/knife/ionoscloud_composite_server_create.rb +7 -11
- data/lib/chef/knife/ionoscloud_contract_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_cube_server_create.rb +7 -11
- data/lib/chef/knife/ionoscloud_datacenter_create.rb +12 -15
- data/lib/chef/knife/ionoscloud_datacenter_delete.rb +3 -8
- data/lib/chef/knife/ionoscloud_datacenter_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_datacenter_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_datacenter_update.rb +66 -0
- 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 +10 -24
- data/lib/chef/knife/ionoscloud_firewall_delete.rb +4 -13
- data/lib/chef/knife/ionoscloud_firewall_get.rb +51 -0
- data/lib/chef/knife/ionoscloud_firewall_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_firewall_update.rb +131 -0
- data/lib/chef/knife/ionoscloud_flowlog_create.rb +6 -14
- data/lib/chef/knife/ionoscloud_flowlog_delete.rb +10 -14
- data/lib/chef/knife/ionoscloud_flowlog_get.rb +83 -0
- data/lib/chef/knife/ionoscloud_flowlog_list.rb +4 -4
- data/lib/chef/knife/ionoscloud_flowlog_update.rb +124 -0
- data/lib/chef/knife/ionoscloud_group_create.rb +3 -18
- data/lib/chef/knife/ionoscloud_group_delete.rb +3 -20
- data/lib/chef/knife/ionoscloud_group_get.rb +3 -21
- data/lib/chef/knife/ionoscloud_group_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_group_update.rb +130 -0
- data/lib/chef/knife/ionoscloud_group_user_add.rb +3 -20
- data/lib/chef/knife/ionoscloud_group_user_remove.rb +3 -20
- data/lib/chef/knife/ionoscloud_image_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_ipblock_create.rb +12 -15
- data/lib/chef/knife/ionoscloud_ipblock_delete.rb +3 -6
- data/lib/chef/knife/ionoscloud_ipblock_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_ipblock_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_ipblock_update.rb +56 -0
- data/lib/chef/knife/ionoscloud_ipfailover_add.rb +3 -3
- data/lib/chef/knife/ionoscloud_ipfailover_remove.rb +3 -3
- data/lib/chef/knife/ionoscloud_k8s_create.rb +28 -36
- data/lib/chef/knife/ionoscloud_k8s_delete.rb +3 -11
- data/lib/chef/knife/ionoscloud_k8s_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_k8s_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_k8s_update.rb +98 -0
- data/lib/chef/knife/ionoscloud_kubeconfig_get.rb +2 -2
- data/lib/chef/knife/ionoscloud_label_add.rb +2 -2
- data/lib/chef/knife/ionoscloud_label_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_label_remove.rb +2 -2
- data/lib/chef/knife/ionoscloud_lan_create.rb +8 -17
- data/lib/chef/knife/ionoscloud_lan_delete.rb +5 -6
- data/lib/chef/knife/ionoscloud_lan_get.rb +37 -0
- data/lib/chef/knife/ionoscloud_lan_list.rb +4 -3
- data/lib/chef/knife/ionoscloud_lan_update.rb +75 -0
- data/lib/chef/knife/ionoscloud_loadbalancer_create.rb +7 -16
- data/lib/chef/knife/ionoscloud_loadbalancer_delete.rb +3 -10
- data/lib/chef/knife/ionoscloud_loadbalancer_get.rb +4 -14
- data/lib/chef/knife/ionoscloud_loadbalancer_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_add.rb +4 -16
- data/lib/chef/knife/ionoscloud_loadbalancer_nic_remove.rb +4 -17
- data/lib/chef/knife/ionoscloud_loadbalancer_update.rb +72 -0
- data/lib/chef/knife/ionoscloud_location_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_natgateway_create.rb +7 -19
- data/lib/chef/knife/ionoscloud_natgateway_delete.rb +4 -20
- data/lib/chef/knife/ionoscloud_natgateway_get.rb +41 -0
- data/lib/chef/knife/ionoscloud_natgateway_lan_add.rb +4 -13
- data/lib/chef/knife/ionoscloud_natgateway_lan_remove.rb +3 -10
- data/lib/chef/knife/ionoscloud_natgateway_list.rb +3 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_add.rb +8 -28
- data/lib/chef/knife/ionoscloud_natgateway_rule_list.rb +3 -2
- data/lib/chef/knife/ionoscloud_natgateway_rule_remove.rb +5 -23
- data/lib/chef/knife/ionoscloud_natgateway_rule_update.rb +115 -0
- data/lib/chef/knife/ionoscloud_natgateway_update.rb +83 -0
- data/lib/chef/knife/ionoscloud_networkloadbalancer_create.rb +8 -15
- data/lib/chef/knife/ionoscloud_networkloadbalancer_delete.rb +4 -24
- data/lib/chef/knife/ionoscloud_networkloadbalancer_get.rb +41 -0
- data/lib/chef/knife/ionoscloud_networkloadbalancer_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_add.rb +32 -48
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_list.rb +3 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_remove.rb +21 -32
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_add.rb +7 -26
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_list.rb +3 -2
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_target_remove.rb +6 -24
- data/lib/chef/knife/ionoscloud_networkloadbalancer_rule_update.rb +147 -0
- data/lib/chef/knife/ionoscloud_networkloadbalancer_update.rb +97 -0
- data/lib/chef/knife/ionoscloud_nic_create.rb +10 -24
- data/lib/chef/knife/ionoscloud_nic_delete.rb +4 -10
- data/lib/chef/knife/ionoscloud_nic_get.rb +48 -0
- data/lib/chef/knife/ionoscloud_nic_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_nic_update.rb +95 -0
- data/lib/chef/knife/ionoscloud_node_delete.rb +2 -2
- data/lib/chef/knife/ionoscloud_node_get.rb +48 -0
- data/lib/chef/knife/ionoscloud_node_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_node_replace.rb +2 -2
- data/lib/chef/knife/ionoscloud_nodepool_create.rb +27 -59
- data/lib/chef/knife/ionoscloud_nodepool_delete.rb +3 -34
- data/lib/chef/knife/ionoscloud_nodepool_get.rb +42 -0
- data/lib/chef/knife/ionoscloud_nodepool_lan_add.rb +4 -32
- data/lib/chef/knife/ionoscloud_nodepool_lan_remove.rb +3 -28
- data/lib/chef/knife/ionoscloud_nodepool_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_nodepool_update.rb +123 -0
- data/lib/chef/knife/ionoscloud_pcc_create.rb +13 -19
- data/lib/chef/knife/ionoscloud_pcc_delete.rb +3 -11
- data/lib/chef/knife/ionoscloud_pcc_get.rb +32 -0
- data/lib/chef/knife/ionoscloud_pcc_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_pcc_update.rb +62 -0
- data/lib/chef/knife/ionoscloud_request_get.rb +39 -0
- data/lib/chef/knife/ionoscloud_request_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_request_status.rb +2 -2
- data/lib/chef/knife/ionoscloud_request_wait.rb +2 -2
- data/lib/chef/knife/ionoscloud_resource_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_s3key_create.rb +3 -7
- data/lib/chef/knife/ionoscloud_s3key_delete.rb +3 -6
- data/lib/chef/knife/ionoscloud_s3key_get.rb +37 -0
- data/lib/chef/knife/ionoscloud_s3key_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_console.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_create.rb +16 -30
- data/lib/chef/knife/ionoscloud_server_delete.rb +4 -10
- data/lib/chef/knife/ionoscloud_server_get.rb +42 -0
- data/lib/chef/knife/ionoscloud_server_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_reboot.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_resume.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_start.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_stop.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_suspend.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_token.rb +2 -2
- data/lib/chef/knife/ionoscloud_server_update.rb +96 -0
- data/lib/chef/knife/ionoscloud_server_upgrade.rb +2 -2
- data/lib/chef/knife/ionoscloud_share_create.rb +9 -13
- data/lib/chef/knife/ionoscloud_share_delete.rb +4 -5
- data/lib/chef/knife/ionoscloud_share_get.rb +37 -0
- data/lib/chef/knife/ionoscloud_share_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_share_update.rb +69 -0
- data/lib/chef/knife/ionoscloud_snapshot_create.rb +3 -11
- data/lib/chef/knife/ionoscloud_snapshot_delete.rb +3 -8
- data/lib/chef/knife/ionoscloud_snapshot_get.rb +31 -0
- data/lib/chef/knife/ionoscloud_snapshot_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_snapshot_restore.rb +3 -14
- data/lib/chef/knife/ionoscloud_snapshot_update.rb +125 -0
- data/lib/chef/knife/ionoscloud_template_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_user_create.rb +3 -10
- data/lib/chef/knife/ionoscloud_user_delete.rb +3 -8
- data/lib/chef/knife/ionoscloud_user_get.rb +31 -0
- data/lib/chef/knife/ionoscloud_user_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_user_ssourl.rb +2 -2
- data/lib/chef/knife/ionoscloud_user_update.rb +91 -0
- data/lib/chef/knife/ionoscloud_volume_attach.rb +2 -2
- data/lib/chef/knife/ionoscloud_volume_create.rb +4 -15
- data/lib/chef/knife/ionoscloud_volume_delete.rb +4 -10
- data/lib/chef/knife/ionoscloud_volume_detach.rb +2 -2
- data/lib/chef/knife/ionoscloud_volume_get.rb +35 -0
- data/lib/chef/knife/ionoscloud_volume_list.rb +2 -2
- data/lib/chef/knife/ionoscloud_volume_update.rb +105 -0
- data/lib/knife-ionoscloud/version.rb +1 -1
- data/spec/chef/knife/ionoscloud_backupunit_get_spec.rb +65 -0
- data/spec/chef/knife/ionoscloud_backupunit_update_spec.rb +78 -0
- data/spec/chef/knife/ionoscloud_datacenter_create_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_datacenter_delete_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_datacenter_get_spec.rb +69 -0
- data/spec/chef/knife/ionoscloud_datacenter_update_spec.rb +82 -0
- 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/chef/knife/ionoscloud_firewall_create_spec.rb +1 -1
- data/spec/chef/knife/ionoscloud_firewall_delete_spec.rb +1 -1
- data/spec/chef/knife/ionoscloud_firewall_get_spec.rb +77 -0
- data/spec/chef/knife/ionoscloud_firewall_update_spec.rb +117 -0
- data/spec/chef/knife/ionoscloud_flowlog_create_spec.rb +3 -3
- data/spec/chef/knife/ionoscloud_flowlog_delete_spec.rb +10 -10
- data/spec/chef/knife/ionoscloud_flowlog_get_spec.rb +171 -0
- data/spec/chef/knife/ionoscloud_flowlog_list_spec.rb +3 -3
- data/spec/chef/knife/ionoscloud_flowlog_update_spec.rb +244 -0
- data/spec/chef/knife/ionoscloud_group_create_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_group_update_spec.rb +121 -0
- data/spec/chef/knife/ionoscloud_group_user_add_spec.rb +6 -0
- data/spec/chef/knife/ionoscloud_group_user_remove_spec.rb +6 -0
- data/spec/chef/knife/ionoscloud_ipblock_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_ipblock_update_spec.rb +79 -0
- data/spec/chef/knife/ionoscloud_ipfailover_add_spec.rb +4 -4
- data/spec/chef/knife/ionoscloud_ipfailover_remove_spec.rb +7 -7
- data/spec/chef/knife/ionoscloud_k8s_create_spec.rb +7 -0
- data/spec/chef/knife/ionoscloud_k8s_delete_spec.rb +16 -11
- data/spec/chef/knife/ionoscloud_k8s_get_spec.rb +72 -0
- data/spec/chef/knife/ionoscloud_k8s_update_spec.rb +114 -0
- data/spec/chef/knife/ionoscloud_lan_create_spec.rb +4 -3
- data/spec/chef/knife/ionoscloud_lan_delete_spec.rb +7 -5
- data/spec/chef/knife/ionoscloud_lan_get_spec.rb +68 -0
- data/spec/chef/knife/ionoscloud_lan_list_spec.rb +2 -2
- data/spec/chef/knife/ionoscloud_lan_update_spec.rb +87 -0
- data/spec/chef/knife/ionoscloud_loadbalancer_update_spec.rb +89 -0
- data/spec/chef/knife/ionoscloud_natgateway_create_spec.rb +15 -0
- data/spec/chef/knife/ionoscloud_natgateway_get_spec.rb +81 -0
- data/spec/chef/knife/ionoscloud_natgateway_lan_add_spec.rb +15 -0
- data/spec/chef/knife/ionoscloud_natgateway_lan_remove_spec.rb +15 -0
- data/spec/chef/knife/ionoscloud_natgateway_rule_add_spec.rb +1 -0
- data/spec/chef/knife/ionoscloud_natgateway_rule_remove_spec.rb +1 -0
- data/spec/chef/knife/ionoscloud_natgateway_rule_update_spec.rb +121 -0
- data/spec/chef/knife/ionoscloud_natgateway_update_spec.rb +121 -0
- data/spec/chef/knife/ionoscloud_networkloadbalancer_create_spec.rb +13 -0
- data/spec/chef/knife/ionoscloud_networkloadbalancer_delete_spec.rb +3 -2
- data/spec/chef/knife/ionoscloud_networkloadbalancer_get_spec.rb +82 -0
- data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_add_spec.rb +4 -3
- data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_remove_spec.rb +70 -44
- data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_target_add_spec.rb +26 -22
- data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_target_remove_spec.rb +79 -61
- data/spec/chef/knife/ionoscloud_networkloadbalancer_rule_update_spec.rb +163 -0
- data/spec/chef/knife/ionoscloud_networkloadbalancer_update_spec.rb +107 -0
- data/spec/chef/knife/ionoscloud_nic_get_spec.rb +72 -0
- data/spec/chef/knife/ionoscloud_nic_update_spec.rb +97 -0
- data/spec/chef/knife/ionoscloud_node_get_spec.rb +70 -0
- data/spec/chef/knife/ionoscloud_nodepool_create_spec.rb +8 -17
- data/spec/chef/knife/ionoscloud_nodepool_delete_spec.rb +14 -0
- data/spec/chef/knife/ionoscloud_nodepool_get_spec.rb +83 -0
- data/spec/chef/knife/ionoscloud_nodepool_lan_add_spec.rb +29 -33
- data/spec/chef/knife/ionoscloud_nodepool_lan_remove.rb +14 -17
- data/spec/chef/knife/ionoscloud_nodepool_update_spec.rb +134 -0
- data/spec/chef/knife/ionoscloud_pcc_create_spec.rb +7 -4
- data/spec/chef/knife/ionoscloud_pcc_delete_spec.rb +2 -2
- data/spec/chef/knife/ionoscloud_pcc_get_spec.rb +71 -0
- data/spec/chef/knife/ionoscloud_pcc_update_spec.rb +83 -0
- data/spec/chef/knife/ionoscloud_request_get_spec.rb +69 -0
- data/spec/chef/knife/ionoscloud_s3key_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_server_create_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_server_delete_spec.rb +3 -0
- data/spec/chef/knife/ionoscloud_server_get_spec.rb +74 -0
- data/spec/chef/knife/ionoscloud_server_update_spec.rb +105 -0
- data/spec/chef/knife/ionoscloud_share_get_spec.rb +66 -0
- data/spec/chef/knife/ionoscloud_share_update_spec.rb +91 -0
- data/spec/chef/knife/ionoscloud_snapshot_create_spec.rb +12 -0
- data/spec/chef/knife/ionoscloud_snapshot_delete_spec.rb +12 -0
- data/spec/chef/knife/ionoscloud_snapshot_get_spec.rb +79 -0
- data/spec/chef/knife/ionoscloud_snapshot_restore_spec.rb +9 -0
- data/spec/chef/knife/ionoscloud_snapshot_update_spec.rb +113 -0
- data/spec/chef/knife/ionoscloud_user_create_spec.rb +3 -1
- data/spec/chef/knife/ionoscloud_user_delete_spec.rb +4 -2
- data/spec/chef/knife/ionoscloud_user_get_spec.rb +70 -0
- data/spec/chef/knife/ionoscloud_user_update_spec.rb +110 -0
- data/spec/chef/knife/ionoscloud_volume_create_spec.rb +15 -5
- data/spec/chef/knife/ionoscloud_volume_delete_spec.rb +10 -0
- data/spec/chef/knife/ionoscloud_volume_get_spec.rb +81 -0
- data/spec/chef/knife/ionoscloud_volume_update_spec.rb +116 -0
- data/spec/spec_helper.rb +148 -23
- metadata +336 -90
- data/docs/subcommands/k8s_create.md +0 -47
- data/spec/test.sh +0 -3
@@ -0,0 +1,49 @@
|
|
1
|
+
# NatgatewayLanAdd
|
2
|
+
|
3
|
+
Adds a LAN to a Nat Gateway under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway lan add (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* lan\_id
|
16
|
+
* ionoscloud\_username
|
17
|
+
* ionoscloud\_password
|
18
|
+
|
19
|
+
```text
|
20
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
21
|
+
path to the additional config file
|
22
|
+
|
23
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
24
|
+
name of the data center (required)
|
25
|
+
|
26
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
27
|
+
iD of the NAT Gateway (required)
|
28
|
+
|
29
|
+
lan_id: --lan LAN_ID, -L LAN_ID
|
30
|
+
iD of the LAN (required)
|
31
|
+
|
32
|
+
gateway_ips: --ips IP[,IP,...], -i IP[,IP,...]
|
33
|
+
collection of gateway IP addresses of the NAT gateway. Will be auto-generated if not provided. Should ideally be an IP belonging to the same subnet as the LAN
|
34
|
+
|
35
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
36
|
+
your Ionoscloud username (required)
|
37
|
+
|
38
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
39
|
+
your Ionoscloud password (required)
|
40
|
+
|
41
|
+
ionoscloud_url: --url URL
|
42
|
+
the Ionoscloud API URL
|
43
|
+
|
44
|
+
```
|
45
|
+
## Example
|
46
|
+
|
47
|
+
```text
|
48
|
+
knife ionoscloud natgateway lan add --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --lan LAN_ID --ips IP[,IP,...] --username USERNAME --password PASSWORD --url URL
|
49
|
+
```
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# NatgatewayLanRemove
|
2
|
+
|
3
|
+
Removes the specified LANS from a Nat Gateway under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway lan remove LAN_ID [LAN_ID] (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
20
|
+
path to the additional config file
|
21
|
+
|
22
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
23
|
+
name of the data center (required)
|
24
|
+
|
25
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
26
|
+
iD of the NAT Gateway (required)
|
27
|
+
|
28
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
29
|
+
your Ionoscloud username (required)
|
30
|
+
|
31
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
32
|
+
your Ionoscloud password (required)
|
33
|
+
|
34
|
+
ionoscloud_url: --url URL
|
35
|
+
the Ionoscloud API URL
|
36
|
+
|
37
|
+
```
|
38
|
+
## Example
|
39
|
+
|
40
|
+
```text
|
41
|
+
knife ionoscloud natgateway lan remove LAN_ID
|
42
|
+
```
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# NatgatewayList
|
2
|
+
|
3
|
+
Lists all available NAT Gateways under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway list (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
19
|
+
path to the additional config file
|
20
|
+
|
21
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
|
+
the ID of the data center (required)
|
23
|
+
|
24
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
25
|
+
your Ionoscloud username (required)
|
26
|
+
|
27
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
28
|
+
your Ionoscloud password (required)
|
29
|
+
|
30
|
+
ionoscloud_url: --url URL
|
31
|
+
the Ionoscloud API URL
|
32
|
+
|
33
|
+
```
|
34
|
+
## Example
|
35
|
+
|
36
|
+
```text
|
37
|
+
knife ionoscloud natgateway list --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --username USERNAME --password PASSWORD --url URL
|
38
|
+
```
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# NatgatewayRuleAdd
|
2
|
+
|
3
|
+
Adds a Rule to a Nat Gateway under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway rule add (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* name
|
16
|
+
* source\_subnet
|
17
|
+
* public\_ip
|
18
|
+
* ionoscloud\_username
|
19
|
+
* ionoscloud\_password
|
20
|
+
|
21
|
+
```text
|
22
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
23
|
+
path to the additional config file
|
24
|
+
|
25
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
26
|
+
name of the data center (required)
|
27
|
+
|
28
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
29
|
+
iD of the NAT Gateway (required)
|
30
|
+
|
31
|
+
name: --name NAME, -n NAME
|
32
|
+
name of the NAT gateway rule (required)
|
33
|
+
|
34
|
+
type: --type TYPE, -t TYPE
|
35
|
+
type of the NAT gateway rule
|
36
|
+
|
37
|
+
protocol: --protocol PROTOCOL, -p PROTOCOL
|
38
|
+
protocol of the NAT gateway rule. Defaults to ALL. If protocol is 'ICMP' then target_port_range start and end cannot be set.
|
39
|
+
|
40
|
+
source_subnet: --source SOURCE_SUBNET
|
41
|
+
source subnet of the NAT gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets source IP address. (required)
|
42
|
+
|
43
|
+
public_ip: --ip PUBLIC_IP, -i PUBLIC_IP
|
44
|
+
public IP address of the NAT gateway rule. Specifies the address used for masking outgoing packets source address field. Should be one of the customer reserved IP address already configured on the NAT gateway resource (required)
|
45
|
+
|
46
|
+
target_subnet: --target TARGET_SUBNET
|
47
|
+
target or destination subnet of the NAT gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets destination IP address. If none is provided, rule will match any address
|
48
|
+
|
49
|
+
target_port_range_start: --port-start PORT_RANGE_START
|
50
|
+
target port range start associated with the NAT gateway rule
|
51
|
+
|
52
|
+
target_port_range_end: --port-end PORT_RANGE_START
|
53
|
+
target port range end associated with the NAT gateway rule
|
54
|
+
|
55
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
56
|
+
your Ionoscloud username (required)
|
57
|
+
|
58
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
59
|
+
your Ionoscloud password (required)
|
60
|
+
|
61
|
+
ionoscloud_url: --url URL
|
62
|
+
the Ionoscloud API URL
|
63
|
+
|
64
|
+
```
|
65
|
+
## Example
|
66
|
+
|
67
|
+
```text
|
68
|
+
knife ionoscloud natgateway rule add --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --name NAME --type TYPE --protocol PROTOCOL --source SOURCE_SUBNET --ip PUBLIC_IP --target TARGET_SUBNET --port-start PORT_RANGE_START --port-end PORT_RANGE_START --username USERNAME --password PASSWORD --url URL
|
69
|
+
```
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# NatgatewayRuleList
|
2
|
+
|
3
|
+
Lists all available rules in a NAT Gateways under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway rule list (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
19
|
+
path to the additional config file
|
20
|
+
|
21
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
|
+
the ID of the data center (required)
|
23
|
+
|
24
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
25
|
+
iD of the NAT Gateway
|
26
|
+
|
27
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
28
|
+
your Ionoscloud username (required)
|
29
|
+
|
30
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
31
|
+
your Ionoscloud password (required)
|
32
|
+
|
33
|
+
ionoscloud_url: --url URL
|
34
|
+
the Ionoscloud API URL
|
35
|
+
|
36
|
+
```
|
37
|
+
## Example
|
38
|
+
|
39
|
+
```text
|
40
|
+
knife ionoscloud natgateway rule list --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --username USERNAME --password PASSWORD --url URL
|
41
|
+
```
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# NatgatewayRuleRemove
|
2
|
+
|
3
|
+
Removes the specified rules from a Nat Gateway under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway rule remove RULE_ID [RULE_ID] (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
20
|
+
path to the additional config file
|
21
|
+
|
22
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
23
|
+
name of the data center (required)
|
24
|
+
|
25
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
26
|
+
iD of the NAT Gateway (required)
|
27
|
+
|
28
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
29
|
+
your Ionoscloud username (required)
|
30
|
+
|
31
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
32
|
+
your Ionoscloud password (required)
|
33
|
+
|
34
|
+
ionoscloud_url: --url URL
|
35
|
+
the Ionoscloud API URL
|
36
|
+
|
37
|
+
```
|
38
|
+
## Example
|
39
|
+
|
40
|
+
```text
|
41
|
+
knife ionoscloud natgateway rule remove RULE_ID
|
42
|
+
```
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# NatgatewayRuleUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud NAT Gateway.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway rule update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
20
|
+
path to the additional config file
|
21
|
+
|
22
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
23
|
+
iD of the data center (required)
|
24
|
+
|
25
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
26
|
+
iD of the NAT Gateway (required)
|
27
|
+
|
28
|
+
natgateway_rule_id: --rule-id RULE_ID, -R RULE_ID
|
29
|
+
iD of the NAT Gateway Rule
|
30
|
+
|
31
|
+
name: --name NAME, -n NAME
|
32
|
+
name of the NAT gateway rule
|
33
|
+
|
34
|
+
type: --type TYPE, -t TYPE
|
35
|
+
type of the NAT gateway rule
|
36
|
+
|
37
|
+
protocol: --protocol PROTOCOL, -p PROTOCOL
|
38
|
+
protocol of the NAT gateway rule. Defaults to ALL. If protocol is 'ICMP' then target_port_range start and end cannot be set.
|
39
|
+
|
40
|
+
source_subnet: --source SOURCE_SUBNET
|
41
|
+
source subnet of the NAT gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets source IP address.
|
42
|
+
|
43
|
+
public_ip: --ip PUBLIC_IP, -i PUBLIC_IP
|
44
|
+
public IP address of the NAT gateway rule. Specifies the address used for masking outgoing packets source address field. Should be one of the customer reserved IP address already configured on the NAT gateway resource
|
45
|
+
|
46
|
+
target_subnet: --target TARGET_SUBNET
|
47
|
+
target or destination subnet of the NAT gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets destination IP address. If none is provided, rule will match any address
|
48
|
+
|
49
|
+
target_port_range_start: --port-start PORT_RANGE_START
|
50
|
+
target port range start associated with the NAT gateway rule
|
51
|
+
|
52
|
+
target_port_range_end: --port-end PORT_RANGE_START
|
53
|
+
target port range end associated with the NAT gateway rule
|
54
|
+
|
55
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
56
|
+
your Ionoscloud username (required)
|
57
|
+
|
58
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
59
|
+
your Ionoscloud password (required)
|
60
|
+
|
61
|
+
ionoscloud_url: --url URL
|
62
|
+
the Ionoscloud API URL
|
63
|
+
|
64
|
+
```
|
65
|
+
## Example
|
66
|
+
|
67
|
+
```text
|
68
|
+
knife ionoscloud natgateway rule update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --rule-id RULE_ID --name NAME --type TYPE --protocol PROTOCOL --source SOURCE_SUBNET --ip PUBLIC_IP --target TARGET_SUBNET --port-start PORT_RANGE_START --port-end PORT_RANGE_START --username USERNAME --password PASSWORD --url URL
|
69
|
+
```
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# NatgatewayUpdate
|
2
|
+
|
3
|
+
Updates information about a Ionoscloud NAT Gateway.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud natgateway update (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* natgateway\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
20
|
+
path to the additional config file
|
21
|
+
|
22
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
23
|
+
iD of the data center (required)
|
24
|
+
|
25
|
+
natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
|
26
|
+
iD of the NAT Gateway (required)
|
27
|
+
|
28
|
+
name: --name NAME, -n NAME
|
29
|
+
name of the NAT gateway
|
30
|
+
|
31
|
+
ips: --ips IP[,IP,...], -i IP[,IP,...]
|
32
|
+
collection of public IP addresses of the NAT gateway. Should be customer reserved IP addresses in that location
|
33
|
+
|
34
|
+
lans: --lans LAN[,LAN,...]
|
35
|
+
collection of LANs connected to the NAT gateway. IPs must contain valid subnet mask. If user will not provide any IP then system will generate an IP with /24 subnet.
|
36
|
+
|
37
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
38
|
+
your Ionoscloud username (required)
|
39
|
+
|
40
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
41
|
+
your Ionoscloud password (required)
|
42
|
+
|
43
|
+
ionoscloud_url: --url URL
|
44
|
+
the Ionoscloud API URL
|
45
|
+
|
46
|
+
```
|
47
|
+
## Example
|
48
|
+
|
49
|
+
```text
|
50
|
+
knife ionoscloud natgateway update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --name NAME --ips IP[,IP,...] --lans LAN[,LAN,...] --username USERNAME --password PASSWORD --url URL
|
51
|
+
```
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# NetworkloadbalancerCreate
|
2
|
+
|
3
|
+
Creates an Network Load Balancer within the datacenter.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud networkloadbalancer create (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* name
|
15
|
+
* listener\_lan
|
16
|
+
* target\_lan
|
17
|
+
* ips
|
18
|
+
* ionoscloud\_username
|
19
|
+
* ionoscloud\_password
|
20
|
+
|
21
|
+
```text
|
22
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
23
|
+
path to the additional config file
|
24
|
+
|
25
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
26
|
+
name of the data center (required)
|
27
|
+
|
28
|
+
name: --name NAME, -n NAME
|
29
|
+
name of the load balancer (required)
|
30
|
+
|
31
|
+
listener_lan: --listener-lan LISTENER_LAN_ID, -l LISTENER_LAN_ID
|
32
|
+
id of the listening LAN. (inbound) (required)
|
33
|
+
|
34
|
+
target_lan: --target-lan TARGET_LAN_ID, -t TARGET_LAN_ID
|
35
|
+
id of the balanced private target LAN. (outbound) (required)
|
36
|
+
|
37
|
+
ips: --ips IP[,IP,...], -i IP[,IP,...]
|
38
|
+
collection of IP addresses of the Network Load Balancer. (inbound and outbound) IP of the listenerLan must be a customer reserved IP for the public load balancer and private IP for the private load balancer. (required)
|
39
|
+
|
40
|
+
lb_private_ips: --private-ips IP[,IP,...]
|
41
|
+
collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain valid subnet mask. If user will not provide any IP then the system will generate one IP with /24 subnet.
|
42
|
+
|
43
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
44
|
+
your Ionoscloud username (required)
|
45
|
+
|
46
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
47
|
+
your Ionoscloud password (required)
|
48
|
+
|
49
|
+
ionoscloud_url: --url URL
|
50
|
+
the Ionoscloud API URL
|
51
|
+
|
52
|
+
```
|
53
|
+
## Example
|
54
|
+
|
55
|
+
```text
|
56
|
+
knife ionoscloud networkloadbalancer create --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --name NAME --listener-lan LISTENER_LAN_ID --target-lan TARGET_LAN_ID --ips IP[,IP,...] --private-ips IP[,IP,...] --username USERNAME --password PASSWORD --url URL
|
57
|
+
```
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# NetworkloadbalancerDelete
|
2
|
+
|
3
|
+
Removes the specified Network Load Balancer.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud networkloadbalancer delete LOAD_BALANCER_ID [LOAD_BALANCER_ID] (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
19
|
+
path to the additional config file
|
20
|
+
|
21
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
|
+
name of the data center (required)
|
23
|
+
|
24
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
25
|
+
your Ionoscloud username (required)
|
26
|
+
|
27
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
28
|
+
your Ionoscloud password (required)
|
29
|
+
|
30
|
+
ionoscloud_url: --url URL
|
31
|
+
the Ionoscloud API URL
|
32
|
+
|
33
|
+
```
|
34
|
+
## Example
|
35
|
+
|
36
|
+
```text
|
37
|
+
knife ionoscloud networkloadbalancer delete LOAD_BALANCER_ID
|
38
|
+
```
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# NetworkloadbalancerGet
|
2
|
+
|
3
|
+
Retrieves the attributes of a given Network Load Balancer.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud networkloadbalancer get (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* network\_loadbalancer\_id
|
15
|
+
* ionoscloud\_username
|
16
|
+
* ionoscloud\_password
|
17
|
+
|
18
|
+
```text
|
19
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
20
|
+
path to the additional config file
|
21
|
+
|
22
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
23
|
+
iD of the data center (required)
|
24
|
+
|
25
|
+
network_loadbalancer_id: --network-loadbalancer NETWORK_LOADBALANCER_ID, -L NETWORK_LOADBALANCER_ID
|
26
|
+
iD of the Network Loadbalancer (required)
|
27
|
+
|
28
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
29
|
+
your Ionoscloud username (required)
|
30
|
+
|
31
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
32
|
+
your Ionoscloud password (required)
|
33
|
+
|
34
|
+
ionoscloud_url: --url URL
|
35
|
+
the Ionoscloud API URL
|
36
|
+
|
37
|
+
```
|
38
|
+
## Example
|
39
|
+
|
40
|
+
```text
|
41
|
+
knife ionoscloud networkloadbalancer get --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --network-loadbalancer NETWORK_LOADBALANCER_ID --username USERNAME --password PASSWORD --url URL
|
42
|
+
```
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# NetworkloadbalancerList
|
2
|
+
|
3
|
+
Retrieve a list of Network Load Balancers within the datacenter.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud networkloadbalancer list (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
18
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
19
|
+
path to the additional config file
|
20
|
+
|
21
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
22
|
+
name of the data center (required)
|
23
|
+
|
24
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
25
|
+
your Ionoscloud username (required)
|
26
|
+
|
27
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
28
|
+
your Ionoscloud password (required)
|
29
|
+
|
30
|
+
ionoscloud_url: --url URL
|
31
|
+
the Ionoscloud API URL
|
32
|
+
|
33
|
+
```
|
34
|
+
## Example
|
35
|
+
|
36
|
+
```text
|
37
|
+
knife ionoscloud networkloadbalancer list --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --username USERNAME --password PASSWORD --url URL
|
38
|
+
```
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# NetworkloadbalancerRuleAdd
|
2
|
+
|
3
|
+
Adds a Forwarding Rule to a Network Load Balancer under a data center.
|
4
|
+
|
5
|
+
```text
|
6
|
+
knife ionoscloud networkloadbalancer rule add (options)
|
7
|
+
```
|
8
|
+
|
9
|
+
## Available options:
|
10
|
+
|
11
|
+
### Required options:
|
12
|
+
|
13
|
+
* datacenter\_id
|
14
|
+
* network\_loadbalancer\_id
|
15
|
+
* name
|
16
|
+
* listener\_ip
|
17
|
+
* listener\_port
|
18
|
+
* ionoscloud\_username
|
19
|
+
* ionoscloud\_password
|
20
|
+
|
21
|
+
```text
|
22
|
+
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
|
23
|
+
path to the additional config file
|
24
|
+
|
25
|
+
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
26
|
+
name of the data center (required)
|
27
|
+
|
28
|
+
network_loadbalancer_id: --network-loadbalancer NETWORK_LOADBALANCER_ID, -L NETWORK_LOADBALANCER_ID
|
29
|
+
iD of the Network Loadbalancer (required)
|
30
|
+
|
31
|
+
name: --name NAME, -n NAME
|
32
|
+
a name of that Network Load Balancer forwarding rule (required)
|
33
|
+
|
34
|
+
algorithm: --algorithm ALGORITHM, -a ALGORITHM
|
35
|
+
algorithm for the balancing
|
36
|
+
|
37
|
+
protocol: --protocol PROTOCOL
|
38
|
+
protocol of the balancing
|
39
|
+
|
40
|
+
listener_ip: --ip LISTENER_IP, -i LISTENER_IP
|
41
|
+
listening IP. (inbound) (required)
|
42
|
+
|
43
|
+
listener_port: --port LISTENER_PORT, -p LISTENER_PORT
|
44
|
+
listening port number. (inbound) (range: 1 to 65535) (required)
|
45
|
+
|
46
|
+
client_timeout: --client-timeout CLIENT_TIMEOUT
|
47
|
+
clientTimeout is expressed in milliseconds. This inactivity timeout applies when the client is expected to acknowledge or send data. If unset the default of 50 seconds will be used.
|
48
|
+
|
49
|
+
connect_timeout: --connect-timeout CONNECT_TIMEOUT
|
50
|
+
it specifies the maximum time (in milliseconds) to wait for a connection attempt to a target VM to succeed. If unset, the default of 5 seconds will be used.
|
51
|
+
|
52
|
+
target_timeout: --terget-timeout TARGET_TIMEOUT
|
53
|
+
targetTimeout specifies the maximum inactivity time (in milliseconds) on the target VM side. If unset, the default of 50 seconds will be used.
|
54
|
+
|
55
|
+
retries: --retries RETRIES, -r RETRIES
|
56
|
+
retries specifies the number of retries to perform on a target VM after a connection failure. If unset, the default value of 3 will be used. (valid range: [0, 65535])
|
57
|
+
|
58
|
+
targets: --targets TARGETS
|
59
|
+
array of targets
|
60
|
+
|
61
|
+
ionoscloud_username: --username USERNAME, -u USERNAME
|
62
|
+
your Ionoscloud username (required)
|
63
|
+
|
64
|
+
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
65
|
+
your Ionoscloud password (required)
|
66
|
+
|
67
|
+
ionoscloud_url: --url URL
|
68
|
+
the Ionoscloud API URL
|
69
|
+
|
70
|
+
```
|
71
|
+
## Example
|
72
|
+
|
73
|
+
```text
|
74
|
+
knife ionoscloud networkloadbalancer rule add --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --network-loadbalancer NETWORK_LOADBALANCER_ID --name NAME --algorithm ALGORITHM --protocol PROTOCOL --ip LISTENER_IP --port LISTENER_PORT --client-timeout CLIENT_TIMEOUT --connect-timeout CONNECT_TIMEOUT --terget-timeout TARGET_TIMEOUT --retries RETRIES --targets TARGETS --username USERNAME --password PASSWORD --url URL
|
75
|
+
```
|