ionoscloud 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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
|
@@ -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
|
|
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
|
|
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
|
|
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.
|
|
@@ -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
|
|
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.
|
|
@@ -16,19 +16,19 @@ require 'time'
|
|
|
16
16
|
module Ionoscloud
|
|
17
17
|
class NetworkLoadBalancerForwardingRuleHealthCheck
|
|
18
18
|
|
|
19
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
23
|
+
# Balancing algorithm
|
|
24
24
|
attr_accessor :algorithm
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Balancing protocol
|
|
28
28
|
attr_accessor :protocol
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
# Listening
|
|
31
|
+
# Listening (inbound) IP
|
|
32
32
|
attr_accessor :listener_ip
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
# Listening port number
|
|
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
|
|
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
|
|
19
|
+
# The IP of the balanced target VM.
|
|
20
20
|
attr_accessor :ip
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# The port of the balanced target service; valid range is 1 to 65535.
|
|
24
24
|
attr_accessor :port
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
23
|
+
# The interval in milliseconds between consecutive health checks; default is 2000.
|
|
24
24
|
attr_accessor :check_interval
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
# Maintenance
|
|
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.
|
|
@@ -24,7 +24,7 @@ module Ionoscloud
|
|
|
24
24
|
attr_accessor :listener_lan
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
# Collection of
|
|
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
|
|
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.
|
|
@@ -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
|
|
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
|
|
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
|
|
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,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
|
|
|
@@ -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
|