oci 2.3.3 → 2.3.4

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
  SHA1:
3
- metadata.gz: 0a647e50ba728b350d47a6c070345cab43ececd7
4
- data.tar.gz: 52c6e26ab685616101aad910a6ba8273e55fb851
3
+ metadata.gz: 70b1cb39c59b5a89728ff59f087bb3d093b2c9d9
4
+ data.tar.gz: 7b7ca86aad0f21ca7cb9fabc1c97fdb734df2eb0
5
5
  SHA512:
6
- metadata.gz: 9a580cf9ce0e7fff8a812eec68673d978f36b54dd49d2b8912e1fc142811d0bd2d7e83154e7608d2ee930aed9db088116d398f2f442b0f65436a1084ea2fbf28
7
- data.tar.gz: 9080bd2e30a9487dc761e54d5d1bade809cff666f432c20fc39bd0dbf3ca4746e7b78dfc7444ca8f6139b5c1818d6971a9a283a23581ffc1b5712dfec35f5bf3
6
+ metadata.gz: 17846c5f6e396ce24f5b8dc0c1b3da71011691f9f6965d351d0424cd758cc6db89771fd6e456a9534b7008b11150fe5874a6f58fdfd3d39af5d0a527360a8dec
7
+ data.tar.gz: ad3f7f96bd6766a9ce628a4fd4fd984f953dc8f5f2b3d68a0f73edbb567c0cb870f74a4348fcf4b5e962cdecf9d877c40519278ffb1dc19f00150545fb24caf8
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.3.3**
2
+ **Version 2.3.4**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -1623,7 +1623,7 @@ module OCI
1623
1623
 
1624
1624
  # Header Params
1625
1625
  header_params = {}
1626
- header_params['accept'] = 'application/json'
1626
+ header_params['accept'] = 'application/json, application/x-json-stream'
1627
1627
  header_params['content-type'] = 'application/json'
1628
1628
  # rubocop:enable Style/NegatedIf
1629
1629
 
@@ -1998,7 +1998,7 @@ module OCI
1998
1998
 
1999
1999
  # Header Params
2000
2000
  header_params = {}
2001
- header_params['accept'] = 'application/json'
2001
+ header_params['accept'] = 'application/json, application/x-json-stream'
2002
2002
  header_params['content-type'] = 'application/json'
2003
2003
  # rubocop:enable Style/NegatedIf
2004
2004
 
@@ -2137,7 +2137,7 @@ module OCI
2137
2137
 
2138
2138
  # Header Params
2139
2139
  header_params = {}
2140
- header_params['accept'] = 'application/json'
2140
+ header_params['accept'] = 'application/json, application/x-json-stream'
2141
2141
  header_params['content-type'] = 'application/json'
2142
2142
  # rubocop:enable Style/NegatedIf
2143
2143
 
@@ -2210,7 +2210,7 @@ module OCI
2210
2210
 
2211
2211
  # Header Params
2212
2212
  header_params = {}
2213
- header_params['accept'] = 'application/json'
2213
+ header_params['accept'] = 'application/json, application/x-json-stream'
2214
2214
  header_params['content-type'] = 'application/json'
2215
2215
  # rubocop:enable Style/NegatedIf
2216
2216
 
@@ -68,6 +68,17 @@ module OCI
68
68
  # @return [Hash<String, Object>]
69
69
  attr_accessor :extended_metadata
70
70
 
71
+ # The name of the Fault Domain the instance is running in.
72
+ #
73
+ # A Fault Domain is a logical grouping of hardware and infrastructure within an Availability Domain that can become
74
+ # unavailable in its entirety either due to hardware failure such as Top-of-rack (TOR) switch failure or due to
75
+ # planned software maintenance such as security updates that reboot your instances.
76
+ #
77
+ # Example: `FAULT-DOMAIN-1`
78
+ #
79
+ # @return [String]
80
+ attr_accessor :fault_domain
81
+
71
82
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
72
83
  # predefined name, type, or namespace. For more information, see
73
84
  # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
@@ -165,6 +176,7 @@ module OCI
165
176
  'defined_tags': :'definedTags',
166
177
  'display_name': :'displayName',
167
178
  'extended_metadata': :'extendedMetadata',
179
+ 'fault_domain': :'faultDomain',
168
180
  'freeform_tags': :'freeformTags',
169
181
  'id': :'id',
170
182
  'image_id': :'imageId',
@@ -190,6 +202,7 @@ module OCI
190
202
  'defined_tags': :'Hash<String, Hash<String, Object>>',
191
203
  'display_name': :'String',
192
204
  'extended_metadata': :'Hash<String, Object>',
205
+ 'fault_domain': :'String',
193
206
  'freeform_tags': :'Hash<String, String>',
194
207
  'id': :'String',
195
208
  'image_id': :'String',
@@ -217,6 +230,7 @@ module OCI
217
230
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
218
231
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
219
232
  # @option attributes [Hash<String, Object>] :extended_metadata The value to assign to the {#extended_metadata} property
233
+ # @option attributes [String] :fault_domain The value to assign to the {#fault_domain} property
220
234
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
221
235
  # @option attributes [String] :id The value to assign to the {#id} property
222
236
  # @option attributes [String] :image_id The value to assign to the {#image_id} property
@@ -265,6 +279,12 @@ module OCI
265
279
 
266
280
  self.extended_metadata = attributes[:'extended_metadata'] if attributes[:'extended_metadata']
267
281
 
282
+ self.fault_domain = attributes[:'faultDomain'] if attributes[:'faultDomain']
283
+
284
+ raise 'You cannot provide both :faultDomain and :fault_domain' if attributes.key?(:'faultDomain') && attributes.key?(:'fault_domain')
285
+
286
+ self.fault_domain = attributes[:'fault_domain'] if attributes[:'fault_domain']
287
+
268
288
  self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
269
289
 
270
290
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
@@ -367,6 +387,7 @@ module OCI
367
387
  defined_tags == other.defined_tags &&
368
388
  display_name == other.display_name &&
369
389
  extended_metadata == other.extended_metadata &&
390
+ fault_domain == other.fault_domain &&
370
391
  freeform_tags == other.freeform_tags &&
371
392
  id == other.id &&
372
393
  image_id == other.image_id &&
@@ -394,7 +415,7 @@ module OCI
394
415
  # Calculates hash code according to all attributes.
395
416
  # @return [Fixnum] Hash code
396
417
  def hash
397
- [availability_domain, compartment_id, defined_tags, display_name, extended_metadata, freeform_tags, id, image_id, ipxe_script, launch_mode, launch_options, lifecycle_state, metadata, region, shape, source_details, time_created].hash
418
+ [availability_domain, compartment_id, defined_tags, display_name, extended_metadata, fault_domain, freeform_tags, id, image_id, ipxe_script, launch_mode, launch_options, lifecycle_state, metadata, region, shape, source_details, time_created].hash
398
419
  end
399
420
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
400
421
 
@@ -48,6 +48,16 @@ module OCI
48
48
  # @return [Hash<String, Object>]
49
49
  attr_accessor :extended_metadata
50
50
 
51
+ # The name of the Fault Domain in which to launch an instance.
52
+ #
53
+ # To get a list of Fault Domains, use the {#list_fault_domains list_fault_domains}
54
+ # operation in the Identity and Access Management Service API.
55
+ #
56
+ # Example: `FAULT-DOMAIN-1`
57
+ #
58
+ # @return [String]
59
+ attr_accessor :fault_domain
60
+
51
61
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
52
62
  # predefined name, type, or namespace. For more information, see
53
63
  # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
@@ -191,6 +201,7 @@ module OCI
191
201
  'defined_tags': :'definedTags',
192
202
  'display_name': :'displayName',
193
203
  'extended_metadata': :'extendedMetadata',
204
+ 'fault_domain': :'faultDomain',
194
205
  'freeform_tags': :'freeformTags',
195
206
  'hostname_label': :'hostnameLabel',
196
207
  'image_id': :'imageId',
@@ -213,6 +224,7 @@ module OCI
213
224
  'defined_tags': :'Hash<String, Hash<String, Object>>',
214
225
  'display_name': :'String',
215
226
  'extended_metadata': :'Hash<String, Object>',
227
+ 'fault_domain': :'String',
216
228
  'freeform_tags': :'Hash<String, String>',
217
229
  'hostname_label': :'String',
218
230
  'image_id': :'String',
@@ -237,6 +249,7 @@ module OCI
237
249
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
238
250
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
239
251
  # @option attributes [Hash<String, Object>] :extended_metadata The value to assign to the {#extended_metadata} property
252
+ # @option attributes [String] :fault_domain The value to assign to the {#fault_domain} property
240
253
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
241
254
  # @option attributes [String] :hostname_label The value to assign to the {#hostname_label} property
242
255
  # @option attributes [String] :image_id The value to assign to the {#image_id} property
@@ -287,6 +300,12 @@ module OCI
287
300
 
288
301
  self.extended_metadata = attributes[:'extended_metadata'] if attributes[:'extended_metadata']
289
302
 
303
+ self.fault_domain = attributes[:'faultDomain'] if attributes[:'faultDomain']
304
+
305
+ raise 'You cannot provide both :faultDomain and :fault_domain' if attributes.key?(:'faultDomain') && attributes.key?(:'fault_domain')
306
+
307
+ self.fault_domain = attributes[:'fault_domain'] if attributes[:'fault_domain']
308
+
290
309
  self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
291
310
 
292
311
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
@@ -344,6 +363,7 @@ module OCI
344
363
  defined_tags == other.defined_tags &&
345
364
  display_name == other.display_name &&
346
365
  extended_metadata == other.extended_metadata &&
366
+ fault_domain == other.fault_domain &&
347
367
  freeform_tags == other.freeform_tags &&
348
368
  hostname_label == other.hostname_label &&
349
369
  image_id == other.image_id &&
@@ -367,7 +387,7 @@ module OCI
367
387
  # Calculates hash code according to all attributes.
368
388
  # @return [Fixnum] Hash code
369
389
  def hash
370
- [availability_domain, compartment_id, create_vnic_details, defined_tags, display_name, extended_metadata, freeform_tags, hostname_label, image_id, ipxe_script, metadata, shape, source_details, subnet_id].hash
390
+ [availability_domain, compartment_id, create_vnic_details, defined_tags, display_name, extended_metadata, fault_domain, freeform_tags, hostname_label, image_id, ipxe_script, metadata, shape, source_details, subnet_id].hash
371
391
  end
372
392
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
373
393
 
@@ -3054,7 +3054,7 @@ module OCI
3054
3054
 
3055
3055
  # Header Params
3056
3056
  header_params = {}
3057
- header_params['accept'] = 'application/json'
3057
+ header_params['accept'] = 'application/json, text/html'
3058
3058
  header_params['content-type'] = 'application/json'
3059
3059
  # rubocop:enable Style/NegatedIf
3060
3060
 
data/lib/oci/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  module OCI
4
- VERSION = '2.3.3'.freeze
4
+ VERSION = '2.3.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oci
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oracle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-25 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json