ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_bucket_spec.rb +0 -34
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
data/docs/api/ServersApi.md
CHANGED
@@ -4,37 +4,37 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**datacenters_servers_cdroms_delete**](ServersApi.md#datacenters_servers_cdroms_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Detach
|
8
|
-
| [**datacenters_servers_cdroms_find_by_id**](ServersApi.md#datacenters_servers_cdroms_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Retrieve
|
7
|
+
| [**datacenters_servers_cdroms_delete**](ServersApi.md#datacenters_servers_cdroms_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Detach CD-ROMs |
|
8
|
+
| [**datacenters_servers_cdroms_find_by_id**](ServersApi.md#datacenters_servers_cdroms_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Retrieve attached CD-ROMs |
|
9
9
|
| [**datacenters_servers_cdroms_get**](ServersApi.md#datacenters_servers_cdroms_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms | List attached CD-ROMs |
|
10
|
-
| [**datacenters_servers_cdroms_post**](ServersApi.md#datacenters_servers_cdroms_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/cdroms | Attach
|
11
|
-
| [**datacenters_servers_delete**](ServersApi.md#datacenters_servers_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId} | Delete
|
12
|
-
| [**datacenters_servers_find_by_id**](ServersApi.md#datacenters_servers_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId} | Retrieve
|
13
|
-
| [**datacenters_servers_get**](ServersApi.md#datacenters_servers_get) | **GET** /datacenters/{datacenterId}/servers | List
|
14
|
-
| [**datacenters_servers_patch**](ServersApi.md#datacenters_servers_patch) | **PATCH** /datacenters/{datacenterId}/servers/{serverId} | Partially modify
|
15
|
-
| [**datacenters_servers_post**](ServersApi.md#datacenters_servers_post) | **POST** /datacenters/{datacenterId}/servers | Create
|
16
|
-
| [**datacenters_servers_put**](ServersApi.md#datacenters_servers_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId} | Modify
|
17
|
-
| [**datacenters_servers_reboot_post**](ServersApi.md#datacenters_servers_reboot_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/reboot | Reboot
|
18
|
-
| [**datacenters_servers_remote_console_get**](ServersApi.md#datacenters_servers_remote_console_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/remoteconsole | Get
|
19
|
-
| [**datacenters_servers_resume_post**](ServersApi.md#datacenters_servers_resume_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/resume | Resume
|
20
|
-
| [**datacenters_servers_start_post**](ServersApi.md#datacenters_servers_start_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/start | Start
|
21
|
-
| [**datacenters_servers_stop_post**](ServersApi.md#datacenters_servers_stop_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/stop | Stop
|
22
|
-
| [**datacenters_servers_suspend_post**](ServersApi.md#datacenters_servers_suspend_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/suspend | Suspend
|
23
|
-
| [**datacenters_servers_token_get**](ServersApi.md#datacenters_servers_token_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/token | Get
|
24
|
-
| [**datacenters_servers_upgrade_post**](ServersApi.md#datacenters_servers_upgrade_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/upgrade | Upgrade
|
25
|
-
| [**datacenters_servers_volumes_delete**](ServersApi.md#datacenters_servers_volumes_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Detach
|
26
|
-
| [**datacenters_servers_volumes_find_by_id**](ServersApi.md#datacenters_servers_volumes_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Retrieve
|
27
|
-
| [**datacenters_servers_volumes_get**](ServersApi.md#datacenters_servers_volumes_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes | List
|
28
|
-
| [**datacenters_servers_volumes_post**](ServersApi.md#datacenters_servers_volumes_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/volumes | Attach
|
10
|
+
| [**datacenters_servers_cdroms_post**](ServersApi.md#datacenters_servers_cdroms_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/cdroms | Attach CD-ROMs |
|
11
|
+
| [**datacenters_servers_delete**](ServersApi.md#datacenters_servers_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId} | Delete servers |
|
12
|
+
| [**datacenters_servers_find_by_id**](ServersApi.md#datacenters_servers_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId} | Retrieve servers by ID |
|
13
|
+
| [**datacenters_servers_get**](ServersApi.md#datacenters_servers_get) | **GET** /datacenters/{datacenterId}/servers | List servers |
|
14
|
+
| [**datacenters_servers_patch**](ServersApi.md#datacenters_servers_patch) | **PATCH** /datacenters/{datacenterId}/servers/{serverId} | Partially modify servers |
|
15
|
+
| [**datacenters_servers_post**](ServersApi.md#datacenters_servers_post) | **POST** /datacenters/{datacenterId}/servers | Create servers |
|
16
|
+
| [**datacenters_servers_put**](ServersApi.md#datacenters_servers_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId} | Modify servers |
|
17
|
+
| [**datacenters_servers_reboot_post**](ServersApi.md#datacenters_servers_reboot_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/reboot | Reboot servers |
|
18
|
+
| [**datacenters_servers_remote_console_get**](ServersApi.md#datacenters_servers_remote_console_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/remoteconsole | Get Remote Console link |
|
19
|
+
| [**datacenters_servers_resume_post**](ServersApi.md#datacenters_servers_resume_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/resume | Resume Cubes instances |
|
20
|
+
| [**datacenters_servers_start_post**](ServersApi.md#datacenters_servers_start_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/start | Start servers |
|
21
|
+
| [**datacenters_servers_stop_post**](ServersApi.md#datacenters_servers_stop_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/stop | Stop VMs |
|
22
|
+
| [**datacenters_servers_suspend_post**](ServersApi.md#datacenters_servers_suspend_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/suspend | Suspend Cubes instances |
|
23
|
+
| [**datacenters_servers_token_get**](ServersApi.md#datacenters_servers_token_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/token | Get JASON Web Token |
|
24
|
+
| [**datacenters_servers_upgrade_post**](ServersApi.md#datacenters_servers_upgrade_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/upgrade | Upgrade servers |
|
25
|
+
| [**datacenters_servers_volumes_delete**](ServersApi.md#datacenters_servers_volumes_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Detach volumes |
|
26
|
+
| [**datacenters_servers_volumes_find_by_id**](ServersApi.md#datacenters_servers_volumes_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Retrieve attached volumes |
|
27
|
+
| [**datacenters_servers_volumes_get**](ServersApi.md#datacenters_servers_volumes_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes | List attached volumes |
|
28
|
+
| [**datacenters_servers_volumes_post**](ServersApi.md#datacenters_servers_volumes_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/volumes | Attach volumes |
|
29
29
|
|
30
30
|
|
31
31
|
## datacenters_servers_cdroms_delete
|
32
32
|
|
33
33
|
> datacenters_servers_cdroms_delete(datacenter_id, server_id, cdrom_id, opts)
|
34
34
|
|
35
|
-
Detach
|
35
|
+
Detach CD-ROMs
|
36
36
|
|
37
|
-
|
37
|
+
Detach the specified CD-ROM from the server.
|
38
38
|
|
39
39
|
### Examples
|
40
40
|
|
@@ -55,8 +55,8 @@ end
|
|
55
55
|
|
56
56
|
api_instance = Ionoscloud::ServersApi.new
|
57
57
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
58
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
59
|
-
cdrom_id = 'cdrom_id_example' # String | The unique ID of the CD-ROM
|
58
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
59
|
+
cdrom_id = 'cdrom_id_example' # String | The unique ID of the CD-ROM.
|
60
60
|
opts = {
|
61
61
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
62
62
|
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
|
@@ -64,7 +64,7 @@ opts = {
|
|
64
64
|
}
|
65
65
|
|
66
66
|
begin
|
67
|
-
# Detach
|
67
|
+
# Detach CD-ROMs
|
68
68
|
api_instance.datacenters_servers_cdroms_delete(datacenter_id, server_id, cdrom_id, opts)
|
69
69
|
rescue Ionoscloud::ApiError => e
|
70
70
|
puts "Error when calling ServersApi->datacenters_servers_cdroms_delete: #{e}"
|
@@ -79,7 +79,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
79
79
|
|
80
80
|
```ruby
|
81
81
|
begin
|
82
|
-
# Detach
|
82
|
+
# Detach CD-ROMs
|
83
83
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_delete_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
84
84
|
p status_code # => 2xx
|
85
85
|
p headers # => { ... }
|
@@ -94,8 +94,8 @@ end
|
|
94
94
|
| Name | Type | Description | Notes |
|
95
95
|
| ---- | ---- | ----------- | ----- |
|
96
96
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
97
|
-
| **server_id** | **String** | The unique ID of the
|
98
|
-
| **cdrom_id** | **String** | The unique ID of the CD-ROM | |
|
97
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
98
|
+
| **cdrom_id** | **String** | The unique ID of the CD-ROM. | |
|
99
99
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
100
100
|
| **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] |
|
101
101
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -118,9 +118,9 @@ Basic Authentication, Token Authentication
|
|
118
118
|
|
119
119
|
> <Image> datacenters_servers_cdroms_find_by_id(datacenter_id, server_id, cdrom_id, opts)
|
120
120
|
|
121
|
-
Retrieve
|
121
|
+
Retrieve attached CD-ROMs
|
122
122
|
|
123
|
-
|
123
|
+
Retrieve the properties of the CD-ROM, attached to the specified server.
|
124
124
|
|
125
125
|
### Examples
|
126
126
|
|
@@ -141,8 +141,8 @@ end
|
|
141
141
|
|
142
142
|
api_instance = Ionoscloud::ServersApi.new
|
143
143
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
144
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
145
|
-
cdrom_id = 'cdrom_id_example' # String | The unique ID of the CD-ROM
|
144
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
145
|
+
cdrom_id = 'cdrom_id_example' # String | The unique ID of the CD-ROM.
|
146
146
|
opts = {
|
147
147
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
148
148
|
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
|
@@ -150,7 +150,7 @@ opts = {
|
|
150
150
|
}
|
151
151
|
|
152
152
|
begin
|
153
|
-
# Retrieve
|
153
|
+
# Retrieve attached CD-ROMs
|
154
154
|
result = api_instance.datacenters_servers_cdroms_find_by_id(datacenter_id, server_id, cdrom_id, opts)
|
155
155
|
p result
|
156
156
|
rescue Ionoscloud::ApiError => e
|
@@ -166,7 +166,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
166
166
|
|
167
167
|
```ruby
|
168
168
|
begin
|
169
|
-
# Retrieve
|
169
|
+
# Retrieve attached CD-ROMs
|
170
170
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_find_by_id_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
171
171
|
p status_code # => 2xx
|
172
172
|
p headers # => { ... }
|
@@ -181,15 +181,15 @@ end
|
|
181
181
|
| Name | Type | Description | Notes |
|
182
182
|
| ---- | ---- | ----------- | ----- |
|
183
183
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
184
|
-
| **server_id** | **String** | The unique ID of the
|
185
|
-
| **cdrom_id** | **String** | The unique ID of the CD-ROM | |
|
184
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
185
|
+
| **cdrom_id** | **String** | The unique ID of the CD-ROM. | |
|
186
186
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
187
187
|
| **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] |
|
188
188
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
189
189
|
|
190
190
|
### Return type
|
191
191
|
|
192
|
-
[**Image**](Image.md)
|
192
|
+
[**Image**](../models/Image.md)
|
193
193
|
|
194
194
|
### Authorization
|
195
195
|
|
@@ -207,7 +207,7 @@ Basic Authentication, Token Authentication
|
|
207
207
|
|
208
208
|
List attached CD-ROMs
|
209
209
|
|
210
|
-
|
210
|
+
List all CD-ROMs, attached to the specified server.
|
211
211
|
|
212
212
|
### Examples
|
213
213
|
|
@@ -228,7 +228,7 @@ end
|
|
228
228
|
|
229
229
|
api_instance = Ionoscloud::ServersApi.new
|
230
230
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
231
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
231
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
232
232
|
opts = {
|
233
233
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
234
234
|
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
|
@@ -269,7 +269,7 @@ end
|
|
269
269
|
| Name | Type | Description | Notes |
|
270
270
|
| ---- | ---- | ----------- | ----- |
|
271
271
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
272
|
-
| **server_id** | **String** | The unique ID of the
|
272
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
273
273
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
274
274
|
| **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] |
|
275
275
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -278,7 +278,7 @@ end
|
|
278
278
|
|
279
279
|
### Return type
|
280
280
|
|
281
|
-
[**Cdroms**](Cdroms.md)
|
281
|
+
[**Cdroms**](../models/Cdroms.md)
|
282
282
|
|
283
283
|
### Authorization
|
284
284
|
|
@@ -294,9 +294,9 @@ Basic Authentication, Token Authentication
|
|
294
294
|
|
295
295
|
> <Image> datacenters_servers_cdroms_post(datacenter_id, server_id, cdrom, opts)
|
296
296
|
|
297
|
-
Attach
|
297
|
+
Attach CD-ROMs
|
298
298
|
|
299
|
-
|
299
|
+
Attach a CD-ROM to an existing server. Up to two CD-ROMs can be attached to the same server.
|
300
300
|
|
301
301
|
### Examples
|
302
302
|
|
@@ -317,8 +317,8 @@ end
|
|
317
317
|
|
318
318
|
api_instance = Ionoscloud::ServersApi.new
|
319
319
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
320
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
321
|
-
cdrom = Ionoscloud::Image.new({properties: Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'})}) # Image | CD-ROM to be attached
|
320
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
321
|
+
cdrom = Ionoscloud::Image.new({properties: Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'})}) # Image | The CD-ROM to be attached.
|
322
322
|
opts = {
|
323
323
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
324
324
|
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
|
@@ -326,7 +326,7 @@ opts = {
|
|
326
326
|
}
|
327
327
|
|
328
328
|
begin
|
329
|
-
# Attach
|
329
|
+
# Attach CD-ROMs
|
330
330
|
result = api_instance.datacenters_servers_cdroms_post(datacenter_id, server_id, cdrom, opts)
|
331
331
|
p result
|
332
332
|
rescue Ionoscloud::ApiError => e
|
@@ -342,7 +342,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
342
342
|
|
343
343
|
```ruby
|
344
344
|
begin
|
345
|
-
# Attach
|
345
|
+
# Attach CD-ROMs
|
346
346
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_post_with_http_info(datacenter_id, server_id, cdrom, opts)
|
347
347
|
p status_code # => 2xx
|
348
348
|
p headers # => { ... }
|
@@ -357,15 +357,15 @@ end
|
|
357
357
|
| Name | Type | Description | Notes |
|
358
358
|
| ---- | ---- | ----------- | ----- |
|
359
359
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
360
|
-
| **server_id** | **String** | The unique ID of the
|
361
|
-
| **cdrom** | [**Image**](Image.md) | CD-ROM to be attached | |
|
360
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
361
|
+
| **cdrom** | [**Image**](Image.md) | The CD-ROM to be attached. | |
|
362
362
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
363
363
|
| **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] |
|
364
364
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
365
365
|
|
366
366
|
### Return type
|
367
367
|
|
368
|
-
[**Image**](Image.md)
|
368
|
+
[**Image**](../models/Image.md)
|
369
369
|
|
370
370
|
### Authorization
|
371
371
|
|
@@ -381,9 +381,9 @@ Basic Authentication, Token Authentication
|
|
381
381
|
|
382
382
|
> datacenters_servers_delete(datacenter_id, server_id, opts)
|
383
383
|
|
384
|
-
Delete
|
384
|
+
Delete servers
|
385
385
|
|
386
|
-
|
386
|
+
Delete the specified server in your data center. The attached storage volumes will not be removed — a separate API call must be made for these actions.
|
387
387
|
|
388
388
|
### Examples
|
389
389
|
|
@@ -404,7 +404,7 @@ end
|
|
404
404
|
|
405
405
|
api_instance = Ionoscloud::ServersApi.new
|
406
406
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
407
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
407
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
408
408
|
opts = {
|
409
409
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
410
410
|
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
|
@@ -412,7 +412,7 @@ opts = {
|
|
412
412
|
}
|
413
413
|
|
414
414
|
begin
|
415
|
-
# Delete
|
415
|
+
# Delete servers
|
416
416
|
api_instance.datacenters_servers_delete(datacenter_id, server_id, opts)
|
417
417
|
rescue Ionoscloud::ApiError => e
|
418
418
|
puts "Error when calling ServersApi->datacenters_servers_delete: #{e}"
|
@@ -427,7 +427,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
427
427
|
|
428
428
|
```ruby
|
429
429
|
begin
|
430
|
-
# Delete
|
430
|
+
# Delete servers
|
431
431
|
data, status_code, headers = api_instance.datacenters_servers_delete_with_http_info(datacenter_id, server_id, opts)
|
432
432
|
p status_code # => 2xx
|
433
433
|
p headers # => { ... }
|
@@ -442,7 +442,7 @@ end
|
|
442
442
|
| Name | Type | Description | Notes |
|
443
443
|
| ---- | ---- | ----------- | ----- |
|
444
444
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
445
|
-
| **server_id** | **String** | The unique ID of the
|
445
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
446
446
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
447
447
|
| **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] |
|
448
448
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -465,9 +465,9 @@ Basic Authentication, Token Authentication
|
|
465
465
|
|
466
466
|
> <Server> datacenters_servers_find_by_id(datacenter_id, server_id, opts)
|
467
467
|
|
468
|
-
Retrieve
|
468
|
+
Retrieve servers by ID
|
469
469
|
|
470
|
-
|
470
|
+
Retrieve information about the specified server within the data center, such as its configuration, provisioning status, and so on.
|
471
471
|
|
472
472
|
### Examples
|
473
473
|
|
@@ -488,7 +488,7 @@ end
|
|
488
488
|
|
489
489
|
api_instance = Ionoscloud::ServersApi.new
|
490
490
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
491
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
491
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
492
492
|
opts = {
|
493
493
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
494
494
|
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
|
@@ -496,7 +496,7 @@ opts = {
|
|
496
496
|
}
|
497
497
|
|
498
498
|
begin
|
499
|
-
# Retrieve
|
499
|
+
# Retrieve servers by ID
|
500
500
|
result = api_instance.datacenters_servers_find_by_id(datacenter_id, server_id, opts)
|
501
501
|
p result
|
502
502
|
rescue Ionoscloud::ApiError => e
|
@@ -512,7 +512,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
512
512
|
|
513
513
|
```ruby
|
514
514
|
begin
|
515
|
-
# Retrieve
|
515
|
+
# Retrieve servers by ID
|
516
516
|
data, status_code, headers = api_instance.datacenters_servers_find_by_id_with_http_info(datacenter_id, server_id, opts)
|
517
517
|
p status_code # => 2xx
|
518
518
|
p headers # => { ... }
|
@@ -527,14 +527,14 @@ end
|
|
527
527
|
| Name | Type | Description | Notes |
|
528
528
|
| ---- | ---- | ----------- | ----- |
|
529
529
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
530
|
-
| **server_id** | **String** | The unique ID of the
|
530
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
531
531
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
532
532
|
| **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] |
|
533
533
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
534
534
|
|
535
535
|
### Return type
|
536
536
|
|
537
|
-
[**Server**](Server.md)
|
537
|
+
[**Server**](../models/Server.md)
|
538
538
|
|
539
539
|
### Authorization
|
540
540
|
|
@@ -550,9 +550,9 @@ Basic Authentication, Token Authentication
|
|
550
550
|
|
551
551
|
> <Servers> datacenters_servers_get(datacenter_id, opts)
|
552
552
|
|
553
|
-
List
|
553
|
+
List servers
|
554
554
|
|
555
|
-
|
555
|
+
List all servers within the data center.
|
556
556
|
|
557
557
|
### Examples
|
558
558
|
|
@@ -576,14 +576,14 @@ datacenter_id = 'datacenter_id_example' # String | The unique ID of the data cen
|
|
576
576
|
opts = {
|
577
577
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
578
578
|
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
|
579
|
-
upgrade_needed: true, # Boolean |
|
579
|
+
upgrade_needed: true, # Boolean | Filter servers that can or that cannot be upgraded.
|
580
580
|
x_contract_number: 56, # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
581
581
|
offset: 56, # Integer | The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
|
582
582
|
limit: 56 # Integer | The maximum number of elements to return (use together with offset for pagination).
|
583
583
|
}
|
584
584
|
|
585
585
|
begin
|
586
|
-
# List
|
586
|
+
# List servers
|
587
587
|
result = api_instance.datacenters_servers_get(datacenter_id, opts)
|
588
588
|
p result
|
589
589
|
rescue Ionoscloud::ApiError => e
|
@@ -599,7 +599,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
599
599
|
|
600
600
|
```ruby
|
601
601
|
begin
|
602
|
-
# List
|
602
|
+
# List servers
|
603
603
|
data, status_code, headers = api_instance.datacenters_servers_get_with_http_info(datacenter_id, opts)
|
604
604
|
p status_code # => 2xx
|
605
605
|
p headers # => { ... }
|
@@ -616,14 +616,14 @@ end
|
|
616
616
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
617
617
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
618
618
|
| **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] |
|
619
|
-
| **upgrade_needed** | **Boolean** |
|
619
|
+
| **upgrade_needed** | **Boolean** | Filter servers that can or that cannot be upgraded. | [optional] |
|
620
620
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
621
621
|
| **offset** | **Integer** | The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). | [optional][default to 0] |
|
622
622
|
| **limit** | **Integer** | The maximum number of elements to return (use together with offset for pagination). | [optional][default to 1000] |
|
623
623
|
|
624
624
|
### Return type
|
625
625
|
|
626
|
-
[**Servers**](Servers.md)
|
626
|
+
[**Servers**](../models/Servers.md)
|
627
627
|
|
628
628
|
### Authorization
|
629
629
|
|
@@ -639,9 +639,9 @@ Basic Authentication, Token Authentication
|
|
639
639
|
|
640
640
|
> <Server> datacenters_servers_patch(datacenter_id, server_id, server, opts)
|
641
641
|
|
642
|
-
Partially modify
|
642
|
+
Partially modify servers
|
643
643
|
|
644
|
-
|
644
|
+
Update the properties of the specified server within the data center.
|
645
645
|
|
646
646
|
### Examples
|
647
647
|
|
@@ -662,8 +662,8 @@ end
|
|
662
662
|
|
663
663
|
api_instance = Ionoscloud::ServersApi.new
|
664
664
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
665
|
-
server_id = 'server_id_example' # String | The unique ID of the server
|
666
|
-
server = Ionoscloud::ServerProperties.new({cores: 4, ram: 4096}) # ServerProperties |
|
665
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
666
|
+
server = Ionoscloud::ServerProperties.new({cores: 4, ram: 4096}) # ServerProperties | The properties of the server to be updated.
|
667
667
|
opts = {
|
668
668
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
669
669
|
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
|
@@ -671,7 +671,7 @@ opts = {
|
|
671
671
|
}
|
672
672
|
|
673
673
|
begin
|
674
|
-
# Partially modify
|
674
|
+
# Partially modify servers
|
675
675
|
result = api_instance.datacenters_servers_patch(datacenter_id, server_id, server, opts)
|
676
676
|
p result
|
677
677
|
rescue Ionoscloud::ApiError => e
|
@@ -687,7 +687,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
687
687
|
|
688
688
|
```ruby
|
689
689
|
begin
|
690
|
-
# Partially modify
|
690
|
+
# Partially modify servers
|
691
691
|
data, status_code, headers = api_instance.datacenters_servers_patch_with_http_info(datacenter_id, server_id, server, opts)
|
692
692
|
p status_code # => 2xx
|
693
693
|
p headers # => { ... }
|
@@ -702,15 +702,15 @@ end
|
|
702
702
|
| Name | Type | Description | Notes |
|
703
703
|
| ---- | ---- | ----------- | ----- |
|
704
704
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
705
|
-
| **server_id** | **String** | The unique ID of the server | |
|
706
|
-
| **server** | [**ServerProperties**](ServerProperties.md) |
|
705
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
706
|
+
| **server** | [**ServerProperties**](ServerProperties.md) | The properties of the server to be updated. | |
|
707
707
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
708
708
|
| **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] |
|
709
709
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
710
710
|
|
711
711
|
### Return type
|
712
712
|
|
713
|
-
[**Server**](Server.md)
|
713
|
+
[**Server**](../models/Server.md)
|
714
714
|
|
715
715
|
### Authorization
|
716
716
|
|
@@ -726,9 +726,9 @@ Basic Authentication, Token Authentication
|
|
726
726
|
|
727
727
|
> <Server> datacenters_servers_post(datacenter_id, server, opts)
|
728
728
|
|
729
|
-
Create
|
729
|
+
Create servers
|
730
730
|
|
731
|
-
|
731
|
+
Create a server within the specified data center. You can also use this request to configure the boot volumes and connect to existing LANs at the same time.
|
732
732
|
|
733
733
|
### Examples
|
734
734
|
|
@@ -749,7 +749,7 @@ end
|
|
749
749
|
|
750
750
|
api_instance = Ionoscloud::ServersApi.new
|
751
751
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
752
|
-
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new({cores: 4, ram: 4096})}) # Server |
|
752
|
+
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new({cores: 4, ram: 4096})}) # Server | The server to create.
|
753
753
|
opts = {
|
754
754
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
755
755
|
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
|
@@ -757,7 +757,7 @@ opts = {
|
|
757
757
|
}
|
758
758
|
|
759
759
|
begin
|
760
|
-
# Create
|
760
|
+
# Create servers
|
761
761
|
result = api_instance.datacenters_servers_post(datacenter_id, server, opts)
|
762
762
|
p result
|
763
763
|
rescue Ionoscloud::ApiError => e
|
@@ -773,7 +773,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
773
773
|
|
774
774
|
```ruby
|
775
775
|
begin
|
776
|
-
# Create
|
776
|
+
# Create servers
|
777
777
|
data, status_code, headers = api_instance.datacenters_servers_post_with_http_info(datacenter_id, server, opts)
|
778
778
|
p status_code # => 2xx
|
779
779
|
p headers # => { ... }
|
@@ -788,14 +788,14 @@ end
|
|
788
788
|
| Name | Type | Description | Notes |
|
789
789
|
| ---- | ---- | ----------- | ----- |
|
790
790
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
791
|
-
| **server** | [**Server**](Server.md) |
|
791
|
+
| **server** | [**Server**](Server.md) | The server to create. | |
|
792
792
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
793
793
|
| **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] |
|
794
794
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
795
795
|
|
796
796
|
### Return type
|
797
797
|
|
798
|
-
[**Server**](Server.md)
|
798
|
+
[**Server**](../models/Server.md)
|
799
799
|
|
800
800
|
### Authorization
|
801
801
|
|
@@ -811,9 +811,9 @@ Basic Authentication, Token Authentication
|
|
811
811
|
|
812
812
|
> <Server> datacenters_servers_put(datacenter_id, server_id, server, opts)
|
813
813
|
|
814
|
-
Modify
|
814
|
+
Modify servers
|
815
815
|
|
816
|
-
|
816
|
+
Modify the properties of the specified server within the data center. Starting with v5, the 'allowReboot' attribute is retired; while previously required for changing certain server properties, this behavior is now implicit, and the backend will perform this automatically. For example, in earlier versions, when the CPU family is changed, 'allowReboot' had to be set to 'true'; this is no longer required, the reboot will be performed automatically.
|
817
817
|
|
818
818
|
### Examples
|
819
819
|
|
@@ -834,8 +834,8 @@ end
|
|
834
834
|
|
835
835
|
api_instance = Ionoscloud::ServersApi.new
|
836
836
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
837
|
-
server_id = 'server_id_example' # String | The unique ID of the server
|
838
|
-
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new({cores: 4, ram: 4096})}) # Server |
|
837
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
838
|
+
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new({cores: 4, ram: 4096})}) # Server | The modified server
|
839
839
|
opts = {
|
840
840
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
841
841
|
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
|
@@ -843,7 +843,7 @@ opts = {
|
|
843
843
|
}
|
844
844
|
|
845
845
|
begin
|
846
|
-
# Modify
|
846
|
+
# Modify servers
|
847
847
|
result = api_instance.datacenters_servers_put(datacenter_id, server_id, server, opts)
|
848
848
|
p result
|
849
849
|
rescue Ionoscloud::ApiError => e
|
@@ -859,7 +859,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
859
859
|
|
860
860
|
```ruby
|
861
861
|
begin
|
862
|
-
# Modify
|
862
|
+
# Modify servers
|
863
863
|
data, status_code, headers = api_instance.datacenters_servers_put_with_http_info(datacenter_id, server_id, server, opts)
|
864
864
|
p status_code # => 2xx
|
865
865
|
p headers # => { ... }
|
@@ -874,15 +874,15 @@ end
|
|
874
874
|
| Name | Type | Description | Notes |
|
875
875
|
| ---- | ---- | ----------- | ----- |
|
876
876
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
877
|
-
| **server_id** | **String** | The unique ID of the server | |
|
878
|
-
| **server** | [**Server**](Server.md) |
|
877
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
878
|
+
| **server** | [**Server**](Server.md) | The modified server | |
|
879
879
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
880
880
|
| **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] |
|
881
881
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
882
882
|
|
883
883
|
### Return type
|
884
884
|
|
885
|
-
[**Server**](Server.md)
|
885
|
+
[**Server**](../models/Server.md)
|
886
886
|
|
887
887
|
### Authorization
|
888
888
|
|
@@ -898,9 +898,9 @@ Basic Authentication, Token Authentication
|
|
898
898
|
|
899
899
|
> datacenters_servers_reboot_post(datacenter_id, server_id, opts)
|
900
900
|
|
901
|
-
Reboot
|
901
|
+
Reboot servers
|
902
902
|
|
903
|
-
|
903
|
+
Force a hard reboot of the specified server within the data center. Don't use this method if you wish to reboot gracefully. This is an equivalent of powering down a computer and turning it back on.
|
904
904
|
|
905
905
|
### Examples
|
906
906
|
|
@@ -921,7 +921,7 @@ end
|
|
921
921
|
|
922
922
|
api_instance = Ionoscloud::ServersApi.new
|
923
923
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
924
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
924
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
925
925
|
opts = {
|
926
926
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
927
927
|
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
|
@@ -929,7 +929,7 @@ opts = {
|
|
929
929
|
}
|
930
930
|
|
931
931
|
begin
|
932
|
-
# Reboot
|
932
|
+
# Reboot servers
|
933
933
|
api_instance.datacenters_servers_reboot_post(datacenter_id, server_id, opts)
|
934
934
|
rescue Ionoscloud::ApiError => e
|
935
935
|
puts "Error when calling ServersApi->datacenters_servers_reboot_post: #{e}"
|
@@ -944,7 +944,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
944
944
|
|
945
945
|
```ruby
|
946
946
|
begin
|
947
|
-
# Reboot
|
947
|
+
# Reboot servers
|
948
948
|
data, status_code, headers = api_instance.datacenters_servers_reboot_post_with_http_info(datacenter_id, server_id, opts)
|
949
949
|
p status_code # => 2xx
|
950
950
|
p headers # => { ... }
|
@@ -959,7 +959,7 @@ end
|
|
959
959
|
| Name | Type | Description | Notes |
|
960
960
|
| ---- | ---- | ----------- | ----- |
|
961
961
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
962
|
-
| **server_id** | **String** | The unique ID of the
|
962
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
963
963
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
964
964
|
| **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] |
|
965
965
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -982,9 +982,9 @@ Basic Authentication, Token Authentication
|
|
982
982
|
|
983
983
|
> <RemoteConsoleUrl> datacenters_servers_remote_console_get(datacenter_id, server_id, opts)
|
984
984
|
|
985
|
-
Get
|
985
|
+
Get Remote Console link
|
986
986
|
|
987
|
-
|
987
|
+
Retrieve a link with a JSON Web Token for accessing the server's Remote Console.
|
988
988
|
|
989
989
|
### Examples
|
990
990
|
|
@@ -1005,7 +1005,7 @@ end
|
|
1005
1005
|
|
1006
1006
|
api_instance = Ionoscloud::ServersApi.new
|
1007
1007
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1008
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1008
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1009
1009
|
opts = {
|
1010
1010
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1011
1011
|
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
|
@@ -1013,7 +1013,7 @@ opts = {
|
|
1013
1013
|
}
|
1014
1014
|
|
1015
1015
|
begin
|
1016
|
-
# Get
|
1016
|
+
# Get Remote Console link
|
1017
1017
|
result = api_instance.datacenters_servers_remote_console_get(datacenter_id, server_id, opts)
|
1018
1018
|
p result
|
1019
1019
|
rescue Ionoscloud::ApiError => e
|
@@ -1029,7 +1029,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1029
1029
|
|
1030
1030
|
```ruby
|
1031
1031
|
begin
|
1032
|
-
# Get
|
1032
|
+
# Get Remote Console link
|
1033
1033
|
data, status_code, headers = api_instance.datacenters_servers_remote_console_get_with_http_info(datacenter_id, server_id, opts)
|
1034
1034
|
p status_code # => 2xx
|
1035
1035
|
p headers # => { ... }
|
@@ -1044,14 +1044,14 @@ end
|
|
1044
1044
|
| Name | Type | Description | Notes |
|
1045
1045
|
| ---- | ---- | ----------- | ----- |
|
1046
1046
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1047
|
-
| **server_id** | **String** | The unique ID of the
|
1047
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1048
1048
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1049
1049
|
| **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] |
|
1050
1050
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1051
1051
|
|
1052
1052
|
### Return type
|
1053
1053
|
|
1054
|
-
[**RemoteConsoleUrl**](RemoteConsoleUrl.md)
|
1054
|
+
[**RemoteConsoleUrl**](../models/RemoteConsoleUrl.md)
|
1055
1055
|
|
1056
1056
|
### Authorization
|
1057
1057
|
|
@@ -1067,9 +1067,9 @@ Basic Authentication, Token Authentication
|
|
1067
1067
|
|
1068
1068
|
> datacenters_servers_resume_post(datacenter_id, server_id, opts)
|
1069
1069
|
|
1070
|
-
Resume
|
1070
|
+
Resume Cubes instances
|
1071
1071
|
|
1072
|
-
|
1072
|
+
Resume a suspended Cube instance; no billing event will be generated. This operation is only supported for the Cubes.
|
1073
1073
|
|
1074
1074
|
### Examples
|
1075
1075
|
|
@@ -1090,7 +1090,7 @@ end
|
|
1090
1090
|
|
1091
1091
|
api_instance = Ionoscloud::ServersApi.new
|
1092
1092
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1093
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1093
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1094
1094
|
opts = {
|
1095
1095
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1096
1096
|
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
|
@@ -1098,7 +1098,7 @@ opts = {
|
|
1098
1098
|
}
|
1099
1099
|
|
1100
1100
|
begin
|
1101
|
-
# Resume
|
1101
|
+
# Resume Cubes instances
|
1102
1102
|
api_instance.datacenters_servers_resume_post(datacenter_id, server_id, opts)
|
1103
1103
|
rescue Ionoscloud::ApiError => e
|
1104
1104
|
puts "Error when calling ServersApi->datacenters_servers_resume_post: #{e}"
|
@@ -1113,7 +1113,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1113
1113
|
|
1114
1114
|
```ruby
|
1115
1115
|
begin
|
1116
|
-
# Resume
|
1116
|
+
# Resume Cubes instances
|
1117
1117
|
data, status_code, headers = api_instance.datacenters_servers_resume_post_with_http_info(datacenter_id, server_id, opts)
|
1118
1118
|
p status_code # => 2xx
|
1119
1119
|
p headers # => { ... }
|
@@ -1128,7 +1128,7 @@ end
|
|
1128
1128
|
| Name | Type | Description | Notes |
|
1129
1129
|
| ---- | ---- | ----------- | ----- |
|
1130
1130
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1131
|
-
| **server_id** | **String** | The unique ID of the
|
1131
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1132
1132
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1133
1133
|
| **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] |
|
1134
1134
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1151,9 +1151,9 @@ Basic Authentication, Token Authentication
|
|
1151
1151
|
|
1152
1152
|
> datacenters_servers_start_post(datacenter_id, server_id, opts)
|
1153
1153
|
|
1154
|
-
Start
|
1154
|
+
Start servers
|
1155
1155
|
|
1156
|
-
|
1156
|
+
Start the specified server within the data center; if the server's public IP address has been deallocated, a new IP address will be assigned.
|
1157
1157
|
|
1158
1158
|
### Examples
|
1159
1159
|
|
@@ -1174,7 +1174,7 @@ end
|
|
1174
1174
|
|
1175
1175
|
api_instance = Ionoscloud::ServersApi.new
|
1176
1176
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1177
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1177
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1178
1178
|
opts = {
|
1179
1179
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1180
1180
|
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
|
@@ -1182,7 +1182,7 @@ opts = {
|
|
1182
1182
|
}
|
1183
1183
|
|
1184
1184
|
begin
|
1185
|
-
# Start
|
1185
|
+
# Start servers
|
1186
1186
|
api_instance.datacenters_servers_start_post(datacenter_id, server_id, opts)
|
1187
1187
|
rescue Ionoscloud::ApiError => e
|
1188
1188
|
puts "Error when calling ServersApi->datacenters_servers_start_post: #{e}"
|
@@ -1197,7 +1197,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1197
1197
|
|
1198
1198
|
```ruby
|
1199
1199
|
begin
|
1200
|
-
# Start
|
1200
|
+
# Start servers
|
1201
1201
|
data, status_code, headers = api_instance.datacenters_servers_start_post_with_http_info(datacenter_id, server_id, opts)
|
1202
1202
|
p status_code # => 2xx
|
1203
1203
|
p headers # => { ... }
|
@@ -1212,7 +1212,7 @@ end
|
|
1212
1212
|
| Name | Type | Description | Notes |
|
1213
1213
|
| ---- | ---- | ----------- | ----- |
|
1214
1214
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1215
|
-
| **server_id** | **String** | The unique ID of the
|
1215
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1216
1216
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1217
1217
|
| **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] |
|
1218
1218
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1235,9 +1235,9 @@ Basic Authentication, Token Authentication
|
|
1235
1235
|
|
1236
1236
|
> datacenters_servers_stop_post(datacenter_id, server_id, opts)
|
1237
1237
|
|
1238
|
-
Stop
|
1238
|
+
Stop VMs
|
1239
1239
|
|
1240
|
-
|
1240
|
+
Stop the specified server within the data center: the VM will be forcefully shut down, the billing will cease, and any allocated public IPs will be deallocated. This operation is not supported for the Cubes.
|
1241
1241
|
|
1242
1242
|
### Examples
|
1243
1243
|
|
@@ -1258,7 +1258,7 @@ end
|
|
1258
1258
|
|
1259
1259
|
api_instance = Ionoscloud::ServersApi.new
|
1260
1260
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1261
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1261
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1262
1262
|
opts = {
|
1263
1263
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1264
1264
|
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
|
@@ -1266,7 +1266,7 @@ opts = {
|
|
1266
1266
|
}
|
1267
1267
|
|
1268
1268
|
begin
|
1269
|
-
# Stop
|
1269
|
+
# Stop VMs
|
1270
1270
|
api_instance.datacenters_servers_stop_post(datacenter_id, server_id, opts)
|
1271
1271
|
rescue Ionoscloud::ApiError => e
|
1272
1272
|
puts "Error when calling ServersApi->datacenters_servers_stop_post: #{e}"
|
@@ -1281,7 +1281,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1281
1281
|
|
1282
1282
|
```ruby
|
1283
1283
|
begin
|
1284
|
-
# Stop
|
1284
|
+
# Stop VMs
|
1285
1285
|
data, status_code, headers = api_instance.datacenters_servers_stop_post_with_http_info(datacenter_id, server_id, opts)
|
1286
1286
|
p status_code # => 2xx
|
1287
1287
|
p headers # => { ... }
|
@@ -1296,7 +1296,7 @@ end
|
|
1296
1296
|
| Name | Type | Description | Notes |
|
1297
1297
|
| ---- | ---- | ----------- | ----- |
|
1298
1298
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1299
|
-
| **server_id** | **String** | The unique ID of the
|
1299
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1300
1300
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1301
1301
|
| **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] |
|
1302
1302
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1319,9 +1319,9 @@ Basic Authentication, Token Authentication
|
|
1319
1319
|
|
1320
1320
|
> datacenters_servers_suspend_post(datacenter_id, server_id, opts)
|
1321
1321
|
|
1322
|
-
Suspend
|
1322
|
+
Suspend Cubes instances
|
1323
1323
|
|
1324
|
-
|
1324
|
+
Suspend the specified Cubes instance within the data center. The instance will not be deleted, and allocated resources will continue to be billed. This operation is only supported for the Cubes.
|
1325
1325
|
|
1326
1326
|
### Examples
|
1327
1327
|
|
@@ -1342,7 +1342,7 @@ end
|
|
1342
1342
|
|
1343
1343
|
api_instance = Ionoscloud::ServersApi.new
|
1344
1344
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1345
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1345
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1346
1346
|
opts = {
|
1347
1347
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1348
1348
|
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
|
@@ -1350,7 +1350,7 @@ opts = {
|
|
1350
1350
|
}
|
1351
1351
|
|
1352
1352
|
begin
|
1353
|
-
# Suspend
|
1353
|
+
# Suspend Cubes instances
|
1354
1354
|
api_instance.datacenters_servers_suspend_post(datacenter_id, server_id, opts)
|
1355
1355
|
rescue Ionoscloud::ApiError => e
|
1356
1356
|
puts "Error when calling ServersApi->datacenters_servers_suspend_post: #{e}"
|
@@ -1365,7 +1365,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1365
1365
|
|
1366
1366
|
```ruby
|
1367
1367
|
begin
|
1368
|
-
# Suspend
|
1368
|
+
# Suspend Cubes instances
|
1369
1369
|
data, status_code, headers = api_instance.datacenters_servers_suspend_post_with_http_info(datacenter_id, server_id, opts)
|
1370
1370
|
p status_code # => 2xx
|
1371
1371
|
p headers # => { ... }
|
@@ -1380,7 +1380,7 @@ end
|
|
1380
1380
|
| Name | Type | Description | Notes |
|
1381
1381
|
| ---- | ---- | ----------- | ----- |
|
1382
1382
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1383
|
-
| **server_id** | **String** | The unique ID of the
|
1383
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1384
1384
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1385
1385
|
| **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] |
|
1386
1386
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1403,9 +1403,9 @@ Basic Authentication, Token Authentication
|
|
1403
1403
|
|
1404
1404
|
> <Token> datacenters_servers_token_get(datacenter_id, server_id, opts)
|
1405
1405
|
|
1406
|
-
Get
|
1406
|
+
Get JASON Web Token
|
1407
1407
|
|
1408
|
-
|
1408
|
+
Retrieve a JSON Web Token from the server for use in login operations (such as accessing the server's console).
|
1409
1409
|
|
1410
1410
|
### Examples
|
1411
1411
|
|
@@ -1426,7 +1426,7 @@ end
|
|
1426
1426
|
|
1427
1427
|
api_instance = Ionoscloud::ServersApi.new
|
1428
1428
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1429
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1429
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1430
1430
|
opts = {
|
1431
1431
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1432
1432
|
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
|
@@ -1434,7 +1434,7 @@ opts = {
|
|
1434
1434
|
}
|
1435
1435
|
|
1436
1436
|
begin
|
1437
|
-
# Get
|
1437
|
+
# Get JASON Web Token
|
1438
1438
|
result = api_instance.datacenters_servers_token_get(datacenter_id, server_id, opts)
|
1439
1439
|
p result
|
1440
1440
|
rescue Ionoscloud::ApiError => e
|
@@ -1450,7 +1450,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1450
1450
|
|
1451
1451
|
```ruby
|
1452
1452
|
begin
|
1453
|
-
# Get
|
1453
|
+
# Get JASON Web Token
|
1454
1454
|
data, status_code, headers = api_instance.datacenters_servers_token_get_with_http_info(datacenter_id, server_id, opts)
|
1455
1455
|
p status_code # => 2xx
|
1456
1456
|
p headers # => { ... }
|
@@ -1465,14 +1465,14 @@ end
|
|
1465
1465
|
| Name | Type | Description | Notes |
|
1466
1466
|
| ---- | ---- | ----------- | ----- |
|
1467
1467
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1468
|
-
| **server_id** | **String** | The unique ID of the
|
1468
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1469
1469
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1470
1470
|
| **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] |
|
1471
1471
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1472
1472
|
|
1473
1473
|
### Return type
|
1474
1474
|
|
1475
|
-
[**Token**](Token.md)
|
1475
|
+
[**Token**](../models/Token.md)
|
1476
1476
|
|
1477
1477
|
### Authorization
|
1478
1478
|
|
@@ -1488,9 +1488,9 @@ Basic Authentication, Token Authentication
|
|
1488
1488
|
|
1489
1489
|
> datacenters_servers_upgrade_post(datacenter_id, server_id, opts)
|
1490
1490
|
|
1491
|
-
Upgrade
|
1491
|
+
Upgrade servers
|
1492
1492
|
|
1493
|
-
|
1493
|
+
Upgrade the server version, if needed. To determine if an upgrade is available, execute the following call: '/datacenters/{datacenterId}/servers?upgradeNeeded=true'
|
1494
1494
|
|
1495
1495
|
### Examples
|
1496
1496
|
|
@@ -1511,7 +1511,7 @@ end
|
|
1511
1511
|
|
1512
1512
|
api_instance = Ionoscloud::ServersApi.new
|
1513
1513
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1514
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1514
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1515
1515
|
opts = {
|
1516
1516
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1517
1517
|
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
|
@@ -1519,7 +1519,7 @@ opts = {
|
|
1519
1519
|
}
|
1520
1520
|
|
1521
1521
|
begin
|
1522
|
-
# Upgrade
|
1522
|
+
# Upgrade servers
|
1523
1523
|
api_instance.datacenters_servers_upgrade_post(datacenter_id, server_id, opts)
|
1524
1524
|
rescue Ionoscloud::ApiError => e
|
1525
1525
|
puts "Error when calling ServersApi->datacenters_servers_upgrade_post: #{e}"
|
@@ -1534,7 +1534,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1534
1534
|
|
1535
1535
|
```ruby
|
1536
1536
|
begin
|
1537
|
-
# Upgrade
|
1537
|
+
# Upgrade servers
|
1538
1538
|
data, status_code, headers = api_instance.datacenters_servers_upgrade_post_with_http_info(datacenter_id, server_id, opts)
|
1539
1539
|
p status_code # => 2xx
|
1540
1540
|
p headers # => { ... }
|
@@ -1549,7 +1549,7 @@ end
|
|
1549
1549
|
| Name | Type | Description | Notes |
|
1550
1550
|
| ---- | ---- | ----------- | ----- |
|
1551
1551
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1552
|
-
| **server_id** | **String** | The unique ID of the
|
1552
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1553
1553
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1554
1554
|
| **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] |
|
1555
1555
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1572,9 +1572,9 @@ Basic Authentication, Token Authentication
|
|
1572
1572
|
|
1573
1573
|
> datacenters_servers_volumes_delete(datacenter_id, server_id, volume_id, opts)
|
1574
1574
|
|
1575
|
-
Detach
|
1575
|
+
Detach volumes
|
1576
1576
|
|
1577
|
-
|
1577
|
+
Detach the specified volume from the server without deleting it from the data center. A separate request must be made to perform the deletion.
|
1578
1578
|
|
1579
1579
|
### Examples
|
1580
1580
|
|
@@ -1595,8 +1595,8 @@ end
|
|
1595
1595
|
|
1596
1596
|
api_instance = Ionoscloud::ServersApi.new
|
1597
1597
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1598
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1599
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1598
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1599
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1600
1600
|
opts = {
|
1601
1601
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1602
1602
|
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
|
@@ -1604,7 +1604,7 @@ opts = {
|
|
1604
1604
|
}
|
1605
1605
|
|
1606
1606
|
begin
|
1607
|
-
# Detach
|
1607
|
+
# Detach volumes
|
1608
1608
|
api_instance.datacenters_servers_volumes_delete(datacenter_id, server_id, volume_id, opts)
|
1609
1609
|
rescue Ionoscloud::ApiError => e
|
1610
1610
|
puts "Error when calling ServersApi->datacenters_servers_volumes_delete: #{e}"
|
@@ -1619,7 +1619,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1619
1619
|
|
1620
1620
|
```ruby
|
1621
1621
|
begin
|
1622
|
-
# Detach
|
1622
|
+
# Detach volumes
|
1623
1623
|
data, status_code, headers = api_instance.datacenters_servers_volumes_delete_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1624
1624
|
p status_code # => 2xx
|
1625
1625
|
p headers # => { ... }
|
@@ -1634,8 +1634,8 @@ end
|
|
1634
1634
|
| Name | Type | Description | Notes |
|
1635
1635
|
| ---- | ---- | ----------- | ----- |
|
1636
1636
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1637
|
-
| **server_id** | **String** | The unique ID of the
|
1638
|
-
| **volume_id** | **String** | The unique ID of the
|
1637
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1638
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1639
1639
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1640
1640
|
| **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] |
|
1641
1641
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1658,9 +1658,9 @@ Basic Authentication, Token Authentication
|
|
1658
1658
|
|
1659
1659
|
> <Volume> datacenters_servers_volumes_find_by_id(datacenter_id, server_id, volume_id, opts)
|
1660
1660
|
|
1661
|
-
Retrieve
|
1661
|
+
Retrieve attached volumes
|
1662
1662
|
|
1663
|
-
|
1663
|
+
Retrieve the properties of the volume, attached to the specified server.
|
1664
1664
|
|
1665
1665
|
### Examples
|
1666
1666
|
|
@@ -1681,8 +1681,8 @@ end
|
|
1681
1681
|
|
1682
1682
|
api_instance = Ionoscloud::ServersApi.new
|
1683
1683
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1684
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1685
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1684
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1685
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1686
1686
|
opts = {
|
1687
1687
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1688
1688
|
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
|
@@ -1690,7 +1690,7 @@ opts = {
|
|
1690
1690
|
}
|
1691
1691
|
|
1692
1692
|
begin
|
1693
|
-
# Retrieve
|
1693
|
+
# Retrieve attached volumes
|
1694
1694
|
result = api_instance.datacenters_servers_volumes_find_by_id(datacenter_id, server_id, volume_id, opts)
|
1695
1695
|
p result
|
1696
1696
|
rescue Ionoscloud::ApiError => e
|
@@ -1706,7 +1706,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1706
1706
|
|
1707
1707
|
```ruby
|
1708
1708
|
begin
|
1709
|
-
# Retrieve
|
1709
|
+
# Retrieve attached volumes
|
1710
1710
|
data, status_code, headers = api_instance.datacenters_servers_volumes_find_by_id_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1711
1711
|
p status_code # => 2xx
|
1712
1712
|
p headers # => { ... }
|
@@ -1721,15 +1721,15 @@ end
|
|
1721
1721
|
| Name | Type | Description | Notes |
|
1722
1722
|
| ---- | ---- | ----------- | ----- |
|
1723
1723
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1724
|
-
| **server_id** | **String** | The unique ID of the
|
1725
|
-
| **volume_id** | **String** | The unique ID of the
|
1724
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1725
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1726
1726
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1727
1727
|
| **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] |
|
1728
1728
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1729
1729
|
|
1730
1730
|
### Return type
|
1731
1731
|
|
1732
|
-
[**Volume**](Volume.md)
|
1732
|
+
[**Volume**](../models/Volume.md)
|
1733
1733
|
|
1734
1734
|
### Authorization
|
1735
1735
|
|
@@ -1745,9 +1745,9 @@ Basic Authentication, Token Authentication
|
|
1745
1745
|
|
1746
1746
|
> <AttachedVolumes> datacenters_servers_volumes_get(datacenter_id, server_id, opts)
|
1747
1747
|
|
1748
|
-
List
|
1748
|
+
List attached volumes
|
1749
1749
|
|
1750
|
-
|
1750
|
+
List all volumes, attached to the specified server.
|
1751
1751
|
|
1752
1752
|
### Examples
|
1753
1753
|
|
@@ -1763,7 +1763,7 @@ end
|
|
1763
1763
|
|
1764
1764
|
api_instance = Ionoscloud::ServersApi.new
|
1765
1765
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1766
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1766
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1767
1767
|
opts = {
|
1768
1768
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1769
1769
|
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
|
@@ -1773,7 +1773,7 @@ opts = {
|
|
1773
1773
|
}
|
1774
1774
|
|
1775
1775
|
begin
|
1776
|
-
# List
|
1776
|
+
# List attached volumes
|
1777
1777
|
result = api_instance.datacenters_servers_volumes_get(datacenter_id, server_id, opts)
|
1778
1778
|
p result
|
1779
1779
|
rescue Ionoscloud::ApiError => e
|
@@ -1789,7 +1789,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1789
1789
|
|
1790
1790
|
```ruby
|
1791
1791
|
begin
|
1792
|
-
# List
|
1792
|
+
# List attached volumes
|
1793
1793
|
data, status_code, headers = api_instance.datacenters_servers_volumes_get_with_http_info(datacenter_id, server_id, opts)
|
1794
1794
|
p status_code # => 2xx
|
1795
1795
|
p headers # => { ... }
|
@@ -1804,7 +1804,7 @@ end
|
|
1804
1804
|
| Name | Type | Description | Notes |
|
1805
1805
|
| ---- | ---- | ----------- | ----- |
|
1806
1806
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1807
|
-
| **server_id** | **String** | The unique ID of the
|
1807
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1808
1808
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1809
1809
|
| **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] |
|
1810
1810
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1813,7 +1813,7 @@ end
|
|
1813
1813
|
|
1814
1814
|
### Return type
|
1815
1815
|
|
1816
|
-
[**AttachedVolumes**](AttachedVolumes.md)
|
1816
|
+
[**AttachedVolumes**](../models/AttachedVolumes.md)
|
1817
1817
|
|
1818
1818
|
### Authorization
|
1819
1819
|
|
@@ -1829,9 +1829,9 @@ Basic Authentication
|
|
1829
1829
|
|
1830
1830
|
> <Volume> datacenters_servers_volumes_post(datacenter_id, server_id, volume, opts)
|
1831
1831
|
|
1832
|
-
Attach
|
1832
|
+
Attach volumes
|
1833
1833
|
|
1834
|
-
|
1834
|
+
Attach an existing storage volume to the specified server. A volume scan also be created and attached in one step by providing the new volume description as payload. The combined total of attached volumes and NICs cannot exceed 24 per server.
|
1835
1835
|
|
1836
1836
|
### Examples
|
1837
1837
|
|
@@ -1847,8 +1847,8 @@ end
|
|
1847
1847
|
|
1848
1848
|
api_instance = Ionoscloud::ServersApi.new
|
1849
1849
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1850
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
1851
|
-
volume = Ionoscloud::Volume.new({properties: Ionoscloud::VolumeProperties.new({size: 100.0})}) # Volume |
|
1850
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
1851
|
+
volume = Ionoscloud::Volume.new({properties: Ionoscloud::VolumeProperties.new({size: 100.0})}) # Volume | The volume to be attached (or created and attached).
|
1852
1852
|
opts = {
|
1853
1853
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1854
1854
|
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
|
@@ -1856,7 +1856,7 @@ opts = {
|
|
1856
1856
|
}
|
1857
1857
|
|
1858
1858
|
begin
|
1859
|
-
# Attach
|
1859
|
+
# Attach volumes
|
1860
1860
|
result = api_instance.datacenters_servers_volumes_post(datacenter_id, server_id, volume, opts)
|
1861
1861
|
p result
|
1862
1862
|
rescue Ionoscloud::ApiError => e
|
@@ -1872,7 +1872,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1872
1872
|
|
1873
1873
|
```ruby
|
1874
1874
|
begin
|
1875
|
-
# Attach
|
1875
|
+
# Attach volumes
|
1876
1876
|
data, status_code, headers = api_instance.datacenters_servers_volumes_post_with_http_info(datacenter_id, server_id, volume, opts)
|
1877
1877
|
p status_code # => 2xx
|
1878
1878
|
p headers # => { ... }
|
@@ -1887,15 +1887,15 @@ end
|
|
1887
1887
|
| Name | Type | Description | Notes |
|
1888
1888
|
| ---- | ---- | ----------- | ----- |
|
1889
1889
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1890
|
-
| **server_id** | **String** | The unique ID of the
|
1891
|
-
| **volume** | [**Volume**](Volume.md) |
|
1890
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
1891
|
+
| **volume** | [**Volume**](Volume.md) | The volume to be attached (or created and attached). | |
|
1892
1892
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1893
1893
|
| **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] |
|
1894
1894
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1895
1895
|
|
1896
1896
|
### Return type
|
1897
1897
|
|
1898
|
-
[**Volume**](Volume.md)
|
1898
|
+
[**Volume**](../models/Volume.md)
|
1899
1899
|
|
1900
1900
|
### Authorization
|
1901
1901
|
|