ionoscloud 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +70 -0
  3. data/README.md +10 -1
  4. data/docs/README.md +2 -2
  5. data/docs/api/BackupUnitsApi.md +14 -14
  6. data/docs/api/ContractResourcesApi.md +2 -2
  7. data/docs/api/DataCentersApi.md +15 -15
  8. data/docs/api/DefaultApi.md +2 -2
  9. data/docs/api/FirewallRulesApi.md +14 -14
  10. data/docs/api/FlowLogsApi.md +2 -2
  11. data/docs/api/IPBlocksApi.md +14 -14
  12. data/docs/api/ImagesApi.md +10 -10
  13. data/docs/api/KubernetesApi.md +30 -30
  14. data/docs/api/LANsApi.md +22 -22
  15. data/docs/api/LabelsApi.md +54 -54
  16. data/docs/api/LoadBalancersApi.md +22 -22
  17. data/docs/api/LocationsApi.md +6 -6
  18. data/docs/api/NATGatewaysApi.md +26 -26
  19. data/docs/api/NetworkInterfacesApi.md +14 -14
  20. data/docs/api/NetworkLoadBalancersApi.md +38 -38
  21. data/docs/api/PrivateCrossConnectsApi.md +10 -10
  22. data/docs/api/RequestsApi.md +8 -8
  23. data/docs/api/ServersApi.md +62 -52
  24. data/docs/api/SnapshotsApi.md +10 -10
  25. data/docs/api/UserManagementApi.md +50 -50
  26. data/docs/api/UserS3KeysApi.md +12 -12
  27. data/docs/api/VolumesApi.md +18 -18
  28. data/docs/models/AttachedVolumes.md +1 -1
  29. data/docs/models/BackupUnits.md +1 -1
  30. data/docs/models/BalancedNics.md +1 -1
  31. data/docs/models/Cdroms.md +1 -1
  32. data/docs/models/Contracts.md +1 -1
  33. data/docs/models/Datacenters.md +1 -1
  34. data/docs/models/ErrorMessage.md +1 -1
  35. data/docs/models/FirewallRules.md +1 -1
  36. data/docs/models/FirewallruleProperties.md +1 -1
  37. data/docs/models/FlowLogs.md +1 -1
  38. data/docs/models/GroupMembers.md +1 -1
  39. data/docs/models/GroupShares.md +1 -1
  40. data/docs/models/GroupUsers.md +1 -1
  41. data/docs/models/Groups.md +1 -1
  42. data/docs/models/Images.md +1 -1
  43. data/docs/models/IpBlocks.md +3 -3
  44. data/docs/models/KubernetesClusterProperties.md +3 -1
  45. data/docs/models/KubernetesClusterPropertiesForPost.md +3 -1
  46. data/docs/models/KubernetesClusterPropertiesForPut.md +1 -1
  47. data/docs/models/KubernetesClusters.md +1 -1
  48. data/docs/models/KubernetesNodePoolProperties.md +4 -1
  49. data/docs/models/KubernetesNodePoolPropertiesForPost.md +4 -1
  50. data/docs/models/KubernetesNodePoolPropertiesForPut.md +1 -1
  51. data/docs/models/KubernetesNodePools.md +1 -1
  52. data/docs/models/KubernetesNodes.md +1 -1
  53. data/docs/models/LabelResources.md +1 -1
  54. data/docs/models/Labels.md +1 -1
  55. data/docs/models/LanNics.md +1 -1
  56. data/docs/models/Lans.md +1 -1
  57. data/docs/models/Loadbalancers.md +1 -1
  58. data/docs/models/Locations.md +1 -1
  59. data/docs/models/NatGatewayProperties.md +1 -1
  60. data/docs/models/NatGatewayRules.md +1 -1
  61. data/docs/models/NatGateways.md +1 -1
  62. data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +4 -4
  63. data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +5 -5
  64. data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +3 -3
  65. data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +3 -3
  66. data/docs/models/NetworkLoadBalancerForwardingRules.md +1 -1
  67. data/docs/models/NetworkLoadBalancerProperties.md +2 -2
  68. data/docs/models/NetworkLoadBalancers.md +1 -1
  69. data/docs/models/NicProperties.md +3 -3
  70. data/docs/models/Nics.md +1 -1
  71. data/docs/models/PrivateCrossConnects.md +1 -1
  72. data/docs/models/Requests.md +3 -3
  73. data/docs/models/ResourceGroups.md +1 -1
  74. data/docs/models/Resources.md +1 -1
  75. data/docs/models/ResourcesUsers.md +1 -1
  76. data/docs/models/S3Keys.md +1 -1
  77. data/docs/models/Servers.md +1 -1
  78. data/docs/models/Snapshots.md +1 -1
  79. data/docs/models/Templates.md +1 -1
  80. data/docs/models/Users.md +1 -1
  81. data/docs/models/VolumeProperties.md +4 -2
  82. data/docs/models/Volumes.md +1 -1
  83. data/git_push.sh +0 -3
  84. data/lib/ionoscloud/api/_api.rb +2 -2
  85. data/lib/ionoscloud/api/backup_units_api.rb +14 -14
  86. data/lib/ionoscloud/api/contract_resources_api.rb +2 -2
  87. data/lib/ionoscloud/api/data_centers_api.rb +16 -16
  88. data/lib/ionoscloud/api/firewall_rules_api.rb +14 -14
  89. data/lib/ionoscloud/api/flow_logs_api.rb +2 -2
  90. data/lib/ionoscloud/api/images_api.rb +10 -10
  91. data/lib/ionoscloud/api/ip_blocks_api.rb +14 -14
  92. data/lib/ionoscloud/api/kubernetes_api.rb +30 -30
  93. data/lib/ionoscloud/api/labels_api.rb +54 -54
  94. data/lib/ionoscloud/api/lans_api.rb +22 -22
  95. data/lib/ionoscloud/api/load_balancers_api.rb +22 -22
  96. data/lib/ionoscloud/api/locations_api.rb +6 -6
  97. data/lib/ionoscloud/api/nat_gateways_api.rb +26 -26
  98. data/lib/ionoscloud/api/network_interfaces_api.rb +14 -14
  99. data/lib/ionoscloud/api/network_load_balancers_api.rb +38 -38
  100. data/lib/ionoscloud/api/private_cross_connects_api.rb +10 -10
  101. data/lib/ionoscloud/api/requests_api.rb +8 -8
  102. data/lib/ionoscloud/api/servers_api.rb +52 -52
  103. data/lib/ionoscloud/api/snapshots_api.rb +10 -10
  104. data/lib/ionoscloud/api/user_management_api.rb +50 -50
  105. data/lib/ionoscloud/api/user_s3_keys_api.rb +12 -12
  106. data/lib/ionoscloud/api/volumes_api.rb +19 -19
  107. data/lib/ionoscloud/api_client.rb +1 -1
  108. data/lib/ionoscloud/models/attached_volumes.rb +1 -1
  109. data/lib/ionoscloud/models/backup_units.rb +1 -1
  110. data/lib/ionoscloud/models/balanced_nics.rb +1 -1
  111. data/lib/ionoscloud/models/cdroms.rb +1 -1
  112. data/lib/ionoscloud/models/contracts.rb +1 -1
  113. data/lib/ionoscloud/models/datacenters.rb +1 -1
  114. data/lib/ionoscloud/models/error_message.rb +1 -1
  115. data/lib/ionoscloud/models/firewall_rules.rb +1 -1
  116. data/lib/ionoscloud/models/firewallrule_properties.rb +6 -1
  117. data/lib/ionoscloud/models/flow_logs.rb +1 -1
  118. data/lib/ionoscloud/models/group_members.rb +1 -1
  119. data/lib/ionoscloud/models/group_shares.rb +1 -1
  120. data/lib/ionoscloud/models/group_users.rb +1 -1
  121. data/lib/ionoscloud/models/groups.rb +1 -1
  122. data/lib/ionoscloud/models/image_properties.rb +2 -2
  123. data/lib/ionoscloud/models/images.rb +1 -1
  124. data/lib/ionoscloud/models/ip_blocks.rb +3 -3
  125. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +22 -2
  126. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +22 -2
  127. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +1 -1
  128. data/lib/ionoscloud/models/kubernetes_clusters.rb +1 -1
  129. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +21 -3
  130. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +21 -3
  131. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +1 -1
  132. data/lib/ionoscloud/models/kubernetes_node_pools.rb +1 -1
  133. data/lib/ionoscloud/models/kubernetes_nodes.rb +1 -1
  134. data/lib/ionoscloud/models/label_resources.rb +1 -1
  135. data/lib/ionoscloud/models/labels.rb +1 -1
  136. data/lib/ionoscloud/models/lan_nics.rb +1 -1
  137. data/lib/ionoscloud/models/lans.rb +1 -1
  138. data/lib/ionoscloud/models/loadbalancer_properties.rb +1 -0
  139. data/lib/ionoscloud/models/loadbalancers.rb +1 -1
  140. data/lib/ionoscloud/models/locations.rb +1 -1
  141. data/lib/ionoscloud/models/nat_gateway_properties.rb +1 -1
  142. data/lib/ionoscloud/models/nat_gateway_rules.rb +1 -1
  143. data/lib/ionoscloud/models/nat_gateways.rb +1 -1
  144. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +4 -4
  145. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +5 -5
  146. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +3 -3
  147. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +3 -3
  148. data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +1 -1
  149. data/lib/ionoscloud/models/network_load_balancer_properties.rb +2 -2
  150. data/lib/ionoscloud/models/network_load_balancers.rb +1 -1
  151. data/lib/ionoscloud/models/nic_properties.rb +4 -3
  152. data/lib/ionoscloud/models/nics.rb +1 -1
  153. data/lib/ionoscloud/models/private_cross_connects.rb +1 -1
  154. data/lib/ionoscloud/models/requests.rb +3 -3
  155. data/lib/ionoscloud/models/resource_groups.rb +1 -1
  156. data/lib/ionoscloud/models/resources.rb +1 -1
  157. data/lib/ionoscloud/models/resources_users.rb +1 -1
  158. data/lib/ionoscloud/models/s3_keys.rb +1 -1
  159. data/lib/ionoscloud/models/servers.rb +1 -1
  160. data/lib/ionoscloud/models/snapshot_properties.rb +2 -2
  161. data/lib/ionoscloud/models/snapshots.rb +1 -1
  162. data/lib/ionoscloud/models/templates.rb +1 -1
  163. data/lib/ionoscloud/models/users.rb +1 -1
  164. data/lib/ionoscloud/models/volume_properties.rb +25 -7
  165. data/lib/ionoscloud/models/volumes.rb +1 -1
  166. data/lib/ionoscloud/version.rb +1 -1
  167. data/lib/test_driver.rb +119 -0
  168. metadata +7 -5
@@ -74,13 +74,17 @@ module Ionoscloud
74
74
  attr_accessor :annotations
75
75
 
76
76
 
77
- # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
77
+ # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one more IP than maximum number possible number of nodes (nodeCount+1 for fixed number of nodes or maxNodeCount+1 when auto scaling is used). The extra IP is used when the nodes are rebuilt.
78
78
  attr_accessor :public_ips
79
79
 
80
80
 
81
81
  # List of available versions for upgrading the node pool.
82
82
  attr_accessor :available_upgrade_versions
83
83
 
84
+
85
+ # Public IP address for the gateway performing source NAT for the node pool's nodes belonging to a private cluster. Required only if the node pool belongs to a private cluster.
86
+ attr_accessor :gateway_ip
87
+
84
88
  class EnumAttributeValidator
85
89
  attr_reader :datatype
86
90
  attr_reader :allowable_values
@@ -140,6 +144,8 @@ module Ionoscloud
140
144
  :'public_ips' => :'publicIps',
141
145
 
142
146
  :'available_upgrade_versions' => :'availableUpgradeVersions',
147
+
148
+ :'gateway_ip' => :'gatewayIp'
143
149
  }
144
150
  end
145
151
 
@@ -185,6 +191,8 @@ module Ionoscloud
185
191
  :'public_ips' => :'Array<String>',
186
192
 
187
193
  :'available_upgrade_versions' => :'Array<String>',
194
+
195
+ :'gateway_ip' => :'String'
188
196
  }
189
197
  end
190
198
 
@@ -208,6 +216,7 @@ module Ionoscloud
208
216
 
209
217
 
210
218
 
219
+
211
220
  ])
212
221
  end
213
222
 
@@ -310,6 +319,11 @@ module Ionoscloud
310
319
  if attributes.key?(:'available_upgrade_versions') && (value = attributes[:'available_upgrade_versions']).is_a?(Array)
311
320
  self.available_upgrade_versions = value
312
321
  end
322
+
323
+
324
+ if attributes.key?(:'gateway_ip')
325
+ self.gateway_ip = attributes[:'gateway_ip']
326
+ end
313
327
  end
314
328
 
315
329
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -369,6 +383,7 @@ module Ionoscloud
369
383
 
370
384
 
371
385
 
386
+
372
387
  invalid_properties
373
388
  end
374
389
 
@@ -405,6 +420,7 @@ module Ionoscloud
405
420
 
406
421
 
407
422
 
423
+
408
424
  true
409
425
  end
410
426
 
@@ -445,6 +461,7 @@ module Ionoscloud
445
461
 
446
462
 
447
463
 
464
+
448
465
  # Checks equality by comparing each attribute.
449
466
  # @param [Object] Object to be compared
450
467
  def ==(o)
@@ -466,7 +483,8 @@ module Ionoscloud
466
483
  labels == o.labels &&
467
484
  annotations == o.annotations &&
468
485
  public_ips == o.public_ips &&
469
- available_upgrade_versions == o.available_upgrade_versions
486
+ available_upgrade_versions == o.available_upgrade_versions &&
487
+ gateway_ip == o.gateway_ip
470
488
  end
471
489
 
472
490
  # @see the `==` method
@@ -478,7 +496,7 @@ module Ionoscloud
478
496
  # Calculates hash code according to all attributes.
479
497
  # @return [Integer] Hash code
480
498
  def hash
481
- [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, available_upgrade_versions, ].hash
499
+ [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, available_upgrade_versions, gateway_ip].hash
482
500
  end
483
501
 
484
502
  # Builds the object from hash
@@ -74,9 +74,13 @@ module Ionoscloud
74
74
  attr_accessor :annotations
75
75
 
76
76
 
77
- # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
77
+ # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one more IP than the maximum possible number of nodes (nodeCount+1 for fixed number of nodes or maxNodeCount+1 when auto scaling is used). The extra IP is used when the nodes are rebuilt.
78
78
  attr_accessor :public_ips
79
79
 
80
+
81
+ # Public IP address for the gateway performing source NAT for the node pool's nodes belonging to a private cluster. Required only if the node pool belongs to a private cluster.
82
+ attr_accessor :gateway_ip
83
+
80
84
  class EnumAttributeValidator
81
85
  attr_reader :datatype
82
86
  attr_reader :allowable_values
@@ -134,6 +138,8 @@ module Ionoscloud
134
138
  :'annotations' => :'annotations',
135
139
 
136
140
  :'public_ips' => :'publicIps',
141
+
142
+ :'gateway_ip' => :'gatewayIp'
137
143
  }
138
144
  end
139
145
 
@@ -177,6 +183,8 @@ module Ionoscloud
177
183
  :'annotations' => :'Hash<String, String>',
178
184
 
179
185
  :'public_ips' => :'Array<String>',
186
+
187
+ :'gateway_ip' => :'String'
180
188
  }
181
189
  end
182
190
 
@@ -199,6 +207,7 @@ module Ionoscloud
199
207
 
200
208
 
201
209
 
210
+
202
211
  ])
203
212
  end
204
213
 
@@ -296,6 +305,11 @@ module Ionoscloud
296
305
  if attributes.key?(:'public_ips') && (value = attributes[:'public_ips']).is_a?(Array)
297
306
  self.public_ips = value
298
307
  end
308
+
309
+
310
+ if attributes.key?(:'gateway_ip')
311
+ self.gateway_ip = attributes[:'gateway_ip']
312
+ end
299
313
  end
300
314
 
301
315
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -354,6 +368,7 @@ module Ionoscloud
354
368
 
355
369
 
356
370
 
371
+
357
372
  invalid_properties
358
373
  end
359
374
 
@@ -389,6 +404,7 @@ module Ionoscloud
389
404
 
390
405
 
391
406
 
407
+
392
408
  true
393
409
  end
394
410
 
@@ -428,6 +444,7 @@ module Ionoscloud
428
444
 
429
445
 
430
446
 
447
+
431
448
  # Checks equality by comparing each attribute.
432
449
  # @param [Object] Object to be compared
433
450
  def ==(o)
@@ -448,7 +465,8 @@ module Ionoscloud
448
465
  lans == o.lans &&
449
466
  labels == o.labels &&
450
467
  annotations == o.annotations &&
451
- public_ips == o.public_ips
468
+ public_ips == o.public_ips &&
469
+ gateway_ip == o.gateway_ip
452
470
  end
453
471
 
454
472
  # @see the `==` method
@@ -460,7 +478,7 @@ module Ionoscloud
460
478
  # Calculates hash code according to all attributes.
461
479
  # @return [Integer] Hash code
462
480
  def hash
463
- [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, ].hash
481
+ [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, gateway_ip].hash
464
482
  end
465
483
 
466
484
  # Builds the object from hash
@@ -46,7 +46,7 @@ module Ionoscloud
46
46
  attr_accessor :annotations
47
47
 
48
48
 
49
- # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
49
+ # Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one more IP than the maximum possible number of nodes (nodeCount+1 for fixed number of nodes or maxNodeCount+1 when auto scaling is used). The extra IP is used when the nodes are rebuilt.
50
50
  attr_accessor :public_ips
51
51
 
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  class EnumAttributeValidator
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  class EnumAttributeValidator
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  class EnumAttributeValidator
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -61,6 +61,7 @@ module Ionoscloud
61
61
  Set.new([
62
62
 
63
63
 
64
+ :'ip',
64
65
 
65
66
  ])
66
67
  end
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -24,7 +24,7 @@ module Ionoscloud
24
24
  attr_accessor :public_ips
25
25
 
26
26
 
27
- # Collection of LANs connected to the NAT Gateway. IPs must contain valid subnet mask. If user will not provide any IP then system will generate an IP with /24 subnet.
27
+ # Collection of LANs connected to the NAT Gateway. IPs must contain a valid subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.
28
28
  attr_accessor :lans
29
29
 
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -16,19 +16,19 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class NetworkLoadBalancerForwardingRuleHealthCheck
18
18
 
19
- # ClientTimeout is expressed in milliseconds. This inactivity timeout applies when the client is expected to acknowledge or send data. If unset the default of 50 seconds will be used.
19
+ # The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
20
20
  attr_accessor :client_timeout
21
21
 
22
22
 
23
- # It specifies the maximum time (in milliseconds) to wait for a connection attempt to a target VM to succeed. If unset, the default of 5 seconds will be used.
23
+ # The maximum time in milliseconds to wait for a connection attempt to a target to succeed; default is 5000 (five seconds).
24
24
  attr_accessor :connect_timeout
25
25
 
26
26
 
27
- # TargetTimeout specifies the maximum inactivity time (in milliseconds) on the target VM side. If unset, the default of 50 seconds will be used.
27
+ # The maximum time in milliseconds that a target can remain inactive; default is 50,000 (50 seconds).
28
28
  attr_accessor :target_timeout
29
29
 
30
30
 
31
- # Retries specifies the number of retries to perform on a target VM after a connection failure. If unset, the default value of 3 will be used. (valid range: [0, 65535])
31
+ # The maximum number of attempts to reconnect to a target after a connection failure. Valid range is 0 to 65535 and default is three reconnection attempts.
32
32
  attr_accessor :retries
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,26 +20,26 @@ module Ionoscloud
20
20
  attr_accessor :name
21
21
 
22
22
 
23
- # Algorithm for the balancing.
23
+ # Balancing algorithm
24
24
  attr_accessor :algorithm
25
25
 
26
26
 
27
- # Protocol of the balancing.
27
+ # Balancing protocol
28
28
  attr_accessor :protocol
29
29
 
30
30
 
31
- # Listening IP. (inbound)
31
+ # Listening (inbound) IP
32
32
  attr_accessor :listener_ip
33
33
 
34
34
 
35
- # Listening port number. (inbound) (range: 1 to 65535)
35
+ # Listening (inbound) port number; valid range is 1 to 65535.
36
36
  attr_accessor :listener_port
37
37
 
38
38
 
39
39
  attr_accessor :health_check
40
40
 
41
41
 
42
- # Array of items in that collection.
42
+ # Array of items in the collection.
43
43
  attr_accessor :targets
44
44
 
45
45
  class EnumAttributeValidator
@@ -16,15 +16,15 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class NetworkLoadBalancerForwardingRuleTarget
18
18
 
19
- # IP of a balanced target VM
19
+ # The IP of the balanced target VM.
20
20
  attr_accessor :ip
21
21
 
22
22
 
23
- # Port of the balanced target service. (range: 1 to 65535)
23
+ # The port of the balanced target service; valid range is 1 to 65535.
24
24
  attr_accessor :port
25
25
 
26
26
 
27
- # Weight parameter is used to adjust the target VM's weight relative to other target VMs. All target VMs will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. The default weight is 1, and the maximal value is 256. A value of 0 means the target VM will not participate in load-balancing but will still accept persistent connections. If this parameter is used to distribute the load according to target VM's capacity, it is recommended to start with values which can both grow and shrink, for instance between 10 and 100 to leave enough room above and below for later adjustments.
27
+ # Traffic is distributed in proportion to target weight, relative to the combined weight of all targets. A target with higher weight receives a greater share of traffic. Valid range is 0 to 256 and default is 1. Targets with weight of 0 do not participate in load balancing but still accept persistent connections. It is best to assign weights in the middle of the range to leave room for later adjustments.
28
28
  attr_accessor :weight
29
29
 
30
30
 
@@ -16,15 +16,15 @@ require 'time'
16
16
  module Ionoscloud
17
17
  class NetworkLoadBalancerForwardingRuleTargetHealthCheck
18
18
 
19
- # Check specifies whether the target VM's health is checked. If turned off, a target VM is always considered available. If turned on, the target VM is available when accepting periodic TCP connections, to ensure that it is really able to serve requests. The address and port to send the tests to are those of the target VM. The health check only consists of a connection attempt.
19
+ # Makes the target available only if it accepts periodic health check TCP connection attempts; when turned off, the target is considered always available. The health check only consists of a connection attempt to the address and port of the target.
20
20
  attr_accessor :check
21
21
 
22
22
 
23
- # CheckInterval determines the duration (in milliseconds) between consecutive health checks. If unspecified a default of 2000 ms is used.
23
+ # The interval in milliseconds between consecutive health checks; default is 2000.
24
24
  attr_accessor :check_interval
25
25
 
26
26
 
27
- # Maintenance specifies if a target VM should be marked as down, even if it is not.
27
+ # Maintenance mode prevents the target from receiving balanced traffic.
28
28
  attr_accessor :maintenance
29
29
 
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -24,7 +24,7 @@ module Ionoscloud
24
24
  attr_accessor :listener_lan
25
25
 
26
26
 
27
- # Collection of IP addresses of the Network Load Balancer. (Inbound and outbound) IP of the listenerLan must be a customer reserved IP for the public Load Balancer and private IP for the private Load balancer.
27
+ # Collection of the Network Load Balancer IP addresses. (Inbound and outbound) IPs of the listenerLan must be customer-reserved IPs for public Load Balancers, and private IPs for private Load Balancers.
28
28
  attr_accessor :ips
29
29
 
30
30
 
@@ -32,7 +32,7 @@ module Ionoscloud
32
32
  attr_accessor :target_lan
33
33
 
34
34
 
35
- # Collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain valid subnet mask. If user will not provide any IP then the system will generate one IP with /24 subnet.
35
+ # Collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain a valid subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.
36
36
  attr_accessor :lb_private_ips
37
37
 
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -40,15 +40,15 @@ module Ionoscloud
40
40
  attr_accessor :firewall_active
41
41
 
42
42
 
43
- # The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is taken.
43
+ # The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
44
44
  attr_accessor :firewall_type
45
45
 
46
46
 
47
- # The Logical Unit Number (LUN) of the storage volume. Null if this NIC was create from CloudAPI and no DCD changes were done on the Datacenter.
47
+ # The Logical Unit Number (LUN) of the storage volume. Null if this NIC was created using Cloud API and no DCD changes were performed on the Datacenter.
48
48
  attr_accessor :device_number
49
49
 
50
50
 
51
- # The PCI slot number of the NIC.
51
+ # The PCI slot number for the NIC.
52
52
  attr_accessor :pci_slot
53
53
 
54
54
  class EnumAttributeValidator
@@ -132,6 +132,7 @@ module Ionoscloud
132
132
 
133
133
 
134
134
 
135
+ :'ips',
135
136
 
136
137
 
137
138
 
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,15 +28,15 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
35
- # The offset specified in the request (or, if none was specified, the default offset of 0)
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 none was specified, use the endpoint's default pagination limit).
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
 
@@ -29,7 +29,7 @@ module Ionoscloud
29
29
  attr_accessor :href
30
30
 
31
31
 
32
- # Array of items in that collection.
32
+ # Array of items in the collection.
33
33
  attr_accessor :items
34
34
 
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -29,7 +29,7 @@ module Ionoscloud
29
29
  attr_accessor :href
30
30
 
31
31
 
32
- # Array of items in that collection.
32
+ # Array of items in the collection.
33
33
  attr_accessor :items
34
34
 
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -29,7 +29,7 @@ module Ionoscloud
29
29
  attr_accessor :href
30
30
 
31
31
 
32
- # Array of items in that collection.
32
+ # Array of items in the collection.
33
33
  attr_accessor :items
34
34
 
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
 
@@ -342,7 +342,7 @@ module Ionoscloud
342
342
 
343
343
 
344
344
 
345
- licence_type_validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"])
345
+ licence_type_validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "WINDOWS2022", "LINUX", "OTHER"])
346
346
  return false unless licence_type_validator.valid?(@licence_type)
347
347
  true
348
348
  end
@@ -366,7 +366,7 @@ module Ionoscloud
366
366
  # Custom attribute writer method checking allowed values (enum).
367
367
  # @param [Object] licence_type Object to be assigned
368
368
  def licence_type=(licence_type)
369
- validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "LINUX", "OTHER"])
369
+ validator = EnumAttributeValidator.new('String', ["UNKNOWN", "WINDOWS", "WINDOWS2016", "WINDOWS2022", "LINUX", "OTHER"])
370
370
  unless validator.valid?(licence_type)
371
371
  fail ArgumentError, "invalid value for \"licence_type\", must be one of #{validator.allowable_values}."
372
372
  end
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,7 +28,7 @@ module Ionoscloud
28
28
  attr_accessor :href
29
29
 
30
30
 
31
- # Array of items in that collection.
31
+ # Array of items in the collection.
32
32
  attr_accessor :items
33
33
 
34
34