ionoscloud 6.0.0.beta.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +190 -0
- data/README.md +57 -0
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +594 -0
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +12 -12
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +131 -132
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +115 -116
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +266 -270
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +178 -188
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +317 -324
- data/docs/api/NetworkInterfacesApi.md +540 -0
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +333 -340
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1908 -0
- data/docs/api/SnapshotsApi.md +428 -0
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +18 -18
- data/docs/api/UserManagementApi.md +2039 -0
- data/docs/api/UserS3KeysApi.md +516 -0
- data/docs/api/VolumesApi.md +709 -0
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +6 -6
- data/docs/{BackupUnit.md → models/BackupUnit.md} +3 -3
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +2 -2
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +4 -4
- data/docs/{BalancedNics.md → models/BalancedNics.md} +6 -6
- data/docs/{Cdroms.md → models/Cdroms.md} +6 -6
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +1 -1
- data/docs/{ContractProperties.md → models/ContractProperties.md} +4 -4
- data/docs/{Contracts.md → models/Contracts.md} +3 -3
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +1 -1
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +3 -3
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +6 -6
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +6 -6
- data/docs/{Datacenters.md → models/Datacenters.md} +6 -6
- data/docs/{Error.md → models/Error.md} +1 -1
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +3 -3
- data/docs/{FirewallRule.md → models/FirewallRule.md} +3 -3
- data/docs/{FirewallRules.md → models/FirewallRules.md} +6 -6
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +10 -10
- data/docs/{FlowLog.md → models/FlowLog.md} +3 -3
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +1 -1
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +3 -3
- data/docs/{FlowLogs.md → models/FlowLogs.md} +6 -6
- data/docs/{Group.md → models/Group.md} +3 -3
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +4 -4
- data/docs/models/GroupProperties.md +42 -0
- data/docs/{GroupShare.md → models/GroupShare.md} +2 -2
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +3 -3
- data/docs/{GroupUsers.md → models/GroupUsers.md} +4 -4
- data/docs/{Groups.md → models/Groups.md} +4 -4
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +3 -3
- data/docs/models/ImageProperties.md +54 -0
- data/docs/{Images.md → models/Images.md} +4 -4
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +3 -3
- data/docs/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +5 -1
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +2 -2
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +2 -2
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +2 -2
- data/docs/models/KubernetesClusterProperties.md +30 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +26 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +4 -4
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +2 -2
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +4 -4
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +2 -2
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +2 -2
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +2 -2
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +2 -2
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +13 -14
- data/docs/{KubernetesNodePoolPropertiesForPost.md → models/KubernetesNodePoolPropertiesForPost.md} +12 -13
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +5 -5
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +4 -4
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +2 -2
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +4 -4
- data/docs/{Label.md → models/Label.md} +2 -2
- data/docs/{LabelProperties.md → models/LabelProperties.md} +3 -3
- data/docs/{LabelResource.md → models/LabelResource.md} +2 -2
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +2 -2
- data/docs/{LabelResources.md → models/LabelResources.md} +6 -6
- data/docs/{Labels.md → models/Labels.md} +4 -4
- data/docs/{Lan.md → models/Lan.md} +3 -3
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +6 -6
- data/docs/{LanPost.md → models/LanPost.md} +3 -3
- data/docs/{LanProperties.md → models/LanProperties.md} +3 -3
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +3 -3
- data/docs/{Lans.md → models/Lans.md} +6 -6
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +3 -3
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +3 -3
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +6 -6
- data/docs/{Location.md → models/Location.md} +3 -3
- data/docs/{LocationProperties.md → models/LocationProperties.md} +1 -1
- data/docs/{Locations.md → models/Locations.md} +4 -4
- data/docs/{NatGateway.md → models/NatGateway.md} +3 -3
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +2 -2
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +3 -3
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +3 -3
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +3 -3
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +7 -7
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +3 -3
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +4 -4
- data/docs/{NatGateways.md → models/NatGateways.md} +6 -6
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +3 -3
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleHealthCheck.md → models/NetworkLoadBalancerForwardingRuleHealthCheck.md} +0 -2
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleTarget.md → models/NetworkLoadBalancerForwardingRuleTarget.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRuleTargetHealthCheck.md → models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/{NetworkLoadBalancerProperties.md → models/NetworkLoadBalancerProperties.md} +4 -4
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +3 -3
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +6 -6
- data/docs/{Nic.md → models/Nic.md} +3 -3
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/models/NicProperties.md +34 -0
- data/docs/{NicPut.md → models/NicPut.md} +3 -3
- data/docs/{Nics.md → models/Nics.md} +6 -6
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +5 -5
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +3 -3
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +3 -3
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +4 -4
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +4 -4
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +3 -3
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +2 -2
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +3 -3
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +1 -1
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +6 -6
- data/docs/{Resource.md → models/Resource.md} +3 -3
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +4 -4
- data/docs/models/ResourceLimits.md +60 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +2 -2
- data/docs/{ResourceReference.md → models/ResourceReference.md} +3 -3
- data/docs/{Resources.md → models/Resources.md} +4 -4
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +4 -4
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +3 -3
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +2 -2
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +2 -2
- data/docs/{S3Keys.md → models/S3Keys.md} +4 -4
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +3 -3
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +7 -7
- data/docs/{Servers.md → models/Servers.md} +6 -6
- data/docs/{Snapshot.md → models/Snapshot.md} +3 -3
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +4 -4
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +2 -2
- data/docs/{Template.md → models/Template.md} +3 -3
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +4 -4
- data/docs/{Templates.md → models/Templates.md} +4 -4
- data/docs/{Token.md → models/Token.md} +1 -1
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +3 -3
- data/docs/{UserMetadata.md → models/UserMetadata.md} +3 -3
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +32 -0
- data/docs/{UserPut.md → models/UserPut.md} +1 -1
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +3 -3
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +19 -17
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +3 -3
- data/lib/ionoscloud/api/_api.rb +8 -8
- data/lib/ionoscloud/api/backup_units_api.rb +98 -98
- data/lib/ionoscloud/api/contract_resources_api.rb +12 -12
- data/lib/ionoscloud/api/data_centers_api.rb +85 -85
- data/lib/ionoscloud/api/firewall_rules_api.rb +121 -121
- data/lib/ionoscloud/api/flow_logs_api.rb +107 -107
- data/lib/ionoscloud/api/images_api.rb +69 -69
- data/lib/ionoscloud/api/ip_blocks_api.rb +99 -81
- data/lib/ionoscloud/api/kubernetes_api.rb +237 -237
- data/lib/ionoscloud/api/labels_api.rb +419 -455
- data/lib/ionoscloud/api/lans_api.rb +220 -220
- data/lib/ionoscloud/api/load_balancers_api.rb +162 -198
- data/lib/ionoscloud/api/locations_api.rb +38 -38
- data/lib/ionoscloud/api/nat_gateways_api.rb +287 -305
- data/lib/ionoscloud/api/network_interfaces_api.rb +109 -109
- data/lib/ionoscloud/api/network_load_balancers_api.rb +301 -319
- data/lib/ionoscloud/api/private_cross_connects_api.rb +67 -85
- data/lib/ionoscloud/api/requests_api.rb +70 -46
- data/lib/ionoscloud/api/servers_api.rb +381 -381
- data/lib/ionoscloud/api/snapshots_api.rb +67 -67
- data/lib/ionoscloud/api/templates_api.rb +16 -16
- data/lib/ionoscloud/api/user_management_api.rb +350 -330
- data/lib/ionoscloud/api/user_s3_keys_api.rb +85 -85
- data/lib/ionoscloud/api/volumes_api.rb +140 -140
- data/lib/ionoscloud/api_client.rb +20 -20
- data/lib/ionoscloud/api_error.rb +2 -2
- data/lib/ionoscloud/configuration.rb +4 -4
- data/lib/ionoscloud/models/attached_volumes.rb +75 -19
- data/lib/ionoscloud/models/backup_unit.rb +52 -10
- data/lib/ionoscloud/models/backup_unit_properties.rb +33 -7
- data/lib/ionoscloud/models/backup_unit_sso.rb +13 -3
- data/lib/ionoscloud/models/backup_units.rb +48 -16
- data/lib/ionoscloud/models/balanced_nics.rb +75 -19
- data/lib/ionoscloud/models/cdroms.rb +75 -19
- data/lib/ionoscloud/models/connectable_datacenter.rb +31 -5
- data/lib/ionoscloud/models/contract.rb +23 -5
- data/lib/ionoscloud/models/contract_properties.rb +53 -11
- data/lib/ionoscloud/models/contracts.rb +45 -13
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +41 -7
- data/lib/ionoscloud/models/data_center_entities.rb +58 -8
- data/lib/ionoscloud/models/datacenter.rb +61 -11
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +82 -16
- data/lib/ionoscloud/models/datacenter_properties.rb +77 -45
- data/lib/ionoscloud/models/datacenters.rb +75 -19
- data/lib/ionoscloud/models/error.rb +25 -9
- data/lib/ionoscloud/models/error_message.rb +24 -6
- data/lib/ionoscloud/models/firewall_rule.rb +52 -10
- data/lib/ionoscloud/models/firewall_rules.rb +75 -19
- data/lib/ionoscloud/models/firewallrule_properties.rb +140 -43
- data/lib/ionoscloud/models/flow_log.rb +52 -10
- data/lib/ionoscloud/models/flow_log_properties.rb +41 -7
- data/lib/ionoscloud/models/flow_log_put.rb +43 -9
- data/lib/ionoscloud/models/flow_logs.rb +75 -19
- data/lib/ionoscloud/models/group.rb +52 -10
- data/lib/ionoscloud/models/group_entities.rb +22 -4
- data/lib/ionoscloud/models/group_members.rb +46 -14
- data/lib/ionoscloud/models/group_properties.rb +144 -28
- data/lib/ionoscloud/models/group_share.rb +42 -8
- data/lib/ionoscloud/models/group_share_properties.rb +22 -4
- data/lib/ionoscloud/models/group_shares.rb +45 -13
- data/lib/ionoscloud/models/group_users.rb +47 -15
- data/lib/ionoscloud/models/groups.rb +46 -14
- data/lib/ionoscloud/models/image.rb +52 -10
- data/lib/ionoscloud/models/image_properties.rb +226 -40
- data/lib/ionoscloud/models/images.rb +46 -14
- data/lib/ionoscloud/models/info.rb +31 -5
- data/lib/ionoscloud/models/ip_block.rb +52 -10
- data/lib/ionoscloud/models/ip_block_properties.rb +58 -20
- data/lib/ionoscloud/models/ip_blocks.rb +101 -16
- data/lib/ionoscloud/models/ip_consumer.rb +104 -12
- data/lib/ionoscloud/models/ip_failover.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_cluster.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +13 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +86 -34
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +64 -24
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +72 -10
- data/lib/ionoscloud/models/kubernetes_clusters.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +53 -11
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +39 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +182 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +170 -48
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +97 -36
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +42 -8
- data/lib/ionoscloud/models/kubernetes_nodes.rb +46 -14
- data/lib/ionoscloud/models/label.rb +51 -9
- data/lib/ionoscloud/models/label_properties.rb +52 -10
- data/lib/ionoscloud/models/label_resource.rb +51 -9
- data/lib/ionoscloud/models/label_resource_properties.rb +24 -6
- data/lib/ionoscloud/models/label_resources.rb +77 -21
- data/lib/ionoscloud/models/labels.rb +48 -16
- data/lib/ionoscloud/models/lan.rb +61 -11
- data/lib/ionoscloud/models/lan_entities.rb +13 -3
- data/lib/ionoscloud/models/lan_nics.rb +75 -19
- data/lib/ionoscloud/models/lan_post.rb +61 -11
- data/lib/ionoscloud/models/lan_properties.rb +45 -13
- data/lib/ionoscloud/models/lan_properties_post.rb +45 -13
- data/lib/ionoscloud/models/lans.rb +75 -19
- data/lib/ionoscloud/models/loadbalancer.rb +61 -11
- data/lib/ionoscloud/models/loadbalancer_entities.rb +13 -3
- data/lib/ionoscloud/models/loadbalancer_properties.rb +46 -37
- data/lib/ionoscloud/models/loadbalancers.rb +75 -19
- data/lib/ionoscloud/models/location.rb +52 -10
- data/lib/ionoscloud/models/location_properties.rb +47 -41
- data/lib/ionoscloud/models/locations.rb +46 -14
- data/lib/ionoscloud/models/nat_gateway.rb +61 -11
- data/lib/ionoscloud/models/nat_gateway_entities.rb +22 -4
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +26 -10
- data/lib/ionoscloud/models/nat_gateway_properties.rb +38 -16
- data/lib/ionoscloud/models/nat_gateway_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule.rb +52 -10
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +73 -15
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rules.rb +46 -14
- data/lib/ionoscloud/models/nat_gateways.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer.rb +61 -11
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +22 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +52 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +39 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +73 -17
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +40 -6
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +31 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +57 -19
- data/lib/ionoscloud/models/network_load_balancer_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancers.rb +75 -19
- data/lib/ionoscloud/models/nic.rb +61 -11
- data/lib/ionoscloud/models/nic_entities.rb +22 -4
- data/lib/ionoscloud/models/nic_properties.rb +95 -23
- data/lib/ionoscloud/models/nic_put.rb +43 -9
- data/lib/ionoscloud/models/nics.rb +75 -19
- data/lib/ionoscloud/models/no_state_meta_data.rb +72 -14
- data/lib/ionoscloud/models/pagination_links.rb +34 -8
- data/lib/ionoscloud/models/peer.rb +49 -7
- data/lib/ionoscloud/models/private_cross_connect.rb +52 -10
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +48 -18
- data/lib/ionoscloud/models/private_cross_connects.rb +46 -14
- data/lib/ionoscloud/models/remote_console_url.rb +13 -3
- data/lib/ionoscloud/models/request.rb +52 -10
- data/lib/ionoscloud/models/request_metadata.rb +42 -8
- data/lib/ionoscloud/models/request_properties.rb +42 -10
- data/lib/ionoscloud/models/request_status.rb +43 -9
- data/lib/ionoscloud/models/request_status_metadata.rb +43 -11
- data/lib/ionoscloud/models/request_target.rb +22 -4
- data/lib/ionoscloud/models/requests.rb +75 -19
- data/lib/ionoscloud/models/resource.rb +61 -11
- data/lib/ionoscloud/models/resource_entities.rb +13 -3
- data/lib/ionoscloud/models/resource_groups.rb +46 -14
- data/lib/ionoscloud/models/resource_limits.rb +224 -46
- data/lib/ionoscloud/models/resource_properties.rb +24 -6
- data/lib/ionoscloud/models/resource_reference.rb +34 -8
- data/lib/ionoscloud/models/resources.rb +47 -15
- data/lib/ionoscloud/models/resources_users.rb +46 -14
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +52 -10
- data/lib/ionoscloud/models/s3_key_metadata.rb +24 -6
- data/lib/ionoscloud/models/s3_key_properties.rb +24 -6
- data/lib/ionoscloud/models/s3_keys.rb +46 -14
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +13 -3
- data/lib/ionoscloud/models/server.rb +61 -11
- data/lib/ionoscloud/models/server_entities.rb +31 -5
- data/lib/ionoscloud/models/server_properties.rb +103 -21
- data/lib/ionoscloud/models/servers.rb +75 -19
- data/lib/ionoscloud/models/snapshot.rb +52 -10
- data/lib/ionoscloud/models/snapshot_properties.rb +162 -32
- data/lib/ionoscloud/models/snapshots.rb +46 -14
- data/lib/ionoscloud/models/target_port_range.rb +24 -6
- data/lib/ionoscloud/models/template.rb +52 -10
- data/lib/ionoscloud/models/template_properties.rb +44 -10
- data/lib/ionoscloud/models/templates.rb +46 -14
- data/lib/ionoscloud/models/token.rb +14 -4
- data/lib/ionoscloud/models/type.rb +4 -4
- data/lib/ionoscloud/models/user.rb +61 -11
- data/lib/ionoscloud/models/user_metadata.rb +34 -8
- data/lib/ionoscloud/models/user_post.rb +13 -3
- data/lib/ionoscloud/models/user_properties.rb +84 -18
- data/lib/ionoscloud/models/user_properties_post.rb +84 -18
- data/lib/ionoscloud/models/user_properties_put.rb +93 -17
- data/lib/ionoscloud/models/user_put.rb +23 -5
- data/lib/ionoscloud/models/users.rb +102 -17
- data/lib/ionoscloud/models/users_entities.rb +22 -4
- data/lib/ionoscloud/models/volume.rb +52 -10
- data/lib/ionoscloud/models/volume_properties.rb +216 -47
- data/lib/ionoscloud/models/volumes.rb +75 -19
- data/lib/ionoscloud/version.rb +3 -3
- data/lib/ionoscloud.rb +4 -3
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +207 -587
- data/docs/BackupUnitsApi.md +0 -595
- data/docs/DataCentersApi.md +0 -517
- data/docs/DefaultApi.md +0 -78
- data/docs/GroupProperties.md +0 -40
- data/docs/IPBlocksApi.md +0 -513
- data/docs/ImageProperties.md +0 -50
- data/docs/ImagesApi.md +0 -429
- data/docs/IpBlockProperties.md +0 -26
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterProperties.md +0 -30
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/LabelsApi.md +0 -2351
- data/docs/LansApi.md +0 -795
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkInterfacesApi.md +0 -541
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -431
- data/docs/RequestsApi.md +0 -267
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1917
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -429
- data/docs/UserManagementApi.md +0 -2037
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -517
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -711
- 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 -126
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -478
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -205
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -336
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -342
- data/spec/api/private_cross_connects_api_spec.rb +0 -112
- data/spec/api/requests_api_spec.rb +0 -84
- 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 -402
- 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 -74
- 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 -108
- 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 -100
- 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 -138
- 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 -52
- data/spec/models/ip_consumer_spec.rb +0 -70
- 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 -58
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -70
- 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 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- 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 -50
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -56
- 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 -58
- 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_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 -52
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
@@ -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,17 +49,16 @@ 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
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
55
|
-
depth: 56, # Integer | Controls the
|
56
|
-
x_contract_number: 56 # Integer | Users
|
54
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
56
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
57
57
|
}
|
58
58
|
|
59
59
|
begin
|
60
|
-
# Delete Kubernetes
|
61
|
-
|
62
|
-
p result
|
60
|
+
# Delete Kubernetes clusters
|
61
|
+
api_instance.k8s_delete(k8s_cluster_id, opts)
|
63
62
|
rescue Ionoscloud::ApiError => e
|
64
63
|
puts "Error when calling KubernetesApi->k8s_delete: #{e}"
|
65
64
|
end
|
@@ -67,17 +66,17 @@ end
|
|
67
66
|
|
68
67
|
#### Using the k8s_delete_with_http_info variant
|
69
68
|
|
70
|
-
This returns an Array which contains the response data, status code and headers.
|
69
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
71
70
|
|
72
|
-
> <Array(
|
71
|
+
> <Array(nil, Integer, Hash)> k8s_delete_with_http_info(k8s_cluster_id, opts)
|
73
72
|
|
74
73
|
```ruby
|
75
74
|
begin
|
76
|
-
# Delete Kubernetes
|
75
|
+
# Delete Kubernetes clusters
|
77
76
|
data, status_code, headers = api_instance.k8s_delete_with_http_info(k8s_cluster_id, opts)
|
78
77
|
p status_code # => 2xx
|
79
78
|
p headers # => { ... }
|
80
|
-
p data # =>
|
79
|
+
p data # => nil
|
81
80
|
rescue Ionoscloud::ApiError => e
|
82
81
|
puts "Error when calling KubernetesApi->k8s_delete_with_http_info: #{e}"
|
83
82
|
end
|
@@ -87,14 +86,14 @@ end
|
|
87
86
|
|
88
87
|
| Name | Type | Description | Notes |
|
89
88
|
| ---- | ---- | ----------- | ----- |
|
90
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
91
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
92
|
-
| **depth** | **Integer** | Controls the
|
93
|
-
| **x_contract_number** | **Integer** | Users
|
89
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
90
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
94
93
|
|
95
94
|
### Return type
|
96
95
|
|
97
|
-
|
96
|
+
nil (empty response body)
|
98
97
|
|
99
98
|
### Authorization
|
100
99
|
|
@@ -110,9 +109,9 @@ Basic Authentication, Token Authentication
|
|
110
109
|
|
111
110
|
> <KubernetesCluster> k8s_find_by_cluster_id(k8s_cluster_id, opts)
|
112
111
|
|
113
|
-
Retrieve Kubernetes
|
112
|
+
Retrieve Kubernetes clusters
|
114
113
|
|
115
|
-
|
114
|
+
Retrieve the specified Kubernetes cluster.
|
116
115
|
|
117
116
|
### Examples
|
118
117
|
|
@@ -132,15 +131,15 @@ Ionoscloud.configure do |config|
|
|
132
131
|
end
|
133
132
|
|
134
133
|
api_instance = Ionoscloud::KubernetesApi.new
|
135
|
-
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.
|
136
135
|
opts = {
|
137
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
138
|
-
depth: 56, # Integer | Controls the
|
139
|
-
x_contract_number: 56 # Integer | Users
|
136
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
138
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
140
139
|
}
|
141
140
|
|
142
141
|
begin
|
143
|
-
# Retrieve Kubernetes
|
142
|
+
# Retrieve Kubernetes clusters
|
144
143
|
result = api_instance.k8s_find_by_cluster_id(k8s_cluster_id, opts)
|
145
144
|
p result
|
146
145
|
rescue Ionoscloud::ApiError => e
|
@@ -156,7 +155,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
156
155
|
|
157
156
|
```ruby
|
158
157
|
begin
|
159
|
-
# Retrieve Kubernetes
|
158
|
+
# Retrieve Kubernetes clusters
|
160
159
|
data, status_code, headers = api_instance.k8s_find_by_cluster_id_with_http_info(k8s_cluster_id, opts)
|
161
160
|
p status_code # => 2xx
|
162
161
|
p headers # => { ... }
|
@@ -170,14 +169,14 @@ end
|
|
170
169
|
|
171
170
|
| Name | Type | Description | Notes |
|
172
171
|
| ---- | ---- | ----------- | ----- |
|
173
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
174
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
175
|
-
| **depth** | **Integer** | Controls the
|
176
|
-
| **x_contract_number** | **Integer** | Users
|
172
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
173
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
177
176
|
|
178
177
|
### Return type
|
179
178
|
|
180
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
179
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
181
180
|
|
182
181
|
### Authorization
|
183
182
|
|
@@ -193,9 +192,9 @@ Basic Authentication, Token Authentication
|
|
193
192
|
|
194
193
|
> <KubernetesClusters> k8s_get(opts)
|
195
194
|
|
196
|
-
List Kubernetes
|
195
|
+
List Kubernetes clusters
|
197
196
|
|
198
|
-
|
197
|
+
List all available Kubernetes clusters.
|
199
198
|
|
200
199
|
### Examples
|
201
200
|
|
@@ -216,13 +215,13 @@ end
|
|
216
215
|
|
217
216
|
api_instance = Ionoscloud::KubernetesApi.new
|
218
217
|
opts = {
|
219
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
220
|
-
depth: 56, # Integer | Controls the
|
221
|
-
x_contract_number: 56 # Integer | Users
|
218
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
219
|
+
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
|
220
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
222
221
|
}
|
223
222
|
|
224
223
|
begin
|
225
|
-
# List Kubernetes
|
224
|
+
# List Kubernetes clusters
|
226
225
|
result = api_instance.k8s_get(opts)
|
227
226
|
p result
|
228
227
|
rescue Ionoscloud::ApiError => e
|
@@ -238,7 +237,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
238
237
|
|
239
238
|
```ruby
|
240
239
|
begin
|
241
|
-
# List Kubernetes
|
240
|
+
# List Kubernetes clusters
|
242
241
|
data, status_code, headers = api_instance.k8s_get_with_http_info(opts)
|
243
242
|
p status_code # => 2xx
|
244
243
|
p headers # => { ... }
|
@@ -252,13 +251,13 @@ end
|
|
252
251
|
|
253
252
|
| Name | Type | Description | Notes |
|
254
253
|
| ---- | ---- | ----------- | ----- |
|
255
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
256
|
-
| **depth** | **Integer** | Controls the
|
257
|
-
| **x_contract_number** | **Integer** | Users
|
254
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
255
|
+
| **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] |
|
256
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
258
257
|
|
259
258
|
### Return type
|
260
259
|
|
261
|
-
[**KubernetesClusters**](KubernetesClusters.md)
|
260
|
+
[**KubernetesClusters**](../models/KubernetesClusters.md)
|
262
261
|
|
263
262
|
### Authorization
|
264
263
|
|
@@ -274,9 +273,9 @@ Basic Authentication, Token Authentication
|
|
274
273
|
|
275
274
|
> String k8s_kubeconfig_get(k8s_cluster_id, opts)
|
276
275
|
|
277
|
-
Retrieve Kubernetes
|
276
|
+
Retrieve Kubernetes configuration files
|
278
277
|
|
279
|
-
|
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.
|
280
279
|
|
281
280
|
### Examples
|
282
281
|
|
@@ -296,15 +295,15 @@ Ionoscloud.configure do |config|
|
|
296
295
|
end
|
297
296
|
|
298
297
|
api_instance = Ionoscloud::KubernetesApi.new
|
299
|
-
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.
|
300
299
|
opts = {
|
301
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
302
|
-
depth: 56, # Integer | Controls the
|
303
|
-
x_contract_number: 56 # Integer | Users
|
300
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
302
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
304
303
|
}
|
305
304
|
|
306
305
|
begin
|
307
|
-
# Retrieve Kubernetes
|
306
|
+
# Retrieve Kubernetes configuration files
|
308
307
|
result = api_instance.k8s_kubeconfig_get(k8s_cluster_id, opts)
|
309
308
|
p result
|
310
309
|
rescue Ionoscloud::ApiError => e
|
@@ -320,7 +319,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
320
319
|
|
321
320
|
```ruby
|
322
321
|
begin
|
323
|
-
# Retrieve Kubernetes
|
322
|
+
# Retrieve Kubernetes configuration files
|
324
323
|
data, status_code, headers = api_instance.k8s_kubeconfig_get_with_http_info(k8s_cluster_id, opts)
|
325
324
|
p status_code # => 2xx
|
326
325
|
p headers # => { ... }
|
@@ -334,10 +333,10 @@ end
|
|
334
333
|
|
335
334
|
| Name | Type | Description | Notes |
|
336
335
|
| ---- | ---- | ----------- | ----- |
|
337
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
338
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
339
|
-
| **depth** | **Integer** | Controls the
|
340
|
-
| **x_contract_number** | **Integer** | Users
|
336
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
337
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
341
340
|
|
342
341
|
### Return type
|
343
342
|
|
@@ -355,11 +354,11 @@ Basic Authentication, Token Authentication
|
|
355
354
|
|
356
355
|
## k8s_nodepools_delete
|
357
356
|
|
358
|
-
>
|
357
|
+
> k8s_nodepools_delete(k8s_cluster_id, nodepool_id, opts)
|
359
358
|
|
360
|
-
Delete Kubernetes
|
359
|
+
Delete Kubernetes node pools
|
361
360
|
|
362
|
-
|
361
|
+
Delete the specified Kubernetes node pool.
|
363
362
|
|
364
363
|
### Examples
|
365
364
|
|
@@ -379,18 +378,17 @@ Ionoscloud.configure do |config|
|
|
379
378
|
end
|
380
379
|
|
381
380
|
api_instance = Ionoscloud::KubernetesApi.new
|
382
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
383
|
-
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.
|
384
383
|
opts = {
|
385
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
386
|
-
depth: 56, # Integer | Controls the
|
387
|
-
x_contract_number: 56 # Integer | Users
|
384
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
386
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
388
387
|
}
|
389
388
|
|
390
389
|
begin
|
391
|
-
# Delete Kubernetes
|
392
|
-
|
393
|
-
p result
|
390
|
+
# Delete Kubernetes node pools
|
391
|
+
api_instance.k8s_nodepools_delete(k8s_cluster_id, nodepool_id, opts)
|
394
392
|
rescue Ionoscloud::ApiError => e
|
395
393
|
puts "Error when calling KubernetesApi->k8s_nodepools_delete: #{e}"
|
396
394
|
end
|
@@ -398,17 +396,17 @@ end
|
|
398
396
|
|
399
397
|
#### Using the k8s_nodepools_delete_with_http_info variant
|
400
398
|
|
401
|
-
This returns an Array which contains the response data, status code and headers.
|
399
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
402
400
|
|
403
|
-
> <Array(
|
401
|
+
> <Array(nil, Integer, Hash)> k8s_nodepools_delete_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
404
402
|
|
405
403
|
```ruby
|
406
404
|
begin
|
407
|
-
# Delete Kubernetes
|
405
|
+
# Delete Kubernetes node pools
|
408
406
|
data, status_code, headers = api_instance.k8s_nodepools_delete_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
409
407
|
p status_code # => 2xx
|
410
408
|
p headers # => { ... }
|
411
|
-
p data # =>
|
409
|
+
p data # => nil
|
412
410
|
rescue Ionoscloud::ApiError => e
|
413
411
|
puts "Error when calling KubernetesApi->k8s_nodepools_delete_with_http_info: #{e}"
|
414
412
|
end
|
@@ -418,15 +416,15 @@ end
|
|
418
416
|
|
419
417
|
| Name | Type | Description | Notes |
|
420
418
|
| ---- | ---- | ----------- | ----- |
|
421
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
422
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
423
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
424
|
-
| **depth** | **Integer** | Controls the
|
425
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
426
424
|
|
427
425
|
### Return type
|
428
426
|
|
429
|
-
|
427
|
+
nil (empty response body)
|
430
428
|
|
431
429
|
### Authorization
|
432
430
|
|
@@ -442,9 +440,9 @@ Basic Authentication, Token Authentication
|
|
442
440
|
|
443
441
|
> <KubernetesNodePool> k8s_nodepools_find_by_id(k8s_cluster_id, nodepool_id, opts)
|
444
442
|
|
445
|
-
Retrieve Kubernetes
|
443
|
+
Retrieve Kubernetes node pools
|
446
444
|
|
447
|
-
|
445
|
+
Retrieve the specified Kubernetes node pool.
|
448
446
|
|
449
447
|
### Examples
|
450
448
|
|
@@ -464,16 +462,16 @@ Ionoscloud.configure do |config|
|
|
464
462
|
end
|
465
463
|
|
466
464
|
api_instance = Ionoscloud::KubernetesApi.new
|
467
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
468
|
-
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.
|
469
467
|
opts = {
|
470
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
471
|
-
depth: 56, # Integer | Controls the
|
472
|
-
x_contract_number: 56 # Integer | Users
|
468
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
470
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
473
471
|
}
|
474
472
|
|
475
473
|
begin
|
476
|
-
# Retrieve Kubernetes
|
474
|
+
# Retrieve Kubernetes node pools
|
477
475
|
result = api_instance.k8s_nodepools_find_by_id(k8s_cluster_id, nodepool_id, opts)
|
478
476
|
p result
|
479
477
|
rescue Ionoscloud::ApiError => e
|
@@ -489,7 +487,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
489
487
|
|
490
488
|
```ruby
|
491
489
|
begin
|
492
|
-
# Retrieve Kubernetes
|
490
|
+
# Retrieve Kubernetes node pools
|
493
491
|
data, status_code, headers = api_instance.k8s_nodepools_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
494
492
|
p status_code # => 2xx
|
495
493
|
p headers # => { ... }
|
@@ -503,15 +501,15 @@ end
|
|
503
501
|
|
504
502
|
| Name | Type | Description | Notes |
|
505
503
|
| ---- | ---- | ----------- | ----- |
|
506
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
507
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
508
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
509
|
-
| **depth** | **Integer** | Controls the
|
510
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
511
509
|
|
512
510
|
### Return type
|
513
511
|
|
514
|
-
[**KubernetesNodePool**](KubernetesNodePool.md)
|
512
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
515
513
|
|
516
514
|
### Authorization
|
517
515
|
|
@@ -527,9 +525,9 @@ Basic Authentication, Token Authentication
|
|
527
525
|
|
528
526
|
> <KubernetesNodePools> k8s_nodepools_get(k8s_cluster_id, opts)
|
529
527
|
|
530
|
-
List Kubernetes
|
528
|
+
List Kubernetes node pools
|
531
529
|
|
532
|
-
|
530
|
+
List all Kubernetes node pools, included the specified Kubernetes cluster.
|
533
531
|
|
534
532
|
### Examples
|
535
533
|
|
@@ -549,15 +547,15 @@ Ionoscloud.configure do |config|
|
|
549
547
|
end
|
550
548
|
|
551
549
|
api_instance = Ionoscloud::KubernetesApi.new
|
552
|
-
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.
|
553
551
|
opts = {
|
554
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
555
|
-
depth: 56, # Integer | Controls the
|
556
|
-
x_contract_number: 56 # Integer | Users
|
552
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
554
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
557
555
|
}
|
558
556
|
|
559
557
|
begin
|
560
|
-
# List Kubernetes
|
558
|
+
# List Kubernetes node pools
|
561
559
|
result = api_instance.k8s_nodepools_get(k8s_cluster_id, opts)
|
562
560
|
p result
|
563
561
|
rescue Ionoscloud::ApiError => e
|
@@ -573,7 +571,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
573
571
|
|
574
572
|
```ruby
|
575
573
|
begin
|
576
|
-
# List Kubernetes
|
574
|
+
# List Kubernetes node pools
|
577
575
|
data, status_code, headers = api_instance.k8s_nodepools_get_with_http_info(k8s_cluster_id, opts)
|
578
576
|
p status_code # => 2xx
|
579
577
|
p headers # => { ... }
|
@@ -587,14 +585,14 @@ end
|
|
587
585
|
|
588
586
|
| Name | Type | Description | Notes |
|
589
587
|
| ---- | ---- | ----------- | ----- |
|
590
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
591
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
592
|
-
| **depth** | **Integer** | Controls the
|
593
|
-
| **x_contract_number** | **Integer** | Users
|
588
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
589
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
594
592
|
|
595
593
|
### Return type
|
596
594
|
|
597
|
-
[**KubernetesNodePools**](KubernetesNodePools.md)
|
595
|
+
[**KubernetesNodePools**](../models/KubernetesNodePools.md)
|
598
596
|
|
599
597
|
### Authorization
|
600
598
|
|
@@ -608,11 +606,11 @@ Basic Authentication, Token Authentication
|
|
608
606
|
|
609
607
|
## k8s_nodepools_nodes_delete
|
610
608
|
|
611
|
-
>
|
609
|
+
> k8s_nodepools_nodes_delete(k8s_cluster_id, nodepool_id, node_id, opts)
|
612
610
|
|
613
|
-
Delete Kubernetes
|
611
|
+
Delete Kubernetes nodes
|
614
612
|
|
615
|
-
|
613
|
+
Delete the specified Kubernetes node.
|
616
614
|
|
617
615
|
### Examples
|
618
616
|
|
@@ -632,19 +630,18 @@ Ionoscloud.configure do |config|
|
|
632
630
|
end
|
633
631
|
|
634
632
|
api_instance = Ionoscloud::KubernetesApi.new
|
635
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
636
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
637
|
-
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.
|
638
636
|
opts = {
|
639
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
640
|
-
depth: 56, # Integer | Controls the
|
641
|
-
x_contract_number: 56 # Integer | Users
|
637
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
639
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
642
640
|
}
|
643
641
|
|
644
642
|
begin
|
645
|
-
# Delete Kubernetes
|
646
|
-
|
647
|
-
p result
|
643
|
+
# Delete Kubernetes nodes
|
644
|
+
api_instance.k8s_nodepools_nodes_delete(k8s_cluster_id, nodepool_id, node_id, opts)
|
648
645
|
rescue Ionoscloud::ApiError => e
|
649
646
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_delete: #{e}"
|
650
647
|
end
|
@@ -652,17 +649,17 @@ end
|
|
652
649
|
|
653
650
|
#### Using the k8s_nodepools_nodes_delete_with_http_info variant
|
654
651
|
|
655
|
-
This returns an Array which contains the response data, status code and headers.
|
652
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
656
653
|
|
657
|
-
> <Array(
|
654
|
+
> <Array(nil, Integer, Hash)> k8s_nodepools_nodes_delete_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
658
655
|
|
659
656
|
```ruby
|
660
657
|
begin
|
661
|
-
# Delete Kubernetes
|
658
|
+
# Delete Kubernetes nodes
|
662
659
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_delete_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
663
660
|
p status_code # => 2xx
|
664
661
|
p headers # => { ... }
|
665
|
-
p data # =>
|
662
|
+
p data # => nil
|
666
663
|
rescue Ionoscloud::ApiError => e
|
667
664
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_delete_with_http_info: #{e}"
|
668
665
|
end
|
@@ -672,16 +669,16 @@ end
|
|
672
669
|
|
673
670
|
| Name | Type | Description | Notes |
|
674
671
|
| ---- | ---- | ----------- | ----- |
|
675
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
676
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
677
|
-
| **node_id** | **String** | The unique ID of the Kubernetes node | |
|
678
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
679
|
-
| **depth** | **Integer** | Controls the
|
680
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
681
678
|
|
682
679
|
### Return type
|
683
680
|
|
684
|
-
|
681
|
+
nil (empty response body)
|
685
682
|
|
686
683
|
### Authorization
|
687
684
|
|
@@ -697,9 +694,9 @@ Basic Authentication, Token Authentication
|
|
697
694
|
|
698
695
|
> <KubernetesNode> k8s_nodepools_nodes_find_by_id(k8s_cluster_id, nodepool_id, node_id, opts)
|
699
696
|
|
700
|
-
Retrieve Kubernetes
|
697
|
+
Retrieve Kubernetes nodes
|
701
698
|
|
702
|
-
|
699
|
+
Retrieve the specified Kubernetes node.
|
703
700
|
|
704
701
|
### Examples
|
705
702
|
|
@@ -719,17 +716,17 @@ Ionoscloud.configure do |config|
|
|
719
716
|
end
|
720
717
|
|
721
718
|
api_instance = Ionoscloud::KubernetesApi.new
|
722
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
723
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
724
|
-
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.
|
725
722
|
opts = {
|
726
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
727
|
-
depth: 56, # Integer | Controls the
|
728
|
-
x_contract_number: 56 # Integer | Users
|
723
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
725
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
729
726
|
}
|
730
727
|
|
731
728
|
begin
|
732
|
-
# Retrieve Kubernetes
|
729
|
+
# Retrieve Kubernetes nodes
|
733
730
|
result = api_instance.k8s_nodepools_nodes_find_by_id(k8s_cluster_id, nodepool_id, node_id, opts)
|
734
731
|
p result
|
735
732
|
rescue Ionoscloud::ApiError => e
|
@@ -745,7 +742,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
745
742
|
|
746
743
|
```ruby
|
747
744
|
begin
|
748
|
-
# Retrieve Kubernetes
|
745
|
+
# Retrieve Kubernetes nodes
|
749
746
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
750
747
|
p status_code # => 2xx
|
751
748
|
p headers # => { ... }
|
@@ -759,16 +756,16 @@ end
|
|
759
756
|
|
760
757
|
| Name | Type | Description | Notes |
|
761
758
|
| ---- | ---- | ----------- | ----- |
|
762
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
763
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
764
|
-
| **node_id** | **String** | The unique ID of the Kubernetes
|
765
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
766
|
-
| **depth** | **Integer** | Controls the
|
767
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
768
765
|
|
769
766
|
### Return type
|
770
767
|
|
771
|
-
[**KubernetesNode**](KubernetesNode.md)
|
768
|
+
[**KubernetesNode**](../models/KubernetesNode.md)
|
772
769
|
|
773
770
|
### Authorization
|
774
771
|
|
@@ -784,9 +781,9 @@ Basic Authentication, Token Authentication
|
|
784
781
|
|
785
782
|
> <KubernetesNodes> k8s_nodepools_nodes_get(k8s_cluster_id, nodepool_id, opts)
|
786
783
|
|
787
|
-
|
784
|
+
List Kubernetes nodes
|
788
785
|
|
789
|
-
|
786
|
+
List all the nodes, included in the specified Kubernetes node pool.
|
790
787
|
|
791
788
|
### Examples
|
792
789
|
|
@@ -806,16 +803,16 @@ Ionoscloud.configure do |config|
|
|
806
803
|
end
|
807
804
|
|
808
805
|
api_instance = Ionoscloud::KubernetesApi.new
|
809
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
810
|
-
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.
|
811
808
|
opts = {
|
812
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
813
|
-
depth: 56, # Integer | Controls the
|
814
|
-
x_contract_number: 56 # Integer | Users
|
809
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
811
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
815
812
|
}
|
816
813
|
|
817
814
|
begin
|
818
|
-
#
|
815
|
+
# List Kubernetes nodes
|
819
816
|
result = api_instance.k8s_nodepools_nodes_get(k8s_cluster_id, nodepool_id, opts)
|
820
817
|
p result
|
821
818
|
rescue Ionoscloud::ApiError => e
|
@@ -831,7 +828,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
831
828
|
|
832
829
|
```ruby
|
833
830
|
begin
|
834
|
-
#
|
831
|
+
# List Kubernetes nodes
|
835
832
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_get_with_http_info(k8s_cluster_id, nodepool_id, opts)
|
836
833
|
p status_code # => 2xx
|
837
834
|
p headers # => { ... }
|
@@ -845,15 +842,15 @@ end
|
|
845
842
|
|
846
843
|
| Name | Type | Description | Notes |
|
847
844
|
| ---- | ---- | ----------- | ----- |
|
848
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
849
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
850
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
851
|
-
| **depth** | **Integer** | Controls the
|
852
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
853
850
|
|
854
851
|
### Return type
|
855
852
|
|
856
|
-
[**KubernetesNodes**](KubernetesNodes.md)
|
853
|
+
[**KubernetesNodes**](../models/KubernetesNodes.md)
|
857
854
|
|
858
855
|
### Authorization
|
859
856
|
|
@@ -867,11 +864,11 @@ Basic Authentication, Token Authentication
|
|
867
864
|
|
868
865
|
## k8s_nodepools_nodes_replace_post
|
869
866
|
|
870
|
-
>
|
867
|
+
> k8s_nodepools_nodes_replace_post(k8s_cluster_id, nodepool_id, node_id, opts)
|
871
868
|
|
872
|
-
Recreate
|
869
|
+
Recreate Kubernetes nodes
|
873
870
|
|
874
|
-
|
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.
|
875
872
|
|
876
873
|
### Examples
|
877
874
|
|
@@ -891,19 +888,18 @@ Ionoscloud.configure do |config|
|
|
891
888
|
end
|
892
889
|
|
893
890
|
api_instance = Ionoscloud::KubernetesApi.new
|
894
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
895
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
896
|
-
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.
|
897
894
|
opts = {
|
898
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
899
|
-
depth: 56, # Integer | Controls the
|
900
|
-
x_contract_number: 56 # Integer | Users
|
895
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
897
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
901
898
|
}
|
902
899
|
|
903
900
|
begin
|
904
|
-
# Recreate
|
905
|
-
|
906
|
-
p result
|
901
|
+
# Recreate Kubernetes nodes
|
902
|
+
api_instance.k8s_nodepools_nodes_replace_post(k8s_cluster_id, nodepool_id, node_id, opts)
|
907
903
|
rescue Ionoscloud::ApiError => e
|
908
904
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_replace_post: #{e}"
|
909
905
|
end
|
@@ -911,17 +907,17 @@ end
|
|
911
907
|
|
912
908
|
#### Using the k8s_nodepools_nodes_replace_post_with_http_info variant
|
913
909
|
|
914
|
-
This returns an Array which contains the response data, status code and headers.
|
910
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
915
911
|
|
916
|
-
> <Array(
|
912
|
+
> <Array(nil, Integer, Hash)> k8s_nodepools_nodes_replace_post_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
917
913
|
|
918
914
|
```ruby
|
919
915
|
begin
|
920
|
-
# Recreate
|
916
|
+
# Recreate Kubernetes nodes
|
921
917
|
data, status_code, headers = api_instance.k8s_nodepools_nodes_replace_post_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
|
922
918
|
p status_code # => 2xx
|
923
919
|
p headers # => { ... }
|
924
|
-
p data # =>
|
920
|
+
p data # => nil
|
925
921
|
rescue Ionoscloud::ApiError => e
|
926
922
|
puts "Error when calling KubernetesApi->k8s_nodepools_nodes_replace_post_with_http_info: #{e}"
|
927
923
|
end
|
@@ -931,16 +927,16 @@ end
|
|
931
927
|
|
932
928
|
| Name | Type | Description | Notes |
|
933
929
|
| ---- | ---- | ----------- | ----- |
|
934
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
935
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
936
|
-
| **node_id** | **String** | The unique ID of the Kubernetes
|
937
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
938
|
-
| **depth** | **Integer** | Controls the
|
939
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
940
936
|
|
941
937
|
### Return type
|
942
938
|
|
943
|
-
|
939
|
+
nil (empty response body)
|
944
940
|
|
945
941
|
### Authorization
|
946
942
|
|
@@ -956,9 +952,9 @@ Basic Authentication, Token Authentication
|
|
956
952
|
|
957
953
|
> <KubernetesNodePool> k8s_nodepools_post(k8s_cluster_id, kubernetes_node_pool, opts)
|
958
954
|
|
959
|
-
Create
|
955
|
+
Create Kubernetes node pools
|
960
956
|
|
961
|
-
|
957
|
+
Create a Kubernetes node pool inside the specified Kubernetes cluster.
|
962
958
|
|
963
959
|
### Examples
|
964
960
|
|
@@ -978,16 +974,16 @@ Ionoscloud.configure do |config|
|
|
978
974
|
end
|
979
975
|
|
980
976
|
api_instance = Ionoscloud::KubernetesApi.new
|
981
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
982
|
-
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.
|
983
979
|
opts = {
|
984
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
985
|
-
depth: 56, # Integer | Controls the
|
986
|
-
x_contract_number: 56 # Integer | Users
|
980
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
982
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
987
983
|
}
|
988
984
|
|
989
985
|
begin
|
990
|
-
# Create
|
986
|
+
# Create Kubernetes node pools
|
991
987
|
result = api_instance.k8s_nodepools_post(k8s_cluster_id, kubernetes_node_pool, opts)
|
992
988
|
p result
|
993
989
|
rescue Ionoscloud::ApiError => e
|
@@ -1003,7 +999,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1003
999
|
|
1004
1000
|
```ruby
|
1005
1001
|
begin
|
1006
|
-
# Create
|
1002
|
+
# Create Kubernetes node pools
|
1007
1003
|
data, status_code, headers = api_instance.k8s_nodepools_post_with_http_info(k8s_cluster_id, kubernetes_node_pool, opts)
|
1008
1004
|
p status_code # => 2xx
|
1009
1005
|
p headers # => { ... }
|
@@ -1017,15 +1013,15 @@ end
|
|
1017
1013
|
|
1018
1014
|
| Name | Type | Description | Notes |
|
1019
1015
|
| ---- | ---- | ----------- | ----- |
|
1020
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1021
|
-
| **kubernetes_node_pool** | [**
|
1022
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1023
|
-
| **depth** | **Integer** | Controls the
|
1024
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1025
1021
|
|
1026
1022
|
### Return type
|
1027
1023
|
|
1028
|
-
[**KubernetesNodePool**](KubernetesNodePool.md)
|
1024
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
1029
1025
|
|
1030
1026
|
### Authorization
|
1031
1027
|
|
@@ -1039,11 +1035,11 @@ Basic Authentication, Token Authentication
|
|
1039
1035
|
|
1040
1036
|
## k8s_nodepools_put
|
1041
1037
|
|
1042
|
-
> <
|
1038
|
+
> <KubernetesNodePool> k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1043
1039
|
|
1044
|
-
Modify Kubernetes
|
1040
|
+
Modify Kubernetes node pools
|
1045
1041
|
|
1046
|
-
|
1042
|
+
Modify the specified Kubernetes node pool.
|
1047
1043
|
|
1048
1044
|
### Examples
|
1049
1045
|
|
@@ -1063,17 +1059,17 @@ Ionoscloud.configure do |config|
|
|
1063
1059
|
end
|
1064
1060
|
|
1065
1061
|
api_instance = Ionoscloud::KubernetesApi.new
|
1066
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
1067
|
-
nodepool_id = 'nodepool_id_example' # String | The unique ID of the Kubernetes
|
1068
|
-
kubernetes_node_pool = Ionoscloud::
|
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
|
1069
1065
|
opts = {
|
1070
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1071
|
-
depth: 56, # Integer | Controls the
|
1072
|
-
x_contract_number: 56 # Integer | Users
|
1066
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
1068
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1073
1069
|
}
|
1074
1070
|
|
1075
1071
|
begin
|
1076
|
-
# Modify Kubernetes
|
1072
|
+
# Modify Kubernetes node pools
|
1077
1073
|
result = api_instance.k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1078
1074
|
p result
|
1079
1075
|
rescue Ionoscloud::ApiError => e
|
@@ -1085,15 +1081,15 @@ end
|
|
1085
1081
|
|
1086
1082
|
This returns an Array which contains the response data, status code and headers.
|
1087
1083
|
|
1088
|
-
> <Array(<
|
1084
|
+
> <Array(<KubernetesNodePool>, Integer, Hash)> k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1089
1085
|
|
1090
1086
|
```ruby
|
1091
1087
|
begin
|
1092
|
-
# Modify Kubernetes
|
1088
|
+
# Modify Kubernetes node pools
|
1093
1089
|
data, status_code, headers = api_instance.k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
|
1094
1090
|
p status_code # => 2xx
|
1095
1091
|
p headers # => { ... }
|
1096
|
-
p data # => <
|
1092
|
+
p data # => <KubernetesNodePool>
|
1097
1093
|
rescue Ionoscloud::ApiError => e
|
1098
1094
|
puts "Error when calling KubernetesApi->k8s_nodepools_put_with_http_info: #{e}"
|
1099
1095
|
end
|
@@ -1103,16 +1099,16 @@ end
|
|
1103
1099
|
|
1104
1100
|
| Name | Type | Description | Notes |
|
1105
1101
|
| ---- | ---- | ----------- | ----- |
|
1106
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1107
|
-
| **nodepool_id** | **String** | The unique ID of the Kubernetes
|
1108
|
-
| **kubernetes_node_pool** | [**
|
1109
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1110
|
-
| **depth** | **Integer** | Controls the
|
1111
|
-
| **x_contract_number** | **Integer** | Users
|
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
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1112
1108
|
|
1113
1109
|
### Return type
|
1114
1110
|
|
1115
|
-
[**
|
1111
|
+
[**KubernetesNodePool**](../models/KubernetesNodePool.md)
|
1116
1112
|
|
1117
1113
|
### Authorization
|
1118
1114
|
|
@@ -1128,9 +1124,9 @@ Basic Authentication, Token Authentication
|
|
1128
1124
|
|
1129
1125
|
> <KubernetesCluster> k8s_post(kubernetes_cluster, opts)
|
1130
1126
|
|
1131
|
-
Create Kubernetes
|
1127
|
+
Create Kubernetes clusters
|
1132
1128
|
|
1133
|
-
|
1129
|
+
Create a Kubernetes cluster.
|
1134
1130
|
|
1135
1131
|
### Examples
|
1136
1132
|
|
@@ -1150,15 +1146,15 @@ Ionoscloud.configure do |config|
|
|
1150
1146
|
end
|
1151
1147
|
|
1152
1148
|
api_instance = Ionoscloud::KubernetesApi.new
|
1153
|
-
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.
|
1154
1150
|
opts = {
|
1155
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1156
|
-
depth: 56, # Integer | Controls the
|
1157
|
-
x_contract_number: 56 # Integer | Users
|
1151
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
1153
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1158
1154
|
}
|
1159
1155
|
|
1160
1156
|
begin
|
1161
|
-
# Create Kubernetes
|
1157
|
+
# Create Kubernetes clusters
|
1162
1158
|
result = api_instance.k8s_post(kubernetes_cluster, opts)
|
1163
1159
|
p result
|
1164
1160
|
rescue Ionoscloud::ApiError => e
|
@@ -1174,7 +1170,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1174
1170
|
|
1175
1171
|
```ruby
|
1176
1172
|
begin
|
1177
|
-
# Create Kubernetes
|
1173
|
+
# Create Kubernetes clusters
|
1178
1174
|
data, status_code, headers = api_instance.k8s_post_with_http_info(kubernetes_cluster, opts)
|
1179
1175
|
p status_code # => 2xx
|
1180
1176
|
p headers # => { ... }
|
@@ -1188,14 +1184,14 @@ end
|
|
1188
1184
|
|
1189
1185
|
| Name | Type | Description | Notes |
|
1190
1186
|
| ---- | ---- | ----------- | ----- |
|
1191
|
-
| **kubernetes_cluster** | [**KubernetesClusterForPost**](KubernetesClusterForPost.md) |
|
1192
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1193
|
-
| **depth** | **Integer** | Controls the
|
1194
|
-
| **x_contract_number** | **Integer** | Users
|
1187
|
+
| **kubernetes_cluster** | [**KubernetesClusterForPost**](KubernetesClusterForPost.md) | The Kubernetes cluster to create. | |
|
1188
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1195
1191
|
|
1196
1192
|
### Return type
|
1197
1193
|
|
1198
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
1194
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
1199
1195
|
|
1200
1196
|
### Authorization
|
1201
1197
|
|
@@ -1211,9 +1207,9 @@ Basic Authentication, Token Authentication
|
|
1211
1207
|
|
1212
1208
|
> <KubernetesCluster> k8s_put(k8s_cluster_id, kubernetes_cluster, opts)
|
1213
1209
|
|
1214
|
-
Modify Kubernetes
|
1210
|
+
Modify Kubernetes clusters
|
1215
1211
|
|
1216
|
-
|
1212
|
+
Modify the specified Kubernetes cluster.
|
1217
1213
|
|
1218
1214
|
### Examples
|
1219
1215
|
|
@@ -1233,16 +1229,16 @@ Ionoscloud.configure do |config|
|
|
1233
1229
|
end
|
1234
1230
|
|
1235
1231
|
api_instance = Ionoscloud::KubernetesApi.new
|
1236
|
-
k8s_cluster_id = 'k8s_cluster_id_example' # String | The unique ID of the Kubernetes
|
1237
|
-
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.
|
1238
1234
|
opts = {
|
1239
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1240
|
-
depth: 56, # Integer | Controls the
|
1241
|
-
x_contract_number: 56 # Integer | Users
|
1235
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
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
|
1237
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1242
1238
|
}
|
1243
1239
|
|
1244
1240
|
begin
|
1245
|
-
# Modify Kubernetes
|
1241
|
+
# Modify Kubernetes clusters
|
1246
1242
|
result = api_instance.k8s_put(k8s_cluster_id, kubernetes_cluster, opts)
|
1247
1243
|
p result
|
1248
1244
|
rescue Ionoscloud::ApiError => e
|
@@ -1258,7 +1254,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1258
1254
|
|
1259
1255
|
```ruby
|
1260
1256
|
begin
|
1261
|
-
# Modify Kubernetes
|
1257
|
+
# Modify Kubernetes clusters
|
1262
1258
|
data, status_code, headers = api_instance.k8s_put_with_http_info(k8s_cluster_id, kubernetes_cluster, opts)
|
1263
1259
|
p status_code # => 2xx
|
1264
1260
|
p headers # => { ... }
|
@@ -1272,15 +1268,15 @@ end
|
|
1272
1268
|
|
1273
1269
|
| Name | Type | Description | Notes |
|
1274
1270
|
| ---- | ---- | ----------- | ----- |
|
1275
|
-
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes
|
1276
|
-
| **kubernetes_cluster** | [**KubernetesClusterForPut**](KubernetesClusterForPut.md) |
|
1277
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1278
|
-
| **depth** | **Integer** | Controls the
|
1279
|
-
| **x_contract_number** | **Integer** | Users
|
1271
|
+
| **k8s_cluster_id** | **String** | The unique ID of the Kubernetes cluster. | |
|
1272
|
+
| **kubernetes_cluster** | [**KubernetesClusterForPut**](KubernetesClusterForPut.md) | The modified Kubernetes cluster. | |
|
1273
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
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
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1280
1276
|
|
1281
1277
|
### Return type
|
1282
1278
|
|
1283
|
-
[**KubernetesCluster**](KubernetesCluster.md)
|
1279
|
+
[**KubernetesCluster**](../models/KubernetesCluster.md)
|
1284
1280
|
|
1285
1281
|
### Authorization
|
1286
1282
|
|
@@ -1296,9 +1292,9 @@ Basic Authentication, Token Authentication
|
|
1296
1292
|
|
1297
1293
|
> String k8s_versions_default_get
|
1298
1294
|
|
1299
|
-
Retrieve
|
1295
|
+
Retrieve current default Kubernetes version
|
1300
1296
|
|
1301
|
-
|
1297
|
+
Retrieve current default Kubernetes version for clusters and nodepools.
|
1302
1298
|
|
1303
1299
|
### Examples
|
1304
1300
|
|
@@ -1320,7 +1316,7 @@ end
|
|
1320
1316
|
api_instance = Ionoscloud::KubernetesApi.new
|
1321
1317
|
|
1322
1318
|
begin
|
1323
|
-
# Retrieve
|
1319
|
+
# Retrieve current default Kubernetes version
|
1324
1320
|
result = api_instance.k8s_versions_default_get
|
1325
1321
|
p result
|
1326
1322
|
rescue Ionoscloud::ApiError => e
|
@@ -1336,7 +1332,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1336
1332
|
|
1337
1333
|
```ruby
|
1338
1334
|
begin
|
1339
|
-
# Retrieve
|
1335
|
+
# Retrieve current default Kubernetes version
|
1340
1336
|
data, status_code, headers = api_instance.k8s_versions_default_get_with_http_info
|
1341
1337
|
p status_code # => 2xx
|
1342
1338
|
p headers # => { ... }
|
@@ -1368,9 +1364,9 @@ Basic Authentication, Token Authentication
|
|
1368
1364
|
|
1369
1365
|
> Array<String> k8s_versions_get
|
1370
1366
|
|
1371
|
-
|
1367
|
+
List Kubernetes versions
|
1372
1368
|
|
1373
|
-
|
1369
|
+
List available Kubernetes versions.
|
1374
1370
|
|
1375
1371
|
### Examples
|
1376
1372
|
|
@@ -1392,7 +1388,7 @@ end
|
|
1392
1388
|
api_instance = Ionoscloud::KubernetesApi.new
|
1393
1389
|
|
1394
1390
|
begin
|
1395
|
-
#
|
1391
|
+
# List Kubernetes versions
|
1396
1392
|
result = api_instance.k8s_versions_get
|
1397
1393
|
p result
|
1398
1394
|
rescue Ionoscloud::ApiError => e
|
@@ -1408,7 +1404,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1408
1404
|
|
1409
1405
|
```ruby
|
1410
1406
|
begin
|
1411
|
-
#
|
1407
|
+
# List Kubernetes versions
|
1412
1408
|
data, status_code, headers = api_instance.k8s_versions_get_with_http_info
|
1413
1409
|
p status_code # => 2xx
|
1414
1410
|
p headers # => { ... }
|