ionoscloud 6.1.1 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/docs/README.md +1 -1
- data/docs/api/ApplicationLoadBalancersApi.md +116 -116
- data/docs/api/BackupUnitsApi.md +3 -3
- data/docs/api/ContractResourcesApi.md +5 -5
- data/docs/api/DataCentersApi.md +18 -18
- data/docs/api/DefaultApi.md +5 -5
- data/docs/api/FirewallRulesApi.md +13 -13
- data/docs/api/FlowLogsApi.md +11 -11
- data/docs/api/IPBlocksApi.md +13 -13
- data/docs/api/ImagesApi.md +7 -7
- data/docs/api/KubernetesApi.md +92 -92
- data/docs/api/LANsApi.md +5 -5
- data/docs/api/LabelsApi.md +55 -55
- data/docs/api/LoadBalancersApi.md +15 -15
- data/docs/api/LocationsApi.md +15 -15
- data/docs/api/NATGatewaysApi.md +39 -39
- data/docs/api/NetworkInterfacesApi.md +8 -8
- data/docs/api/NetworkLoadBalancersApi.md +33 -33
- data/docs/api/PrivateCrossConnectsApi.md +7 -7
- data/docs/api/ServersApi.md +84 -84
- data/docs/api/SnapshotsApi.md +7 -7
- data/docs/api/TargetGroupsApi.md +36 -36
- data/docs/api/TemplatesApi.md +12 -12
- data/docs/api/UserManagementApi.md +12 -12
- data/docs/api/UserS3KeysApi.md +6 -6
- data/docs/api/VolumesApi.md +13 -13
- data/docs/models/ApplicationLoadBalancer.md +18 -6
- data/docs/models/ApplicationLoadBalancerEntities.md +2 -0
- data/docs/models/ApplicationLoadBalancerForwardingRule.md +15 -5
- data/docs/models/ApplicationLoadBalancerForwardingRuleProperties.md +24 -10
- data/docs/models/ApplicationLoadBalancerForwardingRulePut.md +13 -5
- data/docs/models/ApplicationLoadBalancerForwardingRules.md +22 -8
- data/docs/models/ApplicationLoadBalancerHttpRule.md +32 -14
- data/docs/models/ApplicationLoadBalancerHttpRuleCondition.md +17 -7
- data/docs/models/ApplicationLoadBalancerProperties.md +18 -8
- data/docs/models/ApplicationLoadBalancerPut.md +13 -5
- data/docs/models/ApplicationLoadBalancers.md +22 -8
- data/docs/models/AttachedVolumes.md +22 -8
- data/docs/models/BackupUnit.md +15 -5
- data/docs/models/BackupUnitProperties.md +9 -3
- data/docs/models/BackupUnitSSO.md +2 -0
- data/docs/models/BackupUnits.md +13 -5
- data/docs/models/BalancedNics.md +22 -8
- data/docs/models/Cdroms.md +22 -8
- data/docs/models/ConnectableDatacenter.md +9 -3
- data/docs/models/Contract.md +7 -3
- data/docs/models/ContractProperties.md +17 -7
- data/docs/models/Contracts.md +13 -5
- data/docs/models/CpuArchitectureProperties.md +8 -0
- data/docs/models/DataCenterEntities.md +20 -8
- data/docs/models/Datacenter.md +18 -6
- data/docs/models/DatacenterElementMetadata.md +23 -7
- data/docs/models/DatacenterProperties.md +22 -8
- data/docs/models/Datacenters.md +22 -8
- data/docs/models/Error.md +4 -0
- data/docs/models/ErrorMessage.md +4 -0
- data/docs/models/FirewallRule.md +15 -5
- data/docs/models/FirewallRules.md +22 -8
- data/docs/models/FirewallruleProperties.md +35 -11
- data/docs/models/FlowLog.md +15 -5
- data/docs/models/FlowLogProperties.md +12 -4
- data/docs/models/FlowLogPut.md +13 -5
- data/docs/models/FlowLogs.md +22 -8
- data/docs/models/Group.md +16 -6
- data/docs/models/GroupEntities.md +7 -3
- data/docs/models/GroupMembers.md +13 -5
- data/docs/models/GroupProperties.md +60 -20
- data/docs/models/GroupShare.md +13 -5
- data/docs/models/GroupShareProperties.md +4 -0
- data/docs/models/GroupShares.md +13 -5
- data/docs/models/GroupUsers.md +13 -5
- data/docs/models/Groups.md +13 -5
- data/docs/models/IPFailover.md +4 -0
- data/docs/models/Image.md +15 -5
- data/docs/models/ImageProperties.md +64 -26
- data/docs/models/Images.md +13 -5
- data/docs/models/Info.md +11 -5
- data/docs/models/IpBlock.md +15 -5
- data/docs/models/IpBlockProperties.md +14 -4
- data/docs/models/IpBlocks.md +22 -8
- data/docs/models/IpConsumer.md +27 -9
- data/docs/models/KubernetesAutoScaling.md +8 -4
- data/docs/models/KubernetesCluster.md +19 -7
- data/docs/models/KubernetesClusterEntities.md +2 -0
- data/docs/models/KubernetesClusterForPost.md +19 -7
- data/docs/models/KubernetesClusterForPut.md +18 -6
- data/docs/models/KubernetesClusterProperties.md +23 -9
- data/docs/models/KubernetesClusterPropertiesForPost.md +16 -6
- data/docs/models/KubernetesClusterPropertiesForPut.md +16 -6
- data/docs/models/KubernetesClusters.md +15 -7
- data/docs/models/KubernetesMaintenanceWindow.md +6 -2
- data/docs/models/KubernetesNode.md +15 -5
- data/docs/models/KubernetesNodeMetadata.md +18 -8
- data/docs/models/KubernetesNodePool.md +15 -5
- data/docs/models/KubernetesNodePoolForPost.md +15 -5
- data/docs/models/KubernetesNodePoolForPut.md +15 -5
- data/docs/models/KubernetesNodePoolLan.md +14 -4
- data/docs/models/KubernetesNodePoolLanRoutes.md +7 -3
- data/docs/models/KubernetesNodePoolProperties.md +62 -28
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +58 -26
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +32 -14
- data/docs/models/KubernetesNodePools.md +13 -5
- data/docs/models/KubernetesNodeProperties.md +15 -7
- data/docs/models/KubernetesNodes.md +13 -5
- data/docs/models/Label.md +15 -5
- data/docs/models/LabelProperties.md +14 -4
- data/docs/models/LabelResource.md +15 -5
- data/docs/models/LabelResourceProperties.md +4 -0
- data/docs/models/LabelResources.md +22 -8
- data/docs/models/Labels.md +13 -5
- data/docs/models/Lan.md +18 -6
- data/docs/models/LanEntities.md +2 -0
- data/docs/models/LanNics.md +22 -8
- data/docs/models/LanPost.md +19 -7
- data/docs/models/LanProperties.md +10 -2
- data/docs/models/LanPropertiesPost.md +10 -2
- data/docs/models/Lans.md +22 -8
- data/docs/models/Loadbalancer.md +18 -6
- data/docs/models/LoadbalancerEntities.md +2 -0
- data/docs/models/LoadbalancerProperties.md +10 -4
- data/docs/models/Loadbalancers.md +22 -8
- data/docs/models/Location.md +15 -5
- data/docs/models/LocationProperties.md +16 -8
- data/docs/models/Locations.md +13 -5
- data/docs/models/NatGateway.md +18 -6
- data/docs/models/NatGatewayEntities.md +7 -3
- data/docs/models/NatGatewayLanProperties.md +7 -3
- data/docs/models/NatGatewayProperties.md +9 -3
- data/docs/models/NatGatewayPut.md +13 -5
- data/docs/models/NatGatewayRule.md +15 -5
- data/docs/models/NatGatewayRuleProperties.md +20 -6
- data/docs/models/NatGatewayRulePut.md +13 -5
- data/docs/models/NatGatewayRules.md +13 -5
- data/docs/models/NatGateways.md +22 -8
- data/docs/models/NetworkLoadBalancer.md +18 -6
- data/docs/models/NetworkLoadBalancerEntities.md +4 -0
- data/docs/models/NetworkLoadBalancerForwardingRule.md +15 -5
- data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +11 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +21 -7
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +13 -5
- data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +11 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +6 -0
- data/docs/models/NetworkLoadBalancerForwardingRules.md +22 -8
- data/docs/models/NetworkLoadBalancerProperties.md +17 -7
- data/docs/models/NetworkLoadBalancerPut.md +13 -5
- data/docs/models/NetworkLoadBalancers.md +22 -8
- data/docs/models/Nic.md +18 -6
- data/docs/models/NicEntities.md +7 -3
- data/docs/models/NicProperties.md +30 -13
- data/docs/models/NicPut.md +13 -5
- data/docs/models/Nics.md +22 -8
- data/docs/models/NoStateMetaData.md +21 -7
- data/docs/models/PaginationLinks.md +9 -3
- data/docs/models/Peer.md +15 -5
- data/docs/models/PrivateCrossConnect.md +15 -5
- data/docs/models/PrivateCrossConnectProperties.md +13 -5
- data/docs/models/PrivateCrossConnects.md +13 -5
- data/docs/models/RemoteConsoleUrl.md +2 -0
- data/docs/models/Request.md +15 -5
- data/docs/models/RequestMetadata.md +10 -2
- data/docs/models/RequestProperties.md +12 -4
- data/docs/models/RequestStatus.md +13 -5
- data/docs/models/RequestStatusMetadata.md +12 -4
- data/docs/models/RequestTarget.md +7 -3
- data/docs/models/Requests.md +22 -8
- data/docs/models/Resource.md +18 -6
- data/docs/models/ResourceEntities.md +2 -0
- data/docs/models/ResourceGroups.md +13 -5
- data/docs/models/ResourceLimits.md +88 -44
- data/docs/models/ResourceProperties.md +4 -0
- data/docs/models/ResourceReference.md +9 -3
- data/docs/models/Resources.md +13 -5
- data/docs/models/ResourcesUsers.md +13 -5
- data/docs/models/S3Bucket.md +4 -2
- data/docs/models/S3Key.md +15 -5
- data/docs/models/S3KeyMetadata.md +7 -3
- data/docs/models/S3KeyProperties.md +7 -3
- data/docs/models/S3Keys.md +13 -5
- data/docs/models/S3ObjectStorageSSO.md +2 -0
- data/docs/models/Server.md +18 -6
- data/docs/models/ServerEntities.md +9 -3
- data/docs/models/ServerProperties.md +33 -13
- data/docs/models/Servers.md +22 -8
- data/docs/models/Snapshot.md +15 -5
- data/docs/models/SnapshotProperties.md +55 -23
- data/docs/models/Snapshots.md +13 -5
- data/docs/models/TargetGroup.md +15 -5
- data/docs/models/TargetGroupHealthCheck.md +10 -4
- data/docs/models/TargetGroupHttpHealthCheck.md +22 -10
- data/docs/models/TargetGroupProperties.md +20 -8
- data/docs/models/TargetGroupPut.md +13 -5
- data/docs/models/TargetGroupTarget.md +16 -6
- data/docs/models/TargetGroups.md +22 -8
- data/docs/models/TargetPortRange.md +7 -3
- data/docs/models/Template.md +15 -5
- data/docs/models/TemplateProperties.md +10 -2
- data/docs/models/Templates.md +13 -5
- data/docs/models/Token.md +2 -0
- data/docs/models/User.md +18 -6
- data/docs/models/UserMetadata.md +8 -2
- data/docs/models/UserPost.md +2 -0
- data/docs/models/UserProperties.md +26 -10
- data/docs/models/UserPropertiesPost.md +26 -10
- data/docs/models/UserPropertiesPut.md +25 -9
- data/docs/models/UserPut.md +4 -0
- data/docs/models/Users.md +22 -8
- data/docs/models/UsersEntities.md +7 -3
- data/docs/models/Volume.md +15 -5
- data/docs/models/VolumeProperties.md +74 -30
- data/docs/models/Volumes.md +22 -8
- data/docs/summary.md +22 -4
- data/lib/ionoscloud/api/_api.rb +4 -4
- data/lib/ionoscloud/api/application_load_balancers_api.rb +86 -86
- data/lib/ionoscloud/api/contract_resources_api.rb +4 -4
- data/lib/ionoscloud/api/data_centers_api.rb +12 -12
- data/lib/ionoscloud/api/firewall_rules_api.rb +8 -8
- data/lib/ionoscloud/api/flow_logs_api.rb +4 -4
- data/lib/ionoscloud/api/images_api.rb +4 -4
- data/lib/ionoscloud/api/ip_blocks_api.rb +8 -8
- data/lib/ionoscloud/api/kubernetes_api.rb +70 -70
- data/lib/ionoscloud/api/labels_api.rb +36 -36
- data/lib/ionoscloud/api/lans_api.rb +2 -2
- data/lib/ionoscloud/api/load_balancers_api.rb +10 -10
- data/lib/ionoscloud/api/locations_api.rb +12 -12
- data/lib/ionoscloud/api/nat_gateways_api.rb +18 -18
- data/lib/ionoscloud/api/network_interfaces_api.rb +4 -4
- data/lib/ionoscloud/api/network_load_balancers_api.rb +12 -12
- data/lib/ionoscloud/api/private_cross_connects_api.rb +4 -4
- data/lib/ionoscloud/api/servers_api.rb +62 -62
- data/lib/ionoscloud/api/snapshots_api.rb +4 -4
- data/lib/ionoscloud/api/target_groups_api.rb +24 -24
- data/lib/ionoscloud/api/templates_api.rb +10 -10
- data/lib/ionoscloud/api/user_management_api.rb +4 -4
- data/lib/ionoscloud/api/user_s3_keys_api.rb +4 -4
- data/lib/ionoscloud/api/volumes_api.rb +9 -9
- data/lib/ionoscloud/api_client.rb +1 -1
- data/lib/ionoscloud/models/application_load_balancer.rb +27 -27
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule.rb +33 -33
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_properties.rb +54 -54
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_put.rb +29 -29
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rules.rb +40 -40
- data/lib/ionoscloud/models/application_load_balancer_http_rule.rb +69 -81
- data/lib/ionoscloud/models/application_load_balancer_http_rule_condition.rb +43 -43
- data/lib/ionoscloud/models/application_load_balancer_properties.rb +40 -40
- data/lib/ionoscloud/models/application_load_balancer_put.rb +29 -29
- data/lib/ionoscloud/models/application_load_balancers.rb +40 -40
- data/lib/ionoscloud/models/attached_volumes.rb +40 -40
- data/lib/ionoscloud/models/backup_unit.rb +38 -38
- data/lib/ionoscloud/models/backup_unit_properties.rb +20 -20
- data/lib/ionoscloud/models/backup_units.rb +32 -32
- data/lib/ionoscloud/models/balanced_nics.rb +40 -40
- data/lib/ionoscloud/models/cdroms.rb +40 -40
- data/lib/ionoscloud/models/connectable_datacenter.rb +13 -13
- data/lib/ionoscloud/models/contract.rb +16 -16
- data/lib/ionoscloud/models/contract_properties.rb +19 -19
- data/lib/ionoscloud/models/contracts.rb +28 -28
- data/lib/ionoscloud/models/data_center_entities.rb +32 -32
- data/lib/ionoscloud/models/datacenter.rb +27 -27
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +39 -39
- data/lib/ionoscloud/models/datacenter_properties.rb +37 -37
- data/lib/ionoscloud/models/datacenters.rb +40 -40
- data/lib/ionoscloud/models/firewall_rule.rb +33 -33
- data/lib/ionoscloud/models/firewall_rules.rb +40 -40
- data/lib/ionoscloud/models/firewallrule_properties.rb +144 -164
- data/lib/ionoscloud/models/flow_log.rb +33 -33
- data/lib/ionoscloud/models/flow_log_properties.rb +31 -31
- data/lib/ionoscloud/models/flow_log_put.rb +29 -29
- data/lib/ionoscloud/models/flow_logs.rb +40 -40
- data/lib/ionoscloud/models/group.rb +27 -27
- data/lib/ionoscloud/models/group_entities.rb +13 -13
- data/lib/ionoscloud/models/group_members.rb +28 -28
- data/lib/ionoscloud/models/group_properties.rb +144 -90
- data/lib/ionoscloud/models/group_share.rb +29 -29
- data/lib/ionoscloud/models/group_shares.rb +28 -28
- data/lib/ionoscloud/models/group_users.rb +28 -28
- data/lib/ionoscloud/models/groups.rb +28 -28
- data/lib/ionoscloud/models/image.rb +33 -33
- data/lib/ionoscloud/models/image_properties.rb +152 -152
- data/lib/ionoscloud/models/images.rb +28 -28
- data/lib/ionoscloud/models/info.rb +3 -3
- data/lib/ionoscloud/models/ip_block.rb +33 -33
- data/lib/ionoscloud/models/ip_block_properties.rb +26 -26
- data/lib/ionoscloud/models/ip_blocks.rb +40 -40
- data/lib/ionoscloud/models/ip_consumer.rb +51 -51
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_cluster.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +47 -47
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_clusters.rb +32 -32
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +2 -2
- data/lib/ionoscloud/models/kubernetes_node.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +31 -31
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +30 -12
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +15 -15
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +149 -149
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +148 -148
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +53 -53
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +32 -32
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +29 -29
- data/lib/ionoscloud/models/kubernetes_nodes.rb +32 -32
- data/lib/ionoscloud/models/label.rb +38 -38
- data/lib/ionoscloud/models/label_properties.rb +15 -15
- data/lib/ionoscloud/models/label_resource.rb +38 -38
- data/lib/ionoscloud/models/label_resources.rb +47 -47
- data/lib/ionoscloud/models/labels.rb +32 -32
- data/lib/ionoscloud/models/lan.rb +27 -27
- data/lib/ionoscloud/models/lan_nics.rb +40 -40
- data/lib/ionoscloud/models/lan_post.rb +35 -35
- data/lib/ionoscloud/models/lan_properties.rb +14 -14
- data/lib/ionoscloud/models/lan_properties_post.rb +14 -14
- data/lib/ionoscloud/models/lans.rb +40 -40
- data/lib/ionoscloud/models/loadbalancer.rb +27 -27
- data/lib/ionoscloud/models/loadbalancer_properties.rb +15 -32
- data/lib/ionoscloud/models/loadbalancers.rb +40 -40
- data/lib/ionoscloud/models/location.rb +33 -33
- data/lib/ionoscloud/models/location_properties.rb +17 -17
- data/lib/ionoscloud/models/locations.rb +28 -28
- data/lib/ionoscloud/models/nat_gateway.rb +27 -27
- data/lib/ionoscloud/models/nat_gateway_entities.rb +13 -13
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +17 -17
- data/lib/ionoscloud/models/nat_gateway_properties.rb +20 -20
- data/lib/ionoscloud/models/nat_gateway_put.rb +29 -29
- data/lib/ionoscloud/models/nat_gateway_rule.rb +33 -33
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +32 -32
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +29 -29
- data/lib/ionoscloud/models/nat_gateway_rules.rb +28 -28
- data/lib/ionoscloud/models/nat_gateways.rb +40 -40
- data/lib/ionoscloud/models/network_load_balancer.rb +27 -27
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +33 -33
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +15 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +47 -47
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +29 -29
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +19 -19
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +40 -40
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +38 -38
- data/lib/ionoscloud/models/network_load_balancer_put.rb +29 -29
- data/lib/ionoscloud/models/network_load_balancers.rb +40 -40
- data/lib/ionoscloud/models/nic.rb +27 -27
- data/lib/ionoscloud/models/nic_entities.rb +13 -13
- data/lib/ionoscloud/models/nic_properties.rb +66 -64
- data/lib/ionoscloud/models/nic_put.rb +29 -29
- data/lib/ionoscloud/models/nics.rb +40 -40
- data/lib/ionoscloud/models/no_state_meta_data.rb +39 -39
- data/lib/ionoscloud/models/pagination_links.rb +18 -18
- data/lib/ionoscloud/models/peer.rb +29 -29
- data/lib/ionoscloud/models/private_cross_connect.rb +33 -33
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +22 -22
- data/lib/ionoscloud/models/private_cross_connects.rb +28 -28
- data/lib/ionoscloud/models/request.rb +33 -33
- data/lib/ionoscloud/models/request_metadata.rb +14 -14
- data/lib/ionoscloud/models/request_properties.rb +13 -13
- data/lib/ionoscloud/models/request_status.rb +27 -27
- data/lib/ionoscloud/models/request_status_metadata.rb +18 -18
- data/lib/ionoscloud/models/request_target.rb +15 -15
- data/lib/ionoscloud/models/requests.rb +49 -49
- data/lib/ionoscloud/models/resource.rb +27 -27
- data/lib/ionoscloud/models/resource_groups.rb +28 -28
- data/lib/ionoscloud/models/resource_limits.rb +205 -205
- data/lib/ionoscloud/models/resource_reference.rb +20 -20
- data/lib/ionoscloud/models/resources.rb +28 -28
- data/lib/ionoscloud/models/resources_users.rb +28 -28
- data/lib/ionoscloud/models/s3_bucket.rb +1 -1
- data/lib/ionoscloud/models/s3_key.rb +33 -33
- data/lib/ionoscloud/models/s3_key_metadata.rb +15 -15
- data/lib/ionoscloud/models/s3_key_properties.rb +15 -15
- data/lib/ionoscloud/models/s3_keys.rb +28 -28
- data/lib/ionoscloud/models/server.rb +27 -27
- data/lib/ionoscloud/models/server_entities.rb +13 -13
- data/lib/ionoscloud/models/server_properties.rb +77 -87
- data/lib/ionoscloud/models/servers.rb +40 -40
- data/lib/ionoscloud/models/snapshot.rb +33 -33
- data/lib/ionoscloud/models/snapshot_properties.rb +109 -109
- data/lib/ionoscloud/models/snapshots.rb +28 -28
- data/lib/ionoscloud/models/target_group.rb +33 -33
- data/lib/ionoscloud/models/target_group_health_check.rb +15 -15
- data/lib/ionoscloud/models/target_group_http_health_check.rb +49 -49
- data/lib/ionoscloud/models/target_group_properties.rb +52 -52
- data/lib/ionoscloud/models/target_group_put.rb +29 -29
- data/lib/ionoscloud/models/target_group_target.rb +38 -38
- data/lib/ionoscloud/models/target_groups.rb +40 -40
- data/lib/ionoscloud/models/target_port_range.rb +15 -15
- data/lib/ionoscloud/models/template.rb +33 -33
- data/lib/ionoscloud/models/template_properties.rb +20 -20
- data/lib/ionoscloud/models/templates.rb +28 -28
- data/lib/ionoscloud/models/user.rb +27 -27
- data/lib/ionoscloud/models/user_metadata.rb +14 -14
- data/lib/ionoscloud/models/user_properties.rb +36 -36
- data/lib/ionoscloud/models/user_properties_post.rb +36 -36
- data/lib/ionoscloud/models/user_properties_put.rb +48 -48
- data/lib/ionoscloud/models/users.rb +40 -40
- data/lib/ionoscloud/models/users_entities.rb +13 -13
- data/lib/ionoscloud/models/volume.rb +33 -33
- data/lib/ionoscloud/models/volume_properties.rb +185 -184
- data/lib/ionoscloud/models/volumes.rb +40 -40
- data/lib/ionoscloud/version.rb +1 -1
- metadata +2 -2
data/docs/api/ServersApi.md
CHANGED
@@ -4,37 +4,37 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**datacenters_servers_cdroms_delete**](ServersApi.md#datacenters_servers_cdroms_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Detach CD-
|
8
|
-
| [**datacenters_servers_cdroms_find_by_id**](ServersApi.md#datacenters_servers_cdroms_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} |
|
9
|
-
| [**datacenters_servers_cdroms_get**](ServersApi.md#datacenters_servers_cdroms_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms |
|
10
|
-
| [**datacenters_servers_cdroms_post**](ServersApi.md#datacenters_servers_cdroms_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/cdroms | Attach CD-
|
7
|
+
| [**datacenters_servers_cdroms_delete**](ServersApi.md#datacenters_servers_cdroms_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Detach a CD-ROM by ID |
|
8
|
+
| [**datacenters_servers_cdroms_find_by_id**](ServersApi.md#datacenters_servers_cdroms_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId} | Get Attached CD-ROM by ID |
|
9
|
+
| [**datacenters_servers_cdroms_get**](ServersApi.md#datacenters_servers_cdroms_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/cdroms | Get Attached CD-ROMs |
|
10
|
+
| [**datacenters_servers_cdroms_post**](ServersApi.md#datacenters_servers_cdroms_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/cdroms | Attach a CD-ROM |
|
11
11
|
| [**datacenters_servers_delete**](ServersApi.md#datacenters_servers_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId} | Delete servers |
|
12
12
|
| [**datacenters_servers_find_by_id**](ServersApi.md#datacenters_servers_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId} | Retrieve servers by ID |
|
13
13
|
| [**datacenters_servers_get**](ServersApi.md#datacenters_servers_get) | **GET** /datacenters/{datacenterId}/servers | List servers |
|
14
14
|
| [**datacenters_servers_patch**](ServersApi.md#datacenters_servers_patch) | **PATCH** /datacenters/{datacenterId}/servers/{serverId} | Partially modify servers |
|
15
|
-
| [**datacenters_servers_post**](ServersApi.md#datacenters_servers_post) | **POST** /datacenters/{datacenterId}/servers | Create
|
16
|
-
| [**datacenters_servers_put**](ServersApi.md#datacenters_servers_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId} | Modify
|
15
|
+
| [**datacenters_servers_post**](ServersApi.md#datacenters_servers_post) | **POST** /datacenters/{datacenterId}/servers | Create a Server |
|
16
|
+
| [**datacenters_servers_put**](ServersApi.md#datacenters_servers_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId} | Modify a Server by ID |
|
17
17
|
| [**datacenters_servers_reboot_post**](ServersApi.md#datacenters_servers_reboot_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/reboot | Reboot servers |
|
18
18
|
| [**datacenters_servers_remote_console_get**](ServersApi.md#datacenters_servers_remote_console_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/remoteconsole | Get Remote Console link |
|
19
|
-
| [**datacenters_servers_resume_post**](ServersApi.md#datacenters_servers_resume_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/resume | Resume
|
20
|
-
| [**datacenters_servers_start_post**](ServersApi.md#datacenters_servers_start_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/start | Start
|
21
|
-
| [**datacenters_servers_stop_post**](ServersApi.md#datacenters_servers_stop_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/stop | Stop
|
22
|
-
| [**datacenters_servers_suspend_post**](ServersApi.md#datacenters_servers_suspend_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/suspend | Suspend
|
19
|
+
| [**datacenters_servers_resume_post**](ServersApi.md#datacenters_servers_resume_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/resume | Resume a Cube Server by ID |
|
20
|
+
| [**datacenters_servers_start_post**](ServersApi.md#datacenters_servers_start_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/start | Start an Enterprise Server by ID |
|
21
|
+
| [**datacenters_servers_stop_post**](ServersApi.md#datacenters_servers_stop_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/stop | Stop an Enterprise Server by ID |
|
22
|
+
| [**datacenters_servers_suspend_post**](ServersApi.md#datacenters_servers_suspend_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/suspend | Suspend a Cube Server by ID |
|
23
23
|
| [**datacenters_servers_token_get**](ServersApi.md#datacenters_servers_token_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/token | Get JASON Web Token |
|
24
|
-
| [**datacenters_servers_upgrade_post**](ServersApi.md#datacenters_servers_upgrade_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/upgrade | Upgrade
|
25
|
-
| [**datacenters_servers_volumes_delete**](ServersApi.md#datacenters_servers_volumes_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Detach
|
26
|
-
| [**datacenters_servers_volumes_find_by_id**](ServersApi.md#datacenters_servers_volumes_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} |
|
27
|
-
| [**datacenters_servers_volumes_get**](ServersApi.md#datacenters_servers_volumes_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes |
|
28
|
-
| [**datacenters_servers_volumes_post**](ServersApi.md#datacenters_servers_volumes_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/volumes | Attach
|
24
|
+
| [**datacenters_servers_upgrade_post**](ServersApi.md#datacenters_servers_upgrade_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/upgrade | Upgrade a Server by ID |
|
25
|
+
| [**datacenters_servers_volumes_delete**](ServersApi.md#datacenters_servers_volumes_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Detach a Volume by ID |
|
26
|
+
| [**datacenters_servers_volumes_find_by_id**](ServersApi.md#datacenters_servers_volumes_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId} | Get Attached Volume by ID |
|
27
|
+
| [**datacenters_servers_volumes_get**](ServersApi.md#datacenters_servers_volumes_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/volumes | Get Attached Volumes |
|
28
|
+
| [**datacenters_servers_volumes_post**](ServersApi.md#datacenters_servers_volumes_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/volumes | Attach a Volume to a Server |
|
29
29
|
|
30
30
|
|
31
31
|
## datacenters_servers_cdroms_delete
|
32
32
|
|
33
33
|
> datacenters_servers_cdroms_delete(datacenter_id, server_id, cdrom_id, opts)
|
34
34
|
|
35
|
-
Detach CD-
|
35
|
+
Detach a CD-ROM by ID
|
36
36
|
|
37
|
-
|
37
|
+
Detachs the specified CD-ROM from the server. Detaching a CD-ROM deletes the CD-ROM. The image will not be deleted. Note that detaching a CD-ROM leads to a reset of the server.
|
38
38
|
|
39
39
|
### Examples
|
40
40
|
|
@@ -64,7 +64,7 @@ opts = {
|
|
64
64
|
}
|
65
65
|
|
66
66
|
begin
|
67
|
-
# Detach CD-
|
67
|
+
# Detach a CD-ROM by ID
|
68
68
|
api_instance.datacenters_servers_cdroms_delete(datacenter_id, server_id, cdrom_id, opts)
|
69
69
|
rescue Ionoscloud::ApiError => e
|
70
70
|
puts "Error when calling ServersApi->datacenters_servers_cdroms_delete: #{e}"
|
@@ -79,7 +79,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
79
79
|
|
80
80
|
```ruby
|
81
81
|
begin
|
82
|
-
# Detach CD-
|
82
|
+
# Detach a CD-ROM by ID
|
83
83
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_delete_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
84
84
|
p status_code # => 2xx
|
85
85
|
p headers # => { ... }
|
@@ -118,9 +118,9 @@ Basic Authentication, Token Authentication
|
|
118
118
|
|
119
119
|
> <Image> datacenters_servers_cdroms_find_by_id(datacenter_id, server_id, cdrom_id, opts)
|
120
120
|
|
121
|
-
|
121
|
+
Get Attached CD-ROM by ID
|
122
122
|
|
123
|
-
|
123
|
+
Retrieves the properties of the CD-ROM attached to the specified server.
|
124
124
|
|
125
125
|
### Examples
|
126
126
|
|
@@ -150,7 +150,7 @@ opts = {
|
|
150
150
|
}
|
151
151
|
|
152
152
|
begin
|
153
|
-
#
|
153
|
+
# Get Attached CD-ROM by ID
|
154
154
|
result = api_instance.datacenters_servers_cdroms_find_by_id(datacenter_id, server_id, cdrom_id, opts)
|
155
155
|
p result
|
156
156
|
rescue Ionoscloud::ApiError => e
|
@@ -166,7 +166,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
166
166
|
|
167
167
|
```ruby
|
168
168
|
begin
|
169
|
-
#
|
169
|
+
# Get Attached CD-ROM by ID
|
170
170
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_find_by_id_with_http_info(datacenter_id, server_id, cdrom_id, opts)
|
171
171
|
p status_code # => 2xx
|
172
172
|
p headers # => { ... }
|
@@ -205,9 +205,9 @@ Basic Authentication, Token Authentication
|
|
205
205
|
|
206
206
|
> <Cdroms> datacenters_servers_cdroms_get(datacenter_id, server_id, opts)
|
207
207
|
|
208
|
-
|
208
|
+
Get Attached CD-ROMs
|
209
209
|
|
210
|
-
|
210
|
+
Lists all CD-ROMs attached to the specified server.
|
211
211
|
|
212
212
|
### Examples
|
213
213
|
|
@@ -238,7 +238,7 @@ opts = {
|
|
238
238
|
}
|
239
239
|
|
240
240
|
begin
|
241
|
-
#
|
241
|
+
# Get Attached CD-ROMs
|
242
242
|
result = api_instance.datacenters_servers_cdroms_get(datacenter_id, server_id, opts)
|
243
243
|
p result
|
244
244
|
rescue Ionoscloud::ApiError => e
|
@@ -254,7 +254,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
254
254
|
|
255
255
|
```ruby
|
256
256
|
begin
|
257
|
-
#
|
257
|
+
# Get Attached CD-ROMs
|
258
258
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_get_with_http_info(datacenter_id, server_id, opts)
|
259
259
|
p status_code # => 2xx
|
260
260
|
p headers # => { ... }
|
@@ -294,9 +294,9 @@ Basic Authentication, Token Authentication
|
|
294
294
|
|
295
295
|
> <Image> datacenters_servers_cdroms_post(datacenter_id, server_id, cdrom, opts)
|
296
296
|
|
297
|
-
Attach CD-
|
297
|
+
Attach a CD-ROM
|
298
298
|
|
299
|
-
|
299
|
+
Attachs a CD-ROM to an existing server specified by its ID. CD-ROMs cannot be created stand-alone like volumes. They are either attached to a server or do not exist. They always have an ISO-Image associated; empty CD-ROMs can not be provisioned. It is possible to attach up to two CD-ROMs to the same server. Note that attaching a CD-ROM leads to a reset of the server.
|
300
300
|
|
301
301
|
### Examples
|
302
302
|
|
@@ -326,7 +326,7 @@ opts = {
|
|
326
326
|
}
|
327
327
|
|
328
328
|
begin
|
329
|
-
# Attach CD-
|
329
|
+
# Attach a CD-ROM
|
330
330
|
result = api_instance.datacenters_servers_cdroms_post(datacenter_id, server_id, cdrom, opts)
|
331
331
|
p result
|
332
332
|
rescue Ionoscloud::ApiError => e
|
@@ -342,7 +342,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
342
342
|
|
343
343
|
```ruby
|
344
344
|
begin
|
345
|
-
# Attach CD-
|
345
|
+
# Attach a CD-ROM
|
346
346
|
data, status_code, headers = api_instance.datacenters_servers_cdroms_post_with_http_info(datacenter_id, server_id, cdrom, opts)
|
347
347
|
p status_code # => 2xx
|
348
348
|
p headers # => { ... }
|
@@ -358,7 +358,7 @@ end
|
|
358
358
|
| ---- | ---- | ----------- | ----- |
|
359
359
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
360
360
|
| **server_id** | **String** | The unique ID of the server. | |
|
361
|
-
| **cdrom** | [**Image**](Image.md) | The CD-ROM to be attached. | |
|
361
|
+
| **cdrom** | [**Image**](../models/Image.md) | The CD-ROM to be attached. | |
|
362
362
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
363
363
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
364
364
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -383,7 +383,7 @@ Basic Authentication, Token Authentication
|
|
383
383
|
|
384
384
|
Delete servers
|
385
385
|
|
386
|
-
Delete the specified server in your data center. The attached storage volumes will
|
386
|
+
Delete the specified server in your data center. The attached storage volumes will also be removed if the query parameter is set to true otherwise a separate API call must be made for these actions.
|
387
387
|
|
388
388
|
### Examples
|
389
389
|
|
@@ -665,7 +665,7 @@ end
|
|
665
665
|
api_instance = Ionoscloud::ServersApi.new
|
666
666
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
667
667
|
server_id = 'server_id_example' # String | The unique ID of the server.
|
668
|
-
server = Ionoscloud::ServerProperties.new
|
668
|
+
server = Ionoscloud::ServerProperties.new # ServerProperties | The properties of the server to be updated.
|
669
669
|
opts = {
|
670
670
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
671
671
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -705,7 +705,7 @@ end
|
|
705
705
|
| ---- | ---- | ----------- | ----- |
|
706
706
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
707
707
|
| **server_id** | **String** | The unique ID of the server. | |
|
708
|
-
| **server** | [**ServerProperties**](ServerProperties.md) | The properties of the server to be updated. | |
|
708
|
+
| **server** | [**ServerProperties**](../models/ServerProperties.md) | The properties of the server to be updated. | |
|
709
709
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
710
710
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
711
711
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -728,9 +728,9 @@ Basic Authentication, Token Authentication
|
|
728
728
|
|
729
729
|
> <Server> datacenters_servers_post(datacenter_id, server, opts)
|
730
730
|
|
731
|
-
Create
|
731
|
+
Create a Server
|
732
732
|
|
733
|
-
|
733
|
+
Creates 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.
|
734
734
|
|
735
735
|
### Examples
|
736
736
|
|
@@ -751,7 +751,7 @@ end
|
|
751
751
|
|
752
752
|
api_instance = Ionoscloud::ServersApi.new
|
753
753
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
754
|
-
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new
|
754
|
+
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new}) # Server | The server to create.
|
755
755
|
opts = {
|
756
756
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
757
757
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -759,7 +759,7 @@ opts = {
|
|
759
759
|
}
|
760
760
|
|
761
761
|
begin
|
762
|
-
# Create
|
762
|
+
# Create a Server
|
763
763
|
result = api_instance.datacenters_servers_post(datacenter_id, server, opts)
|
764
764
|
p result
|
765
765
|
rescue Ionoscloud::ApiError => e
|
@@ -775,7 +775,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
775
775
|
|
776
776
|
```ruby
|
777
777
|
begin
|
778
|
-
# Create
|
778
|
+
# Create a Server
|
779
779
|
data, status_code, headers = api_instance.datacenters_servers_post_with_http_info(datacenter_id, server, opts)
|
780
780
|
p status_code # => 2xx
|
781
781
|
p headers # => { ... }
|
@@ -790,7 +790,7 @@ end
|
|
790
790
|
| Name | Type | Description | Notes |
|
791
791
|
| ---- | ---- | ----------- | ----- |
|
792
792
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
793
|
-
| **server** | [**Server**](Server.md) | The server to create. | |
|
793
|
+
| **server** | [**Server**](../models/Server.md) | The server to create. | |
|
794
794
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
795
795
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
796
796
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -813,9 +813,9 @@ Basic Authentication, Token Authentication
|
|
813
813
|
|
814
814
|
> <Server> datacenters_servers_put(datacenter_id, server_id, server, opts)
|
815
815
|
|
816
|
-
Modify
|
816
|
+
Modify a Server by ID
|
817
817
|
|
818
|
-
|
818
|
+
Modifies 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.
|
819
819
|
|
820
820
|
### Examples
|
821
821
|
|
@@ -837,7 +837,7 @@ end
|
|
837
837
|
api_instance = Ionoscloud::ServersApi.new
|
838
838
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
839
839
|
server_id = 'server_id_example' # String | The unique ID of the server.
|
840
|
-
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new
|
840
|
+
server = Ionoscloud::Server.new({properties: Ionoscloud::ServerProperties.new}) # Server | The modified server
|
841
841
|
opts = {
|
842
842
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
843
843
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -845,7 +845,7 @@ opts = {
|
|
845
845
|
}
|
846
846
|
|
847
847
|
begin
|
848
|
-
# Modify
|
848
|
+
# Modify a Server by ID
|
849
849
|
result = api_instance.datacenters_servers_put(datacenter_id, server_id, server, opts)
|
850
850
|
p result
|
851
851
|
rescue Ionoscloud::ApiError => e
|
@@ -861,7 +861,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
861
861
|
|
862
862
|
```ruby
|
863
863
|
begin
|
864
|
-
# Modify
|
864
|
+
# Modify a Server by ID
|
865
865
|
data, status_code, headers = api_instance.datacenters_servers_put_with_http_info(datacenter_id, server_id, server, opts)
|
866
866
|
p status_code # => 2xx
|
867
867
|
p headers # => { ... }
|
@@ -877,7 +877,7 @@ end
|
|
877
877
|
| ---- | ---- | ----------- | ----- |
|
878
878
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
879
879
|
| **server_id** | **String** | The unique ID of the server. | |
|
880
|
-
| **server** | [**Server**](Server.md) | The modified server | |
|
880
|
+
| **server** | [**Server**](../models/Server.md) | The modified server | |
|
881
881
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
882
882
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
883
883
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -1069,9 +1069,9 @@ Basic Authentication, Token Authentication
|
|
1069
1069
|
|
1070
1070
|
> datacenters_servers_resume_post(datacenter_id, server_id, opts)
|
1071
1071
|
|
1072
|
-
Resume
|
1072
|
+
Resume a Cube Server by ID
|
1073
1073
|
|
1074
|
-
|
1074
|
+
Resumes a suspended Cube Server specified by its ID. Since the suspended instance was not deleted the allocated resources continue to be billed. You can perform this operation only for Cube Servers. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
|
1075
1075
|
|
1076
1076
|
### Examples
|
1077
1077
|
|
@@ -1100,7 +1100,7 @@ opts = {
|
|
1100
1100
|
}
|
1101
1101
|
|
1102
1102
|
begin
|
1103
|
-
# Resume
|
1103
|
+
# Resume a Cube Server by ID
|
1104
1104
|
api_instance.datacenters_servers_resume_post(datacenter_id, server_id, opts)
|
1105
1105
|
rescue Ionoscloud::ApiError => e
|
1106
1106
|
puts "Error when calling ServersApi->datacenters_servers_resume_post: #{e}"
|
@@ -1115,7 +1115,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1115
1115
|
|
1116
1116
|
```ruby
|
1117
1117
|
begin
|
1118
|
-
# Resume
|
1118
|
+
# Resume a Cube Server by ID
|
1119
1119
|
data, status_code, headers = api_instance.datacenters_servers_resume_post_with_http_info(datacenter_id, server_id, opts)
|
1120
1120
|
p status_code # => 2xx
|
1121
1121
|
p headers # => { ... }
|
@@ -1153,9 +1153,9 @@ Basic Authentication, Token Authentication
|
|
1153
1153
|
|
1154
1154
|
> datacenters_servers_start_post(datacenter_id, server_id, opts)
|
1155
1155
|
|
1156
|
-
Start
|
1156
|
+
Start an Enterprise Server by ID
|
1157
1157
|
|
1158
|
-
|
1158
|
+
Starts the Enterprise Server specified by its ID. >Note that you cannot use this method to start a Cube Server. By starting the Enterprise Server, cores and RAM are provisioned, and the billing continues. If the server's public IPv4 address has been deallocated, a new IPv4 address will be assigned. IPv6 blocks and addresses will remain unchanged when stopping and starting a server. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
|
1159
1159
|
|
1160
1160
|
### Examples
|
1161
1161
|
|
@@ -1184,7 +1184,7 @@ opts = {
|
|
1184
1184
|
}
|
1185
1185
|
|
1186
1186
|
begin
|
1187
|
-
# Start
|
1187
|
+
# Start an Enterprise Server by ID
|
1188
1188
|
api_instance.datacenters_servers_start_post(datacenter_id, server_id, opts)
|
1189
1189
|
rescue Ionoscloud::ApiError => e
|
1190
1190
|
puts "Error when calling ServersApi->datacenters_servers_start_post: #{e}"
|
@@ -1199,7 +1199,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1199
1199
|
|
1200
1200
|
```ruby
|
1201
1201
|
begin
|
1202
|
-
# Start
|
1202
|
+
# Start an Enterprise Server by ID
|
1203
1203
|
data, status_code, headers = api_instance.datacenters_servers_start_post_with_http_info(datacenter_id, server_id, opts)
|
1204
1204
|
p status_code # => 2xx
|
1205
1205
|
p headers # => { ... }
|
@@ -1237,9 +1237,9 @@ Basic Authentication, Token Authentication
|
|
1237
1237
|
|
1238
1238
|
> datacenters_servers_stop_post(datacenter_id, server_id, opts)
|
1239
1239
|
|
1240
|
-
Stop
|
1240
|
+
Stop an Enterprise Server by ID
|
1241
1241
|
|
1242
|
-
|
1242
|
+
Stops the Enterprise Server specified by its ID. >Note that you cannot use this method to stop a Cube Server. By stopping the Enterprise Server, cores and RAM are freed and no longer charged. Public IPv4 IPs that are not reserved are returned to the IPv4 pool. IPv6 blocks and addresses will remain unchanged when stopping and starting a server. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
|
1243
1243
|
|
1244
1244
|
### Examples
|
1245
1245
|
|
@@ -1268,7 +1268,7 @@ opts = {
|
|
1268
1268
|
}
|
1269
1269
|
|
1270
1270
|
begin
|
1271
|
-
# Stop
|
1271
|
+
# Stop an Enterprise Server by ID
|
1272
1272
|
api_instance.datacenters_servers_stop_post(datacenter_id, server_id, opts)
|
1273
1273
|
rescue Ionoscloud::ApiError => e
|
1274
1274
|
puts "Error when calling ServersApi->datacenters_servers_stop_post: #{e}"
|
@@ -1283,7 +1283,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1283
1283
|
|
1284
1284
|
```ruby
|
1285
1285
|
begin
|
1286
|
-
# Stop
|
1286
|
+
# Stop an Enterprise Server by ID
|
1287
1287
|
data, status_code, headers = api_instance.datacenters_servers_stop_post_with_http_info(datacenter_id, server_id, opts)
|
1288
1288
|
p status_code # => 2xx
|
1289
1289
|
p headers # => { ... }
|
@@ -1321,9 +1321,9 @@ Basic Authentication, Token Authentication
|
|
1321
1321
|
|
1322
1322
|
> datacenters_servers_suspend_post(datacenter_id, server_id, opts)
|
1323
1323
|
|
1324
|
-
Suspend
|
1324
|
+
Suspend a Cube Server by ID
|
1325
1325
|
|
1326
|
-
|
1326
|
+
Suspends the specified Cubes instance within the data center. The instance is not deleted and allocated resources continue to be billed. You can perform this operation only for Cube Servers. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
|
1327
1327
|
|
1328
1328
|
### Examples
|
1329
1329
|
|
@@ -1352,7 +1352,7 @@ opts = {
|
|
1352
1352
|
}
|
1353
1353
|
|
1354
1354
|
begin
|
1355
|
-
# Suspend
|
1355
|
+
# Suspend a Cube Server by ID
|
1356
1356
|
api_instance.datacenters_servers_suspend_post(datacenter_id, server_id, opts)
|
1357
1357
|
rescue Ionoscloud::ApiError => e
|
1358
1358
|
puts "Error when calling ServersApi->datacenters_servers_suspend_post: #{e}"
|
@@ -1367,7 +1367,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1367
1367
|
|
1368
1368
|
```ruby
|
1369
1369
|
begin
|
1370
|
-
# Suspend
|
1370
|
+
# Suspend a Cube Server by ID
|
1371
1371
|
data, status_code, headers = api_instance.datacenters_servers_suspend_post_with_http_info(datacenter_id, server_id, opts)
|
1372
1372
|
p status_code # => 2xx
|
1373
1373
|
p headers # => { ... }
|
@@ -1490,9 +1490,9 @@ Basic Authentication, Token Authentication
|
|
1490
1490
|
|
1491
1491
|
> datacenters_servers_upgrade_post(datacenter_id, server_id, opts)
|
1492
1492
|
|
1493
|
-
Upgrade
|
1493
|
+
Upgrade a Server by ID
|
1494
1494
|
|
1495
|
-
|
1495
|
+
Upgrades the server version.
|
1496
1496
|
|
1497
1497
|
### Examples
|
1498
1498
|
|
@@ -1521,7 +1521,7 @@ opts = {
|
|
1521
1521
|
}
|
1522
1522
|
|
1523
1523
|
begin
|
1524
|
-
# Upgrade
|
1524
|
+
# Upgrade a Server by ID
|
1525
1525
|
api_instance.datacenters_servers_upgrade_post(datacenter_id, server_id, opts)
|
1526
1526
|
rescue Ionoscloud::ApiError => e
|
1527
1527
|
puts "Error when calling ServersApi->datacenters_servers_upgrade_post: #{e}"
|
@@ -1536,7 +1536,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1536
1536
|
|
1537
1537
|
```ruby
|
1538
1538
|
begin
|
1539
|
-
# Upgrade
|
1539
|
+
# Upgrade a Server by ID
|
1540
1540
|
data, status_code, headers = api_instance.datacenters_servers_upgrade_post_with_http_info(datacenter_id, server_id, opts)
|
1541
1541
|
p status_code # => 2xx
|
1542
1542
|
p headers # => { ... }
|
@@ -1574,9 +1574,9 @@ Basic Authentication, Token Authentication
|
|
1574
1574
|
|
1575
1575
|
> datacenters_servers_volumes_delete(datacenter_id, server_id, volume_id, opts)
|
1576
1576
|
|
1577
|
-
Detach
|
1577
|
+
Detach a Volume by ID
|
1578
1578
|
|
1579
|
-
|
1579
|
+
Detachs the specified volume from the server. Note that only the volume's connection to the specified server is disconnected. If you want to delete the volume, you must submit a separate request to perform the deletion.
|
1580
1580
|
|
1581
1581
|
### Examples
|
1582
1582
|
|
@@ -1606,7 +1606,7 @@ opts = {
|
|
1606
1606
|
}
|
1607
1607
|
|
1608
1608
|
begin
|
1609
|
-
# Detach
|
1609
|
+
# Detach a Volume by ID
|
1610
1610
|
api_instance.datacenters_servers_volumes_delete(datacenter_id, server_id, volume_id, opts)
|
1611
1611
|
rescue Ionoscloud::ApiError => e
|
1612
1612
|
puts "Error when calling ServersApi->datacenters_servers_volumes_delete: #{e}"
|
@@ -1621,7 +1621,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1621
1621
|
|
1622
1622
|
```ruby
|
1623
1623
|
begin
|
1624
|
-
# Detach
|
1624
|
+
# Detach a Volume by ID
|
1625
1625
|
data, status_code, headers = api_instance.datacenters_servers_volumes_delete_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1626
1626
|
p status_code # => 2xx
|
1627
1627
|
p headers # => { ... }
|
@@ -1660,9 +1660,9 @@ Basic Authentication, Token Authentication
|
|
1660
1660
|
|
1661
1661
|
> <Volume> datacenters_servers_volumes_find_by_id(datacenter_id, server_id, volume_id, opts)
|
1662
1662
|
|
1663
|
-
|
1663
|
+
Get Attached Volume by ID
|
1664
1664
|
|
1665
|
-
|
1665
|
+
Retrieves the properties of the volume attached to the specified server.
|
1666
1666
|
|
1667
1667
|
### Examples
|
1668
1668
|
|
@@ -1692,7 +1692,7 @@ opts = {
|
|
1692
1692
|
}
|
1693
1693
|
|
1694
1694
|
begin
|
1695
|
-
#
|
1695
|
+
# Get Attached Volume by ID
|
1696
1696
|
result = api_instance.datacenters_servers_volumes_find_by_id(datacenter_id, server_id, volume_id, opts)
|
1697
1697
|
p result
|
1698
1698
|
rescue Ionoscloud::ApiError => e
|
@@ -1708,7 +1708,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1708
1708
|
|
1709
1709
|
```ruby
|
1710
1710
|
begin
|
1711
|
-
#
|
1711
|
+
# Get Attached Volume by ID
|
1712
1712
|
data, status_code, headers = api_instance.datacenters_servers_volumes_find_by_id_with_http_info(datacenter_id, server_id, volume_id, opts)
|
1713
1713
|
p status_code # => 2xx
|
1714
1714
|
p headers # => { ... }
|
@@ -1747,9 +1747,9 @@ Basic Authentication, Token Authentication
|
|
1747
1747
|
|
1748
1748
|
> <AttachedVolumes> datacenters_servers_volumes_get(datacenter_id, server_id, opts)
|
1749
1749
|
|
1750
|
-
|
1750
|
+
Get Attached Volumes
|
1751
1751
|
|
1752
|
-
|
1752
|
+
Lists all volumes attached to the specified server.
|
1753
1753
|
|
1754
1754
|
### Examples
|
1755
1755
|
|
@@ -1780,7 +1780,7 @@ opts = {
|
|
1780
1780
|
}
|
1781
1781
|
|
1782
1782
|
begin
|
1783
|
-
#
|
1783
|
+
# Get Attached Volumes
|
1784
1784
|
result = api_instance.datacenters_servers_volumes_get(datacenter_id, server_id, opts)
|
1785
1785
|
p result
|
1786
1786
|
rescue Ionoscloud::ApiError => e
|
@@ -1796,7 +1796,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1796
1796
|
|
1797
1797
|
```ruby
|
1798
1798
|
begin
|
1799
|
-
#
|
1799
|
+
# Get Attached Volumes
|
1800
1800
|
data, status_code, headers = api_instance.datacenters_servers_volumes_get_with_http_info(datacenter_id, server_id, opts)
|
1801
1801
|
p status_code # => 2xx
|
1802
1802
|
p headers # => { ... }
|
@@ -1836,9 +1836,9 @@ Basic Authentication, Token Authentication
|
|
1836
1836
|
|
1837
1837
|
> <Volume> datacenters_servers_volumes_post(datacenter_id, server_id, volume, opts)
|
1838
1838
|
|
1839
|
-
Attach
|
1839
|
+
Attach a Volume to a Server
|
1840
1840
|
|
1841
|
-
|
1841
|
+
Attachs an existing storage volume to the specified server. You can attach an existing volume in the VDC to a server. To move a volume from one server to another, you must first detach the volume from the first server and attach it to the second server. It is also possible to create and attach a volume in one step by simply providing a new volume description as a payload. The only difference is the URL; see 'Creating a Volume' for details about volumes. Note that the combined total of attached volumes and NICs cannot exceed 24 per server.
|
1842
1842
|
|
1843
1843
|
### Examples
|
1844
1844
|
|
@@ -1868,7 +1868,7 @@ opts = {
|
|
1868
1868
|
}
|
1869
1869
|
|
1870
1870
|
begin
|
1871
|
-
# Attach
|
1871
|
+
# Attach a Volume to a Server
|
1872
1872
|
result = api_instance.datacenters_servers_volumes_post(datacenter_id, server_id, volume, opts)
|
1873
1873
|
p result
|
1874
1874
|
rescue Ionoscloud::ApiError => e
|
@@ -1884,7 +1884,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1884
1884
|
|
1885
1885
|
```ruby
|
1886
1886
|
begin
|
1887
|
-
# Attach
|
1887
|
+
# Attach a Volume to a Server
|
1888
1888
|
data, status_code, headers = api_instance.datacenters_servers_volumes_post_with_http_info(datacenter_id, server_id, volume, opts)
|
1889
1889
|
p status_code # => 2xx
|
1890
1890
|
p headers # => { ... }
|
@@ -1900,7 +1900,7 @@ end
|
|
1900
1900
|
| ---- | ---- | ----------- | ----- |
|
1901
1901
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1902
1902
|
| **server_id** | **String** | The unique ID of the server. | |
|
1903
|
-
| **volume** | [**Volume**](Volume.md) | The volume to be attached (or created and attached). | |
|
1903
|
+
| **volume** | [**Volume**](../models/Volume.md) | The volume to be attached (or created and attached). | |
|
1904
1904
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1905
1905
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
1906
1906
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
data/docs/api/SnapshotsApi.md
CHANGED
@@ -8,7 +8,7 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
8
8
|
| [**snapshots_find_by_id**](SnapshotsApi.md#snapshots_find_by_id) | **GET** /snapshots/{snapshotId} | Retrieve snapshots by ID |
|
9
9
|
| [**snapshots_get**](SnapshotsApi.md#snapshots_get) | **GET** /snapshots | List snapshots |
|
10
10
|
| [**snapshots_patch**](SnapshotsApi.md#snapshots_patch) | **PATCH** /snapshots/{snapshotId} | Partially modify snapshots |
|
11
|
-
| [**snapshots_put**](SnapshotsApi.md#snapshots_put) | **PUT** /snapshots/{snapshotId} | Modify
|
11
|
+
| [**snapshots_put**](SnapshotsApi.md#snapshots_put) | **PUT** /snapshots/{snapshotId} | Modify a Snapshot by ID |
|
12
12
|
|
13
13
|
|
14
14
|
## snapshots_delete
|
@@ -323,7 +323,7 @@ end
|
|
323
323
|
| Name | Type | Description | Notes |
|
324
324
|
| ---- | ---- | ----------- | ----- |
|
325
325
|
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
326
|
-
| **snapshot** | [**SnapshotProperties**](SnapshotProperties.md) | The properties of the snapshot to be updated. | |
|
326
|
+
| **snapshot** | [**SnapshotProperties**](../models/SnapshotProperties.md) | The properties of the snapshot to be updated. | |
|
327
327
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
328
328
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
329
329
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -346,9 +346,9 @@ Basic Authentication, Token Authentication
|
|
346
346
|
|
347
347
|
> <Snapshot> snapshots_put(snapshot_id, snapshot, opts)
|
348
348
|
|
349
|
-
Modify
|
349
|
+
Modify a Snapshot by ID
|
350
350
|
|
351
|
-
|
351
|
+
Modifies the properties of the specified snapshot.
|
352
352
|
|
353
353
|
### Examples
|
354
354
|
|
@@ -377,7 +377,7 @@ opts = {
|
|
377
377
|
}
|
378
378
|
|
379
379
|
begin
|
380
|
-
# Modify
|
380
|
+
# Modify a Snapshot by ID
|
381
381
|
result = api_instance.snapshots_put(snapshot_id, snapshot, opts)
|
382
382
|
p result
|
383
383
|
rescue Ionoscloud::ApiError => e
|
@@ -393,7 +393,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
393
393
|
|
394
394
|
```ruby
|
395
395
|
begin
|
396
|
-
# Modify
|
396
|
+
# Modify a Snapshot by ID
|
397
397
|
data, status_code, headers = api_instance.snapshots_put_with_http_info(snapshot_id, snapshot, opts)
|
398
398
|
p status_code # => 2xx
|
399
399
|
p headers # => { ... }
|
@@ -408,7 +408,7 @@ end
|
|
408
408
|
| Name | Type | Description | Notes |
|
409
409
|
| ---- | ---- | ----------- | ----- |
|
410
410
|
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
411
|
-
| **snapshot** | [**Snapshot**](Snapshot.md) | The modified snapshot | |
|
411
|
+
| **snapshot** | [**Snapshot**](../models/Snapshot.md) | The modified snapshot | |
|
412
412
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
413
413
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
414
414
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|