ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_bucket_spec.rb +0 -34
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
data/docs/api/KubernetesApi.md
CHANGED
@@ -4,32 +4,32 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**k8s_delete**](KubernetesApi.md#k8s_delete) | **DELETE** /k8s/{k8sClusterId} | Delete Kubernetes
|
8
|
-
| [**k8s_find_by_cluster_id**](KubernetesApi.md#k8s_find_by_cluster_id) | **GET** /k8s/{k8sClusterId} | Retrieve Kubernetes
|
9
|
-
| [**k8s_get**](KubernetesApi.md#k8s_get) | **GET** /k8s | List Kubernetes
|
10
|
-
| [**k8s_kubeconfig_get**](KubernetesApi.md#k8s_kubeconfig_get) | **GET** /k8s/{k8sClusterId}/kubeconfig | Retrieve Kubernetes
|
11
|
-
| [**k8s_nodepools_delete**](KubernetesApi.md#k8s_nodepools_delete) | **DELETE** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Delete Kubernetes
|
12
|
-
| [**k8s_nodepools_find_by_id**](KubernetesApi.md#k8s_nodepools_find_by_id) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Retrieve Kubernetes
|
13
|
-
| [**k8s_nodepools_get**](KubernetesApi.md#k8s_nodepools_get) | **GET** /k8s/{k8sClusterId}/nodepools | List Kubernetes
|
14
|
-
| [**k8s_nodepools_nodes_delete**](KubernetesApi.md#k8s_nodepools_nodes_delete) | **DELETE** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId} | Delete Kubernetes
|
15
|
-
| [**k8s_nodepools_nodes_find_by_id**](KubernetesApi.md#k8s_nodepools_nodes_find_by_id) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId} | Retrieve Kubernetes
|
16
|
-
| [**k8s_nodepools_nodes_get**](KubernetesApi.md#k8s_nodepools_nodes_get) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes |
|
17
|
-
| [**k8s_nodepools_nodes_replace_post**](KubernetesApi.md#k8s_nodepools_nodes_replace_post) | **POST** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}/replace | Recreate
|
18
|
-
| [**k8s_nodepools_post**](KubernetesApi.md#k8s_nodepools_post) | **POST** /k8s/{k8sClusterId}/nodepools | Create
|
19
|
-
| [**k8s_nodepools_put**](KubernetesApi.md#k8s_nodepools_put) | **PUT** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Modify Kubernetes
|
20
|
-
| [**k8s_post**](KubernetesApi.md#k8s_post) | **POST** /k8s | Create Kubernetes
|
21
|
-
| [**k8s_put**](KubernetesApi.md#k8s_put) | **PUT** /k8s/{k8sClusterId} | Modify Kubernetes
|
22
|
-
| [**k8s_versions_default_get**](KubernetesApi.md#k8s_versions_default_get) | **GET** /k8s/versions/default | Retrieve
|
23
|
-
| [**k8s_versions_get**](KubernetesApi.md#k8s_versions_get) | **GET** /k8s/versions |
|
7
|
+
| [**k8s_delete**](KubernetesApi.md#k8s_delete) | **DELETE** /k8s/{k8sClusterId} | Delete Kubernetes clusters |
|
8
|
+
| [**k8s_find_by_cluster_id**](KubernetesApi.md#k8s_find_by_cluster_id) | **GET** /k8s/{k8sClusterId} | Retrieve Kubernetes clusters |
|
9
|
+
| [**k8s_get**](KubernetesApi.md#k8s_get) | **GET** /k8s | List Kubernetes clusters |
|
10
|
+
| [**k8s_kubeconfig_get**](KubernetesApi.md#k8s_kubeconfig_get) | **GET** /k8s/{k8sClusterId}/kubeconfig | Retrieve Kubernetes configuration files |
|
11
|
+
| [**k8s_nodepools_delete**](KubernetesApi.md#k8s_nodepools_delete) | **DELETE** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Delete Kubernetes node pools |
|
12
|
+
| [**k8s_nodepools_find_by_id**](KubernetesApi.md#k8s_nodepools_find_by_id) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Retrieve Kubernetes node pools |
|
13
|
+
| [**k8s_nodepools_get**](KubernetesApi.md#k8s_nodepools_get) | **GET** /k8s/{k8sClusterId}/nodepools | List Kubernetes node pools |
|
14
|
+
| [**k8s_nodepools_nodes_delete**](KubernetesApi.md#k8s_nodepools_nodes_delete) | **DELETE** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId} | Delete Kubernetes nodes |
|
15
|
+
| [**k8s_nodepools_nodes_find_by_id**](KubernetesApi.md#k8s_nodepools_nodes_find_by_id) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId} | Retrieve Kubernetes nodes |
|
16
|
+
| [**k8s_nodepools_nodes_get**](KubernetesApi.md#k8s_nodepools_nodes_get) | **GET** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes | List Kubernetes nodes |
|
17
|
+
| [**k8s_nodepools_nodes_replace_post**](KubernetesApi.md#k8s_nodepools_nodes_replace_post) | **POST** /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}/replace | Recreate Kubernetes nodes |
|
18
|
+
| [**k8s_nodepools_post**](KubernetesApi.md#k8s_nodepools_post) | **POST** /k8s/{k8sClusterId}/nodepools | Create Kubernetes node pools |
|
19
|
+
| [**k8s_nodepools_put**](KubernetesApi.md#k8s_nodepools_put) | **PUT** /k8s/{k8sClusterId}/nodepools/{nodepoolId} | Modify Kubernetes node pools |
|
20
|
+
| [**k8s_post**](KubernetesApi.md#k8s_post) | **POST** /k8s | Create Kubernetes clusters |
|
21
|
+
| [**k8s_put**](KubernetesApi.md#k8s_put) | **PUT** /k8s/{k8sClusterId} | Modify Kubernetes clusters |
|
22
|
+
| [**k8s_versions_default_get**](KubernetesApi.md#k8s_versions_default_get) | **GET** /k8s/versions/default | Retrieve current default Kubernetes version |
|
23
|
+
| [**k8s_versions_get**](KubernetesApi.md#k8s_versions_get) | **GET** /k8s/versions | List Kubernetes versions |
|
24
24
|
|
25
25
|
|
26
26
|
## k8s_delete
|
27
27
|
|
28
28
|
> k8s_delete(k8s_cluster_id, opts)
|
29
29
|
|
30
|
-
Delete Kubernetes
|
30
|
+
Delete Kubernetes clusters
|
31
31
|
|
32
|
-
|
32
|
+
Delete the specified Kubernetes cluster.
|
33
33
|
|
34
34
|
### Examples
|
35
35
|
|
@@ -49,7 +49,7 @@ Ionoscloud.configure do |config|
|
|
49
49
|
end
|
50
50
|
|
51
51
|
api_instance = Ionoscloud::KubernetesApi.new
|
52
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
52
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
53
53
|
opts = {
|
54
54
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
55
55
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -57,7 +57,7 @@ opts = {
|
|
57
57
|
}
|
58
58
|
|
59
59
|
begin
|
60
|
-
# Delete Kubernetes
|
60
|
+
# Delete Kubernetes clusters
|
61
61
|
api_instance.k8s_delete(k8s_cluster_id, opts)
|
62
62
|
rescue Ionoscloud::ApiError => e
|
63
63
|
puts "Error when calling KubernetesApi->k8s_delete: #{e}"
|
@@ -72,7 +72,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
72
72
|
|
73
73
|
```ruby
|
74
74
|
begin
|
75
|
-
# Delete Kubernetes
|
75
|
+
# Delete Kubernetes clusters
|
76
76
|
data, status_code, headers = api_instance.k8s_delete_with_http_info(k8s_cluster_id, opts)
|
77
77
|
p status_code # => 2xx
|
78
78
|
p headers # => { ... }
|
@@ -86,7 +86,7 @@ end
|
|
86
86
|
|
87
87
|
| Name | Type | Description | Notes |
|
88
88
|
| ---- | ---- | ----------- | ----- |
|
89
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
89
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
90
90
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
91
91
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
92
92
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -109,9 +109,9 @@ Basic Authentication, Token Authentication
|
|
109
109
|
|
110
110
|
> <KubernetesCluster> k8s_find_by_cluster_id(k8s_cluster_id, opts)
|
111
111
|
|
112
|
-
Retrieve Kubernetes
|
112
|
+
Retrieve Kubernetes clusters
|
113
113
|
|
114
|
-
|
114
|
+
Retrieve the specified Kubernetes cluster.
|
115
115
|
|
116
116
|
### Examples
|
117
117
|
|
@@ -131,7 +131,7 @@ Ionoscloud.configure do |config|
|
|
131
131
|
end
|
132
132
|
|
133
133
|
api_instance = Ionoscloud::KubernetesApi.new
|
134
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
134
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
135
135
|
opts = {
|
136
136
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
137
137
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -139,7 +139,7 @@ opts = {
|
|
139
139
|
}
|
140
140
|
|
141
141
|
begin
|
142
|
-
# Retrieve Kubernetes
|
142
|
+
# Retrieve Kubernetes clusters
|
143
143
|
result = api_instance.k8s_find_by_cluster_id(k8s_cluster_id, opts)
|
144
144
|
p result
|
145
145
|
rescue Ionoscloud::ApiError => e
|
@@ -155,7 +155,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
155
155
|
|
156
156
|
```ruby
|
157
157
|
begin
|
158
|
-
# Retrieve Kubernetes
|
158
|
+
# Retrieve Kubernetes clusters
|
159
159
|
data, status_code, headers = api_instance.k8s_find_by_cluster_id_with_http_info(k8s_cluster_id, opts)
|
160
160
|
p status_code # => 2xx
|
161
161
|
p headers # => { ... }
|
@@ -169,14 +169,14 @@ end
|
|
169
169
|
|
170
170
|
| Name | Type | Description | Notes |
|
171
171
|
| ---- | ---- | ----------- | ----- |
|
172
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
172
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
173
173
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
174
174
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
175
175
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
176
176
|
|
177
177
|
### Return type
|
178
178
|
|
179
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
179
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
180
180
|
|
181
181
|
### Authorization
|
182
182
|
|
@@ -192,9 +192,9 @@ Basic Authentication, Token Authentication
|
|
192
192
|
|
193
193
|
> <KubernetesClusters> k8s_get(opts)
|
194
194
|
|
195
|
-
List Kubernetes
|
195
|
+
List Kubernetes clusters
|
196
196
|
|
197
|
-
|
197
|
+
List all available Kubernetes clusters.
|
198
198
|
|
199
199
|
### Examples
|
200
200
|
|
@@ -221,7 +221,7 @@ opts = {
|
|
221
221
|
}
|
222
222
|
|
223
223
|
begin
|
224
|
-
# List Kubernetes
|
224
|
+
# List Kubernetes clusters
|
225
225
|
result = api_instance.k8s_get(opts)
|
226
226
|
p result
|
227
227
|
rescue Ionoscloud::ApiError => e
|
@@ -237,7 +237,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
237
237
|
|
238
238
|
```ruby
|
239
239
|
begin
|
240
|
-
# List Kubernetes
|
240
|
+
# List Kubernetes clusters
|
241
241
|
data, status_code, headers = api_instance.k8s_get_with_http_info(opts)
|
242
242
|
p status_code # => 2xx
|
243
243
|
p headers # => { ... }
|
@@ -257,7 +257,7 @@ end
|
|
257
257
|
|
258
258
|
### Return type
|
259
259
|
|
260
|
-
[**KubernetesClusters**](KubernetesClusters.md)
|
260
|
+
[**KubernetesClusters**](../models/KubernetesClusters.md)
|
261
261
|
|
262
262
|
### Authorization
|
263
263
|
|
@@ -273,9 +273,9 @@ Basic Authentication, Token Authentication
|
|
273
273
|
|
274
274
|
> String k8s_kubeconfig_get(k8s_cluster_id, opts)
|
275
275
|
|
276
|
-
Retrieve Kubernetes
|
276
|
+
Retrieve Kubernetes configuration files
|
277
277
|
|
278
|
-
|
278
|
+
Retrieve a configuration file for the specified Kubernetes cluster, in YAML or JSON format as defined in the Accept header; the default Accept header is application/yaml.
|
279
279
|
|
280
280
|
### Examples
|
281
281
|
|
@@ -295,7 +295,7 @@ Ionoscloud.configure do |config|
|
|
295
295
|
end
|
296
296
|
|
297
297
|
api_instance = Ionoscloud::KubernetesApi.new
|
298
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
298
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
299
299
|
opts = {
|
300
300
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
301
301
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -303,7 +303,7 @@ opts = {
|
|
303
303
|
}
|
304
304
|
|
305
305
|
begin
|
306
|
-
# Retrieve Kubernetes
|
306
|
+
# Retrieve Kubernetes configuration files
|
307
307
|
result = api_instance.k8s_kubeconfig_get(k8s_cluster_id, opts)
|
308
308
|
p result
|
309
309
|
rescue Ionoscloud::ApiError => e
|
@@ -319,7 +319,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
319
319
|
|
320
320
|
```ruby
|
321
321
|
begin
|
322
|
-
# Retrieve Kubernetes
|
322
|
+
# Retrieve Kubernetes configuration files
|
323
323
|
data, status_code, headers = api_instance.k8s_kubeconfig_get_with_http_info(k8s_cluster_id, opts)
|
324
324
|
p status_code # => 2xx
|
325
325
|
p headers # => { ... }
|
@@ -333,7 +333,7 @@ end
|
|
333
333
|
|
334
334
|
| Name | Type | Description | Notes |
|
335
335
|
| ---- | ---- | ----------- | ----- |
|
336
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
336
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
337
337
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
338
338
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
339
339
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -356,9 +356,9 @@ Basic Authentication, Token Authentication
|
|
356
356
|
|
357
357
|
> k8s_nodepools_delete(k8s_cluster_id, nodepool_id, opts)
|
358
358
|
|
359
|
-
Delete Kubernetes
|
359
|
+
Delete Kubernetes node pools
|
360
360
|
|
361
|
-
|
361
|
+
Delete the specified Kubernetes node pool.
|
362
362
|
|
363
363
|
### Examples
|
364
364
|
|
@@ -378,8 +378,8 @@ Ionoscloud.configure do |config|
|
|
378
378
|
end
|
379
379
|
|
380
380
|
api_instance = Ionoscloud::KubernetesApi.new
|
381
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
382
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
381
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
382
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
383
383
|
opts = {
|
384
384
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
385
385
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -387,7 +387,7 @@ opts = {
|
|
387
387
|
}
|
388
388
|
|
389
389
|
begin
|
390
|
-
# Delete Kubernetes
|
390
|
+
# Delete Kubernetes node pools
|
391
391
|
api_instance.k8s_nodepools_delete(k8s_cluster_id, nodepool_id, opts)
|
392
392
|
rescue Ionoscloud::ApiError => e
|
393
393
|
puts "Error when calling KubernetesApi->k8s_nodepools_delete: #{e}"
|
@@ -402,7 +402,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
402
402
|
|
403
403
|
```ruby
|
404
404
|
begin
|
405
|
-
# Delete Kubernetes
|
405
|
+
# Delete Kubernetes node pools
|
406
406
|
data, status_code, headers = api_instance.k8s_nodepools_delete_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
407
407
|
p status_code # => 2xx
|
408
408
|
p headers # => { ... }
|
@@ -416,8 +416,8 @@ end
|
|
416
416
|
|
417
417
|
| Name | Type | Description | Notes |
|
418
418
|
| ---- | ---- | ----------- | ----- |
|
419
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
420
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
419
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
420
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
421
421
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
422
422
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
423
423
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -440,9 +440,9 @@ Basic Authentication, Token Authentication
|
|
440
440
|
|
441
441
|
> <KubernetesNodePool> k8s_nodepools_find_by_id(k8s_cluster_id, nodepool_id, opts)
|
442
442
|
|
443
|
-
Retrieve Kubernetes
|
443
|
+
Retrieve Kubernetes node pools
|
444
444
|
|
445
|
-
|
445
|
+
Retrieve the specified Kubernetes node pool.
|
446
446
|
|
447
447
|
### Examples
|
448
448
|
|
@@ -462,8 +462,8 @@ Ionoscloud.configure do |config|
|
|
462
462
|
end
|
463
463
|
|
464
464
|
api_instance = Ionoscloud::KubernetesApi.new
|
465
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
466
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
465
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
466
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
467
467
|
opts = {
|
468
468
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
469
469
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -471,7 +471,7 @@ opts = {
|
|
471
471
|
}
|
472
472
|
|
473
473
|
begin
|
474
|
-
# Retrieve Kubernetes
|
474
|
+
# Retrieve Kubernetes node pools
|
475
475
|
result = api_instance.k8s_nodepools_find_by_id(k8s_cluster_id, nodepool_id, opts)
|
476
476
|
p result
|
477
477
|
rescue Ionoscloud::ApiError => e
|
@@ -487,7 +487,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
487
487
|
|
488
488
|
```ruby
|
489
489
|
begin
|
490
|
-
# Retrieve Kubernetes
|
490
|
+
# Retrieve Kubernetes node pools
|
491
491
|
data, status_code, headers = api_instance.k8s_nodepools_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
492
492
|
p status_code # => 2xx
|
493
493
|
p headers # => { ... }
|
@@ -501,15 +501,15 @@ end
|
|
501
501
|
|
502
502
|
| Name | Type | Description | Notes |
|
503
503
|
| ---- | ---- | ----------- | ----- |
|
504
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
505
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
504
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
505
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
506
506
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
507
507
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
508
508
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
509
509
|
|
510
510
|
### Return type
|
511
511
|
|
512
|
-
[**KubernetesNodePool**](KubernetesNodePool.md)
|
512
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
513
513
|
|
514
514
|
### Authorization
|
515
515
|
|
@@ -525,9 +525,9 @@ Basic Authentication, Token Authentication
|
|
525
525
|
|
526
526
|
> <KubernetesNodePools> k8s_nodepools_get(k8s_cluster_id, opts)
|
527
527
|
|
528
|
-
List Kubernetes
|
528
|
+
List Kubernetes node pools
|
529
529
|
|
530
|
-
|
530
|
+
List all Kubernetes node pools, included the specified Kubernetes cluster.
|
531
531
|
|
532
532
|
### Examples
|
533
533
|
|
@@ -547,7 +547,7 @@ Ionoscloud.configure do |config|
|
|
547
547
|
end
|
548
548
|
|
549
549
|
api_instance = Ionoscloud::KubernetesApi.new
|
550
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
550
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
551
551
|
opts = {
|
552
552
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
553
553
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -555,7 +555,7 @@ opts = {
|
|
555
555
|
}
|
556
556
|
|
557
557
|
begin
|
558
|
-
# List Kubernetes
|
558
|
+
# List Kubernetes node pools
|
559
559
|
result = api_instance.k8s_nodepools_get(k8s_cluster_id, opts)
|
560
560
|
p result
|
561
561
|
rescue Ionoscloud::ApiError => e
|
@@ -571,7 +571,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
571
571
|
|
572
572
|
```ruby
|
573
573
|
begin
|
574
|
-
# List Kubernetes
|
574
|
+
# List Kubernetes node pools
|
575
575
|
data, status_code, headers = api_instance.k8s_nodepools_get_with_http_info(k8s_cluster_id, opts)
|
576
576
|
p status_code # => 2xx
|
577
577
|
p headers # => { ... }
|
@@ -585,14 +585,14 @@ end
|
|
585
585
|
|
586
586
|
| Name | Type | Description | Notes |
|
587
587
|
| ---- | ---- | ----------- | ----- |
|
588
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
588
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
589
589
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
590
590
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
591
591
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
592
592
|
|
593
593
|
### Return type
|
594
594
|
|
595
|
-
[**KubernetesNodePools**](KubernetesNodePools.md)
|
595
|
+
[**KubernetesNodePools**](../models/KubernetesNodePools.md)
|
596
596
|
|
597
597
|
### Authorization
|
598
598
|
|
@@ -608,9 +608,9 @@ Basic Authentication, Token Authentication
|
|
608
608
|
|
609
609
|
> k8s_nodepools_nodes_delete(k8s_cluster_id, nodepool_id, node_id, opts)
|
610
610
|
|
611
|
-
Delete Kubernetes
|
611
|
+
Delete Kubernetes nodes
|
612
612
|
|
613
|
-
|
613
|
+
Delete the specified Kubernetes node.
|
614
614
|
|
615
615
|
### Examples
|
616
616
|
|
@@ -630,9 +630,9 @@ Ionoscloud.configure do |config|
|
|
630
630
|
end
|
631
631
|
|
632
632
|
api_instance = Ionoscloud::KubernetesApi.new
|
633
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
634
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
635
|
-
node_id = 'node_id_example' # String | The unique ID of the Kubernetes node
|
633
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
634
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
635
|
+
node_id = 'node_id_example' # String | The unique ID of the Kubernetes node.
|
636
636
|
opts = {
|
637
637
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
638
638
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -640,7 +640,7 @@ opts = {
|
|
640
640
|
}
|
641
641
|
|
642
642
|
begin
|
643
|
-
# Delete Kubernetes
|
643
|
+
# Delete Kubernetes nodes
|
644
644
|
api_instance.k8s_nodepools_nodes_delete(k8s_cluster_id, nodepool_id, node_id, opts)
|
645
645
|
rescue Ionoscloud::ApiError => e
|
646
646
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_delete: #{e}"
|
@@ -655,7 +655,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
655
655
|
|
656
656
|
```ruby
|
657
657
|
begin
|
658
|
-
# Delete Kubernetes
|
658
|
+
# Delete Kubernetes nodes
|
659
659
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_delete_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
660
660
|
p status_code # => 2xx
|
661
661
|
p headers # => { ... }
|
@@ -669,9 +669,9 @@ end
|
|
669
669
|
|
670
670
|
| Name | Type | Description | Notes |
|
671
671
|
| ---- | ---- | ----------- | ----- |
|
672
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
673
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
674
|
-
| **node_id** | **String** | The unique ID of the Kubernetes node | |
|
672
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
673
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
674
|
+
| **node_id** | **String** | The unique ID of the Kubernetes node. | |
|
675
675
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
676
676
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
677
677
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -694,9 +694,9 @@ Basic Authentication, Token Authentication
|
|
694
694
|
|
695
695
|
> <KubernetesNode> k8s_nodepools_nodes_find_by_id(k8s_cluster_id, nodepool_id, node_id, opts)
|
696
696
|
|
697
|
-
Retrieve Kubernetes
|
697
|
+
Retrieve Kubernetes nodes
|
698
698
|
|
699
|
-
|
699
|
+
Retrieve the specified Kubernetes node.
|
700
700
|
|
701
701
|
### Examples
|
702
702
|
|
@@ -716,9 +716,9 @@ Ionoscloud.configure do |config|
|
|
716
716
|
end
|
717
717
|
|
718
718
|
api_instance = Ionoscloud::KubernetesApi.new
|
719
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
720
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
721
|
-
node_id = 'node_id_example' # String | The unique ID of the Kubernetes
|
719
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
720
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
721
|
+
node_id = 'node_id_example' # String | The unique ID of the Kubernetes node.
|
722
722
|
opts = {
|
723
723
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
724
724
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -726,7 +726,7 @@ opts = {
|
|
726
726
|
}
|
727
727
|
|
728
728
|
begin
|
729
|
-
# Retrieve Kubernetes
|
729
|
+
# Retrieve Kubernetes nodes
|
730
730
|
result = api_instance.k8s_nodepools_nodes_find_by_id(k8s_cluster_id, nodepool_id, node_id, opts)
|
731
731
|
p result
|
732
732
|
rescue Ionoscloud::ApiError => e
|
@@ -742,7 +742,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
742
742
|
|
743
743
|
```ruby
|
744
744
|
begin
|
745
|
-
# Retrieve Kubernetes
|
745
|
+
# Retrieve Kubernetes nodes
|
746
746
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
747
747
|
p status_code # => 2xx
|
748
748
|
p headers # => { ... }
|
@@ -756,16 +756,16 @@ end
|
|
756
756
|
|
757
757
|
| Name | Type | Description | Notes |
|
758
758
|
| ---- | ---- | ----------- | ----- |
|
759
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
760
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
761
|
-
| **node_id** | **String** | The unique ID of the Kubernetes
|
759
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
760
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
761
|
+
| **node_id** | **String** | The unique ID of the Kubernetes node. | |
|
762
762
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
763
763
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
764
764
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
765
765
|
|
766
766
|
### Return type
|
767
767
|
|
768
|
-
[**KubernetesNode**](KubernetesNode.md)
|
768
|
+
[**KubernetesNode**](../models/KubernetesNode.md)
|
769
769
|
|
770
770
|
### Authorization
|
771
771
|
|
@@ -781,9 +781,9 @@ Basic Authentication, Token Authentication
|
|
781
781
|
|
782
782
|
> <KubernetesNodes> k8s_nodepools_nodes_get(k8s_cluster_id, nodepool_id, opts)
|
783
783
|
|
784
|
-
|
784
|
+
List Kubernetes nodes
|
785
785
|
|
786
|
-
|
786
|
+
List all the nodes, included in the specified Kubernetes node pool.
|
787
787
|
|
788
788
|
### Examples
|
789
789
|
|
@@ -803,8 +803,8 @@ Ionoscloud.configure do |config|
|
|
803
803
|
end
|
804
804
|
|
805
805
|
api_instance = Ionoscloud::KubernetesApi.new
|
806
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
807
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
806
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
807
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
808
808
|
opts = {
|
809
809
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
810
810
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -812,7 +812,7 @@ opts = {
|
|
812
812
|
}
|
813
813
|
|
814
814
|
begin
|
815
|
-
#
|
815
|
+
# List Kubernetes nodes
|
816
816
|
result = api_instance.k8s_nodepools_nodes_get(k8s_cluster_id, nodepool_id, opts)
|
817
817
|
p result
|
818
818
|
rescue Ionoscloud::ApiError => e
|
@@ -828,7 +828,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
828
828
|
|
829
829
|
```ruby
|
830
830
|
begin
|
831
|
-
#
|
831
|
+
# List Kubernetes nodes
|
832
832
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_get_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
833
833
|
p status_code # => 2xx
|
834
834
|
p headers # => { ... }
|
@@ -842,15 +842,15 @@ end
|
|
842
842
|
|
843
843
|
| Name | Type | Description | Notes |
|
844
844
|
| ---- | ---- | ----------- | ----- |
|
845
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
846
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
845
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
846
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
847
847
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
848
848
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
849
849
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
850
850
|
|
851
851
|
### Return type
|
852
852
|
|
853
|
-
[**KubernetesNodes**](KubernetesNodes.md)
|
853
|
+
[**KubernetesNodes**](../models/KubernetesNodes.md)
|
854
854
|
|
855
855
|
### Authorization
|
856
856
|
|
@@ -866,9 +866,9 @@ Basic Authentication, Token Authentication
|
|
866
866
|
|
867
867
|
> k8s_nodepools_nodes_replace_post(k8s_cluster_id, nodepool_id, node_id, opts)
|
868
868
|
|
869
|
-
Recreate
|
869
|
+
Recreate Kubernetes nodes
|
870
870
|
|
871
|
-
|
871
|
+
Recreate the specified Kubernetes node. A new node is created and configured by Managed Kubernetes, based on the node pool template. Once the status is \"Active\", all the pods are migrated from the faulty node, which is then deleted once empty. During this operation, the node pool will have an additional billable \"Active\" node.
|
872
872
|
|
873
873
|
### Examples
|
874
874
|
|
@@ -888,9 +888,9 @@ Ionoscloud.configure do |config|
|
|
888
888
|
end
|
889
889
|
|
890
890
|
api_instance = Ionoscloud::KubernetesApi.new
|
891
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
892
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
893
|
-
node_id = 'node_id_example' # String | The unique ID of the Kubernetes
|
891
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
892
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
893
|
+
node_id = 'node_id_example' # String | The unique ID of the Kubernetes node.
|
894
894
|
opts = {
|
895
895
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
896
896
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -898,7 +898,7 @@ opts = {
|
|
898
898
|
}
|
899
899
|
|
900
900
|
begin
|
901
|
-
# Recreate
|
901
|
+
# Recreate Kubernetes nodes
|
902
902
|
api_instance.k8s_nodepools_nodes_replace_post(k8s_cluster_id, nodepool_id, node_id, opts)
|
903
903
|
rescue Ionoscloud::ApiError => e
|
904
904
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_replace_post: #{e}"
|
@@ -913,7 +913,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
913
913
|
|
914
914
|
```ruby
|
915
915
|
begin
|
916
|
-
# Recreate
|
916
|
+
# Recreate Kubernetes nodes
|
917
917
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_replace_post_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
918
918
|
p status_code # => 2xx
|
919
919
|
p headers # => { ... }
|
@@ -927,9 +927,9 @@ end
|
|
927
927
|
|
928
928
|
| Name | Type | Description | Notes |
|
929
929
|
| ---- | ---- | ----------- | ----- |
|
930
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
931
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
932
|
-
| **node_id** | **String** | The unique ID of the Kubernetes
|
930
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
931
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
932
|
+
| **node_id** | **String** | The unique ID of the Kubernetes node. | |
|
933
933
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
934
934
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
935
935
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -952,9 +952,9 @@ Basic Authentication, Token Authentication
|
|
952
952
|
|
953
953
|
> <KubernetesNodePool> k8s_nodepools_post(k8s_cluster_id, kubernetes_node_pool, opts)
|
954
954
|
|
955
|
-
Create
|
955
|
+
Create Kubernetes node pools
|
956
956
|
|
957
|
-
|
957
|
+
Create a Kubernetes node pool inside the specified Kubernetes cluster.
|
958
958
|
|
959
959
|
### Examples
|
960
960
|
|
@@ -974,8 +974,8 @@ Ionoscloud.configure do |config|
|
|
974
974
|
end
|
975
975
|
|
976
976
|
api_instance = Ionoscloud::KubernetesApi.new
|
977
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
978
|
-
kubernetes_node_pool = Ionoscloud::
|
977
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
978
|
+
kubernetes_node_pool = Ionoscloud::KubernetesNodePoolForPost.new({properties: Ionoscloud::KubernetesNodePoolPropertiesForPost.new({name: 'k8s-node-pool', datacenter_id: '1e072e52-2ed3-492f-b6b6-c6b116907521', node_count: 2, cpu_family: 'AMD_OPTERON', cores_count: 4, ram_size: 2048, availability_zone: 'AUTO', storage_type: 'HDD', storage_size: 100})}) # KubernetesNodePoolForPost | The Kubernetes node pool to create.
|
979
979
|
opts = {
|
980
980
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
981
981
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -983,7 +983,7 @@ opts = {
|
|
983
983
|
}
|
984
984
|
|
985
985
|
begin
|
986
|
-
# Create
|
986
|
+
# Create Kubernetes node pools
|
987
987
|
result = api_instance.k8s_nodepools_post(k8s_cluster_id, kubernetes_node_pool, opts)
|
988
988
|
p result
|
989
989
|
rescue Ionoscloud::ApiError => e
|
@@ -999,7 +999,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
999
999
|
|
1000
1000
|
```ruby
|
1001
1001
|
begin
|
1002
|
-
# Create
|
1002
|
+
# Create Kubernetes node pools
|
1003
1003
|
data, status_code, headers = api_instance.k8s_nodepools_post_with_http_info(k8s_cluster_id, kubernetes_node_pool, opts)
|
1004
1004
|
p status_code # => 2xx
|
1005
1005
|
p headers # => { ... }
|
@@ -1013,15 +1013,15 @@ end
|
|
1013
1013
|
|
1014
1014
|
| Name | Type | Description | Notes |
|
1015
1015
|
| ---- | ---- | ----------- | ----- |
|
1016
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1017
|
-
| **kubernetes_node_pool** | [**
|
1016
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
1017
|
+
| **kubernetes_node_pool** | [**KubernetesNodePoolForPost**](KubernetesNodePoolForPost.md) | The Kubernetes node pool to create. | |
|
1018
1018
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1019
1019
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
1020
1020
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1021
1021
|
|
1022
1022
|
### Return type
|
1023
1023
|
|
1024
|
-
[**KubernetesNodePool**](KubernetesNodePool.md)
|
1024
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
1025
1025
|
|
1026
1026
|
### Authorization
|
1027
1027
|
|
@@ -1035,11 +1035,11 @@ Basic Authentication, Token Authentication
|
|
1035
1035
|
|
1036
1036
|
## k8s_nodepools_put
|
1037
1037
|
|
1038
|
-
> <KubernetesNodePool> k8s_nodepools_put(k8s_cluster_id, nodepool_id,
|
1038
|
+
> <KubernetesNodePool> k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1039
1039
|
|
1040
|
-
Modify Kubernetes
|
1040
|
+
Modify Kubernetes node pools
|
1041
1041
|
|
1042
|
-
|
1042
|
+
Modify the specified Kubernetes node pool.
|
1043
1043
|
|
1044
1044
|
### Examples
|
1045
1045
|
|
@@ -1059,9 +1059,9 @@ Ionoscloud.configure do |config|
|
|
1059
1059
|
end
|
1060
1060
|
|
1061
1061
|
api_instance = Ionoscloud::KubernetesApi.new
|
1062
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
1063
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
1064
|
-
|
1062
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
1063
|
+
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes node pool.
|
1064
|
+
kubernetes_node_pool = Ionoscloud::KubernetesNodePoolForPut.new({properties: Ionoscloud::KubernetesNodePoolPropertiesForPut.new({node_count: 2})}) # KubernetesNodePoolForPut | Details of the Kubernetes Node Pool
|
1065
1065
|
opts = {
|
1066
1066
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1067
1067
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -1069,8 +1069,8 @@ opts = {
|
|
1069
1069
|
}
|
1070
1070
|
|
1071
1071
|
begin
|
1072
|
-
# Modify Kubernetes
|
1073
|
-
result = api_instance.k8s_nodepools_put(k8s_cluster_id, nodepool_id,
|
1072
|
+
# Modify Kubernetes node pools
|
1073
|
+
result = api_instance.k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1074
1074
|
p result
|
1075
1075
|
rescue Ionoscloud::ApiError => e
|
1076
1076
|
puts "Error when calling KubernetesApi->k8s_nodepools_put: #{e}"
|
@@ -1081,12 +1081,12 @@ end
|
|
1081
1081
|
|
1082
1082
|
This returns an Array which contains the response data, status code and headers.
|
1083
1083
|
|
1084
|
-
> <Array(<KubernetesNodePool>, Integer, Hash)> k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id,
|
1084
|
+
> <Array(<KubernetesNodePool>, Integer, Hash)> k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1085
1085
|
|
1086
1086
|
```ruby
|
1087
1087
|
begin
|
1088
|
-
# Modify Kubernetes
|
1089
|
-
data, status_code, headers = api_instance.k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id,
|
1088
|
+
# Modify Kubernetes node pools
|
1089
|
+
data, status_code, headers = api_instance.k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1090
1090
|
p status_code # => 2xx
|
1091
1091
|
p headers # => { ... }
|
1092
1092
|
p data # => <KubernetesNodePool>
|
@@ -1099,16 +1099,16 @@ end
|
|
1099
1099
|
|
1100
1100
|
| Name | Type | Description | Notes |
|
1101
1101
|
| ---- | ---- | ----------- | ----- |
|
1102
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1103
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
1104
|
-
| **
|
1102
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
1103
|
+
| **nodepool_id** | **String** | The unique ID of the Kubernetes node pool. | |
|
1104
|
+
| **kubernetes_node_pool** | [**KubernetesNodePoolForPut**](KubernetesNodePoolForPut.md) | Details of the Kubernetes Node Pool | |
|
1105
1105
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1106
1106
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
1107
1107
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1108
1108
|
|
1109
1109
|
### Return type
|
1110
1110
|
|
1111
|
-
[**KubernetesNodePool**](KubernetesNodePool.md)
|
1111
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
1112
1112
|
|
1113
1113
|
### Authorization
|
1114
1114
|
|
@@ -1124,9 +1124,9 @@ Basic Authentication, Token Authentication
|
|
1124
1124
|
|
1125
1125
|
> <KubernetesCluster> k8s_post(kubernetes_cluster, opts)
|
1126
1126
|
|
1127
|
-
Create Kubernetes
|
1127
|
+
Create Kubernetes clusters
|
1128
1128
|
|
1129
|
-
|
1129
|
+
Create a Kubernetes cluster.
|
1130
1130
|
|
1131
1131
|
### Examples
|
1132
1132
|
|
@@ -1146,7 +1146,7 @@ Ionoscloud.configure do |config|
|
|
1146
1146
|
end
|
1147
1147
|
|
1148
1148
|
api_instance = Ionoscloud::KubernetesApi.new
|
1149
|
-
kubernetes_cluster = Ionoscloud::KubernetesClusterForPost.new({properties: Ionoscloud::KubernetesClusterPropertiesForPost.new({name: 'k8s'})}) # KubernetesClusterForPost |
|
1149
|
+
kubernetes_cluster = Ionoscloud::KubernetesClusterForPost.new({properties: Ionoscloud::KubernetesClusterPropertiesForPost.new({name: 'k8s'})}) # KubernetesClusterForPost | The Kubernetes cluster to create.
|
1150
1150
|
opts = {
|
1151
1151
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1152
1152
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -1154,7 +1154,7 @@ opts = {
|
|
1154
1154
|
}
|
1155
1155
|
|
1156
1156
|
begin
|
1157
|
-
# Create Kubernetes
|
1157
|
+
# Create Kubernetes clusters
|
1158
1158
|
result = api_instance.k8s_post(kubernetes_cluster, opts)
|
1159
1159
|
p result
|
1160
1160
|
rescue Ionoscloud::ApiError => e
|
@@ -1170,7 +1170,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1170
1170
|
|
1171
1171
|
```ruby
|
1172
1172
|
begin
|
1173
|
-
# Create Kubernetes
|
1173
|
+
# Create Kubernetes clusters
|
1174
1174
|
data, status_code, headers = api_instance.k8s_post_with_http_info(kubernetes_cluster, opts)
|
1175
1175
|
p status_code # => 2xx
|
1176
1176
|
p headers # => { ... }
|
@@ -1184,14 +1184,14 @@ end
|
|
1184
1184
|
|
1185
1185
|
| Name | Type | Description | Notes |
|
1186
1186
|
| ---- | ---- | ----------- | ----- |
|
1187
|
-
| **kubernetes_cluster** | [**KubernetesClusterForPost**](KubernetesClusterForPost.md) |
|
1187
|
+
| **kubernetes_cluster** | [**KubernetesClusterForPost**](KubernetesClusterForPost.md) | The Kubernetes cluster to create. | |
|
1188
1188
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1189
1189
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
1190
1190
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1191
1191
|
|
1192
1192
|
### Return type
|
1193
1193
|
|
1194
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
1194
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
1195
1195
|
|
1196
1196
|
### Authorization
|
1197
1197
|
|
@@ -1207,9 +1207,9 @@ Basic Authentication, Token Authentication
|
|
1207
1207
|
|
1208
1208
|
> <KubernetesCluster> k8s_put(k8s_cluster_id, kubernetes_cluster, opts)
|
1209
1209
|
|
1210
|
-
Modify Kubernetes
|
1210
|
+
Modify Kubernetes clusters
|
1211
1211
|
|
1212
|
-
|
1212
|
+
Modify the specified Kubernetes cluster.
|
1213
1213
|
|
1214
1214
|
### Examples
|
1215
1215
|
|
@@ -1229,8 +1229,8 @@ Ionoscloud.configure do |config|
|
|
1229
1229
|
end
|
1230
1230
|
|
1231
1231
|
api_instance = Ionoscloud::KubernetesApi.new
|
1232
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
1233
|
-
kubernetes_cluster = Ionoscloud::KubernetesClusterForPut.new({properties: Ionoscloud::KubernetesClusterPropertiesForPut.new({name: 'k8s'})}) # KubernetesClusterForPut |
|
1232
|
+
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes cluster.
|
1233
|
+
kubernetes_cluster = Ionoscloud::KubernetesClusterForPut.new({properties: Ionoscloud::KubernetesClusterPropertiesForPut.new({name: 'k8s'})}) # KubernetesClusterForPut | The modified Kubernetes cluster.
|
1234
1234
|
opts = {
|
1235
1235
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1236
1236
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -1238,7 +1238,7 @@ opts = {
|
|
1238
1238
|
}
|
1239
1239
|
|
1240
1240
|
begin
|
1241
|
-
# Modify Kubernetes
|
1241
|
+
# Modify Kubernetes clusters
|
1242
1242
|
result = api_instance.k8s_put(k8s_cluster_id, kubernetes_cluster, opts)
|
1243
1243
|
p result
|
1244
1244
|
rescue Ionoscloud::ApiError => e
|
@@ -1254,7 +1254,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1254
1254
|
|
1255
1255
|
```ruby
|
1256
1256
|
begin
|
1257
|
-
# Modify Kubernetes
|
1257
|
+
# Modify Kubernetes clusters
|
1258
1258
|
data, status_code, headers = api_instance.k8s_put_with_http_info(k8s_cluster_id, kubernetes_cluster, opts)
|
1259
1259
|
p status_code # => 2xx
|
1260
1260
|
p headers # => { ... }
|
@@ -1268,15 +1268,15 @@ end
|
|
1268
1268
|
|
1269
1269
|
| Name | Type | Description | Notes |
|
1270
1270
|
| ---- | ---- | ----------- | ----- |
|
1271
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1272
|
-
| **kubernetes_cluster** | [**KubernetesClusterForPut**](KubernetesClusterForPut.md) |
|
1271
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
1272
|
+
| **kubernetes_cluster** | [**KubernetesClusterForPut**](KubernetesClusterForPut.md) | The modified Kubernetes cluster. | |
|
1273
1273
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1274
1274
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
1275
1275
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1276
1276
|
|
1277
1277
|
### Return type
|
1278
1278
|
|
1279
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
1279
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
1280
1280
|
|
1281
1281
|
### Authorization
|
1282
1282
|
|
@@ -1292,9 +1292,9 @@ Basic Authentication, Token Authentication
|
|
1292
1292
|
|
1293
1293
|
> String k8s_versions_default_get
|
1294
1294
|
|
1295
|
-
Retrieve
|
1295
|
+
Retrieve current default Kubernetes version
|
1296
1296
|
|
1297
|
-
|
1297
|
+
Retrieve current default Kubernetes version for clusters and nodepools.
|
1298
1298
|
|
1299
1299
|
### Examples
|
1300
1300
|
|
@@ -1316,7 +1316,7 @@ end
|
|
1316
1316
|
api_instance = Ionoscloud::KubernetesApi.new
|
1317
1317
|
|
1318
1318
|
begin
|
1319
|
-
# Retrieve
|
1319
|
+
# Retrieve current default Kubernetes version
|
1320
1320
|
result = api_instance.k8s_versions_default_get
|
1321
1321
|
p result
|
1322
1322
|
rescue Ionoscloud::ApiError => e
|
@@ -1332,7 +1332,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1332
1332
|
|
1333
1333
|
```ruby
|
1334
1334
|
begin
|
1335
|
-
# Retrieve
|
1335
|
+
# Retrieve current default Kubernetes version
|
1336
1336
|
data, status_code, headers = api_instance.k8s_versions_default_get_with_http_info
|
1337
1337
|
p status_code # => 2xx
|
1338
1338
|
p headers # => { ... }
|
@@ -1364,9 +1364,9 @@ Basic Authentication, Token Authentication
|
|
1364
1364
|
|
1365
1365
|
> Array<String> k8s_versions_get
|
1366
1366
|
|
1367
|
-
|
1367
|
+
List Kubernetes versions
|
1368
1368
|
|
1369
|
-
|
1369
|
+
List available Kubernetes versions.
|
1370
1370
|
|
1371
1371
|
### Examples
|
1372
1372
|
|
@@ -1388,7 +1388,7 @@ end
|
|
1388
1388
|
api_instance = Ionoscloud::KubernetesApi.new
|
1389
1389
|
|
1390
1390
|
begin
|
1391
|
-
#
|
1391
|
+
# List Kubernetes versions
|
1392
1392
|
result = api_instance.k8s_versions_get
|
1393
1393
|
p result
|
1394
1394
|
rescue Ionoscloud::ApiError => e
|
@@ -1404,7 +1404,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1404
1404
|
|
1405
1405
|
```ruby
|
1406
1406
|
begin
|
1407
|
-
#
|
1407
|
+
# List Kubernetes versions
|
1408
1408
|
data, status_code, headers = api_instance.k8s_versions_get_with_http_info
|
1409
1409
|
p status_code # => 2xx
|
1410
1410
|
p headers # => { ... }
|