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
@@ -104,7 +104,7 @@ module OCI
|
|
104
104
|
# @param [OCI::Database::Models::CreateBackupDetails] create_backup_details Request to create a new database backup.
|
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
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
109
109
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
110
110
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -120,6 +120,7 @@ module OCI
|
|
120
120
|
path = '/backups'
|
121
121
|
operation_signing_strategy = :standard
|
122
122
|
|
123
|
+
# rubocop:disable Style/NegatedIf
|
123
124
|
# Query Params
|
124
125
|
query_params = {}
|
125
126
|
|
@@ -128,6 +129,7 @@ module OCI
|
|
128
129
|
header_params['accept'] = 'application/json'
|
129
130
|
header_params['content-type'] = 'application/json'
|
130
131
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
132
|
+
# rubocop:enable Style/NegatedIf
|
131
133
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
132
134
|
|
133
135
|
post_body = @api_client.object_to_http_body(create_backup_details)
|
@@ -169,7 +171,7 @@ module OCI
|
|
169
171
|
# @param [OCI::Database::Models::CreateDataGuardAssociationDetails] create_data_guard_association_details A request to create a Data Guard association.
|
170
172
|
# @param [Hash] opts the optional parameters
|
171
173
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
172
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
174
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
173
175
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
174
176
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
175
177
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -187,6 +189,7 @@ module OCI
|
|
187
189
|
path = '/databases/{databaseId}/dataGuardAssociations'.sub('{databaseId}', database_id.to_s)
|
188
190
|
operation_signing_strategy = :standard
|
189
191
|
|
192
|
+
# rubocop:disable Style/NegatedIf
|
190
193
|
# Query Params
|
191
194
|
query_params = {}
|
192
195
|
|
@@ -195,6 +198,7 @@ module OCI
|
|
195
198
|
header_params['accept'] = 'application/json'
|
196
199
|
header_params['content-type'] = 'application/json'
|
197
200
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
201
|
+
# rubocop:enable Style/NegatedIf
|
198
202
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
199
203
|
|
200
204
|
post_body = @api_client.object_to_http_body(create_data_guard_association_details)
|
@@ -228,7 +232,7 @@ module OCI
|
|
228
232
|
# @param [OCI::Database::Models::CreateDbHomeWithDbSystemIdBase] create_db_home_with_db_system_id_details Request to create a new DB Home.
|
229
233
|
# @param [Hash] opts the optional parameters
|
230
234
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
231
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
235
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
232
236
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
233
237
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
234
238
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -244,6 +248,7 @@ module OCI
|
|
244
248
|
path = '/dbHomes'
|
245
249
|
operation_signing_strategy = :standard
|
246
250
|
|
251
|
+
# rubocop:disable Style/NegatedIf
|
247
252
|
# Query Params
|
248
253
|
query_params = {}
|
249
254
|
|
@@ -252,6 +257,7 @@ module OCI
|
|
252
257
|
header_params['accept'] = 'application/json'
|
253
258
|
header_params['content-type'] = 'application/json'
|
254
259
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
260
|
+
# rubocop:enable Style/NegatedIf
|
255
261
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
256
262
|
|
257
263
|
post_body = @api_client.object_to_http_body(create_db_home_with_db_system_id_details)
|
@@ -301,7 +307,7 @@ module OCI
|
|
301
307
|
# Allowed values are: STOP, START, SOFTRESET, RESET
|
302
308
|
# @param [Hash] opts the optional parameters
|
303
309
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
304
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
310
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
305
311
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
306
312
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
307
313
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -326,6 +332,7 @@ module OCI
|
|
326
332
|
path = '/dbNodes/{dbNodeId}'.sub('{dbNodeId}', db_node_id.to_s)
|
327
333
|
operation_signing_strategy = :standard
|
328
334
|
|
335
|
+
# rubocop:disable Style/NegatedIf
|
329
336
|
# Query Params
|
330
337
|
query_params = {}
|
331
338
|
query_params[:action] = action
|
@@ -336,6 +343,7 @@ module OCI
|
|
336
343
|
header_params['content-type'] = 'application/json'
|
337
344
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
338
345
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
346
|
+
# rubocop:enable Style/NegatedIf
|
339
347
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
340
348
|
|
341
349
|
post_body = nil
|
@@ -368,7 +376,7 @@ module OCI
|
|
368
376
|
# @param [String] backup_id The backup OCID.
|
369
377
|
# @param [Hash] opts the optional parameters
|
370
378
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
371
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
379
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
372
380
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
373
381
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
374
382
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -383,6 +391,7 @@ module OCI
|
|
383
391
|
path = '/backups/{backupId}'.sub('{backupId}', backup_id.to_s)
|
384
392
|
operation_signing_strategy = :standard
|
385
393
|
|
394
|
+
# rubocop:disable Style/NegatedIf
|
386
395
|
# Query Params
|
387
396
|
query_params = {}
|
388
397
|
|
@@ -391,6 +400,7 @@ module OCI
|
|
391
400
|
header_params['accept'] = 'application/json'
|
392
401
|
header_params['content-type'] = 'application/json'
|
393
402
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
403
|
+
# rubocop:enable Style/NegatedIf
|
394
404
|
|
395
405
|
post_body = nil
|
396
406
|
|
@@ -422,7 +432,7 @@ module OCI
|
|
422
432
|
# @param [String] db_home_id The database home [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
423
433
|
# @param [Hash] opts the optional parameters
|
424
434
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
425
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
435
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
426
436
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
427
437
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
428
438
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -438,15 +448,17 @@ module OCI
|
|
438
448
|
path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s)
|
439
449
|
operation_signing_strategy = :standard
|
440
450
|
|
451
|
+
# rubocop:disable Style/NegatedIf
|
441
452
|
# Query Params
|
442
453
|
query_params = {}
|
443
|
-
query_params[:performFinalBackup] = opts[:perform_final_backup] if opts[:perform_final_backup]
|
454
|
+
query_params[:performFinalBackup] = opts[:perform_final_backup] if !opts[:perform_final_backup].nil?
|
444
455
|
|
445
456
|
# Header Params
|
446
457
|
header_params = {}
|
447
458
|
header_params['accept'] = 'application/json'
|
448
459
|
header_params['content-type'] = 'application/json'
|
449
460
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
461
|
+
# rubocop:enable Style/NegatedIf
|
450
462
|
|
451
463
|
post_body = nil
|
452
464
|
|
@@ -484,7 +496,7 @@ module OCI
|
|
484
496
|
# @param [OCI::Database::Models::FailoverDataGuardAssociationDetails] failover_data_guard_association_details A request to perform a failover, transitioning a standby database into a primary database.
|
485
497
|
# @param [Hash] opts the optional parameters
|
486
498
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
487
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
499
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
488
500
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
489
501
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
490
502
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -502,6 +514,7 @@ module OCI
|
|
502
514
|
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/failover'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
503
515
|
operation_signing_strategy = :standard
|
504
516
|
|
517
|
+
# rubocop:disable Style/NegatedIf
|
505
518
|
# Query Params
|
506
519
|
query_params = {}
|
507
520
|
|
@@ -510,6 +523,7 @@ module OCI
|
|
510
523
|
header_params['accept'] = 'application/json'
|
511
524
|
header_params['content-type'] = 'application/json'
|
512
525
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
526
|
+
# rubocop:enable Style/NegatedIf
|
513
527
|
|
514
528
|
post_body = @api_client.object_to_http_body(failover_data_guard_association_details)
|
515
529
|
|
@@ -542,7 +556,7 @@ module OCI
|
|
542
556
|
# @param [String] backup_id The backup OCID.
|
543
557
|
# @param [Hash] opts the optional parameters
|
544
558
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
545
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
559
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
546
560
|
# @return [Response] A Response object with data of type {OCI::Database::Models::Backup Backup}
|
547
561
|
def get_backup(backup_id, opts = {})
|
548
562
|
logger.debug 'Calling operation DatabaseClient#get_backup.' if logger
|
@@ -553,6 +567,7 @@ module OCI
|
|
553
567
|
path = '/backups/{backupId}'.sub('{backupId}', backup_id.to_s)
|
554
568
|
operation_signing_strategy = :standard
|
555
569
|
|
570
|
+
# rubocop:disable Style/NegatedIf
|
556
571
|
# Query Params
|
557
572
|
query_params = {}
|
558
573
|
|
@@ -560,6 +575,7 @@ module OCI
|
|
560
575
|
header_params = {}
|
561
576
|
header_params['accept'] = 'application/json'
|
562
577
|
header_params['content-type'] = 'application/json'
|
578
|
+
# rubocop:enable Style/NegatedIf
|
563
579
|
|
564
580
|
post_body = nil
|
565
581
|
|
@@ -595,7 +611,7 @@ module OCI
|
|
595
611
|
# @param [String] data_guard_association_id The Data Guard association's [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
596
612
|
# @param [Hash] opts the optional parameters
|
597
613
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
598
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
614
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
599
615
|
# @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
|
600
616
|
def get_data_guard_association(database_id, data_guard_association_id, opts = {})
|
601
617
|
logger.debug 'Calling operation DatabaseClient#get_data_guard_association.' if logger
|
@@ -608,6 +624,7 @@ module OCI
|
|
608
624
|
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
609
625
|
operation_signing_strategy = :standard
|
610
626
|
|
627
|
+
# rubocop:disable Style/NegatedIf
|
611
628
|
# Query Params
|
612
629
|
query_params = {}
|
613
630
|
|
@@ -615,6 +632,7 @@ module OCI
|
|
615
632
|
header_params = {}
|
616
633
|
header_params['accept'] = 'application/json'
|
617
634
|
header_params['content-type'] = 'application/json'
|
635
|
+
# rubocop:enable Style/NegatedIf
|
618
636
|
|
619
637
|
post_body = nil
|
620
638
|
|
@@ -648,7 +666,7 @@ module OCI
|
|
648
666
|
# @param [String] database_id The database [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
649
667
|
# @param [Hash] opts the optional parameters
|
650
668
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
651
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
669
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
652
670
|
# @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
|
653
671
|
def get_database(database_id, opts = {})
|
654
672
|
logger.debug 'Calling operation DatabaseClient#get_database.' if logger
|
@@ -659,6 +677,7 @@ module OCI
|
|
659
677
|
path = '/databases/{databaseId}'.sub('{databaseId}', database_id.to_s)
|
660
678
|
operation_signing_strategy = :standard
|
661
679
|
|
680
|
+
# rubocop:disable Style/NegatedIf
|
662
681
|
# Query Params
|
663
682
|
query_params = {}
|
664
683
|
|
@@ -666,6 +685,7 @@ module OCI
|
|
666
685
|
header_params = {}
|
667
686
|
header_params['accept'] = 'application/json'
|
668
687
|
header_params['content-type'] = 'application/json'
|
688
|
+
# rubocop:enable Style/NegatedIf
|
669
689
|
|
670
690
|
post_body = nil
|
671
691
|
|
@@ -699,7 +719,7 @@ module OCI
|
|
699
719
|
# @param [String] db_home_id The database home [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
700
720
|
# @param [Hash] opts the optional parameters
|
701
721
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
702
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
722
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
703
723
|
# @return [Response] A Response object with data of type {OCI::Database::Models::DbHome DbHome}
|
704
724
|
def get_db_home(db_home_id, opts = {})
|
705
725
|
logger.debug 'Calling operation DatabaseClient#get_db_home.' if logger
|
@@ -710,6 +730,7 @@ module OCI
|
|
710
730
|
path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s)
|
711
731
|
operation_signing_strategy = :standard
|
712
732
|
|
733
|
+
# rubocop:disable Style/NegatedIf
|
713
734
|
# Query Params
|
714
735
|
query_params = {}
|
715
736
|
|
@@ -717,6 +738,7 @@ module OCI
|
|
717
738
|
header_params = {}
|
718
739
|
header_params['accept'] = 'application/json'
|
719
740
|
header_params['content-type'] = 'application/json'
|
741
|
+
# rubocop:enable Style/NegatedIf
|
720
742
|
|
721
743
|
post_body = nil
|
722
744
|
|
@@ -752,7 +774,7 @@ module OCI
|
|
752
774
|
# @param [String] patch_id The OCID of the patch.
|
753
775
|
# @param [Hash] opts the optional parameters
|
754
776
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
755
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
777
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
756
778
|
# @return [Response] A Response object with data of type {OCI::Database::Models::Patch Patch}
|
757
779
|
def get_db_home_patch(db_home_id, patch_id, opts = {})
|
758
780
|
logger.debug 'Calling operation DatabaseClient#get_db_home_patch.' if logger
|
@@ -765,6 +787,7 @@ module OCI
|
|
765
787
|
path = '/dbHomes/{dbHomeId}/patches/{patchId}'.sub('{dbHomeId}', db_home_id.to_s).sub('{patchId}', patch_id.to_s)
|
766
788
|
operation_signing_strategy = :standard
|
767
789
|
|
790
|
+
# rubocop:disable Style/NegatedIf
|
768
791
|
# Query Params
|
769
792
|
query_params = {}
|
770
793
|
|
@@ -772,6 +795,7 @@ module OCI
|
|
772
795
|
header_params = {}
|
773
796
|
header_params['accept'] = 'application/json'
|
774
797
|
header_params['content-type'] = 'application/json'
|
798
|
+
# rubocop:enable Style/NegatedIf
|
775
799
|
|
776
800
|
post_body = nil
|
777
801
|
|
@@ -807,7 +831,7 @@ module OCI
|
|
807
831
|
# @param [String] patch_history_entry_id The OCID of the patch history entry.
|
808
832
|
# @param [Hash] opts the optional parameters
|
809
833
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
810
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
834
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
811
835
|
# @return [Response] A Response object with data of type {OCI::Database::Models::PatchHistoryEntry PatchHistoryEntry}
|
812
836
|
def get_db_home_patch_history_entry(db_home_id, patch_history_entry_id, opts = {})
|
813
837
|
logger.debug 'Calling operation DatabaseClient#get_db_home_patch_history_entry.' if logger
|
@@ -820,6 +844,7 @@ module OCI
|
|
820
844
|
path = '/dbHomes/{dbHomeId}/patchHistoryEntries/{patchHistoryEntryId}'.sub('{dbHomeId}', db_home_id.to_s).sub('{patchHistoryEntryId}', patch_history_entry_id.to_s)
|
821
845
|
operation_signing_strategy = :standard
|
822
846
|
|
847
|
+
# rubocop:disable Style/NegatedIf
|
823
848
|
# Query Params
|
824
849
|
query_params = {}
|
825
850
|
|
@@ -827,6 +852,7 @@ module OCI
|
|
827
852
|
header_params = {}
|
828
853
|
header_params['accept'] = 'application/json'
|
829
854
|
header_params['content-type'] = 'application/json'
|
855
|
+
# rubocop:enable Style/NegatedIf
|
830
856
|
|
831
857
|
post_body = nil
|
832
858
|
|
@@ -860,7 +886,7 @@ module OCI
|
|
860
886
|
# @param [String] db_node_id The database node [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
861
887
|
# @param [Hash] opts the optional parameters
|
862
888
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
863
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
889
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
864
890
|
# @return [Response] A Response object with data of type {OCI::Database::Models::DbNode DbNode}
|
865
891
|
def get_db_node(db_node_id, opts = {})
|
866
892
|
logger.debug 'Calling operation DatabaseClient#get_db_node.' if logger
|
@@ -871,6 +897,7 @@ module OCI
|
|
871
897
|
path = '/dbNodes/{dbNodeId}'.sub('{dbNodeId}', db_node_id.to_s)
|
872
898
|
operation_signing_strategy = :standard
|
873
899
|
|
900
|
+
# rubocop:disable Style/NegatedIf
|
874
901
|
# Query Params
|
875
902
|
query_params = {}
|
876
903
|
|
@@ -878,6 +905,7 @@ module OCI
|
|
878
905
|
header_params = {}
|
879
906
|
header_params['accept'] = 'application/json'
|
880
907
|
header_params['content-type'] = 'application/json'
|
908
|
+
# rubocop:enable Style/NegatedIf
|
881
909
|
|
882
910
|
post_body = nil
|
883
911
|
|
@@ -911,7 +939,7 @@ module OCI
|
|
911
939
|
# @param [String] db_system_id The DB System [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
912
940
|
# @param [Hash] opts the optional parameters
|
913
941
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
914
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
942
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
915
943
|
# @return [Response] A Response object with data of type {OCI::Database::Models::DbSystem DbSystem}
|
916
944
|
def get_db_system(db_system_id, opts = {})
|
917
945
|
logger.debug 'Calling operation DatabaseClient#get_db_system.' if logger
|
@@ -922,6 +950,7 @@ module OCI
|
|
922
950
|
path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s)
|
923
951
|
operation_signing_strategy = :standard
|
924
952
|
|
953
|
+
# rubocop:disable Style/NegatedIf
|
925
954
|
# Query Params
|
926
955
|
query_params = {}
|
927
956
|
|
@@ -929,6 +958,7 @@ module OCI
|
|
929
958
|
header_params = {}
|
930
959
|
header_params['accept'] = 'application/json'
|
931
960
|
header_params['content-type'] = 'application/json'
|
961
|
+
# rubocop:enable Style/NegatedIf
|
932
962
|
|
933
963
|
post_body = nil
|
934
964
|
|
@@ -964,7 +994,7 @@ module OCI
|
|
964
994
|
# @param [String] patch_id The OCID of the patch.
|
965
995
|
# @param [Hash] opts the optional parameters
|
966
996
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
967
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
997
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
968
998
|
# @return [Response] A Response object with data of type {OCI::Database::Models::Patch Patch}
|
969
999
|
def get_db_system_patch(db_system_id, patch_id, opts = {})
|
970
1000
|
logger.debug 'Calling operation DatabaseClient#get_db_system_patch.' if logger
|
@@ -977,6 +1007,7 @@ module OCI
|
|
977
1007
|
path = '/dbSystems/{dbSystemId}/patches/{patchId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{patchId}', patch_id.to_s)
|
978
1008
|
operation_signing_strategy = :standard
|
979
1009
|
|
1010
|
+
# rubocop:disable Style/NegatedIf
|
980
1011
|
# Query Params
|
981
1012
|
query_params = {}
|
982
1013
|
|
@@ -984,6 +1015,7 @@ module OCI
|
|
984
1015
|
header_params = {}
|
985
1016
|
header_params['accept'] = 'application/json'
|
986
1017
|
header_params['content-type'] = 'application/json'
|
1018
|
+
# rubocop:enable Style/NegatedIf
|
987
1019
|
|
988
1020
|
post_body = nil
|
989
1021
|
|
@@ -1019,7 +1051,7 @@ module OCI
|
|
1019
1051
|
# @param [String] patch_history_entry_id The OCID of the patch history entry.
|
1020
1052
|
# @param [Hash] opts the optional parameters
|
1021
1053
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1022
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1054
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1023
1055
|
# @return [Response] A Response object with data of type {OCI::Database::Models::PatchHistoryEntry PatchHistoryEntry}
|
1024
1056
|
def get_db_system_patch_history_entry(db_system_id, patch_history_entry_id, opts = {})
|
1025
1057
|
logger.debug 'Calling operation DatabaseClient#get_db_system_patch_history_entry.' if logger
|
@@ -1032,6 +1064,7 @@ module OCI
|
|
1032
1064
|
path = '/dbSystems/{dbSystemId}/patchHistoryEntries/{patchHistoryEntryId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{patchHistoryEntryId}', patch_history_entry_id.to_s)
|
1033
1065
|
operation_signing_strategy = :standard
|
1034
1066
|
|
1067
|
+
# rubocop:disable Style/NegatedIf
|
1035
1068
|
# Query Params
|
1036
1069
|
query_params = {}
|
1037
1070
|
|
@@ -1039,6 +1072,7 @@ module OCI
|
|
1039
1072
|
header_params = {}
|
1040
1073
|
header_params['accept'] = 'application/json'
|
1041
1074
|
header_params['content-type'] = 'application/json'
|
1075
|
+
# rubocop:enable Style/NegatedIf
|
1042
1076
|
|
1043
1077
|
post_body = nil
|
1044
1078
|
|
@@ -1081,7 +1115,7 @@ module OCI
|
|
1081
1115
|
# @param [OCI::Database::Models::LaunchDbSystemBase] launch_db_system_details Request to launch a DB System.
|
1082
1116
|
# @param [Hash] opts the optional parameters
|
1083
1117
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1084
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1118
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1085
1119
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1086
1120
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1087
1121
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
@@ -1097,6 +1131,7 @@ module OCI
|
|
1097
1131
|
path = '/dbSystems'
|
1098
1132
|
operation_signing_strategy = :standard
|
1099
1133
|
|
1134
|
+
# rubocop:disable Style/NegatedIf
|
1100
1135
|
# Query Params
|
1101
1136
|
query_params = {}
|
1102
1137
|
|
@@ -1105,6 +1140,7 @@ module OCI
|
|
1105
1140
|
header_params['accept'] = 'application/json'
|
1106
1141
|
header_params['content-type'] = 'application/json'
|
1107
1142
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1143
|
+
# rubocop:enable Style/NegatedIf
|
1108
1144
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1109
1145
|
|
1110
1146
|
post_body = @api_client.object_to_http_body(launch_db_system_details)
|
@@ -1137,7 +1173,7 @@ module OCI
|
|
1137
1173
|
#
|
1138
1174
|
# @param [Hash] opts the optional parameters
|
1139
1175
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1140
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1176
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1141
1177
|
# @option opts [String] :database_id The OCID of the database.
|
1142
1178
|
# @option opts [String] :compartment_id The compartment OCID.
|
1143
1179
|
# @option opts [Integer] :limit The maximum number of items to return.
|
@@ -1150,6 +1186,7 @@ module OCI
|
|
1150
1186
|
path = '/backups'
|
1151
1187
|
operation_signing_strategy = :standard
|
1152
1188
|
|
1189
|
+
# rubocop:disable Style/NegatedIf
|
1153
1190
|
# Query Params
|
1154
1191
|
query_params = {}
|
1155
1192
|
query_params[:databaseId] = opts[:database_id] if opts[:database_id]
|
@@ -1161,6 +1198,7 @@ module OCI
|
|
1161
1198
|
header_params = {}
|
1162
1199
|
header_params['accept'] = 'application/json'
|
1163
1200
|
header_params['content-type'] = 'application/json'
|
1201
|
+
# rubocop:enable Style/NegatedIf
|
1164
1202
|
|
1165
1203
|
post_body = nil
|
1166
1204
|
|
@@ -1193,7 +1231,7 @@ module OCI
|
|
1193
1231
|
# @param [String] database_id The database [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1194
1232
|
# @param [Hash] opts the optional parameters
|
1195
1233
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1196
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1234
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1197
1235
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1198
1236
|
# @option opts [String] :page The pagination token to continue listing from.
|
1199
1237
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DataGuardAssociationSummary DataGuardAssociationSummary}>
|
@@ -1206,6 +1244,7 @@ module OCI
|
|
1206
1244
|
path = '/databases/{databaseId}/dataGuardAssociations'.sub('{databaseId}', database_id.to_s)
|
1207
1245
|
operation_signing_strategy = :standard
|
1208
1246
|
|
1247
|
+
# rubocop:disable Style/NegatedIf
|
1209
1248
|
# Query Params
|
1210
1249
|
query_params = {}
|
1211
1250
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1215,6 +1254,7 @@ module OCI
|
|
1215
1254
|
header_params = {}
|
1216
1255
|
header_params['accept'] = 'application/json'
|
1217
1256
|
header_params['content-type'] = 'application/json'
|
1257
|
+
# rubocop:enable Style/NegatedIf
|
1218
1258
|
|
1219
1259
|
post_body = nil
|
1220
1260
|
|
@@ -1248,7 +1288,7 @@ module OCI
|
|
1248
1288
|
# @param [String] db_home_id A database home [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1249
1289
|
# @param [Hash] opts the optional parameters
|
1250
1290
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1251
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1291
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1252
1292
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1253
1293
|
# @option opts [String] :page The pagination token to continue listing from.
|
1254
1294
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseSummary DatabaseSummary}>
|
@@ -1261,6 +1301,7 @@ module OCI
|
|
1261
1301
|
path = '/databases'
|
1262
1302
|
operation_signing_strategy = :standard
|
1263
1303
|
|
1304
|
+
# rubocop:disable Style/NegatedIf
|
1264
1305
|
# Query Params
|
1265
1306
|
query_params = {}
|
1266
1307
|
query_params[:compartmentId] = compartment_id
|
@@ -1272,6 +1313,7 @@ module OCI
|
|
1272
1313
|
header_params = {}
|
1273
1314
|
header_params['accept'] = 'application/json'
|
1274
1315
|
header_params['content-type'] = 'application/json'
|
1316
|
+
# rubocop:enable Style/NegatedIf
|
1275
1317
|
|
1276
1318
|
post_body = nil
|
1277
1319
|
|
@@ -1304,7 +1346,7 @@ module OCI
|
|
1304
1346
|
# @param [String] db_home_id The database home [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1305
1347
|
# @param [Hash] opts the optional parameters
|
1306
1348
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1307
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1349
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1308
1350
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1309
1351
|
# @option opts [String] :page The pagination token to continue listing from.
|
1310
1352
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
|
@@ -1317,6 +1359,7 @@ module OCI
|
|
1317
1359
|
path = '/dbHomes/{dbHomeId}/patchHistoryEntries'.sub('{dbHomeId}', db_home_id.to_s)
|
1318
1360
|
operation_signing_strategy = :standard
|
1319
1361
|
|
1362
|
+
# rubocop:disable Style/NegatedIf
|
1320
1363
|
# Query Params
|
1321
1364
|
query_params = {}
|
1322
1365
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1326,6 +1369,7 @@ module OCI
|
|
1326
1369
|
header_params = {}
|
1327
1370
|
header_params['accept'] = 'application/json'
|
1328
1371
|
header_params['content-type'] = 'application/json'
|
1372
|
+
# rubocop:enable Style/NegatedIf
|
1329
1373
|
|
1330
1374
|
post_body = nil
|
1331
1375
|
|
@@ -1358,7 +1402,7 @@ module OCI
|
|
1358
1402
|
# @param [String] db_home_id The database home [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1359
1403
|
# @param [Hash] opts the optional parameters
|
1360
1404
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1361
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1405
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1362
1406
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1363
1407
|
# @option opts [String] :page The pagination token to continue listing from.
|
1364
1408
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
|
@@ -1371,6 +1415,7 @@ module OCI
|
|
1371
1415
|
path = '/dbHomes/{dbHomeId}/patches'.sub('{dbHomeId}', db_home_id.to_s)
|
1372
1416
|
operation_signing_strategy = :standard
|
1373
1417
|
|
1418
|
+
# rubocop:disable Style/NegatedIf
|
1374
1419
|
# Query Params
|
1375
1420
|
query_params = {}
|
1376
1421
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1380,6 +1425,7 @@ module OCI
|
|
1380
1425
|
header_params = {}
|
1381
1426
|
header_params['accept'] = 'application/json'
|
1382
1427
|
header_params['content-type'] = 'application/json'
|
1428
|
+
# rubocop:enable Style/NegatedIf
|
1383
1429
|
|
1384
1430
|
post_body = nil
|
1385
1431
|
|
@@ -1413,7 +1459,7 @@ module OCI
|
|
1413
1459
|
# @param [String] db_system_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System.
|
1414
1460
|
# @param [Hash] opts the optional parameters
|
1415
1461
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1416
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1462
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1417
1463
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1418
1464
|
# @option opts [String] :page The pagination token to continue listing from.
|
1419
1465
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbHomeSummary DbHomeSummary}>
|
@@ -1426,6 +1472,7 @@ module OCI
|
|
1426
1472
|
path = '/dbHomes'
|
1427
1473
|
operation_signing_strategy = :standard
|
1428
1474
|
|
1475
|
+
# rubocop:disable Style/NegatedIf
|
1429
1476
|
# Query Params
|
1430
1477
|
query_params = {}
|
1431
1478
|
query_params[:compartmentId] = compartment_id
|
@@ -1437,6 +1484,7 @@ module OCI
|
|
1437
1484
|
header_params = {}
|
1438
1485
|
header_params['accept'] = 'application/json'
|
1439
1486
|
header_params['content-type'] = 'application/json'
|
1487
|
+
# rubocop:enable Style/NegatedIf
|
1440
1488
|
|
1441
1489
|
post_body = nil
|
1442
1490
|
|
@@ -1470,7 +1518,7 @@ module OCI
|
|
1470
1518
|
# @param [String] db_system_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System.
|
1471
1519
|
# @param [Hash] opts the optional parameters
|
1472
1520
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1473
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1521
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1474
1522
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1475
1523
|
# @option opts [String] :page The pagination token to continue listing from.
|
1476
1524
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbNodeSummary DbNodeSummary}>
|
@@ -1483,6 +1531,7 @@ module OCI
|
|
1483
1531
|
path = '/dbNodes'
|
1484
1532
|
operation_signing_strategy = :standard
|
1485
1533
|
|
1534
|
+
# rubocop:disable Style/NegatedIf
|
1486
1535
|
# Query Params
|
1487
1536
|
query_params = {}
|
1488
1537
|
query_params[:compartmentId] = compartment_id
|
@@ -1494,6 +1543,7 @@ module OCI
|
|
1494
1543
|
header_params = {}
|
1495
1544
|
header_params['accept'] = 'application/json'
|
1496
1545
|
header_params['content-type'] = 'application/json'
|
1546
|
+
# rubocop:enable Style/NegatedIf
|
1497
1547
|
|
1498
1548
|
post_body = nil
|
1499
1549
|
|
@@ -1526,7 +1576,7 @@ module OCI
|
|
1526
1576
|
# @param [String] db_system_id The DB System [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1527
1577
|
# @param [Hash] opts the optional parameters
|
1528
1578
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1529
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1579
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1530
1580
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1531
1581
|
# @option opts [String] :page The pagination token to continue listing from.
|
1532
1582
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
|
@@ -1539,6 +1589,7 @@ module OCI
|
|
1539
1589
|
path = '/dbSystems/{dbSystemId}/patchHistoryEntries'.sub('{dbSystemId}', db_system_id.to_s)
|
1540
1590
|
operation_signing_strategy = :standard
|
1541
1591
|
|
1592
|
+
# rubocop:disable Style/NegatedIf
|
1542
1593
|
# Query Params
|
1543
1594
|
query_params = {}
|
1544
1595
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1548,6 +1599,7 @@ module OCI
|
|
1548
1599
|
header_params = {}
|
1549
1600
|
header_params['accept'] = 'application/json'
|
1550
1601
|
header_params['content-type'] = 'application/json'
|
1602
|
+
# rubocop:enable Style/NegatedIf
|
1551
1603
|
|
1552
1604
|
post_body = nil
|
1553
1605
|
|
@@ -1580,7 +1632,7 @@ module OCI
|
|
1580
1632
|
# @param [String] db_system_id The DB System [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1581
1633
|
# @param [Hash] opts the optional parameters
|
1582
1634
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1583
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1635
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1584
1636
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1585
1637
|
# @option opts [String] :page The pagination token to continue listing from.
|
1586
1638
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
|
@@ -1593,6 +1645,7 @@ module OCI
|
|
1593
1645
|
path = '/dbSystems/{dbSystemId}/patches'.sub('{dbSystemId}', db_system_id.to_s)
|
1594
1646
|
operation_signing_strategy = :standard
|
1595
1647
|
|
1648
|
+
# rubocop:disable Style/NegatedIf
|
1596
1649
|
# Query Params
|
1597
1650
|
query_params = {}
|
1598
1651
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
@@ -1602,6 +1655,7 @@ module OCI
|
|
1602
1655
|
header_params = {}
|
1603
1656
|
header_params['accept'] = 'application/json'
|
1604
1657
|
header_params['content-type'] = 'application/json'
|
1658
|
+
# rubocop:enable Style/NegatedIf
|
1605
1659
|
|
1606
1660
|
post_body = nil
|
1607
1661
|
|
@@ -1634,7 +1688,7 @@ module OCI
|
|
1634
1688
|
# @param [String] compartment_id The compartment [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1635
1689
|
# @param [Hash] opts the optional parameters
|
1636
1690
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1637
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1691
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1638
1692
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1639
1693
|
# @option opts [String] :page The pagination token to continue listing from.
|
1640
1694
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbSystemShapeSummary DbSystemShapeSummary}>
|
@@ -1647,6 +1701,7 @@ module OCI
|
|
1647
1701
|
path = '/dbSystemShapes'
|
1648
1702
|
operation_signing_strategy = :standard
|
1649
1703
|
|
1704
|
+
# rubocop:disable Style/NegatedIf
|
1650
1705
|
# Query Params
|
1651
1706
|
query_params = {}
|
1652
1707
|
query_params[:availabilityDomain] = availability_domain
|
@@ -1658,6 +1713,7 @@ module OCI
|
|
1658
1713
|
header_params = {}
|
1659
1714
|
header_params['accept'] = 'application/json'
|
1660
1715
|
header_params['content-type'] = 'application/json'
|
1716
|
+
# rubocop:enable Style/NegatedIf
|
1661
1717
|
|
1662
1718
|
post_body = nil
|
1663
1719
|
|
@@ -1691,7 +1747,7 @@ module OCI
|
|
1691
1747
|
# @param [String] compartment_id The compartment [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1692
1748
|
# @param [Hash] opts the optional parameters
|
1693
1749
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1694
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1750
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1695
1751
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1696
1752
|
# @option opts [String] :page The pagination token to continue listing from.
|
1697
1753
|
# @option opts [String] :backup_id The OCID of the backup. Specify a backupId to list only the DB Systems that support creating a database using this backup in this compartment.
|
@@ -1704,6 +1760,7 @@ module OCI
|
|
1704
1760
|
path = '/dbSystems'
|
1705
1761
|
operation_signing_strategy = :standard
|
1706
1762
|
|
1763
|
+
# rubocop:disable Style/NegatedIf
|
1707
1764
|
# Query Params
|
1708
1765
|
query_params = {}
|
1709
1766
|
query_params[:compartmentId] = compartment_id
|
@@ -1715,6 +1772,7 @@ module OCI
|
|
1715
1772
|
header_params = {}
|
1716
1773
|
header_params['accept'] = 'application/json'
|
1717
1774
|
header_params['content-type'] = 'application/json'
|
1775
|
+
# rubocop:enable Style/NegatedIf
|
1718
1776
|
|
1719
1777
|
post_body = nil
|
1720
1778
|
|
@@ -1746,7 +1804,7 @@ module OCI
|
|
1746
1804
|
# @param [String] compartment_id The compartment [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1747
1805
|
# @param [Hash] opts the optional parameters
|
1748
1806
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1749
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1807
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1750
1808
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1751
1809
|
# @option opts [String] :page The pagination token to continue listing from.
|
1752
1810
|
# @option opts [String] :db_system_shape If provided, filters the results to the set of database versions which are supported for the given shape.
|
@@ -1760,6 +1818,7 @@ module OCI
|
|
1760
1818
|
path = '/dbVersions'
|
1761
1819
|
operation_signing_strategy = :standard
|
1762
1820
|
|
1821
|
+
# rubocop:disable Style/NegatedIf
|
1763
1822
|
# Query Params
|
1764
1823
|
query_params = {}
|
1765
1824
|
query_params[:compartmentId] = compartment_id
|
@@ -1772,6 +1831,7 @@ module OCI
|
|
1772
1831
|
header_params = {}
|
1773
1832
|
header_params['accept'] = 'application/json'
|
1774
1833
|
header_params['content-type'] = 'application/json'
|
1834
|
+
# rubocop:enable Style/NegatedIf
|
1775
1835
|
|
1776
1836
|
post_body = nil
|
1777
1837
|
|
@@ -1806,7 +1866,7 @@ module OCI
|
|
1806
1866
|
# @param [OCI::Database::Models::ReinstateDataGuardAssociationDetails] reinstate_data_guard_association_details A request to reinstate a database in a standby role.
|
1807
1867
|
# @param [Hash] opts the optional parameters
|
1808
1868
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1809
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1869
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1810
1870
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1811
1871
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1812
1872
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1824,6 +1884,7 @@ module OCI
|
|
1824
1884
|
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/reinstate'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
1825
1885
|
operation_signing_strategy = :standard
|
1826
1886
|
|
1887
|
+
# rubocop:disable Style/NegatedIf
|
1827
1888
|
# Query Params
|
1828
1889
|
query_params = {}
|
1829
1890
|
|
@@ -1832,6 +1893,7 @@ module OCI
|
|
1832
1893
|
header_params['accept'] = 'application/json'
|
1833
1894
|
header_params['content-type'] = 'application/json'
|
1834
1895
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1896
|
+
# rubocop:enable Style/NegatedIf
|
1835
1897
|
|
1836
1898
|
post_body = @api_client.object_to_http_body(reinstate_data_guard_association_details)
|
1837
1899
|
|
@@ -1865,7 +1927,7 @@ module OCI
|
|
1865
1927
|
# @param [OCI::Database::Models::RestoreDatabaseDetails] restore_database_details Request to perform database restore.
|
1866
1928
|
# @param [Hash] opts the optional parameters
|
1867
1929
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1868
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1930
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1869
1931
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1870
1932
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1871
1933
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1881,6 +1943,7 @@ module OCI
|
|
1881
1943
|
path = '/databases/{databaseId}/actions/restore'.sub('{databaseId}', database_id.to_s)
|
1882
1944
|
operation_signing_strategy = :standard
|
1883
1945
|
|
1946
|
+
# rubocop:disable Style/NegatedIf
|
1884
1947
|
# Query Params
|
1885
1948
|
query_params = {}
|
1886
1949
|
|
@@ -1889,6 +1952,7 @@ module OCI
|
|
1889
1952
|
header_params['accept'] = 'application/json'
|
1890
1953
|
header_params['content-type'] = 'application/json'
|
1891
1954
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1955
|
+
# rubocop:enable Style/NegatedIf
|
1892
1956
|
|
1893
1957
|
post_body = @api_client.object_to_http_body(restore_database_details)
|
1894
1958
|
|
@@ -1926,7 +1990,7 @@ module OCI
|
|
1926
1990
|
# @param [OCI::Database::Models::SwitchoverDataGuardAssociationDetails] switchover_data_guard_association_details Request to swtichover a primary to a standby.
|
1927
1991
|
# @param [Hash] opts the optional parameters
|
1928
1992
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1929
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
1993
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1930
1994
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1931
1995
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1932
1996
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1944,6 +2008,7 @@ module OCI
|
|
1944
2008
|
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/switchover'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
1945
2009
|
operation_signing_strategy = :standard
|
1946
2010
|
|
2011
|
+
# rubocop:disable Style/NegatedIf
|
1947
2012
|
# Query Params
|
1948
2013
|
query_params = {}
|
1949
2014
|
|
@@ -1952,6 +2017,7 @@ module OCI
|
|
1952
2017
|
header_params['accept'] = 'application/json'
|
1953
2018
|
header_params['content-type'] = 'application/json'
|
1954
2019
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2020
|
+
# rubocop:enable Style/NegatedIf
|
1955
2021
|
|
1956
2022
|
post_body = @api_client.object_to_http_body(switchover_data_guard_association_details)
|
1957
2023
|
|
@@ -1983,7 +2049,7 @@ module OCI
|
|
1983
2049
|
# @param [String] db_system_id The DB System [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1984
2050
|
# @param [Hash] opts the optional parameters
|
1985
2051
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1986
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
2052
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1987
2053
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1988
2054
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1989
2055
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1998,6 +2064,7 @@ module OCI
|
|
1998
2064
|
path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s)
|
1999
2065
|
operation_signing_strategy = :standard
|
2000
2066
|
|
2067
|
+
# rubocop:disable Style/NegatedIf
|
2001
2068
|
# Query Params
|
2002
2069
|
query_params = {}
|
2003
2070
|
|
@@ -2006,6 +2073,7 @@ module OCI
|
|
2006
2073
|
header_params['accept'] = 'application/json'
|
2007
2074
|
header_params['content-type'] = 'application/json'
|
2008
2075
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2076
|
+
# rubocop:enable Style/NegatedIf
|
2009
2077
|
|
2010
2078
|
post_body = nil
|
2011
2079
|
|
@@ -2038,7 +2106,7 @@ module OCI
|
|
2038
2106
|
# @param [OCI::Database::Models::UpdateDatabaseDetails] update_database_details Request to perform database update.
|
2039
2107
|
# @param [Hash] opts the optional parameters
|
2040
2108
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2041
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
2109
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2042
2110
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2043
2111
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2044
2112
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -2054,6 +2122,7 @@ module OCI
|
|
2054
2122
|
path = '/databases/{databaseId}'.sub('{databaseId}', database_id.to_s)
|
2055
2123
|
operation_signing_strategy = :standard
|
2056
2124
|
|
2125
|
+
# rubocop:disable Style/NegatedIf
|
2057
2126
|
# Query Params
|
2058
2127
|
query_params = {}
|
2059
2128
|
|
@@ -2062,6 +2131,7 @@ module OCI
|
|
2062
2131
|
header_params['accept'] = 'application/json'
|
2063
2132
|
header_params['content-type'] = 'application/json'
|
2064
2133
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2134
|
+
# rubocop:enable Style/NegatedIf
|
2065
2135
|
|
2066
2136
|
post_body = @api_client.object_to_http_body(update_database_details)
|
2067
2137
|
|
@@ -2094,7 +2164,7 @@ module OCI
|
|
2094
2164
|
# @param [OCI::Database::Models::UpdateDbHomeDetails] update_db_home_details Request to update the properties of a DB Home.
|
2095
2165
|
# @param [Hash] opts the optional parameters
|
2096
2166
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2097
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
2167
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2098
2168
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2099
2169
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2100
2170
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -2110,6 +2180,7 @@ module OCI
|
|
2110
2180
|
path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s)
|
2111
2181
|
operation_signing_strategy = :standard
|
2112
2182
|
|
2183
|
+
# rubocop:disable Style/NegatedIf
|
2113
2184
|
# Query Params
|
2114
2185
|
query_params = {}
|
2115
2186
|
|
@@ -2118,6 +2189,7 @@ module OCI
|
|
2118
2189
|
header_params['accept'] = 'application/json'
|
2119
2190
|
header_params['content-type'] = 'application/json'
|
2120
2191
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2192
|
+
# rubocop:enable Style/NegatedIf
|
2121
2193
|
|
2122
2194
|
post_body = @api_client.object_to_http_body(update_db_home_details)
|
2123
2195
|
|
@@ -2150,7 +2222,7 @@ module OCI
|
|
2150
2222
|
# @param [OCI::Database::Models::UpdateDbSystemDetails] update_db_system_details Request to update the properties of a DB System.
|
2151
2223
|
# @param [Hash] opts the optional parameters
|
2152
2224
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2153
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then
|
2225
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2154
2226
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2155
2227
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2156
2228
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -2166,6 +2238,7 @@ module OCI
|
|
2166
2238
|
path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s)
|
2167
2239
|
operation_signing_strategy = :standard
|
2168
2240
|
|
2241
|
+
# rubocop:disable Style/NegatedIf
|
2169
2242
|
# Query Params
|
2170
2243
|
query_params = {}
|
2171
2244
|
|
@@ -2174,6 +2247,7 @@ module OCI
|
|
2174
2247
|
header_params['accept'] = 'application/json'
|
2175
2248
|
header_params['content-type'] = 'application/json'
|
2176
2249
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2250
|
+
# rubocop:enable Style/NegatedIf
|
2177
2251
|
|
2178
2252
|
post_body = @api_client.object_to_http_body(update_db_system_details)
|
2179
2253
|
|