oci 2.3.6 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -10
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +2 -2
- data/lib/oci/audit/audit_client.rb +11 -9
- data/lib/oci/base_signer.rb +13 -13
- data/lib/oci/container_engine/container_engine_client.rb +43 -39
- data/lib/oci/container_engine/models/node_error.rb +1 -1
- data/lib/oci/container_engine/models/work_request_error.rb +1 -1
- data/lib/oci/core/blockstorage_client.rb +421 -75
- data/lib/oci/core/compute_client.rb +77 -75
- data/lib/oci/core/compute_client_composite_operations.rb +40 -0
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/boot_volume.rb +18 -4
- data/lib/oci/core/models/boot_volume_kms_key.rb +152 -0
- data/lib/oci/core/models/create_boot_volume_details.rb +15 -1
- data/lib/oci/core/models/create_image_details.rb +2 -0
- data/lib/oci/core/models/create_volume_details.rb +15 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
- data/lib/oci/core/models/image.rb +2 -0
- data/lib/oci/core/models/instance.rb +2 -0
- data/lib/oci/core/models/instance_source_via_image_details.rb +18 -4
- data/lib/oci/core/models/launch_options.rb +2 -0
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +154 -0
- data/lib/oci/core/models/update_volume_kms_key_details.rb +154 -0
- data/lib/oci/core/models/volume.rb +15 -1
- data/lib/oci/core/models/volume_kms_key.rb +152 -0
- data/lib/oci/core/virtual_network_client.rb +233 -231
- data/lib/oci/core/virtual_network_client_composite_operations.rb +80 -0
- data/lib/oci/database/database_client.rb +123 -121
- data/lib/oci/database/database_client_composite_operations.rb +399 -0
- data/lib/oci/database/models/patch.rb +1 -1
- data/lib/oci/database/models/patch_summary.rb +1 -1
- data/lib/oci/dns/dns_client.rb +38 -36
- data/lib/oci/email/email_client.rb +21 -19
- data/lib/oci/email/models/sender.rb +1 -1
- data/lib/oci/email/models/suppression.rb +1 -1
- data/lib/oci/file_storage/file_storage_client.rb +49 -47
- data/lib/oci/identity/identity_client.rb +151 -149
- data/lib/oci/identity/identity_client_composite_operations.rb +40 -0
- data/lib/oci/key_management/key_management.rb +40 -0
- data/lib/oci/key_management/kms_crypto_client.rb +258 -0
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +24 -0
- data/lib/oci/key_management/kms_management_client.rb +716 -0
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +181 -0
- data/lib/oci/key_management/kms_vault_client.rb +533 -0
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +182 -0
- data/lib/oci/key_management/models/create_key_details.rb +180 -0
- data/lib/oci/key_management/models/create_vault_details.rb +194 -0
- data/lib/oci/key_management/models/decrypt_data_details.rb +177 -0
- data/lib/oci/key_management/models/decrypted_data.rb +160 -0
- data/lib/oci/key_management/models/encrypt_data_details.rb +177 -0
- data/lib/oci/key_management/models/encrypted_data.rb +146 -0
- data/lib/oci/key_management/models/generate_key_details.rb +195 -0
- data/lib/oci/key_management/models/generated_key.rb +177 -0
- data/lib/oci/key_management/models/key.rb +318 -0
- data/lib/oci/key_management/models/key_shape.rb +178 -0
- data/lib/oci/key_management/models/key_summary.rb +287 -0
- data/lib/oci/key_management/models/key_version.rb +205 -0
- data/lib/oci/key_management/models/key_version_summary.rb +205 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +153 -0
- data/lib/oci/key_management/models/update_key_details.rb +152 -0
- data/lib/oci/key_management/models/update_vault_details.rb +152 -0
- data/lib/oci/key_management/models/vault.rb +350 -0
- data/lib/oci/key_management/models/vault_summary.rb +334 -0
- data/lib/oci/key_management/util.rb +2 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +89 -87
- data/lib/oci/object_storage/models/bucket.rb +18 -4
- data/lib/oci/object_storage/models/create_bucket_details.rb +18 -4
- data/lib/oci/object_storage/models/multipart_upload.rb +1 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +1 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +22 -4
- data/lib/oci/object_storage/object_storage_client.rb +63 -58
- data/lib/oci/resource_search/resource_search_client.rb +11 -9
- data/lib/oci/version.rb +1 -1
- metadata +32 -2
@@ -24,6 +24,46 @@ module OCI
|
|
24
24
|
# rubocop:disable Layout/EmptyLines
|
25
25
|
|
26
26
|
|
27
|
+
# Calls {OCI::Core::VirtualNetworkClient#attach_service_id} and then waits for the {OCI::Core::Models::ServiceGateway} acted upon
|
28
|
+
# to enter the given state(s).
|
29
|
+
#
|
30
|
+
# @param [String] service_gateway_id The service gateway's [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
31
|
+
# @param [OCI::Core::Models::ServiceIdRequestDetails] attach_service_details ServiceId of Service to be attached to a service gateway.
|
32
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::ServiceGateway#lifecycle_state}
|
33
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::VirtualNetworkClient#attach_service_id}
|
34
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
35
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
36
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
37
|
+
#
|
38
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Core::Models::ServiceGateway}
|
39
|
+
def attach_service_id_and_wait_for_state(service_gateway_id, attach_service_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
40
|
+
operation_result = @service_client.attach_service_id(service_gateway_id, attach_service_details, base_operation_opts)
|
41
|
+
|
42
|
+
return operation_result if wait_for_states.empty?
|
43
|
+
|
44
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
45
|
+
wait_for_resource_id = operation_result.data.id
|
46
|
+
|
47
|
+
begin
|
48
|
+
waiter_result = @service_client.get_service_gateway(wait_for_resource_id).wait_until(
|
49
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
50
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
51
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
52
|
+
)
|
53
|
+
result_to_return = waiter_result
|
54
|
+
|
55
|
+
return result_to_return
|
56
|
+
rescue StandardError
|
57
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
61
|
+
# rubocop:enable Layout/EmptyLines
|
62
|
+
|
63
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
64
|
+
# rubocop:disable Layout/EmptyLines
|
65
|
+
|
66
|
+
|
27
67
|
# Calls {OCI::Core::VirtualNetworkClient#create_cross_connect} and then waits for the {OCI::Core::Models::CrossConnect} acted upon
|
28
68
|
# to enter the given state(s).
|
29
69
|
#
|
@@ -1288,6 +1328,46 @@ module OCI
|
|
1288
1328
|
# rubocop:disable Layout/EmptyLines
|
1289
1329
|
|
1290
1330
|
|
1331
|
+
# Calls {OCI::Core::VirtualNetworkClient#detach_service_id} and then waits for the {OCI::Core::Models::ServiceGateway} acted upon
|
1332
|
+
# to enter the given state(s).
|
1333
|
+
#
|
1334
|
+
# @param [String] service_gateway_id The service gateway's [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
1335
|
+
# @param [OCI::Core::Models::ServiceIdRequestDetails] detach_service_details ServiceId of Service to be detached from a service gateway.
|
1336
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::ServiceGateway#lifecycle_state}
|
1337
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::VirtualNetworkClient#detach_service_id}
|
1338
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
1339
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
1340
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
1341
|
+
#
|
1342
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Core::Models::ServiceGateway}
|
1343
|
+
def detach_service_id_and_wait_for_state(service_gateway_id, detach_service_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
1344
|
+
operation_result = @service_client.detach_service_id(service_gateway_id, detach_service_details, base_operation_opts)
|
1345
|
+
|
1346
|
+
return operation_result if wait_for_states.empty?
|
1347
|
+
|
1348
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
1349
|
+
wait_for_resource_id = operation_result.data.id
|
1350
|
+
|
1351
|
+
begin
|
1352
|
+
waiter_result = @service_client.get_service_gateway(wait_for_resource_id).wait_until(
|
1353
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
1354
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
1355
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
1356
|
+
)
|
1357
|
+
result_to_return = waiter_result
|
1358
|
+
|
1359
|
+
return result_to_return
|
1360
|
+
rescue StandardError
|
1361
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1365
|
+
# rubocop:enable Layout/EmptyLines
|
1366
|
+
|
1367
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1368
|
+
# rubocop:disable Layout/EmptyLines
|
1369
|
+
|
1370
|
+
|
1291
1371
|
# Calls {OCI::Core::VirtualNetworkClient#update_cross_connect} and then waits for the {OCI::Core::Models::CrossConnect} acted upon
|
1292
1372
|
# to enter the given state(s).
|
1293
1373
|
#
|
@@ -29,10 +29,12 @@ module OCI
|
|
29
29
|
|
30
30
|
|
31
31
|
# Creates a new DatabaseClient.
|
32
|
-
#
|
32
|
+
# Notes:
|
33
|
+
# If a config is not specified, then the global OCI.config will be used.
|
34
|
+
# This client is not thread-safe
|
33
35
|
#
|
34
|
-
#
|
35
|
-
#
|
36
|
+
# A region must be specified in either the config or the region parameter. If specified in both,
|
37
|
+
# then the region parameter will be used.
|
36
38
|
#
|
37
39
|
# @param [Config] config A Config object.
|
38
40
|
# @param [String] region A region used to determine the service endpoint. This will usually
|
@@ -126,8 +128,8 @@ module OCI
|
|
126
128
|
|
127
129
|
# Header Params
|
128
130
|
header_params = {}
|
129
|
-
header_params[
|
130
|
-
header_params['content-type'] = 'application/json'
|
131
|
+
header_params[:accept] = 'application/json'
|
132
|
+
header_params[:'content-type'] = 'application/json'
|
131
133
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
132
134
|
# rubocop:enable Style/NegatedIf
|
133
135
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -185,8 +187,8 @@ module OCI
|
|
185
187
|
|
186
188
|
# Header Params
|
187
189
|
header_params = {}
|
188
|
-
header_params[
|
189
|
-
header_params['content-type'] = 'application/json'
|
190
|
+
header_params[:accept] = 'application/json'
|
191
|
+
header_params[:'content-type'] = 'application/json'
|
190
192
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
191
193
|
# rubocop:enable Style/NegatedIf
|
192
194
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -244,8 +246,8 @@ module OCI
|
|
244
246
|
|
245
247
|
# Header Params
|
246
248
|
header_params = {}
|
247
|
-
header_params[
|
248
|
-
header_params['content-type'] = 'application/json'
|
249
|
+
header_params[:accept] = 'application/json'
|
250
|
+
header_params[:'content-type'] = 'application/json'
|
249
251
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
250
252
|
# rubocop:enable Style/NegatedIf
|
251
253
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -303,8 +305,8 @@ module OCI
|
|
303
305
|
|
304
306
|
# Header Params
|
305
307
|
header_params = {}
|
306
|
-
header_params[
|
307
|
-
header_params['content-type'] = 'application/json'
|
308
|
+
header_params[:accept] = 'application/json'
|
309
|
+
header_params[:'content-type'] = 'application/json'
|
308
310
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
309
311
|
# rubocop:enable Style/NegatedIf
|
310
312
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -362,8 +364,8 @@ module OCI
|
|
362
364
|
|
363
365
|
# Header Params
|
364
366
|
header_params = {}
|
365
|
-
header_params[
|
366
|
-
header_params['content-type'] = 'application/json'
|
367
|
+
header_params[:accept] = 'application/json'
|
368
|
+
header_params[:'content-type'] = 'application/json'
|
367
369
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
368
370
|
# rubocop:enable Style/NegatedIf
|
369
371
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -431,8 +433,8 @@ module OCI
|
|
431
433
|
|
432
434
|
# Header Params
|
433
435
|
header_params = {}
|
434
|
-
header_params[
|
435
|
-
header_params['content-type'] = 'application/json'
|
436
|
+
header_params[:accept] = 'application/json'
|
437
|
+
header_params[:'content-type'] = 'application/json'
|
436
438
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
437
439
|
# rubocop:enable Style/NegatedIf
|
438
440
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -490,8 +492,8 @@ module OCI
|
|
490
492
|
|
491
493
|
# Header Params
|
492
494
|
header_params = {}
|
493
|
-
header_params[
|
494
|
-
header_params['content-type'] = 'application/json'
|
495
|
+
header_params[:accept] = 'application/json'
|
496
|
+
header_params[:'content-type'] = 'application/json'
|
495
497
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
496
498
|
# rubocop:enable Style/NegatedIf
|
497
499
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -575,8 +577,8 @@ module OCI
|
|
575
577
|
|
576
578
|
# Header Params
|
577
579
|
header_params = {}
|
578
|
-
header_params[
|
579
|
-
header_params['content-type'] = 'application/json'
|
580
|
+
header_params[:accept] = 'application/json'
|
581
|
+
header_params[:'content-type'] = 'application/json'
|
580
582
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
581
583
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
582
584
|
# rubocop:enable Style/NegatedIf
|
@@ -634,8 +636,8 @@ module OCI
|
|
634
636
|
|
635
637
|
# Header Params
|
636
638
|
header_params = {}
|
637
|
-
header_params[
|
638
|
-
header_params['content-type'] = 'application/json'
|
639
|
+
header_params[:accept] = 'application/json'
|
640
|
+
header_params[:'content-type'] = 'application/json'
|
639
641
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
640
642
|
# rubocop:enable Style/NegatedIf
|
641
643
|
|
@@ -690,8 +692,8 @@ module OCI
|
|
690
692
|
|
691
693
|
# Header Params
|
692
694
|
header_params = {}
|
693
|
-
header_params[
|
694
|
-
header_params['content-type'] = 'application/json'
|
695
|
+
header_params[:accept] = 'application/json'
|
696
|
+
header_params[:'content-type'] = 'application/json'
|
695
697
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
696
698
|
# rubocop:enable Style/NegatedIf
|
697
699
|
|
@@ -745,8 +747,8 @@ module OCI
|
|
745
747
|
|
746
748
|
# Header Params
|
747
749
|
header_params = {}
|
748
|
-
header_params[
|
749
|
-
header_params['content-type'] = 'application/json'
|
750
|
+
header_params[:accept] = 'application/json'
|
751
|
+
header_params[:'content-type'] = 'application/json'
|
750
752
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
751
753
|
# rubocop:enable Style/NegatedIf
|
752
754
|
|
@@ -803,8 +805,8 @@ module OCI
|
|
803
805
|
|
804
806
|
# Header Params
|
805
807
|
header_params = {}
|
806
|
-
header_params[
|
807
|
-
header_params['content-type'] = 'application/json'
|
808
|
+
header_params[:accept] = 'application/json'
|
809
|
+
header_params[:'content-type'] = 'application/json'
|
808
810
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
809
811
|
# rubocop:enable Style/NegatedIf
|
810
812
|
|
@@ -868,8 +870,8 @@ module OCI
|
|
868
870
|
|
869
871
|
# Header Params
|
870
872
|
header_params = {}
|
871
|
-
header_params[
|
872
|
-
header_params['content-type'] = 'application/json'
|
873
|
+
header_params[:accept] = 'application/json'
|
874
|
+
header_params[:'content-type'] = 'application/json'
|
873
875
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
874
876
|
# rubocop:enable Style/NegatedIf
|
875
877
|
|
@@ -922,8 +924,8 @@ module OCI
|
|
922
924
|
|
923
925
|
# Header Params
|
924
926
|
header_params = {}
|
925
|
-
header_params[
|
926
|
-
header_params['content-type'] = 'application/json'
|
927
|
+
header_params[:accept] = 'application/json'
|
928
|
+
header_params[:'content-type'] = 'application/json'
|
927
929
|
# rubocop:enable Style/NegatedIf
|
928
930
|
|
929
931
|
post_body = nil
|
@@ -975,8 +977,8 @@ module OCI
|
|
975
977
|
|
976
978
|
# Header Params
|
977
979
|
header_params = {}
|
978
|
-
header_params[
|
979
|
-
header_params['content-type'] = 'application/json'
|
980
|
+
header_params[:accept] = 'application/json'
|
981
|
+
header_params[:'content-type'] = 'application/json'
|
980
982
|
# rubocop:enable Style/NegatedIf
|
981
983
|
|
982
984
|
post_body = nil
|
@@ -1029,8 +1031,8 @@ module OCI
|
|
1029
1031
|
|
1030
1032
|
# Header Params
|
1031
1033
|
header_params = {}
|
1032
|
-
header_params[
|
1033
|
-
header_params['content-type'] = 'application/json'
|
1034
|
+
header_params[:accept] = 'application/json'
|
1035
|
+
header_params[:'content-type'] = 'application/json'
|
1034
1036
|
# rubocop:enable Style/NegatedIf
|
1035
1037
|
|
1036
1038
|
post_body = nil
|
@@ -1082,8 +1084,8 @@ module OCI
|
|
1082
1084
|
|
1083
1085
|
# Header Params
|
1084
1086
|
header_params = {}
|
1085
|
-
header_params[
|
1086
|
-
header_params['content-type'] = 'application/json'
|
1087
|
+
header_params[:accept] = 'application/json'
|
1088
|
+
header_params[:'content-type'] = 'application/json'
|
1087
1089
|
# rubocop:enable Style/NegatedIf
|
1088
1090
|
|
1089
1091
|
post_body = nil
|
@@ -1135,8 +1137,8 @@ module OCI
|
|
1135
1137
|
|
1136
1138
|
# Header Params
|
1137
1139
|
header_params = {}
|
1138
|
-
header_params[
|
1139
|
-
header_params['content-type'] = 'application/json'
|
1140
|
+
header_params[:accept] = 'application/json'
|
1141
|
+
header_params[:'content-type'] = 'application/json'
|
1140
1142
|
# rubocop:enable Style/NegatedIf
|
1141
1143
|
|
1142
1144
|
post_body = nil
|
@@ -1192,8 +1194,8 @@ module OCI
|
|
1192
1194
|
|
1193
1195
|
# Header Params
|
1194
1196
|
header_params = {}
|
1195
|
-
header_params[
|
1196
|
-
header_params['content-type'] = 'application/json'
|
1197
|
+
header_params[:accept] = 'application/json'
|
1198
|
+
header_params[:'content-type'] = 'application/json'
|
1197
1199
|
# rubocop:enable Style/NegatedIf
|
1198
1200
|
|
1199
1201
|
post_body = nil
|
@@ -1245,8 +1247,8 @@ module OCI
|
|
1245
1247
|
|
1246
1248
|
# Header Params
|
1247
1249
|
header_params = {}
|
1248
|
-
header_params[
|
1249
|
-
header_params['content-type'] = 'application/json'
|
1250
|
+
header_params[:accept] = 'application/json'
|
1251
|
+
header_params[:'content-type'] = 'application/json'
|
1250
1252
|
# rubocop:enable Style/NegatedIf
|
1251
1253
|
|
1252
1254
|
post_body = nil
|
@@ -1298,8 +1300,8 @@ module OCI
|
|
1298
1300
|
|
1299
1301
|
# Header Params
|
1300
1302
|
header_params = {}
|
1301
|
-
header_params[
|
1302
|
-
header_params['content-type'] = 'application/json'
|
1303
|
+
header_params[:accept] = 'application/json'
|
1304
|
+
header_params[:'content-type'] = 'application/json'
|
1303
1305
|
# rubocop:enable Style/NegatedIf
|
1304
1306
|
|
1305
1307
|
post_body = nil
|
@@ -1355,8 +1357,8 @@ module OCI
|
|
1355
1357
|
|
1356
1358
|
# Header Params
|
1357
1359
|
header_params = {}
|
1358
|
-
header_params[
|
1359
|
-
header_params['content-type'] = 'application/json'
|
1360
|
+
header_params[:accept] = 'application/json'
|
1361
|
+
header_params[:'content-type'] = 'application/json'
|
1360
1362
|
# rubocop:enable Style/NegatedIf
|
1361
1363
|
|
1362
1364
|
post_body = nil
|
@@ -1412,8 +1414,8 @@ module OCI
|
|
1412
1414
|
|
1413
1415
|
# Header Params
|
1414
1416
|
header_params = {}
|
1415
|
-
header_params[
|
1416
|
-
header_params['content-type'] = 'application/json'
|
1417
|
+
header_params[:accept] = 'application/json'
|
1418
|
+
header_params[:'content-type'] = 'application/json'
|
1417
1419
|
# rubocop:enable Style/NegatedIf
|
1418
1420
|
|
1419
1421
|
post_body = nil
|
@@ -1465,8 +1467,8 @@ module OCI
|
|
1465
1467
|
|
1466
1468
|
# Header Params
|
1467
1469
|
header_params = {}
|
1468
|
-
header_params[
|
1469
|
-
header_params['content-type'] = 'application/json'
|
1470
|
+
header_params[:accept] = 'application/json'
|
1471
|
+
header_params[:'content-type'] = 'application/json'
|
1470
1472
|
# rubocop:enable Style/NegatedIf
|
1471
1473
|
|
1472
1474
|
post_body = nil
|
@@ -1518,8 +1520,8 @@ module OCI
|
|
1518
1520
|
|
1519
1521
|
# Header Params
|
1520
1522
|
header_params = {}
|
1521
|
-
header_params[
|
1522
|
-
header_params['content-type'] = 'application/json'
|
1523
|
+
header_params[:accept] = 'application/json'
|
1524
|
+
header_params[:'content-type'] = 'application/json'
|
1523
1525
|
# rubocop:enable Style/NegatedIf
|
1524
1526
|
|
1525
1527
|
post_body = nil
|
@@ -1575,8 +1577,8 @@ module OCI
|
|
1575
1577
|
|
1576
1578
|
# Header Params
|
1577
1579
|
header_params = {}
|
1578
|
-
header_params[
|
1579
|
-
header_params['content-type'] = 'application/json'
|
1580
|
+
header_params[:accept] = 'application/json'
|
1581
|
+
header_params[:'content-type'] = 'application/json'
|
1580
1582
|
# rubocop:enable Style/NegatedIf
|
1581
1583
|
|
1582
1584
|
post_body = nil
|
@@ -1632,8 +1634,8 @@ module OCI
|
|
1632
1634
|
|
1633
1635
|
# Header Params
|
1634
1636
|
header_params = {}
|
1635
|
-
header_params[
|
1636
|
-
header_params['content-type'] = 'application/json'
|
1637
|
+
header_params[:accept] = 'application/json'
|
1638
|
+
header_params[:'content-type'] = 'application/json'
|
1637
1639
|
# rubocop:enable Style/NegatedIf
|
1638
1640
|
|
1639
1641
|
post_body = nil
|
@@ -1695,8 +1697,8 @@ module OCI
|
|
1695
1697
|
|
1696
1698
|
# Header Params
|
1697
1699
|
header_params = {}
|
1698
|
-
header_params[
|
1699
|
-
header_params['content-type'] = 'application/json'
|
1700
|
+
header_params[:accept] = 'application/json'
|
1701
|
+
header_params[:'content-type'] = 'application/json'
|
1700
1702
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1701
1703
|
# rubocop:enable Style/NegatedIf
|
1702
1704
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
@@ -1779,8 +1781,8 @@ module OCI
|
|
1779
1781
|
|
1780
1782
|
# Header Params
|
1781
1783
|
header_params = {}
|
1782
|
-
header_params[
|
1783
|
-
header_params['content-type'] = 'application/json'
|
1784
|
+
header_params[:accept] = 'application/json'
|
1785
|
+
header_params[:'content-type'] = 'application/json'
|
1784
1786
|
# rubocop:enable Style/NegatedIf
|
1785
1787
|
|
1786
1788
|
post_body = nil
|
@@ -1860,8 +1862,8 @@ module OCI
|
|
1860
1862
|
|
1861
1863
|
# Header Params
|
1862
1864
|
header_params = {}
|
1863
|
-
header_params[
|
1864
|
-
header_params['content-type'] = 'application/json'
|
1865
|
+
header_params[:accept] = 'application/json'
|
1866
|
+
header_params[:'content-type'] = 'application/json'
|
1865
1867
|
# rubocop:enable Style/NegatedIf
|
1866
1868
|
|
1867
1869
|
post_body = nil
|
@@ -1942,8 +1944,8 @@ module OCI
|
|
1942
1944
|
|
1943
1945
|
# Header Params
|
1944
1946
|
header_params = {}
|
1945
|
-
header_params[
|
1946
|
-
header_params['content-type'] = 'application/json'
|
1947
|
+
header_params[:accept] = 'application/json'
|
1948
|
+
header_params[:'content-type'] = 'application/json'
|
1947
1949
|
# rubocop:enable Style/NegatedIf
|
1948
1950
|
|
1949
1951
|
post_body = nil
|
@@ -2023,8 +2025,8 @@ module OCI
|
|
2023
2025
|
|
2024
2026
|
# Header Params
|
2025
2027
|
header_params = {}
|
2026
|
-
header_params[
|
2027
|
-
header_params['content-type'] = 'application/json'
|
2028
|
+
header_params[:accept] = 'application/json'
|
2029
|
+
header_params[:'content-type'] = 'application/json'
|
2028
2030
|
# rubocop:enable Style/NegatedIf
|
2029
2031
|
|
2030
2032
|
post_body = nil
|
@@ -2080,8 +2082,8 @@ module OCI
|
|
2080
2082
|
|
2081
2083
|
# Header Params
|
2082
2084
|
header_params = {}
|
2083
|
-
header_params[
|
2084
|
-
header_params['content-type'] = 'application/json'
|
2085
|
+
header_params[:accept] = 'application/json'
|
2086
|
+
header_params[:'content-type'] = 'application/json'
|
2085
2087
|
# rubocop:enable Style/NegatedIf
|
2086
2088
|
|
2087
2089
|
post_body = nil
|
@@ -2136,8 +2138,8 @@ module OCI
|
|
2136
2138
|
|
2137
2139
|
# Header Params
|
2138
2140
|
header_params = {}
|
2139
|
-
header_params[
|
2140
|
-
header_params['content-type'] = 'application/json'
|
2141
|
+
header_params[:accept] = 'application/json'
|
2142
|
+
header_params[:'content-type'] = 'application/json'
|
2141
2143
|
# rubocop:enable Style/NegatedIf
|
2142
2144
|
|
2143
2145
|
post_body = nil
|
@@ -2195,8 +2197,8 @@ module OCI
|
|
2195
2197
|
|
2196
2198
|
# Header Params
|
2197
2199
|
header_params = {}
|
2198
|
-
header_params[
|
2199
|
-
header_params['content-type'] = 'application/json'
|
2200
|
+
header_params[:accept] = 'application/json'
|
2201
|
+
header_params[:'content-type'] = 'application/json'
|
2200
2202
|
# rubocop:enable Style/NegatedIf
|
2201
2203
|
|
2202
2204
|
post_body = nil
|
@@ -2251,8 +2253,8 @@ module OCI
|
|
2251
2253
|
|
2252
2254
|
# Header Params
|
2253
2255
|
header_params = {}
|
2254
|
-
header_params[
|
2255
|
-
header_params['content-type'] = 'application/json'
|
2256
|
+
header_params[:accept] = 'application/json'
|
2257
|
+
header_params[:'content-type'] = 'application/json'
|
2256
2258
|
# rubocop:enable Style/NegatedIf
|
2257
2259
|
|
2258
2260
|
post_body = nil
|
@@ -2307,8 +2309,8 @@ module OCI
|
|
2307
2309
|
|
2308
2310
|
# Header Params
|
2309
2311
|
header_params = {}
|
2310
|
-
header_params[
|
2311
|
-
header_params['content-type'] = 'application/json'
|
2312
|
+
header_params[:accept] = 'application/json'
|
2313
|
+
header_params[:'content-type'] = 'application/json'
|
2312
2314
|
# rubocop:enable Style/NegatedIf
|
2313
2315
|
|
2314
2316
|
post_body = nil
|
@@ -2366,8 +2368,8 @@ module OCI
|
|
2366
2368
|
|
2367
2369
|
# Header Params
|
2368
2370
|
header_params = {}
|
2369
|
-
header_params[
|
2370
|
-
header_params['content-type'] = 'application/json'
|
2371
|
+
header_params[:accept] = 'application/json'
|
2372
|
+
header_params[:'content-type'] = 'application/json'
|
2371
2373
|
# rubocop:enable Style/NegatedIf
|
2372
2374
|
|
2373
2375
|
post_body = nil
|
@@ -2425,8 +2427,8 @@ module OCI
|
|
2425
2427
|
|
2426
2428
|
# Header Params
|
2427
2429
|
header_params = {}
|
2428
|
-
header_params[
|
2429
|
-
header_params['content-type'] = 'application/json'
|
2430
|
+
header_params[:accept] = 'application/json'
|
2431
|
+
header_params[:'content-type'] = 'application/json'
|
2430
2432
|
# rubocop:enable Style/NegatedIf
|
2431
2433
|
|
2432
2434
|
post_body = nil
|
@@ -2481,8 +2483,8 @@ module OCI
|
|
2481
2483
|
|
2482
2484
|
# Header Params
|
2483
2485
|
header_params = {}
|
2484
|
-
header_params[
|
2485
|
-
header_params['content-type'] = 'application/json'
|
2486
|
+
header_params[:accept] = 'application/json'
|
2487
|
+
header_params[:'content-type'] = 'application/json'
|
2486
2488
|
# rubocop:enable Style/NegatedIf
|
2487
2489
|
|
2488
2490
|
post_body = nil
|
@@ -2537,8 +2539,8 @@ module OCI
|
|
2537
2539
|
|
2538
2540
|
# Header Params
|
2539
2541
|
header_params = {}
|
2540
|
-
header_params[
|
2541
|
-
header_params['content-type'] = 'application/json'
|
2542
|
+
header_params[:accept] = 'application/json'
|
2543
|
+
header_params[:'content-type'] = 'application/json'
|
2542
2544
|
# rubocop:enable Style/NegatedIf
|
2543
2545
|
|
2544
2546
|
post_body = nil
|
@@ -2595,8 +2597,8 @@ module OCI
|
|
2595
2597
|
|
2596
2598
|
# Header Params
|
2597
2599
|
header_params = {}
|
2598
|
-
header_params[
|
2599
|
-
header_params['content-type'] = 'application/json'
|
2600
|
+
header_params[:accept] = 'application/json'
|
2601
|
+
header_params[:'content-type'] = 'application/json'
|
2600
2602
|
# rubocop:enable Style/NegatedIf
|
2601
2603
|
|
2602
2604
|
post_body = nil
|
@@ -2654,8 +2656,8 @@ module OCI
|
|
2654
2656
|
|
2655
2657
|
# Header Params
|
2656
2658
|
header_params = {}
|
2657
|
-
header_params[
|
2658
|
-
header_params['content-type'] = 'application/json'
|
2659
|
+
header_params[:accept] = 'application/json'
|
2660
|
+
header_params[:'content-type'] = 'application/json'
|
2659
2661
|
# rubocop:enable Style/NegatedIf
|
2660
2662
|
|
2661
2663
|
post_body = nil
|
@@ -2713,8 +2715,8 @@ module OCI
|
|
2713
2715
|
|
2714
2716
|
# Header Params
|
2715
2717
|
header_params = {}
|
2716
|
-
header_params[
|
2717
|
-
header_params['content-type'] = 'application/json'
|
2718
|
+
header_params[:accept] = 'application/json'
|
2719
|
+
header_params[:'content-type'] = 'application/json'
|
2718
2720
|
# rubocop:enable Style/NegatedIf
|
2719
2721
|
|
2720
2722
|
post_body = nil
|
@@ -2774,8 +2776,8 @@ module OCI
|
|
2774
2776
|
|
2775
2777
|
# Header Params
|
2776
2778
|
header_params = {}
|
2777
|
-
header_params[
|
2778
|
-
header_params['content-type'] = 'application/json'
|
2779
|
+
header_params[:accept] = 'application/json'
|
2780
|
+
header_params[:'content-type'] = 'application/json'
|
2779
2781
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2780
2782
|
# rubocop:enable Style/NegatedIf
|
2781
2783
|
|
@@ -2833,8 +2835,8 @@ module OCI
|
|
2833
2835
|
|
2834
2836
|
# Header Params
|
2835
2837
|
header_params = {}
|
2836
|
-
header_params[
|
2837
|
-
header_params['content-type'] = 'application/json'
|
2838
|
+
header_params[:accept] = 'application/json'
|
2839
|
+
header_params[:'content-type'] = 'application/json'
|
2838
2840
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2839
2841
|
# rubocop:enable Style/NegatedIf
|
2840
2842
|
|
@@ -2892,8 +2894,8 @@ module OCI
|
|
2892
2894
|
|
2893
2895
|
# Header Params
|
2894
2896
|
header_params = {}
|
2895
|
-
header_params[
|
2896
|
-
header_params['content-type'] = 'application/json'
|
2897
|
+
header_params[:accept] = 'application/json'
|
2898
|
+
header_params[:'content-type'] = 'application/json'
|
2897
2899
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2898
2900
|
# rubocop:enable Style/NegatedIf
|
2899
2901
|
|
@@ -2951,8 +2953,8 @@ module OCI
|
|
2951
2953
|
|
2952
2954
|
# Header Params
|
2953
2955
|
header_params = {}
|
2954
|
-
header_params[
|
2955
|
-
header_params['content-type'] = 'application/json'
|
2956
|
+
header_params[:accept] = 'application/json'
|
2957
|
+
header_params[:'content-type'] = 'application/json'
|
2956
2958
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2957
2959
|
# rubocop:enable Style/NegatedIf
|
2958
2960
|
|
@@ -3008,8 +3010,8 @@ module OCI
|
|
3008
3010
|
|
3009
3011
|
# Header Params
|
3010
3012
|
header_params = {}
|
3011
|
-
header_params[
|
3012
|
-
header_params['content-type'] = 'application/json'
|
3013
|
+
header_params[:accept] = 'application/json'
|
3014
|
+
header_params[:'content-type'] = 'application/json'
|
3013
3015
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3014
3016
|
# rubocop:enable Style/NegatedIf
|
3015
3017
|
|
@@ -3065,8 +3067,8 @@ module OCI
|
|
3065
3067
|
|
3066
3068
|
# Header Params
|
3067
3069
|
header_params = {}
|
3068
|
-
header_params[
|
3069
|
-
header_params['content-type'] = 'application/json'
|
3070
|
+
header_params[:accept] = 'application/json'
|
3071
|
+
header_params[:'content-type'] = 'application/json'
|
3070
3072
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3071
3073
|
# rubocop:enable Style/NegatedIf
|
3072
3074
|
|
@@ -3122,8 +3124,8 @@ module OCI
|
|
3122
3124
|
|
3123
3125
|
# Header Params
|
3124
3126
|
header_params = {}
|
3125
|
-
header_params[
|
3126
|
-
header_params['content-type'] = 'application/json'
|
3127
|
+
header_params[:accept] = 'application/json'
|
3128
|
+
header_params[:'content-type'] = 'application/json'
|
3127
3129
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3128
3130
|
# rubocop:enable Style/NegatedIf
|
3129
3131
|
|
@@ -3179,8 +3181,8 @@ module OCI
|
|
3179
3181
|
|
3180
3182
|
# Header Params
|
3181
3183
|
header_params = {}
|
3182
|
-
header_params[
|
3183
|
-
header_params['content-type'] = 'application/json'
|
3184
|
+
header_params[:accept] = 'application/json'
|
3185
|
+
header_params[:'content-type'] = 'application/json'
|
3184
3186
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3185
3187
|
# rubocop:enable Style/NegatedIf
|
3186
3188
|
|
@@ -3244,8 +3246,8 @@ module OCI
|
|
3244
3246
|
|
3245
3247
|
# Header Params
|
3246
3248
|
header_params = {}
|
3247
|
-
header_params[
|
3248
|
-
header_params['content-type'] = 'application/json'
|
3249
|
+
header_params[:accept] = 'application/json'
|
3250
|
+
header_params[:'content-type'] = 'application/json'
|
3249
3251
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3250
3252
|
# rubocop:enable Style/NegatedIf
|
3251
3253
|
|
@@ -3300,8 +3302,8 @@ module OCI
|
|
3300
3302
|
|
3301
3303
|
# Header Params
|
3302
3304
|
header_params = {}
|
3303
|
-
header_params[
|
3304
|
-
header_params['content-type'] = 'application/json'
|
3305
|
+
header_params[:accept] = 'application/json'
|
3306
|
+
header_params[:'content-type'] = 'application/json'
|
3305
3307
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3306
3308
|
# rubocop:enable Style/NegatedIf
|
3307
3309
|
|
@@ -3358,8 +3360,8 @@ module OCI
|
|
3358
3360
|
|
3359
3361
|
# Header Params
|
3360
3362
|
header_params = {}
|
3361
|
-
header_params[
|
3362
|
-
header_params['content-type'] = 'application/json'
|
3363
|
+
header_params[:accept] = 'application/json'
|
3364
|
+
header_params[:'content-type'] = 'application/json'
|
3363
3365
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3364
3366
|
# rubocop:enable Style/NegatedIf
|
3365
3367
|
|
@@ -3417,8 +3419,8 @@ module OCI
|
|
3417
3419
|
|
3418
3420
|
# Header Params
|
3419
3421
|
header_params = {}
|
3420
|
-
header_params[
|
3421
|
-
header_params['content-type'] = 'application/json'
|
3422
|
+
header_params[:accept] = 'application/json'
|
3423
|
+
header_params[:'content-type'] = 'application/json'
|
3422
3424
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3423
3425
|
# rubocop:enable Style/NegatedIf
|
3424
3426
|
|
@@ -3476,8 +3478,8 @@ module OCI
|
|
3476
3478
|
|
3477
3479
|
# Header Params
|
3478
3480
|
header_params = {}
|
3479
|
-
header_params[
|
3480
|
-
header_params['content-type'] = 'application/json'
|
3481
|
+
header_params[:accept] = 'application/json'
|
3482
|
+
header_params[:'content-type'] = 'application/json'
|
3481
3483
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3482
3484
|
# rubocop:enable Style/NegatedIf
|
3483
3485
|
|
@@ -3534,8 +3536,8 @@ module OCI
|
|
3534
3536
|
|
3535
3537
|
# Header Params
|
3536
3538
|
header_params = {}
|
3537
|
-
header_params[
|
3538
|
-
header_params['content-type'] = 'application/json'
|
3539
|
+
header_params[:accept] = 'application/json'
|
3540
|
+
header_params[:'content-type'] = 'application/json'
|
3539
3541
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3540
3542
|
# rubocop:enable Style/NegatedIf
|
3541
3543
|
|
@@ -3592,8 +3594,8 @@ module OCI
|
|
3592
3594
|
|
3593
3595
|
# Header Params
|
3594
3596
|
header_params = {}
|
3595
|
-
header_params[
|
3596
|
-
header_params['content-type'] = 'application/json'
|
3597
|
+
header_params[:accept] = 'application/json'
|
3598
|
+
header_params[:'content-type'] = 'application/json'
|
3597
3599
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3598
3600
|
# rubocop:enable Style/NegatedIf
|
3599
3601
|
|