ionoscloud 6.0.0 → 6.1.0
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/CHANGELOG.md +22 -0
- data/docs/README.md +2 -2
- data/docs/api/ApplicationLoadBalancersApi.md +1586 -0
- 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/TargetGroupsApi.md +516 -0
- data/docs/api/UserManagementApi.md +50 -50
- data/docs/api/UserS3KeysApi.md +12 -12
- data/docs/api/VolumesApi.md +18 -18
- data/docs/models/ApplicationLoadBalancer.md +28 -0
- data/docs/models/ApplicationLoadBalancerEntities.md +18 -0
- data/docs/models/ApplicationLoadBalancerForwardingRule.md +26 -0
- data/docs/models/ApplicationLoadBalancerForwardingRuleProperties.md +30 -0
- data/docs/models/ApplicationLoadBalancerForwardingRulePut.md +24 -0
- data/docs/models/ApplicationLoadBalancerForwardingRules.md +30 -0
- data/docs/models/ApplicationLoadBalancerHttpRule.md +34 -0
- data/docs/models/ApplicationLoadBalancerHttpRuleCondition.md +26 -0
- data/docs/models/ApplicationLoadBalancerProperties.md +26 -0
- data/docs/models/ApplicationLoadBalancerPut.md +24 -0
- data/docs/models/ApplicationLoadBalancers.md +30 -0
- 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 +1 -1
- data/docs/models/KubernetesClusterPropertiesForPost.md +1 -1
- data/docs/models/KubernetesClusterPropertiesForPut.md +1 -1
- data/docs/models/KubernetesClusters.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +1 -1
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +1 -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/TargetGroup.md +26 -0
- data/docs/models/TargetGroupHealthCheck.md +22 -0
- data/docs/models/TargetGroupHttpHealthCheck.md +28 -0
- data/docs/models/TargetGroupProperties.md +28 -0
- data/docs/models/TargetGroupPut.md +24 -0
- data/docs/models/TargetGroupTarget.md +26 -0
- data/docs/models/TargetGroups.md +30 -0
- 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/application_load_balancers_api.rb +1690 -0
- 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/target_groups_api.rb +530 -0
- 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/configuration.rb +11 -26
- data/lib/ionoscloud/models/application_load_balancer.rb +319 -0
- data/lib/ionoscloud/models/application_load_balancer_entities.rb +226 -0
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule.rb +302 -0
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_properties.rb +389 -0
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_put.rb +285 -0
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rules.rb +334 -0
- data/lib/ionoscloud/models/application_load_balancer_http_rule.rb +427 -0
- data/lib/ionoscloud/models/application_load_balancer_http_rule_condition.rb +355 -0
- data/lib/ionoscloud/models/application_load_balancer_properties.rb +314 -0
- data/lib/ionoscloud/models/application_load_balancer_put.rb +285 -0
- data/lib/ionoscloud/models/application_load_balancers.rb +334 -0
- 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 +1 -1
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +1 -1
- 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 +1 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +1 -1
- 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/target_group.rb +302 -0
- data/lib/ionoscloud/models/target_group_health_check.rb +263 -0
- data/lib/ionoscloud/models/target_group_http_health_check.rb +373 -0
- data/lib/ionoscloud/models/target_group_properties.rb +376 -0
- data/lib/ionoscloud/models/target_group_put.rb +285 -0
- data/lib/ionoscloud/models/target_group_target.rb +314 -0
- data/lib/ionoscloud/models/target_groups.rb +334 -0
- 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/ionoscloud.rb +20 -0
- metadata +46 -5
@@ -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,7 @@ module Ionoscloud
|
|
35
35
|
attr_accessor :viable_node_pool_versions
|
36
36
|
|
37
37
|
|
38
|
-
# 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
|
38
|
+
# 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
39
|
attr_accessor :api_subnet_allow_list
|
40
40
|
|
41
41
|
|
@@ -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
|
|
@@ -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
|
|
@@ -74,7 +74,7 @@ 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
|
|
@@ -74,7 +74,7 @@ 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
80
|
class EnumAttributeValidator
|
@@ -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
|