ionoscloud 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/README.md +10 -1
- data/docs/README.md +2 -2
- data/docs/api/BackupUnitsApi.md +14 -14
- data/docs/api/ContractResourcesApi.md +2 -2
- data/docs/api/DataCentersApi.md +15 -15
- data/docs/api/DefaultApi.md +2 -2
- data/docs/api/FirewallRulesApi.md +14 -14
- data/docs/api/FlowLogsApi.md +2 -2
- data/docs/api/IPBlocksApi.md +14 -14
- data/docs/api/ImagesApi.md +10 -10
- data/docs/api/KubernetesApi.md +30 -30
- data/docs/api/LANsApi.md +22 -22
- data/docs/api/LabelsApi.md +54 -54
- data/docs/api/LoadBalancersApi.md +22 -22
- data/docs/api/LocationsApi.md +6 -6
- data/docs/api/NATGatewaysApi.md +26 -26
- data/docs/api/NetworkInterfacesApi.md +14 -14
- data/docs/api/NetworkLoadBalancersApi.md +38 -38
- data/docs/api/PrivateCrossConnectsApi.md +10 -10
- data/docs/api/RequestsApi.md +8 -8
- data/docs/api/ServersApi.md +62 -52
- data/docs/api/SnapshotsApi.md +10 -10
- data/docs/api/UserManagementApi.md +50 -50
- data/docs/api/UserS3KeysApi.md +12 -12
- data/docs/api/VolumesApi.md +18 -18
- data/docs/models/AttachedVolumes.md +1 -1
- data/docs/models/BackupUnits.md +1 -1
- data/docs/models/BalancedNics.md +1 -1
- data/docs/models/Cdroms.md +1 -1
- data/docs/models/Contracts.md +1 -1
- data/docs/models/Datacenters.md +1 -1
- data/docs/models/ErrorMessage.md +1 -1
- data/docs/models/FirewallRules.md +1 -1
- data/docs/models/FirewallruleProperties.md +1 -1
- data/docs/models/FlowLogs.md +1 -1
- data/docs/models/GroupMembers.md +1 -1
- data/docs/models/GroupShares.md +1 -1
- data/docs/models/GroupUsers.md +1 -1
- data/docs/models/Groups.md +1 -1
- data/docs/models/Images.md +1 -1
- data/docs/models/IpBlocks.md +3 -3
- data/docs/models/KubernetesClusterProperties.md +3 -1
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -1
- data/docs/models/KubernetesClusterPropertiesForPut.md +1 -1
- data/docs/models/KubernetesClusters.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +4 -1
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +4 -1
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +1 -1
- data/docs/models/KubernetesNodePools.md +1 -1
- data/docs/models/KubernetesNodes.md +1 -1
- data/docs/models/LabelResources.md +1 -1
- data/docs/models/Labels.md +1 -1
- data/docs/models/LanNics.md +1 -1
- data/docs/models/Lans.md +1 -1
- data/docs/models/Loadbalancers.md +1 -1
- data/docs/models/Locations.md +1 -1
- data/docs/models/NatGatewayProperties.md +1 -1
- data/docs/models/NatGatewayRules.md +1 -1
- data/docs/models/NatGateways.md +1 -1
- data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +4 -4
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +5 -5
- data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +1 -1
- data/docs/models/NetworkLoadBalancerProperties.md +2 -2
- data/docs/models/NetworkLoadBalancers.md +1 -1
- data/docs/models/NicProperties.md +3 -3
- data/docs/models/Nics.md +1 -1
- data/docs/models/PrivateCrossConnects.md +1 -1
- data/docs/models/Requests.md +3 -3
- data/docs/models/ResourceGroups.md +1 -1
- data/docs/models/Resources.md +1 -1
- data/docs/models/ResourcesUsers.md +1 -1
- data/docs/models/S3Keys.md +1 -1
- data/docs/models/Servers.md +1 -1
- data/docs/models/Snapshots.md +1 -1
- data/docs/models/Templates.md +1 -1
- data/docs/models/Users.md +1 -1
- data/docs/models/VolumeProperties.md +4 -2
- data/docs/models/Volumes.md +1 -1
- data/git_push.sh +0 -3
- data/lib/ionoscloud/api/_api.rb +2 -2
- data/lib/ionoscloud/api/backup_units_api.rb +14 -14
- data/lib/ionoscloud/api/contract_resources_api.rb +2 -2
- data/lib/ionoscloud/api/data_centers_api.rb +16 -16
- data/lib/ionoscloud/api/firewall_rules_api.rb +14 -14
- data/lib/ionoscloud/api/flow_logs_api.rb +2 -2
- data/lib/ionoscloud/api/images_api.rb +10 -10
- data/lib/ionoscloud/api/ip_blocks_api.rb +14 -14
- data/lib/ionoscloud/api/kubernetes_api.rb +30 -30
- data/lib/ionoscloud/api/labels_api.rb +54 -54
- data/lib/ionoscloud/api/lans_api.rb +22 -22
- data/lib/ionoscloud/api/load_balancers_api.rb +22 -22
- data/lib/ionoscloud/api/locations_api.rb +6 -6
- data/lib/ionoscloud/api/nat_gateways_api.rb +26 -26
- data/lib/ionoscloud/api/network_interfaces_api.rb +14 -14
- data/lib/ionoscloud/api/network_load_balancers_api.rb +38 -38
- data/lib/ionoscloud/api/private_cross_connects_api.rb +10 -10
- data/lib/ionoscloud/api/requests_api.rb +8 -8
- data/lib/ionoscloud/api/servers_api.rb +52 -52
- data/lib/ionoscloud/api/snapshots_api.rb +10 -10
- data/lib/ionoscloud/api/user_management_api.rb +50 -50
- data/lib/ionoscloud/api/user_s3_keys_api.rb +12 -12
- data/lib/ionoscloud/api/volumes_api.rb +19 -19
- data/lib/ionoscloud/api_client.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +1 -1
- data/lib/ionoscloud/models/backup_units.rb +1 -1
- data/lib/ionoscloud/models/balanced_nics.rb +1 -1
- data/lib/ionoscloud/models/cdroms.rb +1 -1
- data/lib/ionoscloud/models/contracts.rb +1 -1
- data/lib/ionoscloud/models/datacenters.rb +1 -1
- data/lib/ionoscloud/models/error_message.rb +1 -1
- data/lib/ionoscloud/models/firewall_rules.rb +1 -1
- data/lib/ionoscloud/models/firewallrule_properties.rb +6 -1
- data/lib/ionoscloud/models/flow_logs.rb +1 -1
- data/lib/ionoscloud/models/group_members.rb +1 -1
- data/lib/ionoscloud/models/group_shares.rb +1 -1
- data/lib/ionoscloud/models/group_users.rb +1 -1
- data/lib/ionoscloud/models/groups.rb +1 -1
- data/lib/ionoscloud/models/image_properties.rb +2 -2
- data/lib/ionoscloud/models/images.rb +1 -1
- data/lib/ionoscloud/models/ip_blocks.rb +3 -3
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +22 -2
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +22 -2
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +1 -1
- data/lib/ionoscloud/models/kubernetes_clusters.rb +1 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +21 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +21 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +1 -1
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +1 -1
- data/lib/ionoscloud/models/kubernetes_nodes.rb +1 -1
- data/lib/ionoscloud/models/label_resources.rb +1 -1
- data/lib/ionoscloud/models/labels.rb +1 -1
- data/lib/ionoscloud/models/lan_nics.rb +1 -1
- data/lib/ionoscloud/models/lans.rb +1 -1
- data/lib/ionoscloud/models/loadbalancer_properties.rb +1 -0
- data/lib/ionoscloud/models/loadbalancers.rb +1 -1
- data/lib/ionoscloud/models/locations.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_properties.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +1 -1
- data/lib/ionoscloud/models/nat_gateways.rb +1 -1
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +4 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +5 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +3 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +3 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +1 -1
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +2 -2
- data/lib/ionoscloud/models/network_load_balancers.rb +1 -1
- data/lib/ionoscloud/models/nic_properties.rb +4 -3
- data/lib/ionoscloud/models/nics.rb +1 -1
- data/lib/ionoscloud/models/private_cross_connects.rb +1 -1
- data/lib/ionoscloud/models/requests.rb +3 -3
- data/lib/ionoscloud/models/resource_groups.rb +1 -1
- data/lib/ionoscloud/models/resources.rb +1 -1
- data/lib/ionoscloud/models/resources_users.rb +1 -1
- data/lib/ionoscloud/models/s3_keys.rb +1 -1
- data/lib/ionoscloud/models/servers.rb +1 -1
- data/lib/ionoscloud/models/snapshot_properties.rb +2 -2
- data/lib/ionoscloud/models/snapshots.rb +1 -1
- data/lib/ionoscloud/models/templates.rb +1 -1
- data/lib/ionoscloud/models/users.rb +1 -1
- data/lib/ionoscloud/models/volume_properties.rb +25 -7
- data/lib/ionoscloud/models/volumes.rb +1 -1
- data/lib/ionoscloud/version.rb +1 -1
- data/lib/test_driver.rb +119 -0
- metadata +7 -5
@@ -26,7 +26,7 @@ module Ionoscloud
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
28
28
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
29
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
29
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
30
30
|
# @option opts [String] :name Snapshot name
|
31
31
|
# @option opts [String] :description Snapshot description
|
32
32
|
# @option opts [Boolean] :sec_auth_protection Flag for enabling extra protection for this snapshot, such as two-step verification.
|
@@ -44,7 +44,7 @@ module Ionoscloud
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
45
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
46
46
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
47
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
47
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
48
48
|
# @option opts [String] :name Snapshot name
|
49
49
|
# @option opts [String] :description Snapshot description
|
50
50
|
# @option opts [Boolean] :sec_auth_protection Flag for enabling extra protection for this snapshot, such as two-step verification.
|
@@ -70,7 +70,7 @@ module Ionoscloud
|
|
70
70
|
fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling VolumesApi.datacenters_volumes_create_snapshot_post, must be greater than or equal to 0.'
|
71
71
|
end
|
72
72
|
|
73
|
-
allowable_values = ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"]
|
73
|
+
allowable_values = ["UNKNOWN", "WINDOWS", "WINDOWS2016", "WINDOWS2022", "LINUX", "OTHER"]
|
74
74
|
if @api_client.config.client_side_validation && opts[:'licence_type'] && !allowable_values.include?(opts[:'licence_type'])
|
75
75
|
fail ArgumentError, "invalid value for \"licence_type\", must be one of #{allowable_values}"
|
76
76
|
end
|
@@ -130,7 +130,7 @@ module Ionoscloud
|
|
130
130
|
# @param [Hash] opts the optional parameters
|
131
131
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
132
132
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
133
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
133
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
134
134
|
# @return [nil]
|
135
135
|
def datacenters_volumes_delete(datacenter_id, volume_id, opts = {})
|
136
136
|
datacenters_volumes_delete_with_http_info(datacenter_id, volume_id, opts)
|
@@ -144,7 +144,7 @@ module Ionoscloud
|
|
144
144
|
# @param [Hash] opts the optional parameters
|
145
145
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
146
146
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
147
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
147
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
148
148
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
149
149
|
def datacenters_volumes_delete_with_http_info(datacenter_id, volume_id, opts = {})
|
150
150
|
if @api_client.config.debugging
|
@@ -216,7 +216,7 @@ module Ionoscloud
|
|
216
216
|
# @param [Hash] opts the optional parameters
|
217
217
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
218
218
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
219
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
219
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
220
220
|
# @return [Volume]
|
221
221
|
def datacenters_volumes_find_by_id(datacenter_id, volume_id, opts = {})
|
222
222
|
data, _status_code, _headers = datacenters_volumes_find_by_id_with_http_info(datacenter_id, volume_id, opts)
|
@@ -230,7 +230,7 @@ module Ionoscloud
|
|
230
230
|
# @param [Hash] opts the optional parameters
|
231
231
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
232
232
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
233
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
233
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
234
234
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
235
235
|
def datacenters_volumes_find_by_id_with_http_info(datacenter_id, volume_id, opts = {})
|
236
236
|
if @api_client.config.debugging
|
@@ -301,8 +301,8 @@ module Ionoscloud
|
|
301
301
|
# @param [Hash] opts the optional parameters
|
302
302
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
303
303
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
304
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
305
|
-
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (
|
304
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
305
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (default to 0)
|
306
306
|
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000)
|
307
307
|
# @return [Volumes]
|
308
308
|
def datacenters_volumes_get(datacenter_id, opts = {})
|
@@ -316,8 +316,8 @@ module Ionoscloud
|
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
318
318
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
319
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
320
|
-
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (
|
319
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
320
|
+
# @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).
|
321
321
|
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination).
|
322
322
|
# @return [Array<(Volumes, Integer, Hash)>] Volumes data, response status code and response headers
|
323
323
|
def datacenters_volumes_get_with_http_info(datacenter_id, opts = {})
|
@@ -401,7 +401,7 @@ module Ionoscloud
|
|
401
401
|
# @param [Hash] opts the optional parameters
|
402
402
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
403
403
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
404
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
404
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
405
405
|
# @return [Volume]
|
406
406
|
def datacenters_volumes_patch(datacenter_id, volume_id, volume, opts = {})
|
407
407
|
data, _status_code, _headers = datacenters_volumes_patch_with_http_info(datacenter_id, volume_id, volume, opts)
|
@@ -416,7 +416,7 @@ module Ionoscloud
|
|
416
416
|
# @param [Hash] opts the optional parameters
|
417
417
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
418
418
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
419
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
419
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
420
420
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
421
421
|
def datacenters_volumes_patch_with_http_info(datacenter_id, volume_id, volume, opts = {})
|
422
422
|
if @api_client.config.debugging
|
@@ -494,7 +494,7 @@ module Ionoscloud
|
|
494
494
|
# @param [Hash] opts the optional parameters
|
495
495
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
496
496
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
497
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
497
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
498
498
|
# @return [Volume]
|
499
499
|
def datacenters_volumes_post(datacenter_id, volume, opts = {})
|
500
500
|
data, _status_code, _headers = datacenters_volumes_post_with_http_info(datacenter_id, volume, opts)
|
@@ -508,7 +508,7 @@ module Ionoscloud
|
|
508
508
|
# @param [Hash] opts the optional parameters
|
509
509
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
510
510
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
511
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
511
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
512
512
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
513
513
|
def datacenters_volumes_post_with_http_info(datacenter_id, volume, opts = {})
|
514
514
|
if @api_client.config.debugging
|
@@ -583,7 +583,7 @@ module Ionoscloud
|
|
583
583
|
# @param [Hash] opts the optional parameters
|
584
584
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
585
585
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
586
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
586
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
587
587
|
# @return [Volume]
|
588
588
|
def datacenters_volumes_put(datacenter_id, volume_id, volume, opts = {})
|
589
589
|
data, _status_code, _headers = datacenters_volumes_put_with_http_info(datacenter_id, volume_id, volume, opts)
|
@@ -598,7 +598,7 @@ module Ionoscloud
|
|
598
598
|
# @param [Hash] opts the optional parameters
|
599
599
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
600
600
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
601
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
601
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
602
602
|
# @return [Array<(Volume, Integer, Hash)>] Volume data, response status code and response headers
|
603
603
|
def datacenters_volumes_put_with_http_info(datacenter_id, volume_id, volume, opts = {})
|
604
604
|
if @api_client.config.debugging
|
@@ -676,7 +676,7 @@ module Ionoscloud
|
|
676
676
|
# @param [Hash] opts the optional parameters
|
677
677
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
678
678
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
679
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
679
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
680
680
|
# @option opts [String] :snapshot_id The unique ID of the snapshot.
|
681
681
|
# @return [nil]
|
682
682
|
def datacenters_volumes_restore_snapshot_post(datacenter_id, volume_id, opts = {})
|
@@ -691,7 +691,7 @@ module Ionoscloud
|
|
691
691
|
# @param [Hash] opts the optional parameters
|
692
692
|
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
693
693
|
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
694
|
-
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number,
|
694
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
695
695
|
# @option opts [String] :snapshot_id The unique ID of the snapshot.
|
696
696
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
697
697
|
def datacenters_volumes_restore_snapshot_post_with_http_info(datacenter_id, volume_id, opts = {})
|
@@ -38,7 +38,7 @@ module Ionoscloud
|
|
38
38
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
39
39
|
def initialize(config = Configuration.default)
|
40
40
|
@config = config
|
41
|
-
@user_agent = "ionos-cloud-sdk-ruby/6.0.
|
41
|
+
@user_agent = "ionos-cloud-sdk-ruby/6.0.1"
|
42
42
|
@default_headers = {
|
43
43
|
'Content-Type' => 'application/json',
|
44
44
|
'User-Agent' => @user_agent
|
@@ -52,7 +52,7 @@ module Ionoscloud
|
|
52
52
|
attr_accessor :port_range_end
|
53
53
|
|
54
54
|
|
55
|
-
# The type of firewall rule. If not specified, the default INGRESS value is
|
55
|
+
# The type of the firewall rule. If not specified, the default INGRESS value is used.
|
56
56
|
attr_accessor :type
|
57
57
|
|
58
58
|
class EnumAttributeValidator
|
@@ -140,10 +140,15 @@ module Ionoscloud
|
|
140
140
|
|
141
141
|
|
142
142
|
|
143
|
+
:'source_mac',
|
143
144
|
|
145
|
+
:'source_ip',
|
144
146
|
|
147
|
+
:'target_ip',
|
145
148
|
|
149
|
+
:'icmp_code',
|
146
150
|
|
151
|
+
:'icmp_type',
|
147
152
|
|
148
153
|
|
149
154
|
|
@@ -391,7 +391,7 @@ module Ionoscloud
|
|
391
391
|
|
392
392
|
|
393
393
|
return false if @licence_type.nil?
|
394
|
-
licence_type_validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"])
|
394
|
+
licence_type_validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "WINDOWS2022", "LINUX", "OTHER"])
|
395
395
|
return false unless licence_type_validator.valid?(@licence_type)
|
396
396
|
|
397
397
|
image_type_validator = EnumAttributeValidator.new('String', ["HDD", "CDROM", "UNKNOWN"])
|
@@ -422,7 +422,7 @@ module Ionoscloud
|
|
422
422
|
# Custom attribute writer method checking allowed values (enum).
|
423
423
|
# @param [Object] licence_type Object to be assigned
|
424
424
|
def licence_type=(licence_type)
|
425
|
-
validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"])
|
425
|
+
validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "WINDOWS2022", "LINUX", "OTHER"])
|
426
426
|
unless validator.valid?(licence_type)
|
427
427
|
fail ArgumentError, "invalid value for \"licence_type\", must be one of #{validator.allowable_values}."
|
428
428
|
end
|
@@ -28,15 +28,15 @@ module Ionoscloud
|
|
28
28
|
attr_accessor :href
|
29
29
|
|
30
30
|
|
31
|
-
# Array of items in
|
31
|
+
# Array of items in the collection.
|
32
32
|
attr_accessor :items
|
33
33
|
|
34
34
|
|
35
|
-
# The offset specified in the request (
|
35
|
+
# The offset, specified in the request (if not is specified, 0 is used by default).
|
36
36
|
attr_accessor :offset
|
37
37
|
|
38
38
|
|
39
|
-
# The limit specified in the request (if
|
39
|
+
# The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).
|
40
40
|
attr_accessor :limit
|
41
41
|
|
42
42
|
|
@@ -35,7 +35,11 @@ module Ionoscloud
|
|
35
35
|
attr_accessor :viable_node_pool_versions
|
36
36
|
|
37
37
|
|
38
|
-
#
|
38
|
+
# The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.
|
39
|
+
attr_accessor :public
|
40
|
+
|
41
|
+
|
42
|
+
# Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6.
|
39
43
|
attr_accessor :api_subnet_allow_list
|
40
44
|
|
41
45
|
|
@@ -56,6 +60,8 @@ module Ionoscloud
|
|
56
60
|
|
57
61
|
:'viable_node_pool_versions' => :'viableNodePoolVersions',
|
58
62
|
|
63
|
+
:'public' => :'public',
|
64
|
+
|
59
65
|
:'api_subnet_allow_list' => :'apiSubnetAllowList',
|
60
66
|
|
61
67
|
:'s3_buckets' => :'s3Buckets'
|
@@ -81,6 +87,8 @@ module Ionoscloud
|
|
81
87
|
|
82
88
|
:'viable_node_pool_versions' => :'Array<String>',
|
83
89
|
|
90
|
+
:'public' => :'Boolean',
|
91
|
+
|
84
92
|
:'api_subnet_allow_list' => :'Array<String>',
|
85
93
|
|
86
94
|
:'s3_buckets' => :'Array<S3Bucket>'
|
@@ -97,6 +105,7 @@ module Ionoscloud
|
|
97
105
|
|
98
106
|
|
99
107
|
|
108
|
+
|
100
109
|
])
|
101
110
|
end
|
102
111
|
|
@@ -141,6 +150,13 @@ module Ionoscloud
|
|
141
150
|
end
|
142
151
|
|
143
152
|
|
153
|
+
if attributes.key?(:'public')
|
154
|
+
self.public = attributes[:'public']
|
155
|
+
else
|
156
|
+
self.public = true
|
157
|
+
end
|
158
|
+
|
159
|
+
|
144
160
|
if attributes.key?(:'api_subnet_allow_list') && (value = attributes[:'api_subnet_allow_list']).is_a?(Array)
|
145
161
|
self.api_subnet_allow_list = value
|
146
162
|
end
|
@@ -166,6 +182,7 @@ module Ionoscloud
|
|
166
182
|
|
167
183
|
|
168
184
|
|
185
|
+
|
169
186
|
invalid_properties
|
170
187
|
end
|
171
188
|
|
@@ -180,6 +197,7 @@ module Ionoscloud
|
|
180
197
|
|
181
198
|
|
182
199
|
|
200
|
+
|
183
201
|
true
|
184
202
|
end
|
185
203
|
|
@@ -190,6 +208,7 @@ module Ionoscloud
|
|
190
208
|
|
191
209
|
|
192
210
|
|
211
|
+
|
193
212
|
# Checks equality by comparing each attribute.
|
194
213
|
# @param [Object] Object to be compared
|
195
214
|
def ==(o)
|
@@ -200,6 +219,7 @@ module Ionoscloud
|
|
200
219
|
maintenance_window == o.maintenance_window &&
|
201
220
|
available_upgrade_versions == o.available_upgrade_versions &&
|
202
221
|
viable_node_pool_versions == o.viable_node_pool_versions &&
|
222
|
+
public == o.public &&
|
203
223
|
api_subnet_allow_list == o.api_subnet_allow_list &&
|
204
224
|
s3_buckets == o.s3_buckets
|
205
225
|
end
|
@@ -213,7 +233,7 @@ module Ionoscloud
|
|
213
233
|
# Calculates hash code according to all attributes.
|
214
234
|
# @return [Integer] Hash code
|
215
235
|
def hash
|
216
|
-
[name, k8s_version, maintenance_window, available_upgrade_versions, viable_node_pool_versions, api_subnet_allow_list, s3_buckets].hash
|
236
|
+
[name, k8s_version, maintenance_window, available_upgrade_versions, viable_node_pool_versions, public, api_subnet_allow_list, s3_buckets].hash
|
217
237
|
end
|
218
238
|
|
219
239
|
# Builds the object from hash
|
@@ -27,7 +27,11 @@ module Ionoscloud
|
|
27
27
|
attr_accessor :maintenance_window
|
28
28
|
|
29
29
|
|
30
|
-
#
|
30
|
+
# The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.
|
31
|
+
attr_accessor :public
|
32
|
+
|
33
|
+
|
34
|
+
# Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6.
|
31
35
|
attr_accessor :api_subnet_allow_list
|
32
36
|
|
33
37
|
|
@@ -44,6 +48,8 @@ module Ionoscloud
|
|
44
48
|
|
45
49
|
:'maintenance_window' => :'maintenanceWindow',
|
46
50
|
|
51
|
+
:'public' => :'public',
|
52
|
+
|
47
53
|
:'api_subnet_allow_list' => :'apiSubnetAllowList',
|
48
54
|
|
49
55
|
:'s3_buckets' => :'s3Buckets'
|
@@ -65,6 +71,8 @@ module Ionoscloud
|
|
65
71
|
|
66
72
|
:'maintenance_window' => :'KubernetesMaintenanceWindow',
|
67
73
|
|
74
|
+
:'public' => :'Boolean',
|
75
|
+
|
68
76
|
:'api_subnet_allow_list' => :'Array<String>',
|
69
77
|
|
70
78
|
:'s3_buckets' => :'Array<S3Bucket>'
|
@@ -79,6 +87,7 @@ module Ionoscloud
|
|
79
87
|
|
80
88
|
|
81
89
|
|
90
|
+
|
82
91
|
])
|
83
92
|
end
|
84
93
|
|
@@ -113,6 +122,13 @@ module Ionoscloud
|
|
113
122
|
end
|
114
123
|
|
115
124
|
|
125
|
+
if attributes.key?(:'public')
|
126
|
+
self.public = attributes[:'public']
|
127
|
+
else
|
128
|
+
self.public = true
|
129
|
+
end
|
130
|
+
|
131
|
+
|
116
132
|
if attributes.key?(:'api_subnet_allow_list') && (value = attributes[:'api_subnet_allow_list']).is_a?(Array)
|
117
133
|
self.api_subnet_allow_list = value
|
118
134
|
end
|
@@ -136,6 +152,7 @@ module Ionoscloud
|
|
136
152
|
|
137
153
|
|
138
154
|
|
155
|
+
|
139
156
|
invalid_properties
|
140
157
|
end
|
141
158
|
|
@@ -148,6 +165,7 @@ module Ionoscloud
|
|
148
165
|
|
149
166
|
|
150
167
|
|
168
|
+
|
151
169
|
true
|
152
170
|
end
|
153
171
|
|
@@ -156,6 +174,7 @@ module Ionoscloud
|
|
156
174
|
|
157
175
|
|
158
176
|
|
177
|
+
|
159
178
|
# Checks equality by comparing each attribute.
|
160
179
|
# @param [Object] Object to be compared
|
161
180
|
def ==(o)
|
@@ -164,6 +183,7 @@ module Ionoscloud
|
|
164
183
|
name == o.name &&
|
165
184
|
k8s_version == o.k8s_version &&
|
166
185
|
maintenance_window == o.maintenance_window &&
|
186
|
+
public == o.public &&
|
167
187
|
api_subnet_allow_list == o.api_subnet_allow_list &&
|
168
188
|
s3_buckets == o.s3_buckets
|
169
189
|
end
|
@@ -177,7 +197,7 @@ module Ionoscloud
|
|
177
197
|
# Calculates hash code according to all attributes.
|
178
198
|
# @return [Integer] Hash code
|
179
199
|
def hash
|
180
|
-
[name, k8s_version, maintenance_window, api_subnet_allow_list, s3_buckets].hash
|
200
|
+
[name, k8s_version, maintenance_window, public, api_subnet_allow_list, s3_buckets].hash
|
181
201
|
end
|
182
202
|
|
183
203
|
# Builds the object from hash
|
@@ -27,7 +27,7 @@ module Ionoscloud
|
|
27
27
|
attr_accessor :maintenance_window
|
28
28
|
|
29
29
|
|
30
|
-
# Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value
|
30
|
+
# Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6.
|
31
31
|
attr_accessor :api_subnet_allow_list
|
32
32
|
|
33
33
|
|