ionoscloud 6.0.0.beta.4 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/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/SnapshotsApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**snapshots_delete**](SnapshotsApi.md#snapshots_delete) | **DELETE** /snapshots/{snapshotId} | Delete
|
8
|
-
| [**snapshots_find_by_id**](SnapshotsApi.md#snapshots_find_by_id) | **GET** /snapshots/{snapshotId} | Retrieve
|
9
|
-
| [**snapshots_get**](SnapshotsApi.md#snapshots_get) | **GET** /snapshots | List
|
10
|
-
| [**snapshots_patch**](SnapshotsApi.md#snapshots_patch) | **PATCH** /snapshots/{snapshotId} | Partially modify
|
11
|
-
| [**snapshots_put**](SnapshotsApi.md#snapshots_put) | **PUT** /snapshots/{snapshotId} | Modify
|
7
|
+
| [**snapshots_delete**](SnapshotsApi.md#snapshots_delete) | **DELETE** /snapshots/{snapshotId} | Delete snapshots |
|
8
|
+
| [**snapshots_find_by_id**](SnapshotsApi.md#snapshots_find_by_id) | **GET** /snapshots/{snapshotId} | Retrieve snapshots by ID |
|
9
|
+
| [**snapshots_get**](SnapshotsApi.md#snapshots_get) | **GET** /snapshots | List snapshots |
|
10
|
+
| [**snapshots_patch**](SnapshotsApi.md#snapshots_patch) | **PATCH** /snapshots/{snapshotId} | Partially modify snapshots |
|
11
|
+
| [**snapshots_put**](SnapshotsApi.md#snapshots_put) | **PUT** /snapshots/{snapshotId} | Modify snapshots |
|
12
12
|
|
13
13
|
|
14
14
|
## snapshots_delete
|
15
15
|
|
16
16
|
> snapshots_delete(snapshot_id, opts)
|
17
17
|
|
18
|
-
Delete
|
18
|
+
Delete snapshots
|
19
19
|
|
20
20
|
Deletes the specified snapshot.
|
21
21
|
|
@@ -37,7 +37,7 @@ Ionoscloud.configure do |config|
|
|
37
37
|
end
|
38
38
|
|
39
39
|
api_instance = Ionoscloud::SnapshotsApi.new
|
40
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
40
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
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 snapshots
|
49
49
|
api_instance.snapshots_delete(snapshot_id, opts)
|
50
50
|
rescue Ionoscloud::ApiError => e
|
51
51
|
puts "Error when calling SnapshotsApi->snapshots_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 snapshots
|
64
64
|
data, status_code, headers = api_instance.snapshots_delete_with_http_info(snapshot_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
|
-
| **snapshot_id** | **String** | The unique ID of the
|
77
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
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
|
> <Snapshot> snapshots_find_by_id(snapshot_id, opts)
|
99
99
|
|
100
|
-
Retrieve
|
100
|
+
Retrieve snapshots by ID
|
101
101
|
|
102
|
-
|
102
|
+
Retrieve the properties of the specified snapshot.
|
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::SnapshotsApi.new
|
122
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
122
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
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 snapshots by ID
|
131
131
|
result = api_instance.snapshots_find_by_id(snapshot_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 snapshots by ID
|
147
147
|
data, status_code, headers = api_instance.snapshots_find_by_id_with_http_info(snapshot_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
|
-
| **snapshot_id** | **String** | The unique ID of the
|
160
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
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
|
-
[**Snapshot**](Snapshot.md)
|
167
|
+
[**Snapshot**](../models/Snapshot.md)
|
168
168
|
|
169
169
|
### Authorization
|
170
170
|
|
@@ -180,9 +180,9 @@ Basic Authentication, Token Authentication
|
|
180
180
|
|
181
181
|
> <Snapshots> snapshots_get(opts)
|
182
182
|
|
183
|
-
List
|
183
|
+
List snapshots
|
184
184
|
|
185
|
-
|
185
|
+
List all available snapshots.
|
186
186
|
|
187
187
|
### Examples
|
188
188
|
|
@@ -209,7 +209,7 @@ opts = {
|
|
209
209
|
}
|
210
210
|
|
211
211
|
begin
|
212
|
-
# List
|
212
|
+
# List snapshots
|
213
213
|
result = api_instance.snapshots_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 snapshots
|
229
229
|
data, status_code, headers = api_instance.snapshots_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
|
-
[**Snapshots**](Snapshots.md)
|
248
|
+
[**Snapshots**](../models/Snapshots.md)
|
249
249
|
|
250
250
|
### Authorization
|
251
251
|
|
@@ -261,9 +261,9 @@ Basic Authentication, Token Authentication
|
|
261
261
|
|
262
262
|
> <Snapshot> snapshots_patch(snapshot_id, snapshot, opts)
|
263
263
|
|
264
|
-
Partially modify
|
264
|
+
Partially modify snapshots
|
265
265
|
|
266
|
-
|
266
|
+
Update the properties of the specified snapshot.
|
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::SnapshotsApi.new
|
286
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
287
|
-
snapshot = Ionoscloud::SnapshotProperties.new # SnapshotProperties |
|
286
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
287
|
+
snapshot = Ionoscloud::SnapshotProperties.new # SnapshotProperties | The properties of the snapshot 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 snapshots
|
296
296
|
result = api_instance.snapshots_patch(snapshot_id, snapshot, 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 snapshots
|
312
312
|
data, status_code, headers = api_instance.snapshots_patch_with_http_info(snapshot_id, snapshot, 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
|
-
| **snapshot_id** | **String** | The unique ID of the
|
326
|
-
| **snapshot** | [**SnapshotProperties**](SnapshotProperties.md) |
|
325
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
326
|
+
| **snapshot** | [**SnapshotProperties**](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, against which all API requests are to be executed. | [optional] |
|
330
330
|
|
331
331
|
### Return type
|
332
332
|
|
333
|
-
[**Snapshot**](Snapshot.md)
|
333
|
+
[**Snapshot**](../models/Snapshot.md)
|
334
334
|
|
335
335
|
### Authorization
|
336
336
|
|
@@ -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 snapshots
|
350
350
|
|
351
|
-
|
351
|
+
Modify the properties of the specified snapshot.
|
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::SnapshotsApi.new
|
371
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
372
|
-
snapshot = Ionoscloud::Snapshot.new({properties: Ionoscloud::SnapshotProperties.new}) # Snapshot |
|
371
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
372
|
+
snapshot = Ionoscloud::Snapshot.new({properties: Ionoscloud::SnapshotProperties.new}) # Snapshot | The modified snapshot
|
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 snapshots
|
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 snapshots
|
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 # => { ... }
|
@@ -407,15 +407,15 @@ end
|
|
407
407
|
|
408
408
|
| Name | Type | Description | Notes |
|
409
409
|
| ---- | ---- | ----------- | ----- |
|
410
|
-
| **snapshot_id** | **String** | The unique ID of the
|
411
|
-
| **snapshot** | [**Snapshot**](Snapshot.md) |
|
410
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
411
|
+
| **snapshot** | [**Snapshot**](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, against which all API requests are to be executed. | [optional] |
|
415
415
|
|
416
416
|
### Return type
|
417
417
|
|
418
|
-
[**Snapshot**](Snapshot.md)
|
418
|
+
[**Snapshot**](../models/Snapshot.md)
|
419
419
|
|
420
420
|
### Authorization
|
421
421
|
|
data/docs/api/TemplatesApi.md
CHANGED
@@ -4,17 +4,17 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**templates_find_by_id**](TemplatesApi.md#templates_find_by_id) | **GET** /templates/{templateId} | Retrieve
|
8
|
-
| [**templates_get**](TemplatesApi.md#templates_get) | **GET** /templates | List Templates |
|
7
|
+
| [**templates_find_by_id**](TemplatesApi.md#templates_find_by_id) | **GET** /templates/{templateId} | Retrieve Cubes Templates |
|
8
|
+
| [**templates_get**](TemplatesApi.md#templates_get) | **GET** /templates | List Cubes Templates |
|
9
9
|
|
10
10
|
|
11
11
|
## templates_find_by_id
|
12
12
|
|
13
13
|
> <Template> templates_find_by_id(template_id, opts)
|
14
14
|
|
15
|
-
Retrieve
|
15
|
+
Retrieve Cubes Templates
|
16
16
|
|
17
|
-
|
17
|
+
Retrieve the properties of the specified Cubes Template. This operation is only supported for the Cubes.
|
18
18
|
|
19
19
|
### Examples
|
20
20
|
|
@@ -34,13 +34,13 @@ Ionoscloud.configure do |config|
|
|
34
34
|
end
|
35
35
|
|
36
36
|
api_instance = Ionoscloud::TemplatesApi.new
|
37
|
-
template_id = 'template_id_example' # String |
|
37
|
+
template_id = 'template_id_example' # String | The unique Template ID.
|
38
38
|
opts = {
|
39
39
|
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
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
43
|
-
# Retrieve
|
43
|
+
# Retrieve Cubes Templates
|
44
44
|
result = api_instance.templates_find_by_id(template_id, opts)
|
45
45
|
p result
|
46
46
|
rescue Ionoscloud::ApiError => e
|
@@ -56,7 +56,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
56
56
|
|
57
57
|
```ruby
|
58
58
|
begin
|
59
|
-
# Retrieve
|
59
|
+
# Retrieve Cubes Templates
|
60
60
|
data, status_code, headers = api_instance.templates_find_by_id_with_http_info(template_id, opts)
|
61
61
|
p status_code # => 2xx
|
62
62
|
p headers # => { ... }
|
@@ -70,12 +70,12 @@ end
|
|
70
70
|
|
71
71
|
| Name | Type | Description | Notes |
|
72
72
|
| ---- | ---- | ----------- | ----- |
|
73
|
-
| **template_id** | **String** |
|
73
|
+
| **template_id** | **String** | The unique Template ID. | |
|
74
74
|
| **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] |
|
75
75
|
|
76
76
|
### Return type
|
77
77
|
|
78
|
-
[**Template**](Template.md)
|
78
|
+
[**Template**](../models/Template.md)
|
79
79
|
|
80
80
|
### Authorization
|
81
81
|
|
@@ -91,9 +91,9 @@ Basic Authentication, Token Authentication
|
|
91
91
|
|
92
92
|
> <Templates> templates_get(opts)
|
93
93
|
|
94
|
-
List Templates
|
94
|
+
List Cubes Templates
|
95
95
|
|
96
|
-
|
96
|
+
List all of the available Cubes Templates. This operation is only supported for the Cubes.
|
97
97
|
|
98
98
|
### Examples
|
99
99
|
|
@@ -118,7 +118,7 @@ opts = {
|
|
118
118
|
}
|
119
119
|
|
120
120
|
begin
|
121
|
-
# List Templates
|
121
|
+
# List Cubes Templates
|
122
122
|
result = api_instance.templates_get(opts)
|
123
123
|
p result
|
124
124
|
rescue Ionoscloud::ApiError => e
|
@@ -134,7 +134,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
134
134
|
|
135
135
|
```ruby
|
136
136
|
begin
|
137
|
-
# List Templates
|
137
|
+
# List Cubes Templates
|
138
138
|
data, status_code, headers = api_instance.templates_get_with_http_info(opts)
|
139
139
|
p status_code # => 2xx
|
140
140
|
p headers # => { ... }
|
@@ -152,7 +152,7 @@ end
|
|
152
152
|
|
153
153
|
### Return type
|
154
154
|
|
155
|
-
[**Templates**](Templates.md)
|
155
|
+
[**Templates**](../models/Templates.md)
|
156
156
|
|
157
157
|
### Authorization
|
158
158
|
|