oci 2.3.6 → 2.3.7
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -29,10 +29,12 @@ module OCI
|
|
29
29
|
|
30
30
|
|
31
31
|
# Creates a new ResourceSearchClient.
|
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
|
@@ -124,8 +126,8 @@ module OCI
|
|
124
126
|
|
125
127
|
# Header Params
|
126
128
|
header_params = {}
|
127
|
-
header_params[
|
128
|
-
header_params['content-type'] = 'application/json'
|
129
|
+
header_params[:accept] = 'application/json'
|
130
|
+
header_params[:'content-type'] = 'application/json'
|
129
131
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
130
132
|
# rubocop:enable Style/NegatedIf
|
131
133
|
|
@@ -181,8 +183,8 @@ module OCI
|
|
181
183
|
|
182
184
|
# Header Params
|
183
185
|
header_params = {}
|
184
|
-
header_params[
|
185
|
-
header_params['content-type'] = 'application/json'
|
186
|
+
header_params[:accept] = 'application/json'
|
187
|
+
header_params[:'content-type'] = 'application/json'
|
186
188
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
187
189
|
# rubocop:enable Style/NegatedIf
|
188
190
|
|
@@ -242,8 +244,8 @@ module OCI
|
|
242
244
|
|
243
245
|
# Header Params
|
244
246
|
header_params = {}
|
245
|
-
header_params[
|
246
|
-
header_params['content-type'] = 'application/json'
|
247
|
+
header_params[:accept] = 'application/json'
|
248
|
+
header_params[:'content-type'] = 'application/json'
|
247
249
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
248
250
|
# rubocop:enable Style/NegatedIf
|
249
251
|
|
data/lib/oci/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oracle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- "./lib/oci/core/models/boot_volume.rb"
|
262
262
|
- "./lib/oci/core/models/boot_volume_attachment.rb"
|
263
263
|
- "./lib/oci/core/models/boot_volume_backup.rb"
|
264
|
+
- "./lib/oci/core/models/boot_volume_kms_key.rb"
|
264
265
|
- "./lib/oci/core/models/boot_volume_source_details.rb"
|
265
266
|
- "./lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb"
|
266
267
|
- "./lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb"
|
@@ -362,6 +363,7 @@ files:
|
|
362
363
|
- "./lib/oci/core/models/udp_options.rb"
|
363
364
|
- "./lib/oci/core/models/update_boot_volume_backup_details.rb"
|
364
365
|
- "./lib/oci/core/models/update_boot_volume_details.rb"
|
366
|
+
- "./lib/oci/core/models/update_boot_volume_kms_key_details.rb"
|
365
367
|
- "./lib/oci/core/models/update_console_history_details.rb"
|
366
368
|
- "./lib/oci/core/models/update_cpe_details.rb"
|
367
369
|
- "./lib/oci/core/models/update_cross_connect_details.rb"
|
@@ -388,6 +390,7 @@ files:
|
|
388
390
|
- "./lib/oci/core/models/update_volume_details.rb"
|
389
391
|
- "./lib/oci/core/models/update_volume_group_backup_details.rb"
|
390
392
|
- "./lib/oci/core/models/update_volume_group_details.rb"
|
393
|
+
- "./lib/oci/core/models/update_volume_kms_key_details.rb"
|
391
394
|
- "./lib/oci/core/models/vcn.rb"
|
392
395
|
- "./lib/oci/core/models/virtual_circuit.rb"
|
393
396
|
- "./lib/oci/core/models/virtual_circuit_bandwidth_shape.rb"
|
@@ -406,6 +409,7 @@ files:
|
|
406
409
|
- "./lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb"
|
407
410
|
- "./lib/oci/core/models/volume_group_source_from_volume_group_details.rb"
|
408
411
|
- "./lib/oci/core/models/volume_group_source_from_volumes_details.rb"
|
412
|
+
- "./lib/oci/core/models/volume_kms_key.rb"
|
409
413
|
- "./lib/oci/core/models/volume_source_details.rb"
|
410
414
|
- "./lib/oci/core/models/volume_source_from_volume_backup_details.rb"
|
411
415
|
- "./lib/oci/core/models/volume_source_from_volume_details.rb"
|
@@ -595,6 +599,32 @@ files:
|
|
595
599
|
- "./lib/oci/identity/util.rb"
|
596
600
|
- "./lib/oci/internal/internal.rb"
|
597
601
|
- "./lib/oci/internal/util.rb"
|
602
|
+
- "./lib/oci/key_management/key_management.rb"
|
603
|
+
- "./lib/oci/key_management/kms_crypto_client.rb"
|
604
|
+
- "./lib/oci/key_management/kms_crypto_client_composite_operations.rb"
|
605
|
+
- "./lib/oci/key_management/kms_management_client.rb"
|
606
|
+
- "./lib/oci/key_management/kms_management_client_composite_operations.rb"
|
607
|
+
- "./lib/oci/key_management/kms_vault_client.rb"
|
608
|
+
- "./lib/oci/key_management/kms_vault_client_composite_operations.rb"
|
609
|
+
- "./lib/oci/key_management/models/create_key_details.rb"
|
610
|
+
- "./lib/oci/key_management/models/create_vault_details.rb"
|
611
|
+
- "./lib/oci/key_management/models/decrypt_data_details.rb"
|
612
|
+
- "./lib/oci/key_management/models/decrypted_data.rb"
|
613
|
+
- "./lib/oci/key_management/models/encrypt_data_details.rb"
|
614
|
+
- "./lib/oci/key_management/models/encrypted_data.rb"
|
615
|
+
- "./lib/oci/key_management/models/generate_key_details.rb"
|
616
|
+
- "./lib/oci/key_management/models/generated_key.rb"
|
617
|
+
- "./lib/oci/key_management/models/key.rb"
|
618
|
+
- "./lib/oci/key_management/models/key_shape.rb"
|
619
|
+
- "./lib/oci/key_management/models/key_summary.rb"
|
620
|
+
- "./lib/oci/key_management/models/key_version.rb"
|
621
|
+
- "./lib/oci/key_management/models/key_version_summary.rb"
|
622
|
+
- "./lib/oci/key_management/models/schedule_vault_deletion_details.rb"
|
623
|
+
- "./lib/oci/key_management/models/update_key_details.rb"
|
624
|
+
- "./lib/oci/key_management/models/update_vault_details.rb"
|
625
|
+
- "./lib/oci/key_management/models/vault.rb"
|
626
|
+
- "./lib/oci/key_management/models/vault_summary.rb"
|
627
|
+
- "./lib/oci/key_management/util.rb"
|
598
628
|
- "./lib/oci/load_balancer/load_balancer.rb"
|
599
629
|
- "./lib/oci/load_balancer/load_balancer_client.rb"
|
600
630
|
- "./lib/oci/load_balancer/load_balancer_client_composite_operations.rb"
|