oci 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oci/audit/audit_client.rb +9 -3
- data/lib/oci/core/blockstorage_client.rb +90 -30
- data/lib/oci/core/compute_client.rb +115 -41
- data/lib/oci/core/compute_client_composite_operations.rb +1 -1
- data/lib/oci/core/virtual_network_client.rb +315 -105
- data/lib/oci/database/database_client.rb +112 -38
- data/lib/oci/dns/dns_client.rb +48 -16
- data/lib/oci/email/email_client.rb +24 -8
- data/lib/oci/file_storage/file_storage_client.rb +63 -21
- data/lib/oci/identity/identity.rb +3 -0
- data/lib/oci/identity/identity_client.rb +460 -69
- data/lib/oci/identity/models/auth_token.rb +282 -0
- data/lib/oci/identity/models/create_auth_token_details.rb +147 -0
- data/lib/oci/identity/models/swift_password.rb +3 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +146 -0
- data/lib/oci/identity/models/user.rb +2 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +126 -42
- data/lib/oci/object_storage/object_storage_client.rb +78 -26
- data/lib/oci/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cf754dba16baaa74ff9288d2691d301f37e2a52
|
4
|
+
data.tar.gz: 4d6600c7951cb236cef6d10a59689e6c76af056b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c83e14673f31a2814453bc4bbb5532e4e4a6a9710b452de576500fab9df0877940f7b870605c5f1fa90b4b3c75511af66b8c56382c1565c7d659f27f9f900f86
|
7
|
+
data.tar.gz: 5677ba8f649f1fe60016f596ad2b65310e34688c368eaa921dc228a549c903e156dcbc766eedcc36584e52b40a31d77293ea53ef752a79466c15c32b9db34c97
|
data/README.md
CHANGED
@@ -104,7 +104,7 @@ module OCI
|
|
104
104
|
# @param [String] compartment_id ID of the root compartment (tenancy)
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
107
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
107
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
108
108
|
# @return [Response] A Response object with data of type {OCI::Audit::Models::Configuration Configuration}
|
109
109
|
def get_configuration(compartment_id, opts = {})
|
110
110
|
logger.debug 'Calling operation AuditClient#get_configuration.' if logger
|
@@ -114,6 +114,7 @@ module OCI
|
|
114
114
|
path = '/configuration'
|
115
115
|
operation_signing_strategy = :standard
|
116
116
|
|
117
|
+
# rubocop:disable Style/NegatedIf
|
117
118
|
# Query Params
|
118
119
|
query_params = {}
|
119
120
|
query_params[:compartmentId] = compartment_id
|
@@ -122,6 +123,7 @@ module OCI
|
|
122
123
|
header_params = {}
|
123
124
|
header_params['accept'] = 'application/json'
|
124
125
|
header_params['content-type'] = 'application/json'
|
126
|
+
# rubocop:enable Style/NegatedIf
|
125
127
|
|
126
128
|
post_body = nil
|
127
129
|
|
@@ -162,7 +164,7 @@ module OCI
|
|
162
164
|
#
|
163
165
|
# @param [Hash] opts the optional parameters
|
164
166
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
165
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
167
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
166
168
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous list query.
|
167
169
|
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request.
|
168
170
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -178,6 +180,7 @@ module OCI
|
|
178
180
|
path = '/auditEvents'
|
179
181
|
operation_signing_strategy = :standard
|
180
182
|
|
183
|
+
# rubocop:disable Style/NegatedIf
|
181
184
|
# Query Params
|
182
185
|
query_params = {}
|
183
186
|
query_params[:compartmentId] = compartment_id
|
@@ -190,6 +193,7 @@ module OCI
|
|
190
193
|
header_params['accept'] = 'application/json'
|
191
194
|
header_params['content-type'] = 'application/json'
|
192
195
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
196
|
+
# rubocop:enable Style/NegatedIf
|
193
197
|
|
194
198
|
post_body = nil
|
195
199
|
|
@@ -223,7 +227,7 @@ module OCI
|
|
223
227
|
# @param [OCI::Audit::Models::UpdateConfigurationDetails] update_configuration_details The configuration properties
|
224
228
|
# @param [Hash] opts the optional parameters
|
225
229
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
226
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
230
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
227
231
|
# @return [Response] A Response object with data of type nil
|
228
232
|
def update_configuration(compartment_id, update_configuration_details, opts = {})
|
229
233
|
logger.debug 'Calling operation AuditClient#update_configuration.' if logger
|
@@ -234,6 +238,7 @@ module OCI
|
|
234
238
|
path = '/configuration'
|
235
239
|
operation_signing_strategy = :standard
|
236
240
|
|
241
|
+
# rubocop:disable Style/NegatedIf
|
237
242
|
# Query Params
|
238
243
|
query_params = {}
|
239
244
|
query_params[:compartmentId] = compartment_id
|
@@ -242,6 +247,7 @@ module OCI
|
|
242
247
|
header_params = {}
|
243
248
|
header_params['accept'] = 'application/json'
|
244
249
|
header_params['content-type'] = 'application/json'
|
250
|
+
# rubocop:enable Style/NegatedIf
|
245
251
|
|
246
252
|
post_body = @api_client.object_to_http_body(update_configuration_details)
|
247
253
|
|
@@ -117,7 +117,7 @@ module OCI
|
|
117
117
|
# @param [OCI::Core::Models::CreateVolumeDetails] create_volume_details Request to create a new volume.
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
120
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
120
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
121
121
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
122
122
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
123
123
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -133,6 +133,7 @@ module OCI
|
|
133
133
|
path = '/volumes'
|
134
134
|
operation_signing_strategy = :standard
|
135
135
|
|
136
|
+
# rubocop:disable Style/NegatedIf
|
136
137
|
# Query Params
|
137
138
|
query_params = {}
|
138
139
|
|
@@ -141,6 +142,7 @@ module OCI
|
|
141
142
|
header_params['accept'] = 'application/json'
|
142
143
|
header_params['content-type'] = 'application/json'
|
143
144
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
145
|
+
# rubocop:enable Style/NegatedIf
|
144
146
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
145
147
|
|
146
148
|
post_body = @api_client.object_to_http_body(create_volume_details)
|
@@ -179,7 +181,7 @@ module OCI
|
|
179
181
|
# @param [OCI::Core::Models::CreateVolumeBackupDetails] create_volume_backup_details Request to create a new backup of given volume.
|
180
182
|
# @param [Hash] opts the optional parameters
|
181
183
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
182
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
184
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
183
185
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
184
186
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
185
187
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -195,6 +197,7 @@ module OCI
|
|
195
197
|
path = '/volumeBackups'
|
196
198
|
operation_signing_strategy = :standard
|
197
199
|
|
200
|
+
# rubocop:disable Style/NegatedIf
|
198
201
|
# Query Params
|
199
202
|
query_params = {}
|
200
203
|
|
@@ -203,6 +206,7 @@ module OCI
|
|
203
206
|
header_params['accept'] = 'application/json'
|
204
207
|
header_params['content-type'] = 'application/json'
|
205
208
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
209
|
+
# rubocop:enable Style/NegatedIf
|
206
210
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
207
211
|
|
208
212
|
post_body = @api_client.object_to_http_body(create_volume_backup_details)
|
@@ -239,7 +243,7 @@ module OCI
|
|
239
243
|
# @param [OCI::Core::Models::CreateVolumeBackupPolicyAssignmentDetails] create_volume_backup_policy_assignment_details Request to assign a specified policy to a particular asset.
|
240
244
|
# @param [Hash] opts the optional parameters
|
241
245
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
242
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
246
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
243
247
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeBackupPolicyAssignment VolumeBackupPolicyAssignment}
|
244
248
|
def create_volume_backup_policy_assignment(create_volume_backup_policy_assignment_details, opts = {})
|
245
249
|
logger.debug 'Calling operation BlockstorageClient#create_volume_backup_policy_assignment.' if logger
|
@@ -249,6 +253,7 @@ module OCI
|
|
249
253
|
path = '/volumeBackupPolicyAssignments'
|
250
254
|
operation_signing_strategy = :standard
|
251
255
|
|
256
|
+
# rubocop:disable Style/NegatedIf
|
252
257
|
# Query Params
|
253
258
|
query_params = {}
|
254
259
|
|
@@ -256,6 +261,7 @@ module OCI
|
|
256
261
|
header_params = {}
|
257
262
|
header_params['accept'] = 'application/json'
|
258
263
|
header_params['content-type'] = 'application/json'
|
264
|
+
# rubocop:enable Style/NegatedIf
|
259
265
|
|
260
266
|
post_body = @api_client.object_to_http_body(create_volume_backup_policy_assignment_details)
|
261
267
|
|
@@ -293,7 +299,7 @@ module OCI
|
|
293
299
|
# @param [OCI::Core::Models::CreateVolumeGroupDetails] create_volume_group_details Request to create a new volume group.
|
294
300
|
# @param [Hash] opts the optional parameters
|
295
301
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
296
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
302
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
297
303
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
298
304
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
299
305
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -309,6 +315,7 @@ module OCI
|
|
309
315
|
path = '/volumeGroups'
|
310
316
|
operation_signing_strategy = :standard
|
311
317
|
|
318
|
+
# rubocop:disable Style/NegatedIf
|
312
319
|
# Query Params
|
313
320
|
query_params = {}
|
314
321
|
|
@@ -317,6 +324,7 @@ module OCI
|
|
317
324
|
header_params['accept'] = 'application/json'
|
318
325
|
header_params['content-type'] = 'application/json'
|
319
326
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
327
|
+
# rubocop:enable Style/NegatedIf
|
320
328
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
321
329
|
|
322
330
|
post_body = @api_client.object_to_http_body(create_volume_group_details)
|
@@ -350,7 +358,7 @@ module OCI
|
|
350
358
|
# @param [OCI::Core::Models::CreateVolumeGroupBackupDetails] create_volume_group_backup_details Request to create a new backup group of given volume group.
|
351
359
|
# @param [Hash] opts the optional parameters
|
352
360
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
353
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
361
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
354
362
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
355
363
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
356
364
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -366,6 +374,7 @@ module OCI
|
|
366
374
|
path = '/volumeGroupBackups'
|
367
375
|
operation_signing_strategy = :standard
|
368
376
|
|
377
|
+
# rubocop:disable Style/NegatedIf
|
369
378
|
# Query Params
|
370
379
|
query_params = {}
|
371
380
|
|
@@ -374,6 +383,7 @@ module OCI
|
|
374
383
|
header_params['accept'] = 'application/json'
|
375
384
|
header_params['content-type'] = 'application/json'
|
376
385
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
386
|
+
# rubocop:enable Style/NegatedIf
|
377
387
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
378
388
|
|
379
389
|
post_body = @api_client.object_to_http_body(create_volume_group_backup_details)
|
@@ -410,7 +420,7 @@ module OCI
|
|
410
420
|
# @param [String] boot_volume_id The OCID of the boot volume.
|
411
421
|
# @param [Hash] opts the optional parameters
|
412
422
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
413
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
423
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
414
424
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
415
425
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
416
426
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -425,6 +435,7 @@ module OCI
|
|
425
435
|
path = '/bootVolumes/{bootVolumeId}'.sub('{bootVolumeId}', boot_volume_id.to_s)
|
426
436
|
operation_signing_strategy = :standard
|
427
437
|
|
438
|
+
# rubocop:disable Style/NegatedIf
|
428
439
|
# Query Params
|
429
440
|
query_params = {}
|
430
441
|
|
@@ -433,6 +444,7 @@ module OCI
|
|
433
444
|
header_params['accept'] = 'application/json'
|
434
445
|
header_params['content-type'] = 'application/json'
|
435
446
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
447
|
+
# rubocop:enable Style/NegatedIf
|
436
448
|
|
437
449
|
post_body = nil
|
438
450
|
|
@@ -467,7 +479,7 @@ module OCI
|
|
467
479
|
# @param [String] volume_id The OCID of the volume.
|
468
480
|
# @param [Hash] opts the optional parameters
|
469
481
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
470
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
482
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
471
483
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
472
484
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
473
485
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -482,6 +494,7 @@ module OCI
|
|
482
494
|
path = '/volumes/{volumeId}'.sub('{volumeId}', volume_id.to_s)
|
483
495
|
operation_signing_strategy = :standard
|
484
496
|
|
497
|
+
# rubocop:disable Style/NegatedIf
|
485
498
|
# Query Params
|
486
499
|
query_params = {}
|
487
500
|
|
@@ -490,6 +503,7 @@ module OCI
|
|
490
503
|
header_params['accept'] = 'application/json'
|
491
504
|
header_params['content-type'] = 'application/json'
|
492
505
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
506
|
+
# rubocop:enable Style/NegatedIf
|
493
507
|
|
494
508
|
post_body = nil
|
495
509
|
|
@@ -520,7 +534,7 @@ module OCI
|
|
520
534
|
# @param [String] volume_backup_id The OCID of the volume backup.
|
521
535
|
# @param [Hash] opts the optional parameters
|
522
536
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
523
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
537
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
524
538
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
525
539
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
526
540
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -535,6 +549,7 @@ module OCI
|
|
535
549
|
path = '/volumeBackups/{volumeBackupId}'.sub('{volumeBackupId}', volume_backup_id.to_s)
|
536
550
|
operation_signing_strategy = :standard
|
537
551
|
|
552
|
+
# rubocop:disable Style/NegatedIf
|
538
553
|
# Query Params
|
539
554
|
query_params = {}
|
540
555
|
|
@@ -543,6 +558,7 @@ module OCI
|
|
543
558
|
header_params['accept'] = 'application/json'
|
544
559
|
header_params['content-type'] = 'application/json'
|
545
560
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
561
|
+
# rubocop:enable Style/NegatedIf
|
546
562
|
|
547
563
|
post_body = nil
|
548
564
|
|
@@ -573,7 +589,7 @@ module OCI
|
|
573
589
|
# @param [String] policy_assignment_id The OCID of the volume backup policy assignment.
|
574
590
|
# @param [Hash] opts the optional parameters
|
575
591
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
576
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
592
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
577
593
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
578
594
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
579
595
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -588,6 +604,7 @@ module OCI
|
|
588
604
|
path = '/volumeBackupPolicyAssignments/{policyAssignmentId}'.sub('{policyAssignmentId}', policy_assignment_id.to_s)
|
589
605
|
operation_signing_strategy = :standard
|
590
606
|
|
607
|
+
# rubocop:disable Style/NegatedIf
|
591
608
|
# Query Params
|
592
609
|
query_params = {}
|
593
610
|
|
@@ -596,6 +613,7 @@ module OCI
|
|
596
613
|
header_params['accept'] = 'application/json'
|
597
614
|
header_params['content-type'] = 'application/json'
|
598
615
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
616
|
+
# rubocop:enable Style/NegatedIf
|
599
617
|
|
600
618
|
post_body = nil
|
601
619
|
|
@@ -627,7 +645,7 @@ module OCI
|
|
627
645
|
# @param [String] volume_group_id The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
|
628
646
|
# @param [Hash] opts the optional parameters
|
629
647
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
630
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
648
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
631
649
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
632
650
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
633
651
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -642,6 +660,7 @@ module OCI
|
|
642
660
|
path = '/volumeGroups/{volumeGroupId}'.sub('{volumeGroupId}', volume_group_id.to_s)
|
643
661
|
operation_signing_strategy = :standard
|
644
662
|
|
663
|
+
# rubocop:disable Style/NegatedIf
|
645
664
|
# Query Params
|
646
665
|
query_params = {}
|
647
666
|
|
@@ -650,6 +669,7 @@ module OCI
|
|
650
669
|
header_params['accept'] = 'application/json'
|
651
670
|
header_params['content-type'] = 'application/json'
|
652
671
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
672
|
+
# rubocop:enable Style/NegatedIf
|
653
673
|
|
654
674
|
post_body = nil
|
655
675
|
|
@@ -680,7 +700,7 @@ module OCI
|
|
680
700
|
# @param [String] volume_group_backup_id The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
|
681
701
|
# @param [Hash] opts the optional parameters
|
682
702
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
683
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
703
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
684
704
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
685
705
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
686
706
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -695,6 +715,7 @@ module OCI
|
|
695
715
|
path = '/volumeGroupBackups/{volumeGroupBackupId}'.sub('{volumeGroupBackupId}', volume_group_backup_id.to_s)
|
696
716
|
operation_signing_strategy = :standard
|
697
717
|
|
718
|
+
# rubocop:disable Style/NegatedIf
|
698
719
|
# Query Params
|
699
720
|
query_params = {}
|
700
721
|
|
@@ -703,6 +724,7 @@ module OCI
|
|
703
724
|
header_params['accept'] = 'application/json'
|
704
725
|
header_params['content-type'] = 'application/json'
|
705
726
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
727
|
+
# rubocop:enable Style/NegatedIf
|
706
728
|
|
707
729
|
post_body = nil
|
708
730
|
|
@@ -734,7 +756,7 @@ module OCI
|
|
734
756
|
# @param [String] boot_volume_id The OCID of the boot volume.
|
735
757
|
# @param [Hash] opts the optional parameters
|
736
758
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
737
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
759
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
738
760
|
# @return [Response] A Response object with data of type {OCI::Core::Models::BootVolume BootVolume}
|
739
761
|
def get_boot_volume(boot_volume_id, opts = {})
|
740
762
|
logger.debug 'Calling operation BlockstorageClient#get_boot_volume.' if logger
|
@@ -745,6 +767,7 @@ module OCI
|
|
745
767
|
path = '/bootVolumes/{bootVolumeId}'.sub('{bootVolumeId}', boot_volume_id.to_s)
|
746
768
|
operation_signing_strategy = :standard
|
747
769
|
|
770
|
+
# rubocop:disable Style/NegatedIf
|
748
771
|
# Query Params
|
749
772
|
query_params = {}
|
750
773
|
|
@@ -752,6 +775,7 @@ module OCI
|
|
752
775
|
header_params = {}
|
753
776
|
header_params['accept'] = 'application/json'
|
754
777
|
header_params['content-type'] = 'application/json'
|
778
|
+
# rubocop:enable Style/NegatedIf
|
755
779
|
|
756
780
|
post_body = nil
|
757
781
|
|
@@ -785,7 +809,7 @@ module OCI
|
|
785
809
|
# @param [String] volume_id The OCID of the volume.
|
786
810
|
# @param [Hash] opts the optional parameters
|
787
811
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
788
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
812
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
789
813
|
# @return [Response] A Response object with data of type {OCI::Core::Models::Volume Volume}
|
790
814
|
def get_volume(volume_id, opts = {})
|
791
815
|
logger.debug 'Calling operation BlockstorageClient#get_volume.' if logger
|
@@ -796,6 +820,7 @@ module OCI
|
|
796
820
|
path = '/volumes/{volumeId}'.sub('{volumeId}', volume_id.to_s)
|
797
821
|
operation_signing_strategy = :standard
|
798
822
|
|
823
|
+
# rubocop:disable Style/NegatedIf
|
799
824
|
# Query Params
|
800
825
|
query_params = {}
|
801
826
|
|
@@ -803,6 +828,7 @@ module OCI
|
|
803
828
|
header_params = {}
|
804
829
|
header_params['accept'] = 'application/json'
|
805
830
|
header_params['content-type'] = 'application/json'
|
831
|
+
# rubocop:enable Style/NegatedIf
|
806
832
|
|
807
833
|
post_body = nil
|
808
834
|
|
@@ -836,7 +862,7 @@ module OCI
|
|
836
862
|
# @param [String] volume_backup_id The OCID of the volume backup.
|
837
863
|
# @param [Hash] opts the optional parameters
|
838
864
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
839
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
865
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
840
866
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeBackup VolumeBackup}
|
841
867
|
def get_volume_backup(volume_backup_id, opts = {})
|
842
868
|
logger.debug 'Calling operation BlockstorageClient#get_volume_backup.' if logger
|
@@ -847,6 +873,7 @@ module OCI
|
|
847
873
|
path = '/volumeBackups/{volumeBackupId}'.sub('{volumeBackupId}', volume_backup_id.to_s)
|
848
874
|
operation_signing_strategy = :standard
|
849
875
|
|
876
|
+
# rubocop:disable Style/NegatedIf
|
850
877
|
# Query Params
|
851
878
|
query_params = {}
|
852
879
|
|
@@ -854,6 +881,7 @@ module OCI
|
|
854
881
|
header_params = {}
|
855
882
|
header_params['accept'] = 'application/json'
|
856
883
|
header_params['content-type'] = 'application/json'
|
884
|
+
# rubocop:enable Style/NegatedIf
|
857
885
|
|
858
886
|
post_body = nil
|
859
887
|
|
@@ -887,7 +915,7 @@ module OCI
|
|
887
915
|
# @param [String] policy_id The OCID of the volume backup policy.
|
888
916
|
# @param [Hash] opts the optional parameters
|
889
917
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
890
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
918
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
891
919
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeBackupPolicy VolumeBackupPolicy}
|
892
920
|
def get_volume_backup_policy(policy_id, opts = {})
|
893
921
|
logger.debug 'Calling operation BlockstorageClient#get_volume_backup_policy.' if logger
|
@@ -898,6 +926,7 @@ module OCI
|
|
898
926
|
path = '/volumeBackupPolicies/{policyId}'.sub('{policyId}', policy_id.to_s)
|
899
927
|
operation_signing_strategy = :standard
|
900
928
|
|
929
|
+
# rubocop:disable Style/NegatedIf
|
901
930
|
# Query Params
|
902
931
|
query_params = {}
|
903
932
|
|
@@ -905,6 +934,7 @@ module OCI
|
|
905
934
|
header_params = {}
|
906
935
|
header_params['accept'] = 'application/json'
|
907
936
|
header_params['content-type'] = 'application/json'
|
937
|
+
# rubocop:enable Style/NegatedIf
|
908
938
|
|
909
939
|
post_body = nil
|
910
940
|
|
@@ -940,7 +970,7 @@ module OCI
|
|
940
970
|
# @param [String] asset_id The OCID of an asset (e.g. a volume).
|
941
971
|
# @param [Hash] opts the optional parameters
|
942
972
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
943
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
973
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
944
974
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
945
975
|
#
|
946
976
|
# Example: `500`
|
@@ -956,6 +986,7 @@ module OCI
|
|
956
986
|
path = '/volumeBackupPolicyAssignments'
|
957
987
|
operation_signing_strategy = :standard
|
958
988
|
|
989
|
+
# rubocop:disable Style/NegatedIf
|
959
990
|
# Query Params
|
960
991
|
query_params = {}
|
961
992
|
query_params[:assetId] = asset_id
|
@@ -966,6 +997,7 @@ module OCI
|
|
966
997
|
header_params = {}
|
967
998
|
header_params['accept'] = 'application/json'
|
968
999
|
header_params['content-type'] = 'application/json'
|
1000
|
+
# rubocop:enable Style/NegatedIf
|
969
1001
|
|
970
1002
|
post_body = nil
|
971
1003
|
|
@@ -998,7 +1030,7 @@ module OCI
|
|
998
1030
|
# @param [String] policy_assignment_id The OCID of the volume backup policy assignment.
|
999
1031
|
# @param [Hash] opts the optional parameters
|
1000
1032
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1001
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1033
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1002
1034
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeBackupPolicyAssignment VolumeBackupPolicyAssignment}
|
1003
1035
|
def get_volume_backup_policy_assignment(policy_assignment_id, opts = {})
|
1004
1036
|
logger.debug 'Calling operation BlockstorageClient#get_volume_backup_policy_assignment.' if logger
|
@@ -1009,6 +1041,7 @@ module OCI
|
|
1009
1041
|
path = '/volumeBackupPolicyAssignments/{policyAssignmentId}'.sub('{policyAssignmentId}', policy_assignment_id.to_s)
|
1010
1042
|
operation_signing_strategy = :standard
|
1011
1043
|
|
1044
|
+
# rubocop:disable Style/NegatedIf
|
1012
1045
|
# Query Params
|
1013
1046
|
query_params = {}
|
1014
1047
|
|
@@ -1016,6 +1049,7 @@ module OCI
|
|
1016
1049
|
header_params = {}
|
1017
1050
|
header_params['accept'] = 'application/json'
|
1018
1051
|
header_params['content-type'] = 'application/json'
|
1052
|
+
# rubocop:enable Style/NegatedIf
|
1019
1053
|
|
1020
1054
|
post_body = nil
|
1021
1055
|
|
@@ -1049,7 +1083,7 @@ module OCI
|
|
1049
1083
|
# @param [String] volume_group_id The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
|
1050
1084
|
# @param [Hash] opts the optional parameters
|
1051
1085
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1052
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1086
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1053
1087
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeGroup VolumeGroup}
|
1054
1088
|
def get_volume_group(volume_group_id, opts = {})
|
1055
1089
|
logger.debug 'Calling operation BlockstorageClient#get_volume_group.' if logger
|
@@ -1060,6 +1094,7 @@ module OCI
|
|
1060
1094
|
path = '/volumeGroups/{volumeGroupId}'.sub('{volumeGroupId}', volume_group_id.to_s)
|
1061
1095
|
operation_signing_strategy = :standard
|
1062
1096
|
|
1097
|
+
# rubocop:disable Style/NegatedIf
|
1063
1098
|
# Query Params
|
1064
1099
|
query_params = {}
|
1065
1100
|
|
@@ -1067,6 +1102,7 @@ module OCI
|
|
1067
1102
|
header_params = {}
|
1068
1103
|
header_params['accept'] = 'application/json'
|
1069
1104
|
header_params['content-type'] = 'application/json'
|
1105
|
+
# rubocop:enable Style/NegatedIf
|
1070
1106
|
|
1071
1107
|
post_body = nil
|
1072
1108
|
|
@@ -1100,7 +1136,7 @@ module OCI
|
|
1100
1136
|
# @param [String] volume_group_backup_id The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
|
1101
1137
|
# @param [Hash] opts the optional parameters
|
1102
1138
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1103
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1139
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1104
1140
|
# @return [Response] A Response object with data of type {OCI::Core::Models::VolumeGroupBackup VolumeGroupBackup}
|
1105
1141
|
def get_volume_group_backup(volume_group_backup_id, opts = {})
|
1106
1142
|
logger.debug 'Calling operation BlockstorageClient#get_volume_group_backup.' if logger
|
@@ -1111,6 +1147,7 @@ module OCI
|
|
1111
1147
|
path = '/volumeGroupBackups/{volumeGroupBackupId}'.sub('{volumeGroupBackupId}', volume_group_backup_id.to_s)
|
1112
1148
|
operation_signing_strategy = :standard
|
1113
1149
|
|
1150
|
+
# rubocop:disable Style/NegatedIf
|
1114
1151
|
# Query Params
|
1115
1152
|
query_params = {}
|
1116
1153
|
|
@@ -1118,6 +1155,7 @@ module OCI
|
|
1118
1155
|
header_params = {}
|
1119
1156
|
header_params['accept'] = 'application/json'
|
1120
1157
|
header_params['content-type'] = 'application/json'
|
1158
|
+
# rubocop:enable Style/NegatedIf
|
1121
1159
|
|
1122
1160
|
post_body = nil
|
1123
1161
|
|
@@ -1155,7 +1193,7 @@ module OCI
|
|
1155
1193
|
# @param [String] compartment_id The OCID of the compartment.
|
1156
1194
|
# @param [Hash] opts the optional parameters
|
1157
1195
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1158
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1196
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1159
1197
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
1160
1198
|
#
|
1161
1199
|
# Example: `500`
|
@@ -1173,6 +1211,7 @@ module OCI
|
|
1173
1211
|
path = '/bootVolumes'
|
1174
1212
|
operation_signing_strategy = :standard
|
1175
1213
|
|
1214
|
+
# rubocop:disable Style/NegatedIf
|
1176
1215
|
# Query Params
|
1177
1216
|
query_params = {}
|
1178
1217
|
query_params[:availabilityDomain] = availability_domain
|
@@ -1185,6 +1224,7 @@ module OCI
|
|
1185
1224
|
header_params = {}
|
1186
1225
|
header_params['accept'] = 'application/json'
|
1187
1226
|
header_params['content-type'] = 'application/json'
|
1227
|
+
# rubocop:enable Style/NegatedIf
|
1188
1228
|
|
1189
1229
|
post_body = nil
|
1190
1230
|
|
@@ -1215,7 +1255,7 @@ module OCI
|
|
1215
1255
|
# Lists all volume backup policies available to the caller.
|
1216
1256
|
# @param [Hash] opts the optional parameters
|
1217
1257
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1218
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1258
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1219
1259
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
1220
1260
|
#
|
1221
1261
|
# Example: `500`
|
@@ -1230,6 +1270,7 @@ module OCI
|
|
1230
1270
|
path = '/volumeBackupPolicies'
|
1231
1271
|
operation_signing_strategy = :standard
|
1232
1272
|
|
1273
|
+
# rubocop:disable Style/NegatedIf
|
1233
1274
|
# Query Params
|
1234
1275
|
query_params = {}
|
1235
1276
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1239,6 +1280,7 @@ module OCI
|
|
1239
1280
|
header_params = {}
|
1240
1281
|
header_params['accept'] = 'application/json'
|
1241
1282
|
header_params['content-type'] = 'application/json'
|
1283
|
+
# rubocop:enable Style/NegatedIf
|
1242
1284
|
|
1243
1285
|
post_body = nil
|
1244
1286
|
|
@@ -1271,7 +1313,7 @@ module OCI
|
|
1271
1313
|
# @param [String] compartment_id The OCID of the compartment.
|
1272
1314
|
# @param [Hash] opts the optional parameters
|
1273
1315
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1274
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1316
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1275
1317
|
# @option opts [String] :volume_id The OCID of the volume.
|
1276
1318
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
1277
1319
|
#
|
@@ -1318,6 +1360,7 @@ module OCI
|
|
1318
1360
|
path = '/volumeBackups'
|
1319
1361
|
operation_signing_strategy = :standard
|
1320
1362
|
|
1363
|
+
# rubocop:disable Style/NegatedIf
|
1321
1364
|
# Query Params
|
1322
1365
|
query_params = {}
|
1323
1366
|
query_params[:compartmentId] = compartment_id
|
@@ -1333,6 +1376,7 @@ module OCI
|
|
1333
1376
|
header_params = {}
|
1334
1377
|
header_params['accept'] = 'application/json'
|
1335
1378
|
header_params['content-type'] = 'application/json'
|
1379
|
+
# rubocop:enable Style/NegatedIf
|
1336
1380
|
|
1337
1381
|
post_body = nil
|
1338
1382
|
|
@@ -1365,7 +1409,7 @@ module OCI
|
|
1365
1409
|
# @param [String] compartment_id The OCID of the compartment.
|
1366
1410
|
# @param [Hash] opts the optional parameters
|
1367
1411
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1368
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1412
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1369
1413
|
# @option opts [String] :volume_group_id The OCID of the volume group.
|
1370
1414
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
1371
1415
|
#
|
@@ -1406,6 +1450,7 @@ module OCI
|
|
1406
1450
|
path = '/volumeGroupBackups'
|
1407
1451
|
operation_signing_strategy = :standard
|
1408
1452
|
|
1453
|
+
# rubocop:disable Style/NegatedIf
|
1409
1454
|
# Query Params
|
1410
1455
|
query_params = {}
|
1411
1456
|
query_params[:compartmentId] = compartment_id
|
@@ -1420,6 +1465,7 @@ module OCI
|
|
1420
1465
|
header_params = {}
|
1421
1466
|
header_params['accept'] = 'application/json'
|
1422
1467
|
header_params['content-type'] = 'application/json'
|
1468
|
+
# rubocop:enable Style/NegatedIf
|
1423
1469
|
|
1424
1470
|
post_body = nil
|
1425
1471
|
|
@@ -1452,7 +1498,7 @@ module OCI
|
|
1452
1498
|
# @param [String] compartment_id The OCID of the compartment.
|
1453
1499
|
# @param [Hash] opts the optional parameters
|
1454
1500
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1455
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1501
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1456
1502
|
# @option opts [String] :availability_domain The name of the Availability Domain.
|
1457
1503
|
#
|
1458
1504
|
# Example: `Uocm:PHX-AD-1`
|
@@ -1501,6 +1547,7 @@ module OCI
|
|
1501
1547
|
path = '/volumeGroups'
|
1502
1548
|
operation_signing_strategy = :standard
|
1503
1549
|
|
1550
|
+
# rubocop:disable Style/NegatedIf
|
1504
1551
|
# Query Params
|
1505
1552
|
query_params = {}
|
1506
1553
|
query_params[:compartmentId] = compartment_id
|
@@ -1516,6 +1563,7 @@ module OCI
|
|
1516
1563
|
header_params = {}
|
1517
1564
|
header_params['accept'] = 'application/json'
|
1518
1565
|
header_params['content-type'] = 'application/json'
|
1566
|
+
# rubocop:enable Style/NegatedIf
|
1519
1567
|
|
1520
1568
|
post_body = nil
|
1521
1569
|
|
@@ -1548,7 +1596,7 @@ module OCI
|
|
1548
1596
|
# @param [String] compartment_id The OCID of the compartment.
|
1549
1597
|
# @param [Hash] opts the optional parameters
|
1550
1598
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1551
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1599
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1552
1600
|
# @option opts [String] :availability_domain The name of the Availability Domain.
|
1553
1601
|
#
|
1554
1602
|
# Example: `Uocm:PHX-AD-1`
|
@@ -1599,6 +1647,7 @@ module OCI
|
|
1599
1647
|
path = '/volumes'
|
1600
1648
|
operation_signing_strategy = :standard
|
1601
1649
|
|
1650
|
+
# rubocop:disable Style/NegatedIf
|
1602
1651
|
# Query Params
|
1603
1652
|
query_params = {}
|
1604
1653
|
query_params[:compartmentId] = compartment_id
|
@@ -1615,6 +1664,7 @@ module OCI
|
|
1615
1664
|
header_params = {}
|
1616
1665
|
header_params['accept'] = 'application/json'
|
1617
1666
|
header_params['content-type'] = 'application/json'
|
1667
|
+
# rubocop:enable Style/NegatedIf
|
1618
1668
|
|
1619
1669
|
post_body = nil
|
1620
1670
|
|
@@ -1647,7 +1697,7 @@ module OCI
|
|
1647
1697
|
# @param [OCI::Core::Models::UpdateBootVolumeDetails] update_boot_volume_details Update boot volume's display name.
|
1648
1698
|
# @param [Hash] opts the optional parameters
|
1649
1699
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1650
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1700
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1651
1701
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1652
1702
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1653
1703
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1663,6 +1713,7 @@ module OCI
|
|
1663
1713
|
path = '/bootVolumes/{bootVolumeId}'.sub('{bootVolumeId}', boot_volume_id.to_s)
|
1664
1714
|
operation_signing_strategy = :standard
|
1665
1715
|
|
1716
|
+
# rubocop:disable Style/NegatedIf
|
1666
1717
|
# Query Params
|
1667
1718
|
query_params = {}
|
1668
1719
|
|
@@ -1671,6 +1722,7 @@ module OCI
|
|
1671
1722
|
header_params['accept'] = 'application/json'
|
1672
1723
|
header_params['content-type'] = 'application/json'
|
1673
1724
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1725
|
+
# rubocop:enable Style/NegatedIf
|
1674
1726
|
|
1675
1727
|
post_body = @api_client.object_to_http_body(update_boot_volume_details)
|
1676
1728
|
|
@@ -1705,7 +1757,7 @@ module OCI
|
|
1705
1757
|
# @param [OCI::Core::Models::UpdateVolumeDetails] update_volume_details Update volume's display name. Avoid entering confidential information.
|
1706
1758
|
# @param [Hash] opts the optional parameters
|
1707
1759
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1708
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1760
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1709
1761
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1710
1762
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1711
1763
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1721,6 +1773,7 @@ module OCI
|
|
1721
1773
|
path = '/volumes/{volumeId}'.sub('{volumeId}', volume_id.to_s)
|
1722
1774
|
operation_signing_strategy = :standard
|
1723
1775
|
|
1776
|
+
# rubocop:disable Style/NegatedIf
|
1724
1777
|
# Query Params
|
1725
1778
|
query_params = {}
|
1726
1779
|
|
@@ -1729,6 +1782,7 @@ module OCI
|
|
1729
1782
|
header_params['accept'] = 'application/json'
|
1730
1783
|
header_params['content-type'] = 'application/json'
|
1731
1784
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1785
|
+
# rubocop:enable Style/NegatedIf
|
1732
1786
|
|
1733
1787
|
post_body = @api_client.object_to_http_body(update_volume_details)
|
1734
1788
|
|
@@ -1763,7 +1817,7 @@ module OCI
|
|
1763
1817
|
# @param [OCI::Core::Models::UpdateVolumeBackupDetails] update_volume_backup_details Update volume backup fields
|
1764
1818
|
# @param [Hash] opts the optional parameters
|
1765
1819
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1766
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1820
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1767
1821
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1768
1822
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1769
1823
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1779,6 +1833,7 @@ module OCI
|
|
1779
1833
|
path = '/volumeBackups/{volumeBackupId}'.sub('{volumeBackupId}', volume_backup_id.to_s)
|
1780
1834
|
operation_signing_strategy = :standard
|
1781
1835
|
|
1836
|
+
# rubocop:disable Style/NegatedIf
|
1782
1837
|
# Query Params
|
1783
1838
|
query_params = {}
|
1784
1839
|
|
@@ -1787,6 +1842,7 @@ module OCI
|
|
1787
1842
|
header_params['accept'] = 'application/json'
|
1788
1843
|
header_params['content-type'] = 'application/json'
|
1789
1844
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1845
|
+
# rubocop:enable Style/NegatedIf
|
1790
1846
|
|
1791
1847
|
post_body = @api_client.object_to_http_body(update_volume_backup_details)
|
1792
1848
|
|
@@ -1822,7 +1878,7 @@ module OCI
|
|
1822
1878
|
# @param [OCI::Core::Models::UpdateVolumeGroupDetails] update_volume_group_details Update volume group's set of volumes and/or display name
|
1823
1879
|
# @param [Hash] opts the optional parameters
|
1824
1880
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1825
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1881
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1826
1882
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1827
1883
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1828
1884
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1838,6 +1894,7 @@ module OCI
|
|
1838
1894
|
path = '/volumeGroups/{volumeGroupId}'.sub('{volumeGroupId}', volume_group_id.to_s)
|
1839
1895
|
operation_signing_strategy = :standard
|
1840
1896
|
|
1897
|
+
# rubocop:disable Style/NegatedIf
|
1841
1898
|
# Query Params
|
1842
1899
|
query_params = {}
|
1843
1900
|
|
@@ -1846,6 +1903,7 @@ module OCI
|
|
1846
1903
|
header_params['accept'] = 'application/json'
|
1847
1904
|
header_params['content-type'] = 'application/json'
|
1848
1905
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1906
|
+
# rubocop:enable Style/NegatedIf
|
1849
1907
|
|
1850
1908
|
post_body = @api_client.object_to_http_body(update_volume_group_details)
|
1851
1909
|
|
@@ -1878,7 +1936,7 @@ module OCI
|
|
1878
1936
|
# @param [OCI::Core::Models::UpdateVolumeGroupBackupDetails] update_volume_group_backup_details Update volume group backup fields
|
1879
1937
|
# @param [Hash] opts the optional parameters
|
1880
1938
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1881
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1939
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1882
1940
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1883
1941
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1884
1942
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1894,6 +1952,7 @@ module OCI
|
|
1894
1952
|
path = '/volumeGroupBackups/{volumeGroupBackupId}'.sub('{volumeGroupBackupId}', volume_group_backup_id.to_s)
|
1895
1953
|
operation_signing_strategy = :standard
|
1896
1954
|
|
1955
|
+
# rubocop:disable Style/NegatedIf
|
1897
1956
|
# Query Params
|
1898
1957
|
query_params = {}
|
1899
1958
|
|
@@ -1902,6 +1961,7 @@ module OCI
|
|
1902
1961
|
header_params['accept'] = 'application/json'
|
1903
1962
|
header_params['content-type'] = 'application/json'
|
1904
1963
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1964
|
+
# rubocop:enable Style/NegatedIf
|
1905
1965
|
|
1906
1966
|
post_body = @api_client.object_to_http_body(update_volume_group_backup_details)
|
1907
1967
|
|