ionoscloud 5.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +65 -0
  3. data/docs/AttachedVolumes.md +1 -1
  4. data/docs/Cdroms.md +1 -1
  5. data/docs/DefaultApi.md +6 -1
  6. data/docs/ImageProperties.md +5 -1
  7. data/docs/IpBlockProperties.md +1 -1
  8. data/docs/IpConsumer.md +5 -1
  9. data/docs/KubernetesApi.md +12 -12
  10. data/docs/KubernetesClusterForPost.md +28 -0
  11. data/docs/KubernetesClusterForPut.md +28 -0
  12. data/docs/KubernetesClusterProperties.md +5 -1
  13. data/docs/KubernetesClusterPropertiesForPost.md +26 -0
  14. data/docs/{KubernetesClusterPropertiesForPostAndPut.md → KubernetesClusterPropertiesForPut.md} +3 -3
  15. data/docs/KubernetesNodePoolForPost.md +26 -0
  16. data/docs/KubernetesNodePoolProperties.md +1 -1
  17. data/docs/KubernetesNodePoolPropertiesForPost.md +1 -1
  18. data/docs/KubernetesNodePoolPropertiesForPut.md +0 -14
  19. data/docs/KubernetesNodeProperties.md +3 -1
  20. data/docs/Nics.md +1 -1
  21. data/docs/README.md +3 -3
  22. data/docs/RequestApi.md +22 -6
  23. data/docs/S3KeyProperties.md +2 -2
  24. data/docs/UserManagementApi.md +7 -7
  25. data/docs/UserPost.md +18 -0
  26. data/docs/UserProperties.md +0 -2
  27. data/docs/UserPropertiesPost.md +32 -0
  28. data/docs/UserPropertiesPut.md +30 -0
  29. data/docs/UserPut.md +20 -0
  30. data/docs/VolumeProperties.md +1 -1
  31. data/docs/summary.md +17 -1
  32. data/lib/ionoscloud.rb +9 -1
  33. data/lib/ionoscloud/api/_api.rb +1 -1
  34. data/lib/ionoscloud/api/kubernetes_api.rb +11 -11
  35. data/lib/ionoscloud/api/request_api.rb +30 -6
  36. data/lib/ionoscloud/api/user_management_api.rb +8 -8
  37. data/lib/ionoscloud/api_client.rb +13 -14
  38. data/lib/ionoscloud/configuration.rb +2 -2
  39. data/lib/ionoscloud/models/datacenter_properties.rb +0 -22
  40. data/lib/ionoscloud/models/image_properties.rb +38 -4
  41. data/lib/ionoscloud/models/ip_consumer.rb +22 -4
  42. data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +303 -0
  43. data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +303 -0
  44. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +26 -4
  45. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +263 -0
  46. data/lib/ionoscloud/models/{kubernetes_cluster_properties_for_post_and_put.rb → kubernetes_cluster_properties_for_put.rb} +4 -4
  47. data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +294 -0
  48. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +1 -1
  49. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +1 -1
  50. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +1 -152
  51. data/lib/ionoscloud/models/kubernetes_node_properties.rb +11 -6
  52. data/lib/ionoscloud/models/location_properties.rb +0 -22
  53. data/lib/ionoscloud/models/s3_key_properties.rb +2 -2
  54. data/lib/ionoscloud/models/user_post.rb +221 -0
  55. data/lib/ionoscloud/models/user_properties.rb +1 -11
  56. data/lib/ionoscloud/models/user_properties_post.rb +287 -0
  57. data/lib/ionoscloud/models/user_properties_put.rb +277 -0
  58. data/lib/ionoscloud/models/user_put.rb +231 -0
  59. data/lib/ionoscloud/models/volume_properties.rb +1 -1
  60. data/lib/ionoscloud/version.rb +1 -1
  61. data/spec/api/kubernetes_api_spec.rb +4 -4
  62. data/spec/api/request_api_spec.rb +11 -3
  63. data/spec/api/user_management_api_spec.rb +2 -2
  64. data/spec/models/datacenter_properties_spec.rb +0 -4
  65. data/spec/models/image_properties_spec.rb +16 -0
  66. data/spec/models/ip_consumer_spec.rb +12 -0
  67. data/spec/models/kubernetes_cluster_for_post_spec.rb +68 -0
  68. data/spec/models/kubernetes_cluster_for_put_spec.rb +68 -0
  69. data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +58 -0
  70. data/spec/models/{kubernetes_cluster_properties_for_post_and_put_spec.rb → kubernetes_cluster_properties_for_put_spec.rb} +6 -6
  71. data/spec/models/kubernetes_cluster_properties_spec.rb +12 -0
  72. data/spec/models/kubernetes_node_pool_for_post_spec.rb +62 -0
  73. data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -50
  74. data/spec/models/kubernetes_node_properties_spec.rb +6 -0
  75. data/spec/models/location_properties_spec.rb +0 -4
  76. data/spec/models/user_post_spec.rb +34 -0
  77. data/spec/models/user_properties_post_spec.rb +76 -0
  78. data/spec/models/user_properties_put_spec.rb +70 -0
  79. data/spec/models/user_properties_spec.rb +0 -6
  80. data/spec/models/user_put_spec.rb +40 -0
  81. metadata +157 -124
@@ -5,14 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A Kubernetes Node Pool Name. Valid Kubernetes Node Pool 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
- | **datacenter_id** | **String** | A valid uuid of the datacenter on which user has access | |
9
8
  | **node_count** | **Integer** | Number of nodes part of the Node Pool | |
10
- | **cpu_family** | **String** | A valid cpu family name | |
11
- | **cores_count** | **Integer** | Number of cores for node | |
12
- | **ram_size** | **Integer** | RAM size for node, minimum size 2048MB is recommended. Ram size must be set to multiple of 1024MB. | |
13
- | **availability_zone** | **String** | The availability zone in which the target VM should exist | |
14
- | **storage_type** | **String** | Hardware type of the volume | |
15
- | **storage_size** | **Integer** | The size of the volume in GB. The size should be greater than 10GB. | |
16
9
  | **k8s_version** | **String** | The kubernetes version in which a nodepool is running. This imposes restrictions on what kubernetes versions can be run in a cluster's nodepools. Additionally, not all kubernetes versions are viable upgrade targets for all prior versions. | [optional] |
17
10
  | **maintenance_window** | [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [optional] |
18
11
  | **auto_scaling** | [**KubernetesAutoScaling**](KubernetesAutoScaling.md) | | [optional] |
@@ -28,14 +21,7 @@ require 'ionoscloud'
28
21
 
29
22
  instance = Ionoscloud::KubernetesNodePoolPropertiesForPut.new(
30
23
  name: k8s-node-pool,
31
- datacenter_id: 1e072e52-2ed3-492f-b6b6-c6b116907521,
32
24
  node_count: 2,
33
- cpu_family: AMD_OPTERON,
34
- cores_count: 4,
35
- ram_size: 2048,
36
- availability_zone: AUTO,
37
- storage_type: HDD,
38
- storage_size: 100,
39
25
  k8s_version: 1.15.4,
40
26
  maintenance_window: null,
41
27
  auto_scaling: null,
@@ -5,7 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A Kubernetes Node Name. | |
8
- | **public_ip** | **String** | A valid public IP. | |
8
+ | **public_ip** | **String** | A valid public IP. | [optional] |
9
+ | **private_ip** | **String** | A valid private IP. | [optional] |
9
10
  | **k8s_version** | **String** | The kubernetes version in which a nodepool is running. This imposes restrictions on what kubernetes versions can be run in a cluster's nodepools. Additionally, not all kubernetes versions are viable upgrade targets for all prior versions. | |
10
11
 
11
12
  ## Example
@@ -16,6 +17,7 @@ require 'ionoscloud'
16
17
  instance = Ionoscloud::KubernetesNodeProperties.new(
17
18
  name: k8s-node,
18
19
  public_ip: 192.168.23.2,
20
+ private_ip: 192.168.23.2,
19
21
  k8s_version: 1.15.4
20
22
  )
21
23
  ```
data/docs/Nics.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | The resource's unique identifier | [optional][readonly] |
8
8
  | **type** | [**Type**](Type.md) | The type of object that has been created | [optional] |
9
9
  | **href** | **String** | URL to the object representation (absolute path) | [optional][readonly] |
10
- | **items** | [**Array<Nic>**](Nic.md) | Array of items in that collection | [optional] |
10
+ | **items** | [**Array<Nic>**](Nic.md) | Array of items in that collection | [optional][readonly] |
11
11
  | **offset** | **Float** | the offset (if specified in the request) | [optional] |
12
12
  | **limit** | **Float** | the limit (if specified in the request) | [optional] |
13
13
  | **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
data/docs/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # Introduction
2
2
 
3
- ![CI](https://github.com/ionos-cloud/sdk-resources/workflows/CI/badge.svg) [![Gem Version](https://badge.fury.io/rb/ionoscloud.svg)](https://badge.fury.io/rb/ionoscloud) [![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
4
-
5
3
  ## Overview
6
4
 
7
5
  The IONOS Cloud SDK for Ruby provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in Ruby. The SDK for Ruby wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.
8
6
 
9
7
  ## Getting Started
10
8
 
11
- ### Instalation
9
+ An IONOS account is required for access to the Cloud API; credentials from your registration are used to authenticate against the IONOS Cloud API.
10
+
11
+ ### Installation
12
12
 
13
13
  ### 1. Build a gem
14
14
 
data/docs/RequestApi.md CHANGED
@@ -122,9 +122,17 @@ opts = {
122
122
  pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
123
123
  depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
124
124
  x_contract_number: 56, # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
125
- filter_status: 'filter_status_example', # String | Request status filter to fetch all the request based on a particular status [QUEUED, RUNNING, DONE, FAILED]
126
- filter_created_after: 'filter_created_after_example', # String | Filter all the requests after the created date
127
- filter_created_before: 'filter_created_before_example', # String | Filter all the requests before the created date
125
+ filter_status: 'filter_status_example', # String | Request filter to fetch all requests based on a particular status [QUEUED, RUNNING, DONE, FAILED]. It doesn't depend on depth query parameter
126
+ filter_created_after: 'filter_created_after_example', # String | Request filter to fetch all requests created after the specified date. It doesn't depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00
127
+ filter_created_before: 'filter_created_before_example', # String | Request filter to fetch all requests created before the specified date. It doesn't depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00
128
+ filter_created_date: 'filter_created_date_example', # String | Response filter to select and display only the requests that contains the specified createdDate. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. Date format e.g. 2020-11-16T17:42:59Z
129
+ filter_created_by: 'filter_created_by_example', # String | Response filter to select and display only the requests that contains the specified createdBy. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
130
+ filter_etag: 'filter_etag_example', # String | Response filter to select and display only the requests that contains the specified etag. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
131
+ filter_request_status: 'filter_request_status_example', # String | Response filter to select and display only the requests that contains the specified requestStatus. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
132
+ filter_method: 'filter_method_example', # String | Response filter to select and display only the requests that contains the specified method. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
133
+ filter_headers: 'filter_headers_example', # String | Response filter to select and display only the requests that contains the specified headers. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
134
+ filter_body: 'filter_body_example', # String | Response filter to select and display only the requests that contains the specified body. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
135
+ filter_url: 'filter_url_example', # String | Response filter to select and display only the requests that contains the specified url. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
128
136
  offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
129
137
  limit: 56 # Integer | the maximum number of elements to return (use together with <code>offset</code> for pagination)
130
138
  }
@@ -163,9 +171,17 @@ end
163
171
  | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
164
172
  | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
165
173
  | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
166
- | **filter_status** | **String** | Request status filter to fetch all the request based on a particular status [QUEUED, RUNNING, DONE, FAILED] | [optional] |
167
- | **filter_created_after** | **String** | Filter all the requests after the created date | [optional] |
168
- | **filter_created_before** | **String** | Filter all the requests before the created date | [optional] |
174
+ | **filter_status** | **String** | Request filter to fetch all requests based on a particular status [QUEUED, RUNNING, DONE, FAILED]. It doesn&#39;t depend on depth query parameter | [optional] |
175
+ | **filter_created_after** | **String** | Request filter to fetch all requests created after the specified date. It doesn&#39;t depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00 | [optional] |
176
+ | **filter_created_before** | **String** | Request filter to fetch all requests created before the specified date. It doesn&#39;t depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00 | [optional] |
177
+ | **filter_created_date** | **String** | Response filter to select and display only the requests that contains the specified createdDate. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. Date format e.g. 2020-11-16T17:42:59Z | [optional] |
178
+ | **filter_created_by** | **String** | Response filter to select and display only the requests that contains the specified createdBy. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
179
+ | **filter_etag** | **String** | Response filter to select and display only the requests that contains the specified etag. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
180
+ | **filter_request_status** | **String** | Response filter to select and display only the requests that contains the specified requestStatus. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
181
+ | **filter_method** | **String** | Response filter to select and display only the requests that contains the specified method. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
182
+ | **filter_headers** | **String** | Response filter to select and display only the requests that contains the specified headers. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
183
+ | **filter_body** | **String** | Response filter to select and display only the requests that contains the specified body. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
184
+ | **filter_url** | **String** | Response filter to select and display only the requests that contains the specified url. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. | [optional] |
169
185
  | **offset** | **Integer** | the first element (of the total list of elements) to include in the response (use together with &lt;code&gt;limit&lt;/code&gt; for pagination) | [optional][default to 0] |
170
186
  | **limit** | **Integer** | the maximum number of elements to return (use together with &lt;code&gt;offset&lt;/code&gt; for pagination) | [optional][default to 1000] |
171
187
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **secret_key** | **String** | secret of the s3 key | [optional][readonly] |
8
- | **active** | **Boolean** | denotes if the s3 key is active or not | [optional] |
7
+ | **secret_key** | **String** | secret of the S3 key | [optional][readonly] |
8
+ | **active** | **Boolean** | denotes if the S3 key is active or not | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -1900,7 +1900,7 @@ Ionoscloud.configure do |config|
1900
1900
  end
1901
1901
 
1902
1902
  api_instance = Ionoscloud::UserManagementApi.new
1903
- user = Ionoscloud::User.new({properties: Ionoscloud::UserProperties.new}) # User | User to be created
1903
+ user = Ionoscloud::UserPost.new({properties: Ionoscloud::UserPropertiesPost.new}) # UserPost | User to be created
1904
1904
  opts = {
1905
1905
  pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1906
1906
  depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
@@ -1938,7 +1938,7 @@ end
1938
1938
 
1939
1939
  | Name | Type | Description | Notes |
1940
1940
  | ---- | ---- | ----------- | ----- |
1941
- | **user** | [**User**](User.md) | User to be created | |
1941
+ | **user** | [**UserPost**](UserPost.md) | User to be created | |
1942
1942
  | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1943
1943
  | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1944
1944
  | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
@@ -1984,7 +1984,7 @@ end
1984
1984
 
1985
1985
  api_instance = Ionoscloud::UserManagementApi.new
1986
1986
  user_id = 'user_id_example' # String |
1987
- user = Ionoscloud::User.new({properties: Ionoscloud::UserProperties.new}) # User | Modified user
1987
+ user = Ionoscloud::UserPut.new({properties: Ionoscloud::UserPropertiesPut.new}) # UserPut | Modified user
1988
1988
  opts = {
1989
1989
  pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1990
1990
  depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
@@ -2023,7 +2023,7 @@ end
2023
2023
  | Name | Type | Description | Notes |
2024
2024
  | ---- | ---- | ----------- | ----- |
2025
2025
  | **user_id** | **String** | | |
2026
- | **user** | [**User**](User.md) | Modified user | |
2026
+ | **user** | [**UserPut**](UserPut.md) | Modified user | |
2027
2027
  | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
2028
2028
  | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
2029
2029
  | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
@@ -2384,7 +2384,7 @@ Basic Authentication, Token Authentication
2384
2384
 
2385
2385
  Modify a S3 key having the given key id
2386
2386
 
2387
- You can enable or disable a given S3 key
2387
+ You can enable or disable a given S3 key.
2388
2388
 
2389
2389
  ### Examples
2390
2390
 
@@ -2406,7 +2406,7 @@ end
2406
2406
  api_instance = Ionoscloud::UserManagementApi.new
2407
2407
  user_id = 'user_id_example' # String |
2408
2408
  key_id = 'key_id_example' # String | The unique access key ID of the S3 key
2409
- s3_key = Ionoscloud::S3Key.new({properties: Ionoscloud::S3KeyProperties.new}) # S3Key | Modified s3 key
2409
+ s3_key = Ionoscloud::S3Key.new({properties: Ionoscloud::S3KeyProperties.new}) # S3Key | Modified S3 key
2410
2410
  opts = {
2411
2411
  pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
2412
2412
  depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
@@ -2446,7 +2446,7 @@ end
2446
2446
  | ---- | ---- | ----------- | ----- |
2447
2447
  | **user_id** | **String** | | |
2448
2448
  | **key_id** | **String** | The unique access key ID of the S3 key | |
2449
- | **s3_key** | [**S3Key**](S3Key.md) | Modified s3 key | |
2449
+ | **s3_key** | [**S3Key**](S3Key.md) | Modified S3 key | |
2450
2450
  | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
2451
2451
  | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
2452
2452
  | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
data/docs/UserPost.md ADDED
@@ -0,0 +1,18 @@
1
+ # UserPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **properties** | [**UserPropertiesPost**](UserPropertiesPost.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ionoscloud'
13
+
14
+ instance = Ionoscloud::UserPost.new(
15
+ properties: null
16
+ )
17
+ ```
18
+
@@ -11,7 +11,6 @@
11
11
  | **force_sec_auth** | **Boolean** | indicates if secure authentication should be forced on the user or not | [optional] |
12
12
  | **sec_auth_active** | **Boolean** | indicates if secure authentication is active for the user or not | [optional] |
13
13
  | **s3_canonical_user_id** | **String** | Canonical (S3) id of the user for a given identity | [optional] |
14
- | **password** | **String** | User password | [optional] |
15
14
  | **active** | **Boolean** | indicates if the user is active | [optional] |
16
15
 
17
16
  ## Example
@@ -27,7 +26,6 @@ instance = Ionoscloud::UserProperties.new(
27
26
  force_sec_auth: null,
28
27
  sec_auth_active: null,
29
28
  s3_canonical_user_id: null,
30
- password: null,
31
29
  active: null
32
30
  )
33
31
  ```
@@ -0,0 +1,32 @@
1
+ # UserPropertiesPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **firstname** | **String** | first name of the user | [optional] |
8
+ | **lastname** | **String** | last name of the user | [optional] |
9
+ | **email** | **String** | email address of the user | [optional] |
10
+ | **administrator** | **Boolean** | indicates if the user has admin rights or not | [optional] |
11
+ | **force_sec_auth** | **Boolean** | indicates if secure authentication should be forced on the user or not | [optional] |
12
+ | **sec_auth_active** | **Boolean** | indicates if secure authentication is active for the user or not | [optional] |
13
+ | **password** | **String** | User password | [optional] |
14
+ | **active** | **Boolean** | indicates if the user is active | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'ionoscloud'
20
+
21
+ instance = Ionoscloud::UserPropertiesPost.new(
22
+ firstname: null,
23
+ lastname: null,
24
+ email: null,
25
+ administrator: null,
26
+ force_sec_auth: null,
27
+ sec_auth_active: null,
28
+ password: null,
29
+ active: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,30 @@
1
+ # UserPropertiesPut
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **firstname** | **String** | first name of the user | [optional] |
8
+ | **lastname** | **String** | last name of the user | [optional] |
9
+ | **email** | **String** | email address of the user | [optional] |
10
+ | **administrator** | **Boolean** | indicates if the user has admin rights or not | [optional] |
11
+ | **force_sec_auth** | **Boolean** | indicates if secure authentication should be forced on the user or not | [optional] |
12
+ | **sec_auth_active** | **Boolean** | indicates if secure authentication is active for the user or not | [optional] |
13
+ | **active** | **Boolean** | indicates if the user is active | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ionoscloud'
19
+
20
+ instance = Ionoscloud::UserPropertiesPut.new(
21
+ firstname: null,
22
+ lastname: null,
23
+ email: null,
24
+ administrator: null,
25
+ force_sec_auth: null,
26
+ sec_auth_active: null,
27
+ active: null
28
+ )
29
+ ```
30
+
data/docs/UserPut.md ADDED
@@ -0,0 +1,20 @@
1
+ # UserPut
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The resource&#39;s unique identifier | [optional] |
8
+ | **properties** | [**UserPropertiesPut**](UserPropertiesPut.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud'
14
+
15
+ instance = Ionoscloud::UserPut.new(
16
+ id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
17
+ properties: null
18
+ )
19
+ ```
20
+
@@ -21,7 +21,7 @@
21
21
  | **disc_virtio_hot_plug** | **Boolean** | Is capable of Virt-IO drive hot plug (no reboot required) | [optional] |
22
22
  | **disc_virtio_hot_unplug** | **Boolean** | Is capable of Virt-IO drive hot unplug (no reboot required). This works only for non-Windows virtual Machines. | [optional] |
23
23
  | **device_number** | **Integer** | The LUN ID of the storage volume. Null for volumes not mounted to any VM | [optional][readonly] |
24
- | **backupunit_id** | **String** | The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provied either public image or imageAlias in conjunction with this property. | [optional] |
24
+ | **backupunit_id** | **String** | The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either &#39;public image&#39; or &#39;imageAlias&#39; in conjunction with this property. | [optional] |
25
25
  | **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 a new volume creation. 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] |
26
26
 
27
27
  ## Example
data/docs/summary.md CHANGED
@@ -126,9 +126,15 @@
126
126
 
127
127
  * [KubernetesClusterEntities](KubernetesClusterEntities.md)
128
128
 
129
+ * [KubernetesClusterForPost](KubernetesClusterForPost.md)
130
+
131
+ * [KubernetesClusterForPut](KubernetesClusterForPut.md)
132
+
129
133
  * [KubernetesClusterProperties](KubernetesClusterProperties.md)
130
134
 
131
- * [KubernetesClusterPropertiesForPostAndPut](KubernetesClusterPropertiesForPostAndPut.md)
135
+ * [KubernetesClusterPropertiesForPost](KubernetesClusterPropertiesForPost.md)
136
+
137
+ * [KubernetesClusterPropertiesForPut](KubernetesClusterPropertiesForPut.md)
132
138
 
133
139
  * [KubernetesClusters](KubernetesClusters.md)
134
140
 
@@ -144,6 +150,8 @@
144
150
 
145
151
  * [KubernetesNodePool](KubernetesNodePool.md)
146
152
 
153
+ * [KubernetesNodePoolForPost](KubernetesNodePoolForPost.md)
154
+
147
155
  * [KubernetesNodePoolForPut](KubernetesNodePoolForPut.md)
148
156
 
149
157
  * [KubernetesNodePoolLan](KubernetesNodePoolLan.md)
@@ -280,8 +288,16 @@
280
288
 
281
289
  * [UserMetadata](UserMetadata.md)
282
290
 
291
+ * [UserPost](UserPost.md)
292
+
283
293
  * [UserProperties](UserProperties.md)
284
294
 
295
+ * [UserPropertiesPost](UserPropertiesPost.md)
296
+
297
+ * [UserPropertiesPut](UserPropertiesPut.md)
298
+
299
+ * [UserPut](UserPut.md)
300
+
285
301
  * [Users](Users.md)
286
302
 
287
303
  * [UsersEntities](UsersEntities.md)
data/lib/ionoscloud.rb CHANGED
@@ -58,8 +58,11 @@ require 'ionoscloud/models/ip_consumer'
58
58
  require 'ionoscloud/models/kubernetes_auto_scaling'
59
59
  require 'ionoscloud/models/kubernetes_cluster'
60
60
  require 'ionoscloud/models/kubernetes_cluster_entities'
61
+ require 'ionoscloud/models/kubernetes_cluster_for_post'
62
+ require 'ionoscloud/models/kubernetes_cluster_for_put'
61
63
  require 'ionoscloud/models/kubernetes_cluster_properties'
62
- require 'ionoscloud/models/kubernetes_cluster_properties_for_post_and_put'
64
+ require 'ionoscloud/models/kubernetes_cluster_properties_for_post'
65
+ require 'ionoscloud/models/kubernetes_cluster_properties_for_put'
63
66
  require 'ionoscloud/models/kubernetes_clusters'
64
67
  require 'ionoscloud/models/kubernetes_config'
65
68
  require 'ionoscloud/models/kubernetes_config_properties'
@@ -67,6 +70,7 @@ require 'ionoscloud/models/kubernetes_maintenance_window'
67
70
  require 'ionoscloud/models/kubernetes_node'
68
71
  require 'ionoscloud/models/kubernetes_node_metadata'
69
72
  require 'ionoscloud/models/kubernetes_node_pool'
73
+ require 'ionoscloud/models/kubernetes_node_pool_for_post'
70
74
  require 'ionoscloud/models/kubernetes_node_pool_for_put'
71
75
  require 'ionoscloud/models/kubernetes_node_pool_lan'
72
76
  require 'ionoscloud/models/kubernetes_node_pool_properties'
@@ -135,7 +139,11 @@ require 'ionoscloud/models/snapshots'
135
139
  require 'ionoscloud/models/type'
136
140
  require 'ionoscloud/models/user'
137
141
  require 'ionoscloud/models/user_metadata'
142
+ require 'ionoscloud/models/user_post'
138
143
  require 'ionoscloud/models/user_properties'
144
+ require 'ionoscloud/models/user_properties_post'
145
+ require 'ionoscloud/models/user_properties_put'
146
+ require 'ionoscloud/models/user_put'
139
147
  require 'ionoscloud/models/users'
140
148
  require 'ionoscloud/models/users_entities'
141
149
  require 'ionoscloud/models/volume'
@@ -74,7 +74,7 @@ module Ionoscloud
74
74
  return_type = opts[:debug_return_type] || 'Info'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic Authentication']
77
+ auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"DefaultApi.api_info_get",
@@ -950,7 +950,7 @@ module Ionoscloud
950
950
  # Create a Kubernetes Node Pool
951
951
  # This will create a new Kubernetes Node Pool inside a Kubernetes Cluster.
952
952
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
953
- # @param kubernetes_node_pool [KubernetesNodePool] Details of Kubernetes Node Pool
953
+ # @param kubernetes_node_pool [KubernetesNodePoolForPost] Details of the Kubernetes Node Pool
954
954
  # @param [Hash] opts the optional parameters
955
955
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
956
956
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
@@ -964,7 +964,7 @@ module Ionoscloud
964
964
  # Create a Kubernetes Node Pool
965
965
  # This will create a new Kubernetes Node Pool inside a Kubernetes Cluster.
966
966
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
967
- # @param kubernetes_node_pool [KubernetesNodePool] Details of Kubernetes Node Pool
967
+ # @param kubernetes_node_pool [KubernetesNodePoolForPost] Details of the Kubernetes Node Pool
968
968
  # @param [Hash] opts the optional parameters
969
969
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
970
970
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
@@ -1039,12 +1039,12 @@ module Ionoscloud
1039
1039
  # This will modify the Kubernetes Node Pool.
1040
1040
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
1041
1041
  # @param nodepool_id [String] The unique ID of the Kubernetes Node Pool
1042
- # @param kubernetes_node_pool [KubernetesNodePool] Details of the Kubernetes Node Pool
1042
+ # @param kubernetes_node_pool [KubernetesNodePoolForPut] Details of the Kubernetes Node Pool
1043
1043
  # @param [Hash] opts the optional parameters
1044
1044
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
1045
1045
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
1046
1046
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1047
- # @return [KubernetesNodePoolForPut]
1047
+ # @return [KubernetesNodePool]
1048
1048
  def k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts = {})
1049
1049
  data, _status_code, _headers = k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
1050
1050
  data
@@ -1054,12 +1054,12 @@ module Ionoscloud
1054
1054
  # This will modify the Kubernetes Node Pool.
1055
1055
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
1056
1056
  # @param nodepool_id [String] The unique ID of the Kubernetes Node Pool
1057
- # @param kubernetes_node_pool [KubernetesNodePool] Details of the Kubernetes Node Pool
1057
+ # @param kubernetes_node_pool [KubernetesNodePoolForPut] Details of the Kubernetes Node Pool
1058
1058
  # @param [Hash] opts the optional parameters
1059
1059
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
1060
1060
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
1061
1061
  # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1062
- # @return [Array<(KubernetesNodePoolForPut, Integer, Hash)>] KubernetesNodePoolForPut data, response status code and response headers
1062
+ # @return [Array<(KubernetesNodePool, Integer, Hash)>] KubernetesNodePool data, response status code and response headers
1063
1063
  def k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts = {})
1064
1064
  if @api_client.config.debugging
1065
1065
  @api_client.config.logger.debug 'Calling API: KubernetesApi.k8s_nodepools_put ...'
@@ -1107,7 +1107,7 @@ module Ionoscloud
1107
1107
  post_body = opts[:debug_body] || @api_client.object_to_http_body(kubernetes_node_pool)
1108
1108
 
1109
1109
  # return_type
1110
- return_type = opts[:debug_return_type] || 'KubernetesNodePoolForPut'
1110
+ return_type = opts[:debug_return_type] || 'KubernetesNodePool'
1111
1111
 
1112
1112
  # auth_names
1113
1113
  auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
@@ -1131,7 +1131,7 @@ module Ionoscloud
1131
1131
 
1132
1132
  # Create Kubernetes Cluster
1133
1133
  # This will create a new Kubernetes Cluster.
1134
- # @param kubernetes_cluster [KubernetesCluster] Properties of the Kubernetes Cluster
1134
+ # @param kubernetes_cluster [KubernetesClusterForPost] Details of the Kubernetes Cluster
1135
1135
  # @param [Hash] opts the optional parameters
1136
1136
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
1137
1137
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
@@ -1144,7 +1144,7 @@ module Ionoscloud
1144
1144
 
1145
1145
  # Create Kubernetes Cluster
1146
1146
  # This will create a new Kubernetes Cluster.
1147
- # @param kubernetes_cluster [KubernetesCluster] Properties of the Kubernetes Cluster
1147
+ # @param kubernetes_cluster [KubernetesClusterForPost] Details of the Kubernetes Cluster
1148
1148
  # @param [Hash] opts the optional parameters
1149
1149
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
1150
1150
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on
@@ -1214,7 +1214,7 @@ module Ionoscloud
1214
1214
  # Modify Kubernetes Cluster
1215
1215
  # This will modify the Kubernetes Cluster.
1216
1216
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
1217
- # @param kubernetes_cluster [KubernetesCluster] Properties of the Kubernetes Cluster
1217
+ # @param kubernetes_cluster [KubernetesClusterForPut] Details of the Kubernetes Cluster
1218
1218
  # @param [Hash] opts the optional parameters
1219
1219
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
1220
1220
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on (default to 0)
@@ -1228,7 +1228,7 @@ module Ionoscloud
1228
1228
  # Modify Kubernetes Cluster
1229
1229
  # This will modify the Kubernetes Cluster.
1230
1230
  # @param k8s_cluster_id [String] The unique ID of the Kubernetes Cluster
1231
- # @param kubernetes_cluster [KubernetesCluster] Properties of the Kubernetes Cluster
1231
+ # @param kubernetes_cluster [KubernetesClusterForPut] Details of the Kubernetes Cluster
1232
1232
  # @param [Hash] opts the optional parameters
1233
1233
  # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
1234
1234
  # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on