ionoscloud 6.1.0 → 6.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75a1d42d63285d77b4c5793fefcbf810b9c023d86363224d7330a411a704b889
4
- data.tar.gz: 8b581c21b9721212745411afcae3a9a0e23384faee7b7b239a5522bde29b6c92
3
+ metadata.gz: 807dab40f345e1153080724259a16129269ec8edd65cfef19b796692b96c3779
4
+ data.tar.gz: f5c896dd8ff635398fbddb4a5f1babc6d5c0eec8024745e0e0b9c6c757fcdf24
5
5
  SHA512:
6
- metadata.gz: 4ddc47ab458d6b2e7a720367539e4bb1384933362483e2e8f5817726185ee05592f297402b26cbc92a2bae4153cb4c32cc9a6e6bf15849a535d79093852bae79
7
- data.tar.gz: 4fc9f9a197310f936d0812f37b115bfc59e6df7c832bd064b86d91462ef68023afa73a5c4471d1fba0128b98da7940b9399266f08c1561854cb9c161873f842c
6
+ metadata.gz: f46a2761cdd852a574ef0c9604475839934011fe5c26c0f5504277fb06e3bb01b81f7ab0b4a1b1900ac3a7cb2083670b109b2e52803321f47558e0d36f9176b9
7
+ data.tar.gz: f1b1dc6d437558cd4248139db352ee336b881d4c3fbbc6748ca07851befa5f033ea67828802b3a8a52dad191b007eb83e59f86173d32f00d78b49036b2add98a
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 6.1.0 \(June 15th, 2022\)
4
+
5
+ ### Enhancements:
6
+
7
+ * added Application Load Balancer and Target Group, 18 new models and 2 new apis
8
+
3
9
  ## 6.0.2 \(May 12th, 2022\)
4
10
 
5
11
  ### Enhancements:
@@ -408,7 +408,8 @@ server_id = 'server_id_example' # String | The unique ID of the server.
408
408
  opts = {
409
409
  pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
410
410
  depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
411
- x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
411
+ x_contract_number: 56, # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
412
+ delete_volumes: true # Boolean | If true, all attached storage volumes will also be deleted.
412
413
  }
413
414
 
414
415
  begin
@@ -446,6 +447,7 @@ end
446
447
  | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
447
448
  | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
448
449
  | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
450
+ | **delete_volumes** | **Boolean** | If true, all attached storage volumes will also be deleted. | [optional] |
449
451
 
450
452
  ### Return type
451
453
 
@@ -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
 
@@ -44,6 +44,7 @@ instance = Ionoscloud::KubernetesNodePoolProperties.new(
44
44
  labels: null,
45
45
  annotations: null,
46
46
  public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4],
47
- available_upgrade_versions: [1.16.4, 1.17.7],
47
+ available_upgrade_versions: [1.16.4, 1.17.7]
48
+ )
48
49
  ```
49
50
 
@@ -42,6 +42,7 @@ instance = Ionoscloud::KubernetesNodePoolPropertiesForPost.new(
42
42
  lans: null,
43
43
  labels: null,
44
44
  annotations: null,
45
- public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4],
45
+ public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4]
46
+ )
46
47
  ```
47
48
 
@@ -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 'public image' or 'imageAlias' 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 'public image' or 'imageAlias' 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 `NONE`, the volume will not be used as boot volume. Set to `PRIMARY`, the volume will be used as boot volume and all other volumes must be set to `NONE`. Set to `AUTO` or `null` requires all volumes to be set to `AUTO` or `null`; 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 'AUTO'] |
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
 
@@ -409,6 +409,7 @@ module Ionoscloud
409
409
  # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
410
410
  # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 (default to 0)
411
411
  # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
412
+ # @option opts [Boolean] :delete_volumes If true, all attached storage volumes will also be deleted.
412
413
  # @return [nil]
413
414
  def datacenters_servers_delete(datacenter_id, server_id, opts = {})
414
415
  datacenters_servers_delete_with_http_info(datacenter_id, server_id, opts)
@@ -423,6 +424,7 @@ module Ionoscloud
423
424
  # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
424
425
  # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
425
426
  # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
427
+ # @option opts [Boolean] :delete_volumes If true, all attached storage volumes will also be deleted.
426
428
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
427
429
  def datacenters_servers_delete_with_http_info(datacenter_id, server_id, opts = {})
428
430
  if @api_client.config.debugging
@@ -451,6 +453,7 @@ module Ionoscloud
451
453
  query_params = opts[:query_params] || {}
452
454
  query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
453
455
  query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
456
+ query_params[:'deleteVolumes'] = opts[:'delete_volumes'] if !opts[:'delete_volumes'].nil?
454
457
 
455
458
  # header parameters
456
459
  header_params = opts[:header_params] || {}
@@ -38,7 +38,7 @@ module Ionoscloud
38
38
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
39
39
  def initialize(config = Configuration.default)
40
40
  @config = config
41
- @user_agent = "ionos-cloud-sdk-ruby/v6.1.0"
41
+ @user_agent = "ionos-cloud-sdk-ruby/v6.1.1"
42
42
  @default_headers = {
43
43
  'Content-Type' => 'application/json',
44
44
  'User-Agent' => @user_agent
@@ -67,6 +67,10 @@ module Ionoscloud
67
67
  # Privilege for a group to access and manage certificates.
68
68
  attr_accessor :access_and_manage_certificates
69
69
 
70
+
71
+ # Privilege for a group to manage DBaaS related functionality.
72
+ attr_accessor :manage_dbaas
73
+
70
74
  # Attribute mapping from ruby-style variable name to JSON key.
71
75
  def self.attribute_map
72
76
  {
@@ -95,7 +99,9 @@ module Ionoscloud
95
99
 
96
100
  :'access_and_manage_monitoring' => :'accessAndManageMonitoring',
97
101
 
98
- :'access_and_manage_certificates' => :'accessAndManageCertificates'
102
+ :'access_and_manage_certificates' => :'accessAndManageCertificates',
103
+
104
+ :'manage_dbaas' => :'manageDbaas'
99
105
  }
100
106
  end
101
107
 
@@ -132,7 +138,9 @@ module Ionoscloud
132
138
 
133
139
  :'access_and_manage_monitoring' => :'Boolean',
134
140
 
135
- :'access_and_manage_certificates' => :'Boolean'
141
+ :'access_and_manage_certificates' => :'Boolean',
142
+
143
+ :'manage_dbaas' => :'Boolean'
136
144
  }
137
145
  end
138
146
 
@@ -152,6 +160,7 @@ module Ionoscloud
152
160
 
153
161
 
154
162
 
163
+
155
164
  ])
156
165
  end
157
166
 
@@ -234,6 +243,11 @@ module Ionoscloud
234
243
  if attributes.key?(:'access_and_manage_certificates')
235
244
  self.access_and_manage_certificates = attributes[:'access_and_manage_certificates']
236
245
  end
246
+
247
+
248
+ if attributes.key?(:'manage_dbaas')
249
+ self.manage_dbaas = attributes[:'manage_dbaas']
250
+ end
237
251
  end
238
252
 
239
253
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -253,6 +267,7 @@ module Ionoscloud
253
267
 
254
268
 
255
269
 
270
+
256
271
  invalid_properties
257
272
  end
258
273
 
@@ -272,6 +287,7 @@ module Ionoscloud
272
287
 
273
288
 
274
289
 
290
+
275
291
  true
276
292
  end
277
293
 
@@ -288,6 +304,7 @@ module Ionoscloud
288
304
 
289
305
 
290
306
 
307
+
291
308
  # Checks equality by comparing each attribute.
292
309
  # @param [Object] Object to be compared
293
310
  def ==(o)
@@ -305,7 +322,8 @@ module Ionoscloud
305
322
  create_k8s_cluster == o.create_k8s_cluster &&
306
323
  create_flow_log == o.create_flow_log &&
307
324
  access_and_manage_monitoring == o.access_and_manage_monitoring &&
308
- access_and_manage_certificates == o.access_and_manage_certificates
325
+ access_and_manage_certificates == o.access_and_manage_certificates &&
326
+ manage_dbaas == o.manage_dbaas
309
327
  end
310
328
 
311
329
  # @see the `==` method
@@ -317,7 +335,7 @@ module Ionoscloud
317
335
  # Calculates hash code according to all attributes.
318
336
  # @return [Integer] Hash code
319
337
  def hash
320
- [name, create_data_center, create_snapshot, reserve_ip, access_activity_log, create_pcc, s3_privilege, create_backup_unit, create_internet_access, create_k8s_cluster, create_flow_log, access_and_manage_monitoring, access_and_manage_certificates].hash
338
+ [name, create_data_center, create_snapshot, reserve_ip, access_activity_log, create_pcc, s3_privilege, create_backup_unit, create_internet_access, create_k8s_cluster, create_flow_log, access_and_manage_monitoring, access_and_manage_certificates, manage_dbaas].hash
321
339
  end
322
340
 
323
341
  # Builds the object from hash
@@ -139,7 +139,7 @@ module Ionoscloud
139
139
 
140
140
  :'public_ips' => :'publicIps',
141
141
 
142
- :'available_upgrade_versions' => :'availableUpgradeVersions',
142
+ :'available_upgrade_versions' => :'availableUpgradeVersions'
143
143
  }
144
144
  end
145
145
 
@@ -184,7 +184,7 @@ module Ionoscloud
184
184
 
185
185
  :'public_ips' => :'Array<String>',
186
186
 
187
- :'available_upgrade_versions' => :'Array<String>',
187
+ :'available_upgrade_versions' => :'Array<String>'
188
188
  }
189
189
  end
190
190
 
@@ -478,7 +478,7 @@ module Ionoscloud
478
478
  # Calculates hash code according to all attributes.
479
479
  # @return [Integer] Hash code
480
480
  def hash
481
- [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, available_upgrade_versions, ].hash
481
+ [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, available_upgrade_versions].hash
482
482
  end
483
483
 
484
484
  # Builds the object from hash
@@ -133,7 +133,7 @@ module Ionoscloud
133
133
 
134
134
  :'annotations' => :'annotations',
135
135
 
136
- :'public_ips' => :'publicIps',
136
+ :'public_ips' => :'publicIps'
137
137
  }
138
138
  end
139
139
 
@@ -176,7 +176,7 @@ module Ionoscloud
176
176
 
177
177
  :'annotations' => :'Hash<String, String>',
178
178
 
179
- :'public_ips' => :'Array<String>',
179
+ :'public_ips' => :'Array<String>'
180
180
  }
181
181
  end
182
182
 
@@ -460,7 +460,7 @@ module Ionoscloud
460
460
  # Calculates hash code according to all attributes.
461
461
  # @return [Integer] Hash code
462
462
  def hash
463
- [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips, ].hash
463
+ [name, datacenter_id, node_count, cpu_family, cores_count, ram_size, availability_zone, storage_type, storage_size, k8s_version, maintenance_window, auto_scaling, lans, labels, annotations, public_ips].hash
464
464
  end
465
465
 
466
466
  # Builds the object from hash
@@ -98,6 +98,10 @@ module Ionoscloud
98
98
  # The UUID of the attached server.
99
99
  attr_accessor :boot_server
100
100
 
101
+
102
+ # Determines whether the volume will be used as a boot volume. Set to `NONE`, the volume will not be used as boot volume. Set to `PRIMARY`, the volume will be used as boot volume and all other volumes must be set to `NONE`. Set to `AUTO` or `null` requires all volumes to be set to `AUTO` or `null`; 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.
103
+ attr_accessor :boot_order
104
+
101
105
  class EnumAttributeValidator
102
106
  attr_reader :datatype
103
107
  attr_reader :allowable_values
@@ -164,7 +168,9 @@ module Ionoscloud
164
168
 
165
169
  :'user_data' => :'userData',
166
170
 
167
- :'boot_server' => :'bootServer'
171
+ :'boot_server' => :'bootServer',
172
+
173
+ :'boot_order' => :'bootOrder'
168
174
  }
169
175
  end
170
176
 
@@ -217,7 +223,9 @@ module Ionoscloud
217
223
 
218
224
  :'user_data' => :'String',
219
225
 
220
- :'boot_server' => :'String'
226
+ :'boot_server' => :'String',
227
+
228
+ :'boot_order' => :'String'
221
229
  }
222
230
  end
223
231
 
@@ -243,6 +251,7 @@ module Ionoscloud
243
251
 
244
252
 
245
253
 
254
+
246
255
 
247
256
 
248
257
  ])
@@ -367,6 +376,13 @@ module Ionoscloud
367
376
  if attributes.key?(:'boot_server')
368
377
  self.boot_server = attributes[:'boot_server']
369
378
  end
379
+
380
+
381
+ if attributes.key?(:'boot_order')
382
+ self.boot_order = attributes[:'boot_order']
383
+ else
384
+ self.boot_order = 'AUTO'
385
+ end
370
386
  end
371
387
 
372
388
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -398,6 +414,7 @@ module Ionoscloud
398
414
 
399
415
 
400
416
 
417
+
401
418
  invalid_properties
402
419
  end
403
420
 
@@ -434,6 +451,9 @@ module Ionoscloud
434
451
 
435
452
 
436
453
 
454
+
455
+ boot_order_validator = EnumAttributeValidator.new('String', ["AUTO", "NONE", "PRIMARY"])
456
+ return false unless boot_order_validator.valid?(@boot_order)
437
457
  true
438
458
  end
439
459
 
@@ -498,6 +518,17 @@ module Ionoscloud
498
518
 
499
519
 
500
520
 
521
+
522
+ # Custom attribute writer method checking allowed values (enum).
523
+ # @param [Object] boot_order Object to be assigned
524
+ def boot_order=(boot_order)
525
+ validator = EnumAttributeValidator.new('String', ["AUTO", "NONE", "PRIMARY"])
526
+ unless validator.valid?(boot_order)
527
+ fail ArgumentError, "invalid value for \"boot_order\", must be one of #{validator.allowable_values}."
528
+ end
529
+ @boot_order = boot_order
530
+ end
531
+
501
532
  # Checks equality by comparing each attribute.
502
533
  # @param [Object] Object to be compared
503
534
  def ==(o)
@@ -523,7 +554,8 @@ module Ionoscloud
523
554
  pci_slot == o.pci_slot &&
524
555
  backupunit_id == o.backupunit_id &&
525
556
  user_data == o.user_data &&
526
- boot_server == o.boot_server
557
+ boot_server == o.boot_server &&
558
+ boot_order == o.boot_order
527
559
  end
528
560
 
529
561
  # @see the `==` method
@@ -535,7 +567,7 @@ module Ionoscloud
535
567
  # Calculates hash code according to all attributes.
536
568
  # @return [Integer] Hash code
537
569
  def hash
538
- [name, type, size, availability_zone, image, image_password, image_alias, ssh_keys, bus, licence_type, cpu_hot_plug, ram_hot_plug, nic_hot_plug, nic_hot_unplug, disc_virtio_hot_plug, disc_virtio_hot_unplug, device_number, pci_slot, backupunit_id, user_data, boot_server].hash
570
+ [name, type, size, availability_zone, image, image_password, image_alias, ssh_keys, bus, licence_type, cpu_hot_plug, ram_hot_plug, nic_hot_plug, nic_hot_unplug, disc_virtio_hot_plug, disc_virtio_hot_unplug, device_number, pci_slot, backupunit_id, user_data, boot_server, boot_order].hash
539
571
  end
540
572
 
541
573
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Ionoscloud
14
- VERSION = '6.1.0'
14
+ VERSION = '6.1.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ionoscloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-15 00:00:00.000000000 Z
11
+ date: 2022-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -512,7 +512,7 @@ homepage: https://openapi-generator.tech
512
512
  licenses:
513
513
  - Unlicense
514
514
  metadata: {}
515
- post_install_message:
515
+ post_install_message:
516
516
  rdoc_options: []
517
517
  require_paths:
518
518
  - lib
@@ -528,7 +528,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
528
528
  version: '0'
529
529
  requirements: []
530
530
  rubygems_version: 3.1.4
531
- signing_key:
531
+ signing_key:
532
532
  specification_version: 4
533
533
  summary: CLOUD API Ruby Gem
534
534
  test_files: