ionoscloud 6.0.0.beta.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +190 -0
- data/README.md +57 -0
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +594 -0
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +12 -12
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +131 -132
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +115 -116
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +266 -270
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +178 -188
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +317 -324
- data/docs/api/NetworkInterfacesApi.md +540 -0
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +333 -340
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1908 -0
- data/docs/api/SnapshotsApi.md +428 -0
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +18 -18
- data/docs/api/UserManagementApi.md +2039 -0
- data/docs/api/UserS3KeysApi.md +516 -0
- data/docs/api/VolumesApi.md +709 -0
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +6 -6
- data/docs/{BackupUnit.md → models/BackupUnit.md} +3 -3
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +2 -2
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +4 -4
- data/docs/{BalancedNics.md → models/BalancedNics.md} +6 -6
- data/docs/{Cdroms.md → models/Cdroms.md} +6 -6
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +1 -1
- data/docs/{ContractProperties.md → models/ContractProperties.md} +4 -4
- data/docs/{Contracts.md → models/Contracts.md} +3 -3
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +1 -1
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +3 -3
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +6 -6
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +6 -6
- data/docs/{Datacenters.md → models/Datacenters.md} +6 -6
- data/docs/{Error.md → models/Error.md} +1 -1
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +3 -3
- data/docs/{FirewallRule.md → models/FirewallRule.md} +3 -3
- data/docs/{FirewallRules.md → models/FirewallRules.md} +6 -6
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +10 -10
- data/docs/{FlowLog.md → models/FlowLog.md} +3 -3
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +1 -1
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +3 -3
- data/docs/{FlowLogs.md → models/FlowLogs.md} +6 -6
- data/docs/{Group.md → models/Group.md} +3 -3
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +4 -4
- data/docs/models/GroupProperties.md +42 -0
- data/docs/{GroupShare.md → models/GroupShare.md} +2 -2
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +3 -3
- data/docs/{GroupUsers.md → models/GroupUsers.md} +4 -4
- data/docs/{Groups.md → models/Groups.md} +4 -4
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +3 -3
- data/docs/models/ImageProperties.md +54 -0
- data/docs/{Images.md → models/Images.md} +4 -4
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +3 -3
- data/docs/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +5 -1
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +2 -2
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +2 -2
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +2 -2
- data/docs/models/KubernetesClusterProperties.md +30 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +26 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +4 -4
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +2 -2
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +4 -4
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +2 -2
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +2 -2
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +2 -2
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +2 -2
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +13 -14
- data/docs/{KubernetesNodePoolPropertiesForPost.md → models/KubernetesNodePoolPropertiesForPost.md} +12 -13
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +5 -5
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +4 -4
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +2 -2
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +4 -4
- data/docs/{Label.md → models/Label.md} +2 -2
- data/docs/{LabelProperties.md → models/LabelProperties.md} +3 -3
- data/docs/{LabelResource.md → models/LabelResource.md} +2 -2
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +2 -2
- data/docs/{LabelResources.md → models/LabelResources.md} +6 -6
- data/docs/{Labels.md → models/Labels.md} +4 -4
- data/docs/{Lan.md → models/Lan.md} +3 -3
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +6 -6
- data/docs/{LanPost.md → models/LanPost.md} +3 -3
- data/docs/{LanProperties.md → models/LanProperties.md} +3 -3
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +3 -3
- data/docs/{Lans.md → models/Lans.md} +6 -6
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +3 -3
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +3 -3
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +6 -6
- data/docs/{Location.md → models/Location.md} +3 -3
- data/docs/{LocationProperties.md → models/LocationProperties.md} +1 -1
- data/docs/{Locations.md → models/Locations.md} +4 -4
- data/docs/{NatGateway.md → models/NatGateway.md} +3 -3
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +2 -2
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +3 -3
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +3 -3
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +3 -3
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +7 -7
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +3 -3
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +4 -4
- data/docs/{NatGateways.md → models/NatGateways.md} +6 -6
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +3 -3
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleHealthCheck.md → models/NetworkLoadBalancerForwardingRuleHealthCheck.md} +0 -2
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleTarget.md → models/NetworkLoadBalancerForwardingRuleTarget.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRuleTargetHealthCheck.md → models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/{NetworkLoadBalancerProperties.md → models/NetworkLoadBalancerProperties.md} +4 -4
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +3 -3
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +6 -6
- data/docs/{Nic.md → models/Nic.md} +3 -3
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/models/NicProperties.md +34 -0
- data/docs/{NicPut.md → models/NicPut.md} +3 -3
- data/docs/{Nics.md → models/Nics.md} +6 -6
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +5 -5
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +3 -3
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +3 -3
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +4 -4
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +4 -4
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +3 -3
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +2 -2
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +3 -3
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +1 -1
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +6 -6
- data/docs/{Resource.md → models/Resource.md} +3 -3
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +4 -4
- data/docs/models/ResourceLimits.md +60 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +2 -2
- data/docs/{ResourceReference.md → models/ResourceReference.md} +3 -3
- data/docs/{Resources.md → models/Resources.md} +4 -4
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +4 -4
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +3 -3
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +2 -2
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +2 -2
- data/docs/{S3Keys.md → models/S3Keys.md} +4 -4
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +3 -3
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +7 -7
- data/docs/{Servers.md → models/Servers.md} +6 -6
- data/docs/{Snapshot.md → models/Snapshot.md} +3 -3
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +4 -4
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +2 -2
- data/docs/{Template.md → models/Template.md} +3 -3
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +4 -4
- data/docs/{Templates.md → models/Templates.md} +4 -4
- data/docs/{Token.md → models/Token.md} +1 -1
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +3 -3
- data/docs/{UserMetadata.md → models/UserMetadata.md} +3 -3
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +32 -0
- data/docs/{UserPut.md → models/UserPut.md} +1 -1
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +3 -3
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +19 -17
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +3 -3
- data/lib/ionoscloud/api/_api.rb +8 -8
- data/lib/ionoscloud/api/backup_units_api.rb +98 -98
- data/lib/ionoscloud/api/contract_resources_api.rb +12 -12
- data/lib/ionoscloud/api/data_centers_api.rb +85 -85
- data/lib/ionoscloud/api/firewall_rules_api.rb +121 -121
- data/lib/ionoscloud/api/flow_logs_api.rb +107 -107
- data/lib/ionoscloud/api/images_api.rb +69 -69
- data/lib/ionoscloud/api/ip_blocks_api.rb +99 -81
- data/lib/ionoscloud/api/kubernetes_api.rb +237 -237
- data/lib/ionoscloud/api/labels_api.rb +419 -455
- data/lib/ionoscloud/api/lans_api.rb +220 -220
- data/lib/ionoscloud/api/load_balancers_api.rb +162 -198
- data/lib/ionoscloud/api/locations_api.rb +38 -38
- data/lib/ionoscloud/api/nat_gateways_api.rb +287 -305
- data/lib/ionoscloud/api/network_interfaces_api.rb +109 -109
- data/lib/ionoscloud/api/network_load_balancers_api.rb +301 -319
- data/lib/ionoscloud/api/private_cross_connects_api.rb +67 -85
- data/lib/ionoscloud/api/requests_api.rb +70 -46
- data/lib/ionoscloud/api/servers_api.rb +381 -381
- data/lib/ionoscloud/api/snapshots_api.rb +67 -67
- data/lib/ionoscloud/api/templates_api.rb +16 -16
- data/lib/ionoscloud/api/user_management_api.rb +350 -330
- data/lib/ionoscloud/api/user_s3_keys_api.rb +85 -85
- data/lib/ionoscloud/api/volumes_api.rb +140 -140
- data/lib/ionoscloud/api_client.rb +20 -20
- data/lib/ionoscloud/api_error.rb +2 -2
- data/lib/ionoscloud/configuration.rb +4 -4
- data/lib/ionoscloud/models/attached_volumes.rb +75 -19
- data/lib/ionoscloud/models/backup_unit.rb +52 -10
- data/lib/ionoscloud/models/backup_unit_properties.rb +33 -7
- data/lib/ionoscloud/models/backup_unit_sso.rb +13 -3
- data/lib/ionoscloud/models/backup_units.rb +48 -16
- data/lib/ionoscloud/models/balanced_nics.rb +75 -19
- data/lib/ionoscloud/models/cdroms.rb +75 -19
- data/lib/ionoscloud/models/connectable_datacenter.rb +31 -5
- data/lib/ionoscloud/models/contract.rb +23 -5
- data/lib/ionoscloud/models/contract_properties.rb +53 -11
- data/lib/ionoscloud/models/contracts.rb +45 -13
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +41 -7
- data/lib/ionoscloud/models/data_center_entities.rb +58 -8
- data/lib/ionoscloud/models/datacenter.rb +61 -11
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +82 -16
- data/lib/ionoscloud/models/datacenter_properties.rb +77 -45
- data/lib/ionoscloud/models/datacenters.rb +75 -19
- data/lib/ionoscloud/models/error.rb +25 -9
- data/lib/ionoscloud/models/error_message.rb +24 -6
- data/lib/ionoscloud/models/firewall_rule.rb +52 -10
- data/lib/ionoscloud/models/firewall_rules.rb +75 -19
- data/lib/ionoscloud/models/firewallrule_properties.rb +140 -43
- data/lib/ionoscloud/models/flow_log.rb +52 -10
- data/lib/ionoscloud/models/flow_log_properties.rb +41 -7
- data/lib/ionoscloud/models/flow_log_put.rb +43 -9
- data/lib/ionoscloud/models/flow_logs.rb +75 -19
- data/lib/ionoscloud/models/group.rb +52 -10
- data/lib/ionoscloud/models/group_entities.rb +22 -4
- data/lib/ionoscloud/models/group_members.rb +46 -14
- data/lib/ionoscloud/models/group_properties.rb +144 -28
- data/lib/ionoscloud/models/group_share.rb +42 -8
- data/lib/ionoscloud/models/group_share_properties.rb +22 -4
- data/lib/ionoscloud/models/group_shares.rb +45 -13
- data/lib/ionoscloud/models/group_users.rb +47 -15
- data/lib/ionoscloud/models/groups.rb +46 -14
- data/lib/ionoscloud/models/image.rb +52 -10
- data/lib/ionoscloud/models/image_properties.rb +226 -40
- data/lib/ionoscloud/models/images.rb +46 -14
- data/lib/ionoscloud/models/info.rb +31 -5
- data/lib/ionoscloud/models/ip_block.rb +52 -10
- data/lib/ionoscloud/models/ip_block_properties.rb +58 -20
- data/lib/ionoscloud/models/ip_blocks.rb +101 -16
- data/lib/ionoscloud/models/ip_consumer.rb +104 -12
- data/lib/ionoscloud/models/ip_failover.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_cluster.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +13 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +86 -34
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +64 -24
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +72 -10
- data/lib/ionoscloud/models/kubernetes_clusters.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +53 -11
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +39 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +182 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +170 -48
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +97 -36
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +42 -8
- data/lib/ionoscloud/models/kubernetes_nodes.rb +46 -14
- data/lib/ionoscloud/models/label.rb +51 -9
- data/lib/ionoscloud/models/label_properties.rb +52 -10
- data/lib/ionoscloud/models/label_resource.rb +51 -9
- data/lib/ionoscloud/models/label_resource_properties.rb +24 -6
- data/lib/ionoscloud/models/label_resources.rb +77 -21
- data/lib/ionoscloud/models/labels.rb +48 -16
- data/lib/ionoscloud/models/lan.rb +61 -11
- data/lib/ionoscloud/models/lan_entities.rb +13 -3
- data/lib/ionoscloud/models/lan_nics.rb +75 -19
- data/lib/ionoscloud/models/lan_post.rb +61 -11
- data/lib/ionoscloud/models/lan_properties.rb +45 -13
- data/lib/ionoscloud/models/lan_properties_post.rb +45 -13
- data/lib/ionoscloud/models/lans.rb +75 -19
- data/lib/ionoscloud/models/loadbalancer.rb +61 -11
- data/lib/ionoscloud/models/loadbalancer_entities.rb +13 -3
- data/lib/ionoscloud/models/loadbalancer_properties.rb +46 -37
- data/lib/ionoscloud/models/loadbalancers.rb +75 -19
- data/lib/ionoscloud/models/location.rb +52 -10
- data/lib/ionoscloud/models/location_properties.rb +47 -41
- data/lib/ionoscloud/models/locations.rb +46 -14
- data/lib/ionoscloud/models/nat_gateway.rb +61 -11
- data/lib/ionoscloud/models/nat_gateway_entities.rb +22 -4
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +26 -10
- data/lib/ionoscloud/models/nat_gateway_properties.rb +38 -16
- data/lib/ionoscloud/models/nat_gateway_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule.rb +52 -10
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +73 -15
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rules.rb +46 -14
- data/lib/ionoscloud/models/nat_gateways.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer.rb +61 -11
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +22 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +52 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +39 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +73 -17
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +40 -6
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +31 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +57 -19
- data/lib/ionoscloud/models/network_load_balancer_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancers.rb +75 -19
- data/lib/ionoscloud/models/nic.rb +61 -11
- data/lib/ionoscloud/models/nic_entities.rb +22 -4
- data/lib/ionoscloud/models/nic_properties.rb +95 -23
- data/lib/ionoscloud/models/nic_put.rb +43 -9
- data/lib/ionoscloud/models/nics.rb +75 -19
- data/lib/ionoscloud/models/no_state_meta_data.rb +72 -14
- data/lib/ionoscloud/models/pagination_links.rb +34 -8
- data/lib/ionoscloud/models/peer.rb +49 -7
- data/lib/ionoscloud/models/private_cross_connect.rb +52 -10
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +48 -18
- data/lib/ionoscloud/models/private_cross_connects.rb +46 -14
- data/lib/ionoscloud/models/remote_console_url.rb +13 -3
- data/lib/ionoscloud/models/request.rb +52 -10
- data/lib/ionoscloud/models/request_metadata.rb +42 -8
- data/lib/ionoscloud/models/request_properties.rb +42 -10
- data/lib/ionoscloud/models/request_status.rb +43 -9
- data/lib/ionoscloud/models/request_status_metadata.rb +43 -11
- data/lib/ionoscloud/models/request_target.rb +22 -4
- data/lib/ionoscloud/models/requests.rb +75 -19
- data/lib/ionoscloud/models/resource.rb +61 -11
- data/lib/ionoscloud/models/resource_entities.rb +13 -3
- data/lib/ionoscloud/models/resource_groups.rb +46 -14
- data/lib/ionoscloud/models/resource_limits.rb +224 -46
- data/lib/ionoscloud/models/resource_properties.rb +24 -6
- data/lib/ionoscloud/models/resource_reference.rb +34 -8
- data/lib/ionoscloud/models/resources.rb +47 -15
- data/lib/ionoscloud/models/resources_users.rb +46 -14
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +52 -10
- data/lib/ionoscloud/models/s3_key_metadata.rb +24 -6
- data/lib/ionoscloud/models/s3_key_properties.rb +24 -6
- data/lib/ionoscloud/models/s3_keys.rb +46 -14
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +13 -3
- data/lib/ionoscloud/models/server.rb +61 -11
- data/lib/ionoscloud/models/server_entities.rb +31 -5
- data/lib/ionoscloud/models/server_properties.rb +103 -21
- data/lib/ionoscloud/models/servers.rb +75 -19
- data/lib/ionoscloud/models/snapshot.rb +52 -10
- data/lib/ionoscloud/models/snapshot_properties.rb +162 -32
- data/lib/ionoscloud/models/snapshots.rb +46 -14
- data/lib/ionoscloud/models/target_port_range.rb +24 -6
- data/lib/ionoscloud/models/template.rb +52 -10
- data/lib/ionoscloud/models/template_properties.rb +44 -10
- data/lib/ionoscloud/models/templates.rb +46 -14
- data/lib/ionoscloud/models/token.rb +14 -4
- data/lib/ionoscloud/models/type.rb +4 -4
- data/lib/ionoscloud/models/user.rb +61 -11
- data/lib/ionoscloud/models/user_metadata.rb +34 -8
- data/lib/ionoscloud/models/user_post.rb +13 -3
- data/lib/ionoscloud/models/user_properties.rb +84 -18
- data/lib/ionoscloud/models/user_properties_post.rb +84 -18
- data/lib/ionoscloud/models/user_properties_put.rb +93 -17
- data/lib/ionoscloud/models/user_put.rb +23 -5
- data/lib/ionoscloud/models/users.rb +102 -17
- data/lib/ionoscloud/models/users_entities.rb +22 -4
- data/lib/ionoscloud/models/volume.rb +52 -10
- data/lib/ionoscloud/models/volume_properties.rb +216 -47
- data/lib/ionoscloud/models/volumes.rb +75 -19
- data/lib/ionoscloud/version.rb +3 -3
- data/lib/ionoscloud.rb +4 -3
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +207 -587
- data/docs/BackupUnitsApi.md +0 -595
- data/docs/DataCentersApi.md +0 -517
- data/docs/DefaultApi.md +0 -78
- data/docs/GroupProperties.md +0 -40
- data/docs/IPBlocksApi.md +0 -513
- data/docs/ImageProperties.md +0 -50
- data/docs/ImagesApi.md +0 -429
- data/docs/IpBlockProperties.md +0 -26
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterProperties.md +0 -30
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/LabelsApi.md +0 -2351
- data/docs/LansApi.md +0 -795
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkInterfacesApi.md +0 -541
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -431
- data/docs/RequestsApi.md +0 -267
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1917
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -429
- data/docs/UserManagementApi.md +0 -2037
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -517
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -711
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -126
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -478
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -205
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -336
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -342
- data/spec/api/private_cross_connects_api_spec.rb +0 -112
- data/spec/api/requests_api_spec.rb +0 -84
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -402
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -74
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -108
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -100
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -138
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -52
- data/spec/models/ip_consumer_spec.rb +0 -70
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -70
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -50
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -56
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -52
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#CLOUD API
|
3
3
|
|
4
|
-
#
|
4
|
+
#IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool. Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,31 +19,31 @@ module Ionoscloud
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Detach
|
23
|
-
#
|
24
|
-
# @param datacenter_id [String] The unique ID of the
|
25
|
-
# @param server_id [String] The unique ID of the
|
26
|
-
# @param cdrom_id [String] The unique ID of the CD-ROM
|
22
|
+
# Detach CD-ROMs
|
23
|
+
# Detach the specified CD-ROM from the server.
|
24
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
25
|
+
# @param server_id [String] The unique ID of the server.
|
26
|
+
# @param cdrom_id [String] The unique ID of the CD-ROM.
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
29
|
-
# @option opts [Integer] :depth Controls the
|
30
|
-
# @option opts [Integer] :x_contract_number Users
|
31
|
-
# @return [
|
28
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
29
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
30
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
31
|
+
# @return [nil]
|
32
32
|
def datacenters_servers_cdroms_delete(datacenter_id, server_id, cdrom_id, opts = {})
|
33
|
-
|
34
|
-
|
33
|
+
datacenters_servers_cdroms_delete_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
34
|
+
nil
|
35
35
|
end
|
36
36
|
|
37
|
-
# Detach
|
38
|
-
#
|
39
|
-
# @param datacenter_id [String] The unique ID of the
|
40
|
-
# @param server_id [String] The unique ID of the
|
41
|
-
# @param cdrom_id [String] The unique ID of the CD-ROM
|
37
|
+
# Detach CD-ROMs
|
38
|
+
# Detach the specified CD-ROM from the server.
|
39
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
40
|
+
# @param server_id [String] The unique ID of the server.
|
41
|
+
# @param cdrom_id [String] The unique ID of the CD-ROM.
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
44
|
-
# @option opts [Integer] :depth Controls the
|
45
|
-
# @option opts [Integer] :x_contract_number Users
|
46
|
-
# @return [Array<(
|
43
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
44
|
+
# @option opts [Integer] :depth 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
|
45
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
46
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
47
47
|
def datacenters_servers_cdroms_delete_with_http_info(datacenter_id, server_id, cdrom_id, opts = {})
|
48
48
|
if @api_client.config.debugging
|
49
49
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_cdroms_delete ...'
|
@@ -89,7 +89,7 @@ module Ionoscloud
|
|
89
89
|
post_body = opts[:debug_body]
|
90
90
|
|
91
91
|
# return_type
|
92
|
-
return_type = opts[:debug_return_type]
|
92
|
+
return_type = opts[:debug_return_type]
|
93
93
|
|
94
94
|
# auth_names
|
95
95
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -111,30 +111,30 @@ module Ionoscloud
|
|
111
111
|
return data, status_code, headers
|
112
112
|
end
|
113
113
|
|
114
|
-
# Retrieve
|
115
|
-
#
|
116
|
-
# @param datacenter_id [String] The unique ID of the
|
117
|
-
# @param server_id [String] The unique ID of the
|
118
|
-
# @param cdrom_id [String] The unique ID of the CD-ROM
|
114
|
+
# Retrieve attached CD-ROMs
|
115
|
+
# Retrieve the properties of the CD-ROM, attached to the specified server.
|
116
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
117
|
+
# @param server_id [String] The unique ID of the server.
|
118
|
+
# @param cdrom_id [String] The unique ID of the CD-ROM.
|
119
119
|
# @param [Hash] opts the optional parameters
|
120
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
121
|
-
# @option opts [Integer] :depth Controls the
|
122
|
-
# @option opts [Integer] :x_contract_number Users
|
120
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
121
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
122
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
123
123
|
# @return [Image]
|
124
124
|
def datacenters_servers_cdroms_find_by_id(datacenter_id, server_id, cdrom_id, opts = {})
|
125
125
|
data, _status_code, _headers = datacenters_servers_cdroms_find_by_id_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
126
126
|
data
|
127
127
|
end
|
128
128
|
|
129
|
-
# Retrieve
|
130
|
-
#
|
131
|
-
# @param datacenter_id [String] The unique ID of the
|
132
|
-
# @param server_id [String] The unique ID of the
|
133
|
-
# @param cdrom_id [String] The unique ID of the CD-ROM
|
129
|
+
# Retrieve attached CD-ROMs
|
130
|
+
# Retrieve the properties of the CD-ROM, attached to the specified server.
|
131
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
132
|
+
# @param server_id [String] The unique ID of the server.
|
133
|
+
# @param cdrom_id [String] The unique ID of the CD-ROM.
|
134
134
|
# @param [Hash] opts the optional parameters
|
135
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
136
|
-
# @option opts [Integer] :depth Controls the
|
137
|
-
# @option opts [Integer] :x_contract_number Users
|
135
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
136
|
+
# @option opts [Integer] :depth 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
|
137
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
138
138
|
# @return [Array<(Image, Integer, Hash)>] Image data, response status code and response headers
|
139
139
|
def datacenters_servers_cdroms_find_by_id_with_http_info(datacenter_id, server_id, cdrom_id, opts = {})
|
140
140
|
if @api_client.config.debugging
|
@@ -204,15 +204,15 @@ module Ionoscloud
|
|
204
204
|
end
|
205
205
|
|
206
206
|
# List attached CD-ROMs
|
207
|
-
#
|
208
|
-
# @param datacenter_id [String] The unique ID of the
|
209
|
-
# @param server_id [String] The unique ID of the
|
207
|
+
# List all CD-ROMs, attached to the specified server.
|
208
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
209
|
+
# @param server_id [String] The unique ID of the server.
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
212
|
-
# @option opts [Integer] :depth Controls the
|
213
|
-
# @option opts [Integer] :x_contract_number Users
|
214
|
-
# @option opts [Integer] :offset
|
215
|
-
# @option opts [Integer] :limit
|
211
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
212
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
213
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
214
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). (default to 0)
|
215
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000)
|
216
216
|
# @return [Cdroms]
|
217
217
|
def datacenters_servers_cdroms_get(datacenter_id, server_id, opts = {})
|
218
218
|
data, _status_code, _headers = datacenters_servers_cdroms_get_with_http_info(datacenter_id, server_id, opts)
|
@@ -220,15 +220,15 @@ module Ionoscloud
|
|
220
220
|
end
|
221
221
|
|
222
222
|
# List attached CD-ROMs
|
223
|
-
#
|
224
|
-
# @param datacenter_id [String] The unique ID of the
|
225
|
-
# @param server_id [String] The unique ID of the
|
223
|
+
# List all CD-ROMs, attached to the specified server.
|
224
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
225
|
+
# @param server_id [String] The unique ID of the server.
|
226
226
|
# @param [Hash] opts the optional parameters
|
227
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
228
|
-
# @option opts [Integer] :depth Controls the
|
229
|
-
# @option opts [Integer] :x_contract_number Users
|
230
|
-
# @option opts [Integer] :offset
|
231
|
-
# @option opts [Integer] :limit
|
227
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
228
|
+
# @option opts [Integer] :depth 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
|
229
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
230
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
|
231
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination).
|
232
232
|
# @return [Array<(Cdroms, Integer, Hash)>] Cdroms data, response status code and response headers
|
233
233
|
def datacenters_servers_cdroms_get_with_http_info(datacenter_id, server_id, opts = {})
|
234
234
|
if @api_client.config.debugging
|
@@ -307,30 +307,30 @@ module Ionoscloud
|
|
307
307
|
return data, status_code, headers
|
308
308
|
end
|
309
309
|
|
310
|
-
# Attach
|
311
|
-
#
|
312
|
-
# @param datacenter_id [String] The unique ID of the
|
313
|
-
# @param server_id [String] The unique ID of the
|
314
|
-
# @param cdrom [Image] CD-ROM to be attached
|
310
|
+
# Attach CD-ROMs
|
311
|
+
# Attach a CD-ROM to an existing server. Up to two CD-ROMs can be attached to the same server.
|
312
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
313
|
+
# @param server_id [String] The unique ID of the server.
|
314
|
+
# @param cdrom [Image] The CD-ROM to be attached.
|
315
315
|
# @param [Hash] opts the optional parameters
|
316
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
317
|
-
# @option opts [Integer] :depth Controls the
|
318
|
-
# @option opts [Integer] :x_contract_number Users
|
316
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
317
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
318
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
319
319
|
# @return [Image]
|
320
320
|
def datacenters_servers_cdroms_post(datacenter_id, server_id, cdrom, opts = {})
|
321
321
|
data, _status_code, _headers = datacenters_servers_cdroms_post_with_http_info(datacenter_id, server_id, cdrom, opts)
|
322
322
|
data
|
323
323
|
end
|
324
324
|
|
325
|
-
# Attach
|
326
|
-
#
|
327
|
-
# @param datacenter_id [String] The unique ID of the
|
328
|
-
# @param server_id [String] The unique ID of the
|
329
|
-
# @param cdrom [Image] CD-ROM to be attached
|
325
|
+
# Attach CD-ROMs
|
326
|
+
# Attach a CD-ROM to an existing server. Up to two CD-ROMs can be attached to the same server.
|
327
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
328
|
+
# @param server_id [String] The unique ID of the server.
|
329
|
+
# @param cdrom [Image] The CD-ROM to be attached.
|
330
330
|
# @param [Hash] opts the optional parameters
|
331
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
332
|
-
# @option opts [Integer] :depth Controls the
|
333
|
-
# @option opts [Integer] :x_contract_number Users
|
331
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
332
|
+
# @option opts [Integer] :depth 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
|
333
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
334
334
|
# @return [Array<(Image, Integer, Hash)>] Image data, response status code and response headers
|
335
335
|
def datacenters_servers_cdroms_post_with_http_info(datacenter_id, server_id, cdrom, opts = {})
|
336
336
|
if @api_client.config.debugging
|
@@ -401,29 +401,29 @@ module Ionoscloud
|
|
401
401
|
return data, status_code, headers
|
402
402
|
end
|
403
403
|
|
404
|
-
# Delete
|
405
|
-
#
|
406
|
-
# @param datacenter_id [String] The unique ID of the
|
407
|
-
# @param server_id [String] The unique ID of the
|
404
|
+
# Delete servers
|
405
|
+
# 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.
|
406
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
407
|
+
# @param server_id [String] The unique ID of the server.
|
408
408
|
# @param [Hash] opts the optional parameters
|
409
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
410
|
-
# @option opts [Integer] :depth Controls the
|
411
|
-
# @option opts [Integer] :x_contract_number Users
|
412
|
-
# @return [
|
409
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
410
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
411
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
412
|
+
# @return [nil]
|
413
413
|
def datacenters_servers_delete(datacenter_id, server_id, opts = {})
|
414
|
-
|
415
|
-
|
414
|
+
datacenters_servers_delete_with_http_info(datacenter_id, server_id, opts)
|
415
|
+
nil
|
416
416
|
end
|
417
417
|
|
418
|
-
# Delete
|
419
|
-
#
|
420
|
-
# @param datacenter_id [String] The unique ID of the
|
421
|
-
# @param server_id [String] The unique ID of the
|
418
|
+
# Delete servers
|
419
|
+
# 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.
|
420
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
421
|
+
# @param server_id [String] The unique ID of the server.
|
422
422
|
# @param [Hash] opts the optional parameters
|
423
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
424
|
-
# @option opts [Integer] :depth Controls the
|
425
|
-
# @option opts [Integer] :x_contract_number Users
|
426
|
-
# @return [Array<(
|
423
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
424
|
+
# @option opts [Integer] :depth 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
|
425
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
426
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
427
427
|
def datacenters_servers_delete_with_http_info(datacenter_id, server_id, opts = {})
|
428
428
|
if @api_client.config.debugging
|
429
429
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_delete ...'
|
@@ -465,7 +465,7 @@ module Ionoscloud
|
|
465
465
|
post_body = opts[:debug_body]
|
466
466
|
|
467
467
|
# return_type
|
468
|
-
return_type = opts[:debug_return_type]
|
468
|
+
return_type = opts[:debug_return_type]
|
469
469
|
|
470
470
|
# auth_names
|
471
471
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -487,28 +487,28 @@ module Ionoscloud
|
|
487
487
|
return data, status_code, headers
|
488
488
|
end
|
489
489
|
|
490
|
-
# Retrieve
|
491
|
-
#
|
492
|
-
# @param datacenter_id [String] The unique ID of the
|
493
|
-
# @param server_id [String] The unique ID of the
|
490
|
+
# Retrieve servers by ID
|
491
|
+
# Retrieve information about the specified server within the data center, such as its configuration, provisioning status, and so on.
|
492
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
493
|
+
# @param server_id [String] The unique ID of the server.
|
494
494
|
# @param [Hash] opts the optional parameters
|
495
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
496
|
-
# @option opts [Integer] :depth Controls the
|
497
|
-
# @option opts [Integer] :x_contract_number Users
|
495
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
496
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
497
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
498
498
|
# @return [Server]
|
499
499
|
def datacenters_servers_find_by_id(datacenter_id, server_id, opts = {})
|
500
500
|
data, _status_code, _headers = datacenters_servers_find_by_id_with_http_info(datacenter_id, server_id, opts)
|
501
501
|
data
|
502
502
|
end
|
503
503
|
|
504
|
-
# Retrieve
|
505
|
-
#
|
506
|
-
# @param datacenter_id [String] The unique ID of the
|
507
|
-
# @param server_id [String] The unique ID of the
|
504
|
+
# Retrieve servers by ID
|
505
|
+
# Retrieve information about the specified server within the data center, such as its configuration, provisioning status, and so on.
|
506
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
507
|
+
# @param server_id [String] The unique ID of the server.
|
508
508
|
# @param [Hash] opts the optional parameters
|
509
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
510
|
-
# @option opts [Integer] :depth Controls the
|
511
|
-
# @option opts [Integer] :x_contract_number Users
|
509
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
510
|
+
# @option opts [Integer] :depth 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
|
511
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
512
512
|
# @return [Array<(Server, Integer, Hash)>] Server data, response status code and response headers
|
513
513
|
def datacenters_servers_find_by_id_with_http_info(datacenter_id, server_id, opts = {})
|
514
514
|
if @api_client.config.debugging
|
@@ -573,32 +573,32 @@ module Ionoscloud
|
|
573
573
|
return data, status_code, headers
|
574
574
|
end
|
575
575
|
|
576
|
-
# List
|
577
|
-
#
|
578
|
-
# @param datacenter_id [String] The unique ID of the
|
576
|
+
# List servers
|
577
|
+
# List all servers within the data center.
|
578
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
579
579
|
# @param [Hash] opts the optional parameters
|
580
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
581
|
-
# @option opts [Integer] :depth Controls the
|
582
|
-
# @option opts [Boolean] :upgrade_needed
|
583
|
-
# @option opts [Integer] :x_contract_number Users
|
584
|
-
# @option opts [Integer] :offset
|
585
|
-
# @option opts [Integer] :limit
|
580
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
581
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
582
|
+
# @option opts [Boolean] :upgrade_needed Filter servers that can or that cannot be upgraded.
|
583
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
584
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). (default to 0)
|
585
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000)
|
586
586
|
# @return [Servers]
|
587
587
|
def datacenters_servers_get(datacenter_id, opts = {})
|
588
588
|
data, _status_code, _headers = datacenters_servers_get_with_http_info(datacenter_id, opts)
|
589
589
|
data
|
590
590
|
end
|
591
591
|
|
592
|
-
# List
|
593
|
-
#
|
594
|
-
# @param datacenter_id [String] The unique ID of the
|
592
|
+
# List servers
|
593
|
+
# List all servers within the data center.
|
594
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
595
595
|
# @param [Hash] opts the optional parameters
|
596
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
597
|
-
# @option opts [Integer] :depth Controls the
|
598
|
-
# @option opts [Boolean] :upgrade_needed
|
599
|
-
# @option opts [Integer] :x_contract_number Users
|
600
|
-
# @option opts [Integer] :offset
|
601
|
-
# @option opts [Integer] :limit
|
596
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
597
|
+
# @option opts [Integer] :depth 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
|
598
|
+
# @option opts [Boolean] :upgrade_needed Filter servers that can or that cannot be upgraded.
|
599
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
600
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
|
601
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination).
|
602
602
|
# @return [Array<(Servers, Integer, Hash)>] Servers data, response status code and response headers
|
603
603
|
def datacenters_servers_get_with_http_info(datacenter_id, opts = {})
|
604
604
|
if @api_client.config.debugging
|
@@ -674,30 +674,30 @@ module Ionoscloud
|
|
674
674
|
return data, status_code, headers
|
675
675
|
end
|
676
676
|
|
677
|
-
# Partially modify
|
678
|
-
#
|
679
|
-
# @param datacenter_id [String] The unique ID of the
|
680
|
-
# @param server_id [String] The unique ID of the server
|
681
|
-
# @param server [ServerProperties]
|
677
|
+
# Partially modify servers
|
678
|
+
# Update the properties of the specified server within the data center.
|
679
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
680
|
+
# @param server_id [String] The unique ID of the server.
|
681
|
+
# @param server [ServerProperties] The properties of the server to be updated.
|
682
682
|
# @param [Hash] opts the optional parameters
|
683
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
684
|
-
# @option opts [Integer] :depth Controls the
|
685
|
-
# @option opts [Integer] :x_contract_number Users
|
683
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
684
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
685
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
686
686
|
# @return [Server]
|
687
687
|
def datacenters_servers_patch(datacenter_id, server_id, server, opts = {})
|
688
688
|
data, _status_code, _headers = datacenters_servers_patch_with_http_info(datacenter_id, server_id, server, opts)
|
689
689
|
data
|
690
690
|
end
|
691
691
|
|
692
|
-
# Partially modify
|
693
|
-
#
|
694
|
-
# @param datacenter_id [String] The unique ID of the
|
695
|
-
# @param server_id [String] The unique ID of the server
|
696
|
-
# @param server [ServerProperties]
|
692
|
+
# Partially modify servers
|
693
|
+
# Update the properties of the specified server within the data center.
|
694
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
695
|
+
# @param server_id [String] The unique ID of the server.
|
696
|
+
# @param server [ServerProperties] The properties of the server to be updated.
|
697
697
|
# @param [Hash] opts the optional parameters
|
698
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
699
|
-
# @option opts [Integer] :depth Controls the
|
700
|
-
# @option opts [Integer] :x_contract_number Users
|
698
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
699
|
+
# @option opts [Integer] :depth 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
|
700
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
701
701
|
# @return [Array<(Server, Integer, Hash)>] Server data, response status code and response headers
|
702
702
|
def datacenters_servers_patch_with_http_info(datacenter_id, server_id, server, opts = {})
|
703
703
|
if @api_client.config.debugging
|
@@ -768,28 +768,28 @@ module Ionoscloud
|
|
768
768
|
return data, status_code, headers
|
769
769
|
end
|
770
770
|
|
771
|
-
# Create
|
772
|
-
#
|
773
|
-
# @param datacenter_id [String] The unique ID of the
|
774
|
-
# @param server [Server]
|
771
|
+
# Create servers
|
772
|
+
# 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.
|
773
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
774
|
+
# @param server [Server] The server to create.
|
775
775
|
# @param [Hash] opts the optional parameters
|
776
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
777
|
-
# @option opts [Integer] :depth Controls the
|
778
|
-
# @option opts [Integer] :x_contract_number Users
|
776
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
777
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
778
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
779
779
|
# @return [Server]
|
780
780
|
def datacenters_servers_post(datacenter_id, server, opts = {})
|
781
781
|
data, _status_code, _headers = datacenters_servers_post_with_http_info(datacenter_id, server, opts)
|
782
782
|
data
|
783
783
|
end
|
784
784
|
|
785
|
-
# Create
|
786
|
-
#
|
787
|
-
# @param datacenter_id [String] The unique ID of the
|
788
|
-
# @param server [Server]
|
785
|
+
# Create servers
|
786
|
+
# 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.
|
787
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
788
|
+
# @param server [Server] The server to create.
|
789
789
|
# @param [Hash] opts the optional parameters
|
790
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
791
|
-
# @option opts [Integer] :depth Controls the
|
792
|
-
# @option opts [Integer] :x_contract_number Users
|
790
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
791
|
+
# @option opts [Integer] :depth 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
|
792
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
793
793
|
# @return [Array<(Server, Integer, Hash)>] Server data, response status code and response headers
|
794
794
|
def datacenters_servers_post_with_http_info(datacenter_id, server, opts = {})
|
795
795
|
if @api_client.config.debugging
|
@@ -856,30 +856,30 @@ module Ionoscloud
|
|
856
856
|
return data, status_code, headers
|
857
857
|
end
|
858
858
|
|
859
|
-
# Modify
|
860
|
-
#
|
861
|
-
# @param datacenter_id [String] The unique ID of the
|
862
|
-
# @param server_id [String] The unique ID of the server
|
863
|
-
# @param server [Server]
|
859
|
+
# Modify servers
|
860
|
+
# 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.
|
861
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
862
|
+
# @param server_id [String] The unique ID of the server.
|
863
|
+
# @param server [Server] The modified server
|
864
864
|
# @param [Hash] opts the optional parameters
|
865
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
866
|
-
# @option opts [Integer] :depth Controls the
|
867
|
-
# @option opts [Integer] :x_contract_number Users
|
865
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
866
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
867
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
868
868
|
# @return [Server]
|
869
869
|
def datacenters_servers_put(datacenter_id, server_id, server, opts = {})
|
870
870
|
data, _status_code, _headers = datacenters_servers_put_with_http_info(datacenter_id, server_id, server, opts)
|
871
871
|
data
|
872
872
|
end
|
873
873
|
|
874
|
-
# Modify
|
875
|
-
#
|
876
|
-
# @param datacenter_id [String] The unique ID of the
|
877
|
-
# @param server_id [String] The unique ID of the server
|
878
|
-
# @param server [Server]
|
874
|
+
# Modify servers
|
875
|
+
# 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.
|
876
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
877
|
+
# @param server_id [String] The unique ID of the server.
|
878
|
+
# @param server [Server] The modified server
|
879
879
|
# @param [Hash] opts the optional parameters
|
880
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
881
|
-
# @option opts [Integer] :depth Controls the
|
882
|
-
# @option opts [Integer] :x_contract_number Users
|
880
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
881
|
+
# @option opts [Integer] :depth 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
|
882
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
883
883
|
# @return [Array<(Server, Integer, Hash)>] Server data, response status code and response headers
|
884
884
|
def datacenters_servers_put_with_http_info(datacenter_id, server_id, server, opts = {})
|
885
885
|
if @api_client.config.debugging
|
@@ -950,29 +950,29 @@ module Ionoscloud
|
|
950
950
|
return data, status_code, headers
|
951
951
|
end
|
952
952
|
|
953
|
-
# Reboot
|
954
|
-
#
|
955
|
-
# @param datacenter_id [String] The unique ID of the
|
956
|
-
# @param server_id [String] The unique ID of the
|
953
|
+
# Reboot servers
|
954
|
+
# 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.
|
955
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
956
|
+
# @param server_id [String] The unique ID of the server.
|
957
957
|
# @param [Hash] opts the optional parameters
|
958
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
959
|
-
# @option opts [Integer] :depth Controls the
|
960
|
-
# @option opts [Integer] :x_contract_number Users
|
961
|
-
# @return [
|
958
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
959
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
960
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
961
|
+
# @return [nil]
|
962
962
|
def datacenters_servers_reboot_post(datacenter_id, server_id, opts = {})
|
963
|
-
|
964
|
-
|
963
|
+
datacenters_servers_reboot_post_with_http_info(datacenter_id, server_id, opts)
|
964
|
+
nil
|
965
965
|
end
|
966
966
|
|
967
|
-
# Reboot
|
968
|
-
#
|
969
|
-
# @param datacenter_id [String] The unique ID of the
|
970
|
-
# @param server_id [String] The unique ID of the
|
967
|
+
# Reboot servers
|
968
|
+
# 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.
|
969
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
970
|
+
# @param server_id [String] The unique ID of the server.
|
971
971
|
# @param [Hash] opts the optional parameters
|
972
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
973
|
-
# @option opts [Integer] :depth Controls the
|
974
|
-
# @option opts [Integer] :x_contract_number Users
|
975
|
-
# @return [Array<(
|
972
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
973
|
+
# @option opts [Integer] :depth 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
|
974
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
975
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
976
976
|
def datacenters_servers_reboot_post_with_http_info(datacenter_id, server_id, opts = {})
|
977
977
|
if @api_client.config.debugging
|
978
978
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_reboot_post ...'
|
@@ -1014,7 +1014,7 @@ module Ionoscloud
|
|
1014
1014
|
post_body = opts[:debug_body]
|
1015
1015
|
|
1016
1016
|
# return_type
|
1017
|
-
return_type = opts[:debug_return_type]
|
1017
|
+
return_type = opts[:debug_return_type]
|
1018
1018
|
|
1019
1019
|
# auth_names
|
1020
1020
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1036,28 +1036,28 @@ module Ionoscloud
|
|
1036
1036
|
return data, status_code, headers
|
1037
1037
|
end
|
1038
1038
|
|
1039
|
-
# Get
|
1040
|
-
#
|
1041
|
-
# @param datacenter_id [String] The unique ID of the
|
1042
|
-
# @param server_id [String] The unique ID of the
|
1039
|
+
# Get Remote Console link
|
1040
|
+
# Retrieve a link with a JSON Web Token for accessing the server's Remote Console.
|
1041
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1042
|
+
# @param server_id [String] The unique ID of the server.
|
1043
1043
|
# @param [Hash] opts the optional parameters
|
1044
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1045
|
-
# @option opts [Integer] :depth Controls the
|
1046
|
-
# @option opts [Integer] :x_contract_number Users
|
1044
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1045
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1046
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1047
1047
|
# @return [RemoteConsoleUrl]
|
1048
1048
|
def datacenters_servers_remote_console_get(datacenter_id, server_id, opts = {})
|
1049
1049
|
data, _status_code, _headers = datacenters_servers_remote_console_get_with_http_info(datacenter_id, server_id, opts)
|
1050
1050
|
data
|
1051
1051
|
end
|
1052
1052
|
|
1053
|
-
# Get
|
1054
|
-
#
|
1055
|
-
# @param datacenter_id [String] The unique ID of the
|
1056
|
-
# @param server_id [String] The unique ID of the
|
1053
|
+
# Get Remote Console link
|
1054
|
+
# Retrieve a link with a JSON Web Token for accessing the server's Remote Console.
|
1055
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1056
|
+
# @param server_id [String] The unique ID of the server.
|
1057
1057
|
# @param [Hash] opts the optional parameters
|
1058
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1059
|
-
# @option opts [Integer] :depth Controls the
|
1060
|
-
# @option opts [Integer] :x_contract_number Users
|
1058
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1059
|
+
# @option opts [Integer] :depth 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
|
1060
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1061
1061
|
# @return [Array<(RemoteConsoleUrl, Integer, Hash)>] RemoteConsoleUrl data, response status code and response headers
|
1062
1062
|
def datacenters_servers_remote_console_get_with_http_info(datacenter_id, server_id, opts = {})
|
1063
1063
|
if @api_client.config.debugging
|
@@ -1122,29 +1122,29 @@ module Ionoscloud
|
|
1122
1122
|
return data, status_code, headers
|
1123
1123
|
end
|
1124
1124
|
|
1125
|
-
# Resume
|
1126
|
-
#
|
1127
|
-
# @param datacenter_id [String] The unique ID of the
|
1128
|
-
# @param server_id [String] The unique ID of the
|
1125
|
+
# Resume Cubes instances
|
1126
|
+
# Resume a suspended Cube instance; no billing event will be generated. This operation is only supported for the Cubes.
|
1127
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1128
|
+
# @param server_id [String] The unique ID of the server.
|
1129
1129
|
# @param [Hash] opts the optional parameters
|
1130
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1131
|
-
# @option opts [Integer] :depth Controls the
|
1132
|
-
# @option opts [Integer] :x_contract_number Users
|
1133
|
-
# @return [
|
1130
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1131
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1132
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1133
|
+
# @return [nil]
|
1134
1134
|
def datacenters_servers_resume_post(datacenter_id, server_id, opts = {})
|
1135
|
-
|
1136
|
-
|
1135
|
+
datacenters_servers_resume_post_with_http_info(datacenter_id, server_id, opts)
|
1136
|
+
nil
|
1137
1137
|
end
|
1138
1138
|
|
1139
|
-
# Resume
|
1140
|
-
#
|
1141
|
-
# @param datacenter_id [String] The unique ID of the
|
1142
|
-
# @param server_id [String] The unique ID of the
|
1139
|
+
# Resume Cubes instances
|
1140
|
+
# Resume a suspended Cube instance; no billing event will be generated. This operation is only supported for the Cubes.
|
1141
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1142
|
+
# @param server_id [String] The unique ID of the server.
|
1143
1143
|
# @param [Hash] opts the optional parameters
|
1144
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1145
|
-
# @option opts [Integer] :depth Controls the
|
1146
|
-
# @option opts [Integer] :x_contract_number Users
|
1147
|
-
# @return [Array<(
|
1144
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1145
|
+
# @option opts [Integer] :depth 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
|
1146
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1147
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1148
1148
|
def datacenters_servers_resume_post_with_http_info(datacenter_id, server_id, opts = {})
|
1149
1149
|
if @api_client.config.debugging
|
1150
1150
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_resume_post ...'
|
@@ -1186,7 +1186,7 @@ module Ionoscloud
|
|
1186
1186
|
post_body = opts[:debug_body]
|
1187
1187
|
|
1188
1188
|
# return_type
|
1189
|
-
return_type = opts[:debug_return_type]
|
1189
|
+
return_type = opts[:debug_return_type]
|
1190
1190
|
|
1191
1191
|
# auth_names
|
1192
1192
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1208,29 +1208,29 @@ module Ionoscloud
|
|
1208
1208
|
return data, status_code, headers
|
1209
1209
|
end
|
1210
1210
|
|
1211
|
-
# Start
|
1212
|
-
#
|
1213
|
-
# @param datacenter_id [String] The unique ID of the
|
1214
|
-
# @param server_id [String] The unique ID of the
|
1211
|
+
# Start servers
|
1212
|
+
# 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.
|
1213
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1214
|
+
# @param server_id [String] The unique ID of the server.
|
1215
1215
|
# @param [Hash] opts the optional parameters
|
1216
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1217
|
-
# @option opts [Integer] :depth Controls the
|
1218
|
-
# @option opts [Integer] :x_contract_number Users
|
1219
|
-
# @return [
|
1216
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1217
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1218
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1219
|
+
# @return [nil]
|
1220
1220
|
def datacenters_servers_start_post(datacenter_id, server_id, opts = {})
|
1221
|
-
|
1222
|
-
|
1221
|
+
datacenters_servers_start_post_with_http_info(datacenter_id, server_id, opts)
|
1222
|
+
nil
|
1223
1223
|
end
|
1224
1224
|
|
1225
|
-
# Start
|
1226
|
-
#
|
1227
|
-
# @param datacenter_id [String] The unique ID of the
|
1228
|
-
# @param server_id [String] The unique ID of the
|
1225
|
+
# Start servers
|
1226
|
+
# 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.
|
1227
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1228
|
+
# @param server_id [String] The unique ID of the server.
|
1229
1229
|
# @param [Hash] opts the optional parameters
|
1230
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1231
|
-
# @option opts [Integer] :depth Controls the
|
1232
|
-
# @option opts [Integer] :x_contract_number Users
|
1233
|
-
# @return [Array<(
|
1230
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1231
|
+
# @option opts [Integer] :depth 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
|
1232
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1233
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1234
1234
|
def datacenters_servers_start_post_with_http_info(datacenter_id, server_id, opts = {})
|
1235
1235
|
if @api_client.config.debugging
|
1236
1236
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_start_post ...'
|
@@ -1272,7 +1272,7 @@ module Ionoscloud
|
|
1272
1272
|
post_body = opts[:debug_body]
|
1273
1273
|
|
1274
1274
|
# return_type
|
1275
|
-
return_type = opts[:debug_return_type]
|
1275
|
+
return_type = opts[:debug_return_type]
|
1276
1276
|
|
1277
1277
|
# auth_names
|
1278
1278
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1294,29 +1294,29 @@ module Ionoscloud
|
|
1294
1294
|
return data, status_code, headers
|
1295
1295
|
end
|
1296
1296
|
|
1297
|
-
# Stop
|
1298
|
-
#
|
1299
|
-
# @param datacenter_id [String] The unique ID of the
|
1300
|
-
# @param server_id [String] The unique ID of the
|
1297
|
+
# Stop VMs
|
1298
|
+
# 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.
|
1299
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1300
|
+
# @param server_id [String] The unique ID of the server.
|
1301
1301
|
# @param [Hash] opts the optional parameters
|
1302
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1303
|
-
# @option opts [Integer] :depth Controls the
|
1304
|
-
# @option opts [Integer] :x_contract_number Users
|
1305
|
-
# @return [
|
1302
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1303
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1304
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1305
|
+
# @return [nil]
|
1306
1306
|
def datacenters_servers_stop_post(datacenter_id, server_id, opts = {})
|
1307
|
-
|
1308
|
-
|
1307
|
+
datacenters_servers_stop_post_with_http_info(datacenter_id, server_id, opts)
|
1308
|
+
nil
|
1309
1309
|
end
|
1310
1310
|
|
1311
|
-
# Stop
|
1312
|
-
#
|
1313
|
-
# @param datacenter_id [String] The unique ID of the
|
1314
|
-
# @param server_id [String] The unique ID of the
|
1311
|
+
# Stop VMs
|
1312
|
+
# 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.
|
1313
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1314
|
+
# @param server_id [String] The unique ID of the server.
|
1315
1315
|
# @param [Hash] opts the optional parameters
|
1316
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1317
|
-
# @option opts [Integer] :depth Controls the
|
1318
|
-
# @option opts [Integer] :x_contract_number Users
|
1319
|
-
# @return [Array<(
|
1316
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1317
|
+
# @option opts [Integer] :depth 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
|
1318
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1319
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1320
1320
|
def datacenters_servers_stop_post_with_http_info(datacenter_id, server_id, opts = {})
|
1321
1321
|
if @api_client.config.debugging
|
1322
1322
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_stop_post ...'
|
@@ -1358,7 +1358,7 @@ module Ionoscloud
|
|
1358
1358
|
post_body = opts[:debug_body]
|
1359
1359
|
|
1360
1360
|
# return_type
|
1361
|
-
return_type = opts[:debug_return_type]
|
1361
|
+
return_type = opts[:debug_return_type]
|
1362
1362
|
|
1363
1363
|
# auth_names
|
1364
1364
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1380,29 +1380,29 @@ module Ionoscloud
|
|
1380
1380
|
return data, status_code, headers
|
1381
1381
|
end
|
1382
1382
|
|
1383
|
-
# Suspend
|
1384
|
-
#
|
1385
|
-
# @param datacenter_id [String] The unique ID of the
|
1386
|
-
# @param server_id [String] The unique ID of the
|
1383
|
+
# Suspend Cubes instances
|
1384
|
+
# 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.
|
1385
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1386
|
+
# @param server_id [String] The unique ID of the server.
|
1387
1387
|
# @param [Hash] opts the optional parameters
|
1388
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1389
|
-
# @option opts [Integer] :depth Controls the
|
1390
|
-
# @option opts [Integer] :x_contract_number Users
|
1391
|
-
# @return [
|
1388
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1389
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1390
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1391
|
+
# @return [nil]
|
1392
1392
|
def datacenters_servers_suspend_post(datacenter_id, server_id, opts = {})
|
1393
|
-
|
1394
|
-
|
1393
|
+
datacenters_servers_suspend_post_with_http_info(datacenter_id, server_id, opts)
|
1394
|
+
nil
|
1395
1395
|
end
|
1396
1396
|
|
1397
|
-
# Suspend
|
1398
|
-
#
|
1399
|
-
# @param datacenter_id [String] The unique ID of the
|
1400
|
-
# @param server_id [String] The unique ID of the
|
1397
|
+
# Suspend Cubes instances
|
1398
|
+
# 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.
|
1399
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1400
|
+
# @param server_id [String] The unique ID of the server.
|
1401
1401
|
# @param [Hash] opts the optional parameters
|
1402
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1403
|
-
# @option opts [Integer] :depth Controls the
|
1404
|
-
# @option opts [Integer] :x_contract_number Users
|
1405
|
-
# @return [Array<(
|
1402
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1403
|
+
# @option opts [Integer] :depth 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
|
1404
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1405
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1406
1406
|
def datacenters_servers_suspend_post_with_http_info(datacenter_id, server_id, opts = {})
|
1407
1407
|
if @api_client.config.debugging
|
1408
1408
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_suspend_post ...'
|
@@ -1444,7 +1444,7 @@ module Ionoscloud
|
|
1444
1444
|
post_body = opts[:debug_body]
|
1445
1445
|
|
1446
1446
|
# return_type
|
1447
|
-
return_type = opts[:debug_return_type]
|
1447
|
+
return_type = opts[:debug_return_type]
|
1448
1448
|
|
1449
1449
|
# auth_names
|
1450
1450
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1466,28 +1466,28 @@ module Ionoscloud
|
|
1466
1466
|
return data, status_code, headers
|
1467
1467
|
end
|
1468
1468
|
|
1469
|
-
# Get
|
1470
|
-
#
|
1471
|
-
# @param datacenter_id [String] The unique ID of the
|
1472
|
-
# @param server_id [String] The unique ID of the
|
1469
|
+
# Get JASON Web Token
|
1470
|
+
# Retrieve a JSON Web Token from the server for use in login operations (such as accessing the server's console).
|
1471
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1472
|
+
# @param server_id [String] The unique ID of the server.
|
1473
1473
|
# @param [Hash] opts the optional parameters
|
1474
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1475
|
-
# @option opts [Integer] :depth Controls the
|
1476
|
-
# @option opts [Integer] :x_contract_number Users
|
1474
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1475
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1476
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1477
1477
|
# @return [Token]
|
1478
1478
|
def datacenters_servers_token_get(datacenter_id, server_id, opts = {})
|
1479
1479
|
data, _status_code, _headers = datacenters_servers_token_get_with_http_info(datacenter_id, server_id, opts)
|
1480
1480
|
data
|
1481
1481
|
end
|
1482
1482
|
|
1483
|
-
# Get
|
1484
|
-
#
|
1485
|
-
# @param datacenter_id [String] The unique ID of the
|
1486
|
-
# @param server_id [String] The unique ID of the
|
1483
|
+
# Get JASON Web Token
|
1484
|
+
# Retrieve a JSON Web Token from the server for use in login operations (such as accessing the server's console).
|
1485
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1486
|
+
# @param server_id [String] The unique ID of the server.
|
1487
1487
|
# @param [Hash] opts the optional parameters
|
1488
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1489
|
-
# @option opts [Integer] :depth Controls the
|
1490
|
-
# @option opts [Integer] :x_contract_number Users
|
1488
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1489
|
+
# @option opts [Integer] :depth 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
|
1490
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1491
1491
|
# @return [Array<(Token, Integer, Hash)>] Token data, response status code and response headers
|
1492
1492
|
def datacenters_servers_token_get_with_http_info(datacenter_id, server_id, opts = {})
|
1493
1493
|
if @api_client.config.debugging
|
@@ -1552,29 +1552,29 @@ module Ionoscloud
|
|
1552
1552
|
return data, status_code, headers
|
1553
1553
|
end
|
1554
1554
|
|
1555
|
-
# Upgrade
|
1556
|
-
#
|
1557
|
-
# @param datacenter_id [String] The unique ID of the
|
1558
|
-
# @param server_id [String] The unique ID of the
|
1555
|
+
# Upgrade servers
|
1556
|
+
# Upgrade the server version, if needed. To determine if an upgrade is available, execute the following call: '/datacenters/{datacenterId}/servers?upgradeNeeded=true'
|
1557
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1558
|
+
# @param server_id [String] The unique ID of the server.
|
1559
1559
|
# @param [Hash] opts the optional parameters
|
1560
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1561
|
-
# @option opts [Integer] :depth Controls the
|
1562
|
-
# @option opts [Integer] :x_contract_number Users
|
1563
|
-
# @return [
|
1560
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1561
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1562
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1563
|
+
# @return [nil]
|
1564
1564
|
def datacenters_servers_upgrade_post(datacenter_id, server_id, opts = {})
|
1565
|
-
|
1566
|
-
|
1565
|
+
datacenters_servers_upgrade_post_with_http_info(datacenter_id, server_id, opts)
|
1566
|
+
nil
|
1567
1567
|
end
|
1568
1568
|
|
1569
|
-
# Upgrade
|
1570
|
-
#
|
1571
|
-
# @param datacenter_id [String] The unique ID of the
|
1572
|
-
# @param server_id [String] The unique ID of the
|
1569
|
+
# Upgrade servers
|
1570
|
+
# Upgrade the server version, if needed. To determine if an upgrade is available, execute the following call: '/datacenters/{datacenterId}/servers?upgradeNeeded=true'
|
1571
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1572
|
+
# @param server_id [String] The unique ID of the server.
|
1573
1573
|
# @param [Hash] opts the optional parameters
|
1574
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1575
|
-
# @option opts [Integer] :depth Controls the
|
1576
|
-
# @option opts [Integer] :x_contract_number Users
|
1577
|
-
# @return [Array<(
|
1574
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1575
|
+
# @option opts [Integer] :depth 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
|
1576
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1577
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1578
1578
|
def datacenters_servers_upgrade_post_with_http_info(datacenter_id, server_id, opts = {})
|
1579
1579
|
if @api_client.config.debugging
|
1580
1580
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_upgrade_post ...'
|
@@ -1616,7 +1616,7 @@ module Ionoscloud
|
|
1616
1616
|
post_body = opts[:debug_body]
|
1617
1617
|
|
1618
1618
|
# return_type
|
1619
|
-
return_type = opts[:debug_return_type]
|
1619
|
+
return_type = opts[:debug_return_type]
|
1620
1620
|
|
1621
1621
|
# auth_names
|
1622
1622
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1638,31 +1638,31 @@ module Ionoscloud
|
|
1638
1638
|
return data, status_code, headers
|
1639
1639
|
end
|
1640
1640
|
|
1641
|
-
# Detach
|
1642
|
-
#
|
1643
|
-
# @param datacenter_id [String] The unique ID of the
|
1644
|
-
# @param server_id [String] The unique ID of the
|
1645
|
-
# @param volume_id [String] The unique ID of the
|
1641
|
+
# Detach volumes
|
1642
|
+
# Detach the specified volume from the server without deleting it from the data center. A separate request must be made to perform the deletion.
|
1643
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1644
|
+
# @param server_id [String] The unique ID of the server.
|
1645
|
+
# @param volume_id [String] The unique ID of the volume.
|
1646
1646
|
# @param [Hash] opts the optional parameters
|
1647
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1648
|
-
# @option opts [Integer] :depth Controls the
|
1649
|
-
# @option opts [Integer] :x_contract_number Users
|
1650
|
-
# @return [
|
1647
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1648
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1649
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1650
|
+
# @return [nil]
|
1651
1651
|
def datacenters_servers_volumes_delete(datacenter_id, server_id, volume_id, opts = {})
|
1652
|
-
|
1653
|
-
|
1652
|
+
datacenters_servers_volumes_delete_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1653
|
+
nil
|
1654
1654
|
end
|
1655
1655
|
|
1656
|
-
# Detach
|
1657
|
-
#
|
1658
|
-
# @param datacenter_id [String] The unique ID of the
|
1659
|
-
# @param server_id [String] The unique ID of the
|
1660
|
-
# @param volume_id [String] The unique ID of the
|
1656
|
+
# Detach volumes
|
1657
|
+
# Detach the specified volume from the server without deleting it from the data center. A separate request must be made to perform the deletion.
|
1658
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1659
|
+
# @param server_id [String] The unique ID of the server.
|
1660
|
+
# @param volume_id [String] The unique ID of the volume.
|
1661
1661
|
# @param [Hash] opts the optional parameters
|
1662
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1663
|
-
# @option opts [Integer] :depth Controls the
|
1664
|
-
# @option opts [Integer] :x_contract_number Users
|
1665
|
-
# @return [Array<(
|
1662
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1663
|
+
# @option opts [Integer] :depth 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
|
1664
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1665
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1666
1666
|
def datacenters_servers_volumes_delete_with_http_info(datacenter_id, server_id, volume_id, opts = {})
|
1667
1667
|
if @api_client.config.debugging
|
1668
1668
|
@api_client.config.logger.debug 'Calling API: ServersApi.datacenters_servers_volumes_delete ...'
|
@@ -1708,7 +1708,7 @@ module Ionoscloud
|
|
1708
1708
|
post_body = opts[:debug_body]
|
1709
1709
|
|
1710
1710
|
# return_type
|
1711
|
-
return_type = opts[:debug_return_type]
|
1711
|
+
return_type = opts[:debug_return_type]
|
1712
1712
|
|
1713
1713
|
# auth_names
|
1714
1714
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1730,30 +1730,30 @@ module Ionoscloud
|
|
1730
1730
|
return data, status_code, headers
|
1731
1731
|
end
|
1732
1732
|
|
1733
|
-
# Retrieve
|
1734
|
-
#
|
1735
|
-
# @param datacenter_id [String] The unique ID of the
|
1736
|
-
# @param server_id [String] The unique ID of the
|
1737
|
-
# @param volume_id [String] The unique ID of the
|
1733
|
+
# Retrieve attached volumes
|
1734
|
+
# Retrieve the properties of the volume, attached to the specified server.
|
1735
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1736
|
+
# @param server_id [String] The unique ID of the server.
|
1737
|
+
# @param volume_id [String] The unique ID of the volume.
|
1738
1738
|
# @param [Hash] opts the optional parameters
|
1739
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1740
|
-
# @option opts [Integer] :depth Controls the
|
1741
|
-
# @option opts [Integer] :x_contract_number Users
|
1739
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1740
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1741
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1742
1742
|
# @return [Volume]
|
1743
1743
|
def datacenters_servers_volumes_find_by_id(datacenter_id, server_id, volume_id, opts = {})
|
1744
1744
|
data, _status_code, _headers = datacenters_servers_volumes_find_by_id_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1745
1745
|
data
|
1746
1746
|
end
|
1747
1747
|
|
1748
|
-
# Retrieve
|
1749
|
-
#
|
1750
|
-
# @param datacenter_id [String] The unique ID of the
|
1751
|
-
# @param server_id [String] The unique ID of the
|
1752
|
-
# @param volume_id [String] The unique ID of the
|
1748
|
+
# Retrieve attached volumes
|
1749
|
+
# Retrieve the properties of the volume, attached to the specified server.
|
1750
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1751
|
+
# @param server_id [String] The unique ID of the server.
|
1752
|
+
# @param volume_id [String] The unique ID of the volume.
|
1753
1753
|
# @param [Hash] opts the optional parameters
|
1754
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1755
|
-
# @option opts [Integer] :depth Controls the
|
1756
|
-
# @option opts [Integer] :x_contract_number Users
|
1754
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1755
|
+
# @option opts [Integer] :depth 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
|
1756
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1757
1757
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
1758
1758
|
def datacenters_servers_volumes_find_by_id_with_http_info(datacenter_id, server_id, volume_id, opts = {})
|
1759
1759
|
if @api_client.config.debugging
|
@@ -1822,32 +1822,32 @@ module Ionoscloud
|
|
1822
1822
|
return data, status_code, headers
|
1823
1823
|
end
|
1824
1824
|
|
1825
|
-
# List
|
1826
|
-
#
|
1827
|
-
# @param datacenter_id [String] The unique ID of the
|
1828
|
-
# @param server_id [String] The unique ID of the
|
1825
|
+
# List attached volumes
|
1826
|
+
# List all volumes, attached to the specified server.
|
1827
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1828
|
+
# @param server_id [String] The unique ID of the server.
|
1829
1829
|
# @param [Hash] opts the optional parameters
|
1830
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1831
|
-
# @option opts [Integer] :depth Controls the
|
1832
|
-
# @option opts [Integer] :x_contract_number Users
|
1833
|
-
# @option opts [Integer] :offset
|
1834
|
-
# @option opts [Integer] :limit
|
1830
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1831
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1832
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1833
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). (default to 0)
|
1834
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000)
|
1835
1835
|
# @return [AttachedVolumes]
|
1836
1836
|
def datacenters_servers_volumes_get(datacenter_id, server_id, opts = {})
|
1837
1837
|
data, _status_code, _headers = datacenters_servers_volumes_get_with_http_info(datacenter_id, server_id, opts)
|
1838
1838
|
data
|
1839
1839
|
end
|
1840
1840
|
|
1841
|
-
# List
|
1842
|
-
#
|
1843
|
-
# @param datacenter_id [String] The unique ID of the
|
1844
|
-
# @param server_id [String] The unique ID of the
|
1841
|
+
# List attached volumes
|
1842
|
+
# List all volumes, attached to the specified server.
|
1843
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1844
|
+
# @param server_id [String] The unique ID of the server.
|
1845
1845
|
# @param [Hash] opts the optional parameters
|
1846
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1847
|
-
# @option opts [Integer] :depth Controls the
|
1848
|
-
# @option opts [Integer] :x_contract_number Users
|
1849
|
-
# @option opts [Integer] :offset
|
1850
|
-
# @option opts [Integer] :limit
|
1846
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1847
|
+
# @option opts [Integer] :depth 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
|
1848
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1849
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
|
1850
|
+
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination).
|
1851
1851
|
# @return [Array<(AttachedVolumes, Integer, Hash)>] AttachedVolumes data, response status code and response headers
|
1852
1852
|
def datacenters_servers_volumes_get_with_http_info(datacenter_id, server_id, opts = {})
|
1853
1853
|
if @api_client.config.debugging
|
@@ -1926,30 +1926,30 @@ module Ionoscloud
|
|
1926
1926
|
return data, status_code, headers
|
1927
1927
|
end
|
1928
1928
|
|
1929
|
-
# Attach
|
1930
|
-
#
|
1931
|
-
# @param datacenter_id [String] The unique ID of the
|
1932
|
-
# @param server_id [String] The unique ID of the
|
1933
|
-
# @param volume [Volume]
|
1929
|
+
# Attach volumes
|
1930
|
+
# 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.
|
1931
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1932
|
+
# @param server_id [String] The unique ID of the server.
|
1933
|
+
# @param volume [Volume] The volume to be attached (or created and attached).
|
1934
1934
|
# @param [Hash] opts the optional parameters
|
1935
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1936
|
-
# @option opts [Integer] :depth Controls the
|
1937
|
-
# @option opts [Integer] :x_contract_number Users
|
1935
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1936
|
+
# @option opts [Integer] :depth 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 (default to 0)
|
1937
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1938
1938
|
# @return [Volume]
|
1939
1939
|
def datacenters_servers_volumes_post(datacenter_id, server_id, volume, opts = {})
|
1940
1940
|
data, _status_code, _headers = datacenters_servers_volumes_post_with_http_info(datacenter_id, server_id, volume, opts)
|
1941
1941
|
data
|
1942
1942
|
end
|
1943
1943
|
|
1944
|
-
# Attach
|
1945
|
-
#
|
1946
|
-
# @param datacenter_id [String] The unique ID of the
|
1947
|
-
# @param server_id [String] The unique ID of the
|
1948
|
-
# @param volume [Volume]
|
1944
|
+
# Attach volumes
|
1945
|
+
# 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.
|
1946
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1947
|
+
# @param server_id [String] The unique ID of the server.
|
1948
|
+
# @param volume [Volume] The volume to be attached (or created and attached).
|
1949
1949
|
# @param [Hash] opts the optional parameters
|
1950
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1951
|
-
# @option opts [Integer] :depth Controls the
|
1952
|
-
# @option opts [Integer] :x_contract_number Users
|
1950
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1951
|
+
# @option opts [Integer] :depth 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
|
1952
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1953
1953
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
1954
1954
|
def datacenters_servers_volumes_post_with_http_info(datacenter_id, server_id, volume, opts = {})
|
1955
1955
|
if @api_client.config.debugging
|