ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_bucket_spec.rb +0 -34
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
data/docs/api/IPBlocksApi.md
CHANGED
@@ -4,21 +4,21 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**ipblocks_delete**](IPBlocksApi.md#ipblocks_delete) | **DELETE** /ipblocks/{ipblockId} | Delete IP
|
8
|
-
| [**ipblocks_find_by_id**](IPBlocksApi.md#ipblocks_find_by_id) | **GET** /ipblocks/{ipblockId} | Retrieve
|
9
|
-
| [**ipblocks_get**](IPBlocksApi.md#ipblocks_get) | **GET** /ipblocks | List IP
|
10
|
-
| [**ipblocks_patch**](IPBlocksApi.md#ipblocks_patch) | **PATCH** /ipblocks/{ipblockId} | Partially modify IP
|
11
|
-
| [**ipblocks_post**](IPBlocksApi.md#ipblocks_post) | **POST** /ipblocks | Reserve IP
|
12
|
-
| [**ipblocks_put**](IPBlocksApi.md#ipblocks_put) | **PUT** /ipblocks/{ipblockId} | Modify IP
|
7
|
+
| [**ipblocks_delete**](IPBlocksApi.md#ipblocks_delete) | **DELETE** /ipblocks/{ipblockId} | Delete IP blocks |
|
8
|
+
| [**ipblocks_find_by_id**](IPBlocksApi.md#ipblocks_find_by_id) | **GET** /ipblocks/{ipblockId} | Retrieve IP blocks |
|
9
|
+
| [**ipblocks_get**](IPBlocksApi.md#ipblocks_get) | **GET** /ipblocks | List IP blocks |
|
10
|
+
| [**ipblocks_patch**](IPBlocksApi.md#ipblocks_patch) | **PATCH** /ipblocks/{ipblockId} | Partially modify IP blocks |
|
11
|
+
| [**ipblocks_post**](IPBlocksApi.md#ipblocks_post) | **POST** /ipblocks | Reserve IP blocks |
|
12
|
+
| [**ipblocks_put**](IPBlocksApi.md#ipblocks_put) | **PUT** /ipblocks/{ipblockId} | Modify IP blocks |
|
13
13
|
|
14
14
|
|
15
15
|
## ipblocks_delete
|
16
16
|
|
17
17
|
> ipblocks_delete(ipblock_id, opts)
|
18
18
|
|
19
|
-
Delete IP
|
19
|
+
Delete IP blocks
|
20
20
|
|
21
|
-
|
21
|
+
Remove the specified IP block.
|
22
22
|
|
23
23
|
### Examples
|
24
24
|
|
@@ -38,7 +38,7 @@ Ionoscloud.configure do |config|
|
|
38
38
|
end
|
39
39
|
|
40
40
|
api_instance = Ionoscloud::IPBlocksApi.new
|
41
|
-
ipblock_id = 'ipblock_id_example' # String |
|
41
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
42
42
|
opts = {
|
43
43
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
44
44
|
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
|
@@ -46,7 +46,7 @@ opts = {
|
|
46
46
|
}
|
47
47
|
|
48
48
|
begin
|
49
|
-
# Delete IP
|
49
|
+
# Delete IP blocks
|
50
50
|
api_instance.ipblocks_delete(ipblock_id, opts)
|
51
51
|
rescue Ionoscloud::ApiError => e
|
52
52
|
puts "Error when calling IPBlocksApi->ipblocks_delete: #{e}"
|
@@ -61,7 +61,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
61
61
|
|
62
62
|
```ruby
|
63
63
|
begin
|
64
|
-
# Delete IP
|
64
|
+
# Delete IP blocks
|
65
65
|
data, status_code, headers = api_instance.ipblocks_delete_with_http_info(ipblock_id, opts)
|
66
66
|
p status_code # => 2xx
|
67
67
|
p headers # => { ... }
|
@@ -75,7 +75,7 @@ end
|
|
75
75
|
|
76
76
|
| Name | Type | Description | Notes |
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
78
|
-
| **ipblock_id** | **String** |
|
78
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
79
79
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
80
80
|
| **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] |
|
81
81
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -98,9 +98,9 @@ Basic Authentication, Token Authentication
|
|
98
98
|
|
99
99
|
> <IpBlock> ipblocks_find_by_id(ipblock_id, opts)
|
100
100
|
|
101
|
-
Retrieve
|
101
|
+
Retrieve IP blocks
|
102
102
|
|
103
|
-
|
103
|
+
Retrieve the properties of the specified IP block.
|
104
104
|
|
105
105
|
### Examples
|
106
106
|
|
@@ -120,7 +120,7 @@ Ionoscloud.configure do |config|
|
|
120
120
|
end
|
121
121
|
|
122
122
|
api_instance = Ionoscloud::IPBlocksApi.new
|
123
|
-
ipblock_id = 'ipblock_id_example' # String |
|
123
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
124
124
|
opts = {
|
125
125
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
126
126
|
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
|
@@ -128,7 +128,7 @@ opts = {
|
|
128
128
|
}
|
129
129
|
|
130
130
|
begin
|
131
|
-
# Retrieve
|
131
|
+
# Retrieve IP blocks
|
132
132
|
result = api_instance.ipblocks_find_by_id(ipblock_id, opts)
|
133
133
|
p result
|
134
134
|
rescue Ionoscloud::ApiError => e
|
@@ -144,7 +144,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
144
144
|
|
145
145
|
```ruby
|
146
146
|
begin
|
147
|
-
# Retrieve
|
147
|
+
# Retrieve IP blocks
|
148
148
|
data, status_code, headers = api_instance.ipblocks_find_by_id_with_http_info(ipblock_id, opts)
|
149
149
|
p status_code # => 2xx
|
150
150
|
p headers # => { ... }
|
@@ -158,14 +158,14 @@ end
|
|
158
158
|
|
159
159
|
| Name | Type | Description | Notes |
|
160
160
|
| ---- | ---- | ----------- | ----- |
|
161
|
-
| **ipblock_id** | **String** |
|
161
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
162
162
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
163
163
|
| **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] |
|
164
164
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
165
165
|
|
166
166
|
### Return type
|
167
167
|
|
168
|
-
[**IpBlock**](IpBlock.md)
|
168
|
+
[**IpBlock**](../models/IpBlock.md)
|
169
169
|
|
170
170
|
### Authorization
|
171
171
|
|
@@ -181,9 +181,9 @@ Basic Authentication, Token Authentication
|
|
181
181
|
|
182
182
|
> <IpBlocks> ipblocks_get(opts)
|
183
183
|
|
184
|
-
List IP
|
184
|
+
List IP blocks
|
185
185
|
|
186
|
-
|
186
|
+
List all reserved IP blocks.
|
187
187
|
|
188
188
|
### Examples
|
189
189
|
|
@@ -208,11 +208,11 @@ opts = {
|
|
208
208
|
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
|
209
209
|
x_contract_number: 56, # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
210
210
|
offset: 56, # Integer | The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
|
211
|
-
limit: 56 # Integer |
|
211
|
+
limit: 56 # Integer | The maximum number of elements to return (use together with offset for pagination).
|
212
212
|
}
|
213
213
|
|
214
214
|
begin
|
215
|
-
# List IP
|
215
|
+
# List IP blocks
|
216
216
|
result = api_instance.ipblocks_get(opts)
|
217
217
|
p result
|
218
218
|
rescue Ionoscloud::ApiError => e
|
@@ -228,7 +228,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
228
228
|
|
229
229
|
```ruby
|
230
230
|
begin
|
231
|
-
# List IP
|
231
|
+
# List IP blocks
|
232
232
|
data, status_code, headers = api_instance.ipblocks_get_with_http_info(opts)
|
233
233
|
p status_code # => 2xx
|
234
234
|
p headers # => { ... }
|
@@ -246,11 +246,11 @@ end
|
|
246
246
|
| **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] |
|
247
247
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
248
248
|
| **offset** | **Integer** | The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). | [optional][default to 0] |
|
249
|
-
| **limit** | **Integer** |
|
249
|
+
| **limit** | **Integer** | The maximum number of elements to return (use together with offset for pagination). | [optional][default to 100] |
|
250
250
|
|
251
251
|
### Return type
|
252
252
|
|
253
|
-
[**IpBlocks**](IpBlocks.md)
|
253
|
+
[**IpBlocks**](../models/IpBlocks.md)
|
254
254
|
|
255
255
|
### Authorization
|
256
256
|
|
@@ -266,9 +266,9 @@ Basic Authentication, Token Authentication
|
|
266
266
|
|
267
267
|
> <IpBlock> ipblocks_patch(ipblock_id, ipblock, opts)
|
268
268
|
|
269
|
-
Partially modify IP
|
269
|
+
Partially modify IP blocks
|
270
270
|
|
271
|
-
|
271
|
+
Update the properties of the specified IP block.
|
272
272
|
|
273
273
|
### Examples
|
274
274
|
|
@@ -288,8 +288,8 @@ Ionoscloud.configure do |config|
|
|
288
288
|
end
|
289
289
|
|
290
290
|
api_instance = Ionoscloud::IPBlocksApi.new
|
291
|
-
ipblock_id = 'ipblock_id_example' # String |
|
292
|
-
ipblock = Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5}) # IpBlockProperties | IP
|
291
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
292
|
+
ipblock = Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5}) # IpBlockProperties | The properties of the IP block to be updated.
|
293
293
|
opts = {
|
294
294
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
295
295
|
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
|
@@ -297,7 +297,7 @@ opts = {
|
|
297
297
|
}
|
298
298
|
|
299
299
|
begin
|
300
|
-
# Partially modify IP
|
300
|
+
# Partially modify IP blocks
|
301
301
|
result = api_instance.ipblocks_patch(ipblock_id, ipblock, opts)
|
302
302
|
p result
|
303
303
|
rescue Ionoscloud::ApiError => e
|
@@ -313,7 +313,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
313
313
|
|
314
314
|
```ruby
|
315
315
|
begin
|
316
|
-
# Partially modify IP
|
316
|
+
# Partially modify IP blocks
|
317
317
|
data, status_code, headers = api_instance.ipblocks_patch_with_http_info(ipblock_id, ipblock, opts)
|
318
318
|
p status_code # => 2xx
|
319
319
|
p headers # => { ... }
|
@@ -327,15 +327,15 @@ end
|
|
327
327
|
|
328
328
|
| Name | Type | Description | Notes |
|
329
329
|
| ---- | ---- | ----------- | ----- |
|
330
|
-
| **ipblock_id** | **String** |
|
331
|
-
| **ipblock** | [**IpBlockProperties**](IpBlockProperties.md) | IP
|
330
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
331
|
+
| **ipblock** | [**IpBlockProperties**](IpBlockProperties.md) | The properties of the IP block to be updated. | |
|
332
332
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
333
333
|
| **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] |
|
334
334
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
335
335
|
|
336
336
|
### Return type
|
337
337
|
|
338
|
-
[**IpBlock**](IpBlock.md)
|
338
|
+
[**IpBlock**](../models/IpBlock.md)
|
339
339
|
|
340
340
|
### Authorization
|
341
341
|
|
@@ -351,9 +351,9 @@ Basic Authentication, Token Authentication
|
|
351
351
|
|
352
352
|
> <IpBlock> ipblocks_post(ipblock, opts)
|
353
353
|
|
354
|
-
Reserve IP
|
354
|
+
Reserve IP blocks
|
355
355
|
|
356
|
-
|
356
|
+
Reserve a new IP block.
|
357
357
|
|
358
358
|
### Examples
|
359
359
|
|
@@ -373,7 +373,7 @@ Ionoscloud.configure do |config|
|
|
373
373
|
end
|
374
374
|
|
375
375
|
api_instance = Ionoscloud::IPBlocksApi.new
|
376
|
-
ipblock = Ionoscloud::IpBlock.new({properties: Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5})}) # IpBlock | IP
|
376
|
+
ipblock = Ionoscloud::IpBlock.new({properties: Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5})}) # IpBlock | The IP block to be reserved.
|
377
377
|
opts = {
|
378
378
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
379
379
|
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
|
@@ -381,7 +381,7 @@ opts = {
|
|
381
381
|
}
|
382
382
|
|
383
383
|
begin
|
384
|
-
# Reserve IP
|
384
|
+
# Reserve IP blocks
|
385
385
|
result = api_instance.ipblocks_post(ipblock, opts)
|
386
386
|
p result
|
387
387
|
rescue Ionoscloud::ApiError => e
|
@@ -397,7 +397,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
397
397
|
|
398
398
|
```ruby
|
399
399
|
begin
|
400
|
-
# Reserve IP
|
400
|
+
# Reserve IP blocks
|
401
401
|
data, status_code, headers = api_instance.ipblocks_post_with_http_info(ipblock, opts)
|
402
402
|
p status_code # => 2xx
|
403
403
|
p headers # => { ... }
|
@@ -411,14 +411,14 @@ end
|
|
411
411
|
|
412
412
|
| Name | Type | Description | Notes |
|
413
413
|
| ---- | ---- | ----------- | ----- |
|
414
|
-
| **ipblock** | [**IpBlock**](IpBlock.md) | IP
|
414
|
+
| **ipblock** | [**IpBlock**](IpBlock.md) | The IP block to be reserved. | |
|
415
415
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
416
416
|
| **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] |
|
417
417
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
418
418
|
|
419
419
|
### Return type
|
420
420
|
|
421
|
-
[**IpBlock**](IpBlock.md)
|
421
|
+
[**IpBlock**](../models/IpBlock.md)
|
422
422
|
|
423
423
|
### Authorization
|
424
424
|
|
@@ -434,9 +434,9 @@ Basic Authentication, Token Authentication
|
|
434
434
|
|
435
435
|
> <IpBlock> ipblocks_put(ipblock_id, ipblock, opts)
|
436
436
|
|
437
|
-
Modify IP
|
437
|
+
Modify IP blocks
|
438
438
|
|
439
|
-
|
439
|
+
Modify the properties of the specified IP block.
|
440
440
|
|
441
441
|
### Examples
|
442
442
|
|
@@ -456,8 +456,8 @@ Ionoscloud.configure do |config|
|
|
456
456
|
end
|
457
457
|
|
458
458
|
api_instance = Ionoscloud::IPBlocksApi.new
|
459
|
-
ipblock_id = 'ipblock_id_example' # String |
|
460
|
-
ipblock = Ionoscloud::IpBlock.new({properties: Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5})}) # IpBlock |
|
459
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
460
|
+
ipblock = Ionoscloud::IpBlock.new({properties: Ionoscloud::IpBlockProperties.new({location: 'us/las', size: 5})}) # IpBlock | The modified IP block.
|
461
461
|
opts = {
|
462
462
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
463
463
|
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
|
@@ -465,7 +465,7 @@ opts = {
|
|
465
465
|
}
|
466
466
|
|
467
467
|
begin
|
468
|
-
# Modify IP
|
468
|
+
# Modify IP blocks
|
469
469
|
result = api_instance.ipblocks_put(ipblock_id, ipblock, opts)
|
470
470
|
p result
|
471
471
|
rescue Ionoscloud::ApiError => e
|
@@ -481,7 +481,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
481
481
|
|
482
482
|
```ruby
|
483
483
|
begin
|
484
|
-
# Modify IP
|
484
|
+
# Modify IP blocks
|
485
485
|
data, status_code, headers = api_instance.ipblocks_put_with_http_info(ipblock_id, ipblock, opts)
|
486
486
|
p status_code # => 2xx
|
487
487
|
p headers # => { ... }
|
@@ -495,15 +495,15 @@ end
|
|
495
495
|
|
496
496
|
| Name | Type | Description | Notes |
|
497
497
|
| ---- | ---- | ----------- | ----- |
|
498
|
-
| **ipblock_id** | **String** |
|
499
|
-
| **ipblock** | [**IpBlock**](IpBlock.md) |
|
498
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
499
|
+
| **ipblock** | [**IpBlock**](IpBlock.md) | The modified IP block. | |
|
500
500
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
501
501
|
| **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] |
|
502
502
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
503
503
|
|
504
504
|
### Return type
|
505
505
|
|
506
|
-
[**IpBlock**](IpBlock.md)
|
506
|
+
[**IpBlock**](../models/IpBlock.md)
|
507
507
|
|
508
508
|
### Authorization
|
509
509
|
|
data/docs/api/ImagesApi.md
CHANGED
@@ -4,20 +4,20 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**images_delete**](ImagesApi.md#images_delete) | **DELETE** /images/{imageId} | Delete
|
8
|
-
| [**images_find_by_id**](ImagesApi.md#images_find_by_id) | **GET** /images/{imageId} | Retrieve
|
9
|
-
| [**images_get**](ImagesApi.md#images_get) | **GET** /images | List
|
10
|
-
| [**images_patch**](ImagesApi.md#images_patch) | **PATCH** /images/{imageId} | Partially modify
|
11
|
-
| [**images_put**](ImagesApi.md#images_put) | **PUT** /images/{imageId} | Modify
|
7
|
+
| [**images_delete**](ImagesApi.md#images_delete) | **DELETE** /images/{imageId} | Delete images |
|
8
|
+
| [**images_find_by_id**](ImagesApi.md#images_find_by_id) | **GET** /images/{imageId} | Retrieve images |
|
9
|
+
| [**images_get**](ImagesApi.md#images_get) | **GET** /images | List images |
|
10
|
+
| [**images_patch**](ImagesApi.md#images_patch) | **PATCH** /images/{imageId} | Partially modify images |
|
11
|
+
| [**images_put**](ImagesApi.md#images_put) | **PUT** /images/{imageId} | Modify images |
|
12
12
|
|
13
13
|
|
14
14
|
## images_delete
|
15
15
|
|
16
16
|
> images_delete(image_id, opts)
|
17
17
|
|
18
|
-
Delete
|
18
|
+
Delete images
|
19
19
|
|
20
|
-
|
20
|
+
Delete the specified image; this operation is only supported for private images.
|
21
21
|
|
22
22
|
### Examples
|
23
23
|
|
@@ -37,7 +37,7 @@ Ionoscloud.configure do |config|
|
|
37
37
|
end
|
38
38
|
|
39
39
|
api_instance = Ionoscloud::ImagesApi.new
|
40
|
-
image_id = 'image_id_example' # String |
|
40
|
+
image_id = 'image_id_example' # String | The unique ID of the image.
|
41
41
|
opts = {
|
42
42
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
43
43
|
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
|
@@ -45,7 +45,7 @@ opts = {
|
|
45
45
|
}
|
46
46
|
|
47
47
|
begin
|
48
|
-
# Delete
|
48
|
+
# Delete images
|
49
49
|
api_instance.images_delete(image_id, opts)
|
50
50
|
rescue Ionoscloud::ApiError => e
|
51
51
|
puts "Error when calling ImagesApi->images_delete: #{e}"
|
@@ -60,7 +60,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
60
60
|
|
61
61
|
```ruby
|
62
62
|
begin
|
63
|
-
# Delete
|
63
|
+
# Delete images
|
64
64
|
data, status_code, headers = api_instance.images_delete_with_http_info(image_id, opts)
|
65
65
|
p status_code # => 2xx
|
66
66
|
p headers # => { ... }
|
@@ -74,7 +74,7 @@ end
|
|
74
74
|
|
75
75
|
| Name | Type | Description | Notes |
|
76
76
|
| ---- | ---- | ----------- | ----- |
|
77
|
-
| **image_id** | **String** |
|
77
|
+
| **image_id** | **String** | The unique ID of the image. | |
|
78
78
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
79
79
|
| **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] |
|
80
80
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -97,9 +97,9 @@ Basic Authentication, Token Authentication
|
|
97
97
|
|
98
98
|
> <Image> images_find_by_id(image_id, opts)
|
99
99
|
|
100
|
-
Retrieve
|
100
|
+
Retrieve images
|
101
101
|
|
102
|
-
|
102
|
+
Retrieve the properties of the specified image.
|
103
103
|
|
104
104
|
### Examples
|
105
105
|
|
@@ -119,7 +119,7 @@ Ionoscloud.configure do |config|
|
|
119
119
|
end
|
120
120
|
|
121
121
|
api_instance = Ionoscloud::ImagesApi.new
|
122
|
-
image_id = 'image_id_example' # String |
|
122
|
+
image_id = 'image_id_example' # String | The unique ID of the image.
|
123
123
|
opts = {
|
124
124
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
125
125
|
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
|
@@ -127,7 +127,7 @@ opts = {
|
|
127
127
|
}
|
128
128
|
|
129
129
|
begin
|
130
|
-
# Retrieve
|
130
|
+
# Retrieve images
|
131
131
|
result = api_instance.images_find_by_id(image_id, opts)
|
132
132
|
p result
|
133
133
|
rescue Ionoscloud::ApiError => e
|
@@ -143,7 +143,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
143
143
|
|
144
144
|
```ruby
|
145
145
|
begin
|
146
|
-
# Retrieve
|
146
|
+
# Retrieve images
|
147
147
|
data, status_code, headers = api_instance.images_find_by_id_with_http_info(image_id, opts)
|
148
148
|
p status_code # => 2xx
|
149
149
|
p headers # => { ... }
|
@@ -157,14 +157,14 @@ end
|
|
157
157
|
|
158
158
|
| Name | Type | Description | Notes |
|
159
159
|
| ---- | ---- | ----------- | ----- |
|
160
|
-
| **image_id** | **String** |
|
160
|
+
| **image_id** | **String** | The unique ID of the image. | |
|
161
161
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
162
162
|
| **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] |
|
163
163
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
164
164
|
|
165
165
|
### Return type
|
166
166
|
|
167
|
-
[**Image**](Image.md)
|
167
|
+
[**Image**](../models/Image.md)
|
168
168
|
|
169
169
|
### Authorization
|
170
170
|
|
@@ -180,9 +180,9 @@ Basic Authentication, Token Authentication
|
|
180
180
|
|
181
181
|
> <Images> images_get(opts)
|
182
182
|
|
183
|
-
List
|
183
|
+
List images
|
184
184
|
|
185
|
-
|
185
|
+
List all the images within the data center.
|
186
186
|
|
187
187
|
### Examples
|
188
188
|
|
@@ -209,7 +209,7 @@ opts = {
|
|
209
209
|
}
|
210
210
|
|
211
211
|
begin
|
212
|
-
# List
|
212
|
+
# List images
|
213
213
|
result = api_instance.images_get(opts)
|
214
214
|
p result
|
215
215
|
rescue Ionoscloud::ApiError => e
|
@@ -225,7 +225,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
225
225
|
|
226
226
|
```ruby
|
227
227
|
begin
|
228
|
-
# List
|
228
|
+
# List images
|
229
229
|
data, status_code, headers = api_instance.images_get_with_http_info(opts)
|
230
230
|
p status_code # => 2xx
|
231
231
|
p headers # => { ... }
|
@@ -245,7 +245,7 @@ end
|
|
245
245
|
|
246
246
|
### Return type
|
247
247
|
|
248
|
-
[**Images**](Images.md)
|
248
|
+
[**Images**](../models/Images.md)
|
249
249
|
|
250
250
|
### Authorization
|
251
251
|
|
@@ -261,9 +261,9 @@ Basic Authentication, Token Authentication
|
|
261
261
|
|
262
262
|
> <Image> images_patch(image_id, image, opts)
|
263
263
|
|
264
|
-
Partially modify
|
264
|
+
Partially modify images
|
265
265
|
|
266
|
-
|
266
|
+
Update the properties of the specified image.
|
267
267
|
|
268
268
|
### Examples
|
269
269
|
|
@@ -283,8 +283,8 @@ Ionoscloud.configure do |config|
|
|
283
283
|
end
|
284
284
|
|
285
285
|
api_instance = Ionoscloud::ImagesApi.new
|
286
|
-
image_id = 'image_id_example' # String |
|
287
|
-
image = Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'}) # ImageProperties |
|
286
|
+
image_id = 'image_id_example' # String | The unique ID of the image.
|
287
|
+
image = Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'}) # ImageProperties | The image properties to be updated.
|
288
288
|
opts = {
|
289
289
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
290
290
|
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
|
@@ -292,7 +292,7 @@ opts = {
|
|
292
292
|
}
|
293
293
|
|
294
294
|
begin
|
295
|
-
# Partially modify
|
295
|
+
# Partially modify images
|
296
296
|
result = api_instance.images_patch(image_id, image, opts)
|
297
297
|
p result
|
298
298
|
rescue Ionoscloud::ApiError => e
|
@@ -308,7 +308,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
308
308
|
|
309
309
|
```ruby
|
310
310
|
begin
|
311
|
-
# Partially modify
|
311
|
+
# Partially modify images
|
312
312
|
data, status_code, headers = api_instance.images_patch_with_http_info(image_id, image, opts)
|
313
313
|
p status_code # => 2xx
|
314
314
|
p headers # => { ... }
|
@@ -322,15 +322,15 @@ end
|
|
322
322
|
|
323
323
|
| Name | Type | Description | Notes |
|
324
324
|
| ---- | ---- | ----------- | ----- |
|
325
|
-
| **image_id** | **String** |
|
326
|
-
| **image** | [**ImageProperties**](ImageProperties.md) |
|
325
|
+
| **image_id** | **String** | The unique ID of the image. | |
|
326
|
+
| **image** | [**ImageProperties**](ImageProperties.md) | The image properties 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, against which all API requests are to be executed. | [optional] |
|
330
330
|
|
331
331
|
### Return type
|
332
332
|
|
333
|
-
[**Image**](Image.md)
|
333
|
+
[**Image**](../models/Image.md)
|
334
334
|
|
335
335
|
### Authorization
|
336
336
|
|
@@ -346,9 +346,9 @@ Basic Authentication, Token Authentication
|
|
346
346
|
|
347
347
|
> <Image> images_put(image_id, image, opts)
|
348
348
|
|
349
|
-
Modify
|
349
|
+
Modify images
|
350
350
|
|
351
|
-
|
351
|
+
Modify the properties of the specified image.
|
352
352
|
|
353
353
|
### Examples
|
354
354
|
|
@@ -368,8 +368,8 @@ Ionoscloud.configure do |config|
|
|
368
368
|
end
|
369
369
|
|
370
370
|
api_instance = Ionoscloud::ImagesApi.new
|
371
|
-
image_id = 'image_id_example' # String |
|
372
|
-
image = Ionoscloud::Image.new({properties: Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'})}) # Image |
|
371
|
+
image_id = 'image_id_example' # String | The unique ID of the image.
|
372
|
+
image = Ionoscloud::Image.new({properties: Ionoscloud::ImageProperties.new({licence_type: 'UNKNOWN'})}) # Image | The modified image
|
373
373
|
opts = {
|
374
374
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
375
375
|
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
|
@@ -377,7 +377,7 @@ opts = {
|
|
377
377
|
}
|
378
378
|
|
379
379
|
begin
|
380
|
-
# Modify
|
380
|
+
# Modify images
|
381
381
|
result = api_instance.images_put(image_id, image, 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 images
|
397
397
|
data, status_code, headers = api_instance.images_put_with_http_info(image_id, image, opts)
|
398
398
|
p status_code # => 2xx
|
399
399
|
p headers # => { ... }
|
@@ -407,15 +407,15 @@ end
|
|
407
407
|
|
408
408
|
| Name | Type | Description | Notes |
|
409
409
|
| ---- | ---- | ----------- | ----- |
|
410
|
-
| **image_id** | **String** |
|
411
|
-
| **image** | [**Image**](Image.md) |
|
410
|
+
| **image_id** | **String** | The unique ID of the image. | |
|
411
|
+
| **image** | [**Image**](Image.md) | The modified image | |
|
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, against which all API requests are to be executed. | [optional] |
|
415
415
|
|
416
416
|
### Return type
|
417
417
|
|
418
|
-
[**Image**](Image.md)
|
418
|
+
[**Image**](../models/Image.md)
|
419
419
|
|
420
420
|
### Authorization
|
421
421
|
|