ionoscloud 6.0.1 → 6.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/CHANGELOG.md +28 -0
  4. data/docs/api/ApplicationLoadBalancersApi.md +1586 -0
  5. data/docs/api/ServersApi.md +3 -1
  6. data/docs/api/TargetGroupsApi.md +516 -0
  7. data/docs/models/ApplicationLoadBalancer.md +28 -0
  8. data/docs/models/ApplicationLoadBalancerEntities.md +18 -0
  9. data/docs/models/ApplicationLoadBalancerForwardingRule.md +26 -0
  10. data/docs/models/ApplicationLoadBalancerForwardingRuleProperties.md +30 -0
  11. data/docs/models/ApplicationLoadBalancerForwardingRulePut.md +24 -0
  12. data/docs/models/ApplicationLoadBalancerForwardingRules.md +30 -0
  13. data/docs/models/ApplicationLoadBalancerHttpRule.md +34 -0
  14. data/docs/models/ApplicationLoadBalancerHttpRuleCondition.md +26 -0
  15. data/docs/models/ApplicationLoadBalancerProperties.md +26 -0
  16. data/docs/models/ApplicationLoadBalancerPut.md +24 -0
  17. data/docs/models/ApplicationLoadBalancers.md +30 -0
  18. data/docs/models/GroupProperties.md +3 -1
  19. data/docs/models/KubernetesClusterProperties.md +0 -2
  20. data/docs/models/KubernetesClusterPropertiesForPost.md +0 -2
  21. data/docs/models/KubernetesNodePoolProperties.md +1 -3
  22. data/docs/models/KubernetesNodePoolPropertiesForPost.md +1 -3
  23. data/docs/models/TargetGroup.md +26 -0
  24. data/docs/models/TargetGroupHealthCheck.md +22 -0
  25. data/docs/models/TargetGroupHttpHealthCheck.md +28 -0
  26. data/docs/models/TargetGroupProperties.md +28 -0
  27. data/docs/models/TargetGroupPut.md +24 -0
  28. data/docs/models/TargetGroupTarget.md +26 -0
  29. data/docs/models/TargetGroups.md +30 -0
  30. data/docs/models/VolumeProperties.md +3 -1
  31. data/lib/ionoscloud/api/application_load_balancers_api.rb +1690 -0
  32. data/lib/ionoscloud/api/servers_api.rb +3 -0
  33. data/lib/ionoscloud/api/target_groups_api.rb +530 -0
  34. data/lib/ionoscloud/api_client.rb +1 -1
  35. data/lib/ionoscloud/configuration.rb +11 -26
  36. data/lib/ionoscloud/models/application_load_balancer.rb +319 -0
  37. data/lib/ionoscloud/models/application_load_balancer_entities.rb +226 -0
  38. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule.rb +302 -0
  39. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_properties.rb +389 -0
  40. data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_put.rb +285 -0
  41. data/lib/ionoscloud/models/application_load_balancer_forwarding_rules.rb +334 -0
  42. data/lib/ionoscloud/models/application_load_balancer_http_rule.rb +427 -0
  43. data/lib/ionoscloud/models/application_load_balancer_http_rule_condition.rb +355 -0
  44. data/lib/ionoscloud/models/application_load_balancer_properties.rb +314 -0
  45. data/lib/ionoscloud/models/application_load_balancer_put.rb +285 -0
  46. data/lib/ionoscloud/models/application_load_balancers.rb +334 -0
  47. data/lib/ionoscloud/models/group_properties.rb +22 -4
  48. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +1 -21
  49. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +1 -21
  50. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +4 -22
  51. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +4 -22
  52. data/lib/ionoscloud/models/target_group.rb +302 -0
  53. data/lib/ionoscloud/models/target_group_health_check.rb +263 -0
  54. data/lib/ionoscloud/models/target_group_http_health_check.rb +373 -0
  55. data/lib/ionoscloud/models/target_group_properties.rb +376 -0
  56. data/lib/ionoscloud/models/target_group_put.rb +285 -0
  57. data/lib/ionoscloud/models/target_group_target.rb +314 -0
  58. data/lib/ionoscloud/models/target_groups.rb +334 -0
  59. data/lib/ionoscloud/models/volume_properties.rb +36 -4
  60. data/lib/ionoscloud/version.rb +1 -1
  61. data/lib/ionoscloud.rb +20 -0
  62. metadata +45 -6
  63. data/lib/test_driver.rb +0 -119
@@ -0,0 +1,30 @@
1
+ # ApplicationLoadBalancerForwardingRules
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource's unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **items** | [**Array<ApplicationLoadBalancerForwardingRule>**](ApplicationLoadBalancerForwardingRule.md) | Array of items in the collection. | [optional][readonly] |
11
+ | **offset** | **Float** | The offset (if specified in the request). | [optional] |
12
+ | **limit** | **Float** | The limit (if specified in the request). | [optional] |
13
+ | **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ionoscloud'
19
+
20
+ instance = Ionoscloud::ApplicationLoadBalancerForwardingRules.new(
21
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
22
+ type: "collection",
23
+ href: <RESOURCE-URI>,
24
+ items: null,
25
+ offset: 0,
26
+ limit: 1000,
27
+ _links: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,34 @@
1
+ # ApplicationLoadBalancerHttpRule
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The unique name of the Application Load Balancer HTTP rule. | |
8
+ | **type** | **String** | Type of the HTTP rule. | |
9
+ | **target_group** | **String** | The ID of the target group; mandatory and only valid for FORWARD actions. | [optional] |
10
+ | **drop_query** | **Boolean** | Default is false; valid only for REDIRECT actions. | [optional] |
11
+ | **location** | **String** | The location for redirecting; mandatory and valid only for REDIRECT actions. | [optional] |
12
+ | **status_code** | **Integer** | Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599. | [optional] |
13
+ | **response_message** | **String** | The response message of the request; mandatory for STATIC actions. | [optional] |
14
+ | **content_type** | **String** | Valid only for STATIC actions. | [optional] |
15
+ | **conditions** | [**Array&lt;ApplicationLoadBalancerHttpRuleCondition&gt;**](ApplicationLoadBalancerHttpRuleCondition.md) | An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'ionoscloud'
21
+
22
+ instance = Ionoscloud::ApplicationLoadBalancerHttpRule.new(
23
+ name: My Application Load Balancer HTTP rule,
24
+ type: FORWARD,
25
+ target_group: 96e514d0-73e4-4abd-8fbc-c0f53b79bfae,
26
+ drop_query: true,
27
+ location: www.ionos.com,
28
+ status_code: 301,
29
+ response_message: Application Down,
30
+ content_type: text/html,
31
+ conditions: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,26 @@
1
+ # ApplicationLoadBalancerHttpRuleCondition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the HTTP rule condition. | |
8
+ | **condition** | **String** | Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP. | |
9
+ | **negate** | **Boolean** | Specifies whether the condition is negated or not; the default is False. | [optional] |
10
+ | **key** | **String** | Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY. | [optional] |
11
+ | **value** | **String** | Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ionoscloud'
17
+
18
+ instance = Ionoscloud::ApplicationLoadBalancerHttpRuleCondition.new(
19
+ type: HEADER,
20
+ condition: STARTS_WITH,
21
+ negate: false,
22
+ key: forward-at,
23
+ value: Friday
24
+ )
25
+ ```
26
+
@@ -0,0 +1,26 @@
1
+ # ApplicationLoadBalancerProperties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the Application Load Balancer. | |
8
+ | **listener_lan** | **Integer** | ID of the listening (inbound) LAN. | |
9
+ | **ips** | **Array&lt;String&gt;** | Collection of the Application Load Balancer IP addresses. (Inbound and outbound) IPs of the listenerLan are customer-reserved public IPs for the public Load Balancers, and private IPs for the private Load Balancers. | [optional] |
10
+ | **target_lan** | **Integer** | ID of the balanced private target LAN (outbound). | |
11
+ | **lb_private_ips** | **Array&lt;String&gt;** | Collection of private IP addresses with the subnet mask of the Application Load Balancer. IPs must contain valid a subnet mask. If no IP is provided, the system will generate an IP with /24 subnet. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ionoscloud'
17
+
18
+ instance = Ionoscloud::ApplicationLoadBalancerProperties.new(
19
+ name: My Application Load Balancer,
20
+ listener_lan: 1,
21
+ ips: [81.173.1.2, 22.231.2.2, 22.231.2.3],
22
+ target_lan: 2,
23
+ lb_private_ips: [81.173.1.5/24, 22.231.2.5/24]
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # ApplicationLoadBalancerPut
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **properties** | [**ApplicationLoadBalancerProperties**](ApplicationLoadBalancerProperties.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ionoscloud'
16
+
17
+ instance = Ionoscloud::ApplicationLoadBalancerPut.new(
18
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
19
+ type: "applicationloadbalancer",
20
+ href: <RESOURCE-URI>,
21
+ properties: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,30 @@
1
+ # ApplicationLoadBalancers
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **items** | [**Array&lt;ApplicationLoadBalancer&gt;**](ApplicationLoadBalancer.md) | Array of items in the collection. | [optional][readonly] |
11
+ | **offset** | **Float** | The offset (if specified in the request). | [optional] |
12
+ | **limit** | **Float** | The limit (if specified in the request). | [optional] |
13
+ | **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ionoscloud'
19
+
20
+ instance = Ionoscloud::ApplicationLoadBalancers.new(
21
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
22
+ type: "collection",
23
+ href: <RESOURCE-URI>,
24
+ items: null,
25
+ offset: 0,
26
+ limit: 1000,
27
+ _links: null
28
+ )
29
+ ```
30
+
@@ -17,6 +17,7 @@
17
17
  | **create_flow_log** | **Boolean** | Create Flow Logs privilege. | [optional] |
18
18
  | **access_and_manage_monitoring** | **Boolean** | Privilege for a group to access and manage monitoring related functionality (access metrics, CRUD on alarms, alarm-actions etc) using Monotoring-as-a-Service (MaaS). | [optional] |
19
19
  | **access_and_manage_certificates** | **Boolean** | Privilege for a group to access and manage certificates. | [optional] |
20
+ | **manage_dbaas** | **Boolean** | Privilege for a group to manage DBaaS related functionality. | [optional] |
20
21
 
21
22
  ## Example
22
23
 
@@ -36,7 +37,8 @@ instance = Ionoscloud::GroupProperties.new(
36
37
  create_k8s_cluster: null,
37
38
  create_flow_log: null,
38
39
  access_and_manage_monitoring: null,
39
- access_and_manage_certificates: null
40
+ access_and_manage_certificates: null,
41
+ manage_dbaas: null
40
42
  )
41
43
  ```
42
44
 
@@ -9,7 +9,6 @@
9
9
  | **maintenance_window** | [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [optional] |
10
10
  | **available_upgrade_versions** | **Array&lt;String&gt;** | List of available versions for upgrading the cluster | [optional] |
11
11
  | **viable_node_pool_versions** | **Array&lt;String&gt;** | List of versions that may be used for node pools under this cluster | [optional] |
12
- | **public** | **Boolean** | The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase. | [optional][default to true] |
13
12
  | **api_subnet_allow_list** | **Array&lt;String&gt;** | 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. | [optional] |
14
13
  | **s3_buckets** | [**Array&lt;S3Bucket&gt;**](S3Bucket.md) | List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs | [optional] |
15
14
 
@@ -24,7 +23,6 @@ instance = Ionoscloud::KubernetesClusterProperties.new(
24
23
  maintenance_window: null,
25
24
  available_upgrade_versions: [1.16.4, 1.17.7],
26
25
  viable_node_pool_versions: [1.17.7, 1.18.2],
27
- public: null,
28
26
  api_subnet_allow_list: [1.2.3.4/32, 2002::1234:abcd:ffff:c0a8:101/64, 1.2.3.4, 2002::1234:abcd:ffff:c0a8:101],
29
27
  s3_buckets: null
30
28
  )
@@ -7,7 +7,6 @@
7
7
  | **name** | **String** | A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. | |
8
8
  | **k8s_version** | **String** | The Kubernetes version the cluster is running. This imposes restrictions on what Kubernetes versions can be run in a cluster&#39;s nodepools. Additionally, not all Kubernetes versions are viable upgrade targets for all prior versions. | [optional] |
9
9
  | **maintenance_window** | [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [optional] |
10
- | **public** | **Boolean** | The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase. | [optional][default to true] |
11
10
  | **api_subnet_allow_list** | **Array&lt;String&gt;** | 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. | [optional] |
12
11
  | **s3_buckets** | [**Array&lt;S3Bucket&gt;**](S3Bucket.md) | List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs | [optional] |
13
12
 
@@ -20,7 +19,6 @@ instance = Ionoscloud::KubernetesClusterPropertiesForPost.new(
20
19
  name: k8s,
21
20
  k8s_version: 1.15.4,
22
21
  maintenance_window: null,
23
- public: null,
24
22
  api_subnet_allow_list: [1.2.3.4/32, 2002::1234:abcd:ffff:c0a8:101/64, 1.2.3.4, 2002::1234:abcd:ffff:c0a8:101],
25
23
  s3_buckets: null
26
24
  )
@@ -21,7 +21,6 @@
21
21
  | **annotations** | **Hash&lt;String, String&gt;** | map of annotations attached to node pool. | [optional] |
22
22
  | **public_ips** | **Array&lt;String&gt;** | 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. | [optional] |
23
23
  | **available_upgrade_versions** | **Array&lt;String&gt;** | List of available versions for upgrading the node pool. | [optional] |
24
- | **gateway_ip** | **String** | Public IP address for the gateway performing source NAT for the node pool&#39;s nodes belonging to a private cluster. Required only if the node pool belongs to a private cluster. | [optional] |
25
24
 
26
25
  ## Example
27
26
 
@@ -45,8 +44,7 @@ instance = Ionoscloud::KubernetesNodePoolProperties.new(
45
44
  labels: null,
46
45
  annotations: null,
47
46
  public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4],
48
- available_upgrade_versions: [1.16.4, 1.17.7],
49
- gateway_ip: 198.51.100.100
47
+ available_upgrade_versions: [1.16.4, 1.17.7]
50
48
  )
51
49
  ```
52
50
 
@@ -20,7 +20,6 @@
20
20
  | **labels** | **Hash&lt;String, String&gt;** | map of labels attached to node pool. | [optional] |
21
21
  | **annotations** | **Hash&lt;String, String&gt;** | map of annotations attached to node pool. | [optional] |
22
22
  | **public_ips** | **Array&lt;String&gt;** | 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. | [optional] |
23
- | **gateway_ip** | **String** | Public IP address for the gateway performing source NAT for the node pool&#39;s nodes belonging to a private cluster. Required only if the node pool belongs to a private cluster. | [optional] |
24
23
 
25
24
  ## Example
26
25
 
@@ -43,8 +42,7 @@ instance = Ionoscloud::KubernetesNodePoolPropertiesForPost.new(
43
42
  lans: null,
44
43
  labels: null,
45
44
  annotations: null,
46
- public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4],
47
- gateway_ip: 198.51.100.100
45
+ public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4]
48
46
  )
49
47
  ```
50
48
 
@@ -0,0 +1,26 @@
1
+ # TargetGroup
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **metadata** | [**DatacenterElementMetadata**](DatacenterElementMetadata.md) | | [optional] |
11
+ | **properties** | [**TargetGroupProperties**](TargetGroupProperties.md) | | |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ionoscloud'
17
+
18
+ instance = Ionoscloud::TargetGroup.new(
19
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
20
+ type: "target-group",
21
+ href: <RESOURCE-URI>,
22
+ metadata: null,
23
+ properties: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # TargetGroupHealthCheck
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **check_timeout** | **Integer** | The maximum time in milliseconds to wait for a target to respond to a check. For target VMs with &#39;Check Interval&#39; set, the lesser of the two values is used once the TCP connection is established. | [optional] |
8
+ | **check_interval** | **Integer** | The interval in milliseconds between consecutive health checks; default is 2000. | [optional] |
9
+ | **retries** | **Integer** | 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. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ionoscloud'
15
+
16
+ instance = Ionoscloud::TargetGroupHealthCheck.new(
17
+ check_timeout: 2000,
18
+ check_interval: 2000,
19
+ retries: 3
20
+ )
21
+ ```
22
+
@@ -0,0 +1,28 @@
1
+ # TargetGroupHttpHealthCheck
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **path** | **String** | The path (destination URL) for the HTTP health check request; the default is /. | [optional] |
8
+ | **method** | **String** | The method for the HTTP health check. | [optional] |
9
+ | **match_type** | **String** | | |
10
+ | **response** | **String** | The response returned by the request, depending on the match type. | |
11
+ | **regex** | **Boolean** | | [optional] |
12
+ | **negate** | **Boolean** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ionoscloud'
18
+
19
+ instance = Ionoscloud::TargetGroupHttpHealthCheck.new(
20
+ path: /monitoring,
21
+ method: GET,
22
+ match_type: STATUS_CODE,
23
+ response: 200,
24
+ regex: false,
25
+ negate: false
26
+ )
27
+ ```
28
+
@@ -0,0 +1,28 @@
1
+ # TargetGroupProperties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the target group. | |
8
+ | **algorithm** | **String** | Balancing algorithm | |
9
+ | **protocol** | **String** | Balancing protocol | |
10
+ | **targets** | [**Array&lt;TargetGroupTarget&gt;**](TargetGroupTarget.md) | Array of items in the collection. | [optional] |
11
+ | **health_check** | [**TargetGroupHealthCheck**](TargetGroupHealthCheck.md) | | [optional] |
12
+ | **http_health_check** | [**TargetGroupHttpHealthCheck**](TargetGroupHttpHealthCheck.md) | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ionoscloud'
18
+
19
+ instance = Ionoscloud::TargetGroupProperties.new(
20
+ name: My target group,
21
+ algorithm: ROUND_ROBIN,
22
+ protocol: HTTP,
23
+ targets: null,
24
+ health_check: null,
25
+ http_health_check: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,24 @@
1
+ # TargetGroupPut
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **properties** | [**TargetGroupProperties**](TargetGroupProperties.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ionoscloud'
16
+
17
+ instance = Ionoscloud::TargetGroupPut.new(
18
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
19
+ type: "applicationloadbalancer",
20
+ href: <RESOURCE-URI>,
21
+ properties: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,26 @@
1
+ # TargetGroupTarget
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ip** | **String** | The IP of the balanced target VM. | |
8
+ | **port** | **Integer** | The port of the balanced target service; valid range is 1 to 65535. | |
9
+ | **weight** | **Integer** | 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 use values in the middle of the range to leave room for later adjustments. | |
10
+ | **health_check_enabled** | **Boolean** | When the health check is enabled, the target is available only when it accepts regular TCP or HTTP connection attempts for state checking. The state check consists of one connection attempt with the target&#39;s address and port. The default value is &#39;TRUE&#39;. | [optional] |
11
+ | **maintenance_enabled** | **Boolean** | When the maintenance mode is enabled, the target is prevented from receiving traffic; the default value is &#39;FALSE&#39;. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ionoscloud'
17
+
18
+ instance = Ionoscloud::TargetGroupTarget.new(
19
+ ip: 22.231.2.2,
20
+ port: 8080,
21
+ weight: 123,
22
+ health_check_enabled: null,
23
+ maintenance_enabled: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,30 @@
1
+ # TargetGroups
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier. | [optional][readonly] |
8
+ | **type** | [**Type**](Type.md) | The type of object that has been created. | [optional] |
9
+ | **href** | **String** | URL to the object representation (absolute path). | [optional][readonly] |
10
+ | **items** | [**Array&lt;TargetGroup&gt;**](TargetGroup.md) | Array of items in the collection. | [optional][readonly] |
11
+ | **offset** | **Float** | The offset, specified in the request (if not is specified, 0 is used by default). | [optional] |
12
+ | **limit** | **Float** | The limit, specified in the request (if not specified, the endpoint&#39;s default pagination limit is used). | [optional] |
13
+ | **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ionoscloud'
19
+
20
+ instance = Ionoscloud::TargetGroups.new(
21
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
22
+ type: "collection",
23
+ href: <RESOURCE-URI>,
24
+ items: null,
25
+ offset: 0,
26
+ limit: 1000,
27
+ _links: null
28
+ )
29
+ ```
30
+
@@ -25,6 +25,7 @@
25
25
  | **backupunit_id** | **String** | The ID of the backup unit that the user has access to. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either &#39;public image&#39; or &#39;imageAlias&#39; in conjunction with this property. | [optional] |
26
26
  | **user_data** | **String** | The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either &#39;public image&#39; or &#39;imageAlias&#39; that has cloud-init compatibility in conjunction with this property. | [optional] |
27
27
  | **boot_server** | **String** | The UUID of the attached server. | [optional][readonly] |
28
+ | **boot_order** | **String** | Determines whether the volume will be used as a boot volume. Set to &#x60;NONE&#x60;, the volume will not be used as boot volume. Set to &#x60;PRIMARY&#x60;, the volume will be used as boot volume and all other volumes must be set to &#x60;NONE&#x60;. Set to &#x60;AUTO&#x60; or &#x60;null&#x60; requires all volumes to be set to &#x60;AUTO&#x60; or &#x60;null&#x60;; this will use the legacy behavior, which is to use the volume as a boot volume only if there are no other volumes or cdrom devices. | [optional][default to &#39;AUTO&#39;] |
28
29
 
29
30
  ## Example
30
31
 
@@ -52,7 +53,8 @@ instance = Ionoscloud::VolumeProperties.new(
52
53
  pci_slot: 7,
53
54
  backupunit_id: 25f67991-0f51-4efc-a8ad-ef1fb31a481c,
54
55
  user_data: null,
55
- boot_server: 25f67991-0f51-4efc-a8ad-ef1fb31a481c
56
+ boot_server: 25f67991-0f51-4efc-a8ad-ef1fb31a481c,
57
+ boot_order: AUTO
56
58
  )
57
59
  ```
58
60