oci 2.0.9 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +179 -10
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/api_client.rb +186 -64
  5. data/lib/oci/api_client_proxy_settings.rb +71 -0
  6. data/lib/oci/audit/audit_client.rb +6 -4
  7. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +1 -1
  8. data/lib/oci/core/blockstorage_client.rb +18 -4
  9. data/lib/oci/core/compute_client.rb +27 -4
  10. data/lib/oci/core/core.rb +5 -0
  11. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +149 -0
  12. data/lib/oci/core/models/create_remote_peering_connection_details.rb +165 -0
  13. data/lib/oci/core/models/peer_region_for_remote_peering.rb +125 -0
  14. data/lib/oci/core/models/remote_peering_connection.rb +362 -0
  15. data/lib/oci/core/models/update_remote_peering_connection_details.rb +129 -0
  16. data/lib/oci/core/virtual_network_client.rb +334 -4
  17. data/lib/oci/database/database_client.rb +41 -4
  18. data/lib/oci/database/models/db_system.rb +1 -1
  19. data/lib/oci/database/models/db_system_shape_summary.rb +74 -2
  20. data/lib/oci/database/models/db_system_summary.rb +1 -1
  21. data/lib/oci/dns/dns_client.rb +32 -4
  22. data/lib/oci/email/email_client.rb +10 -4
  23. data/lib/oci/errors.rb +115 -19
  24. data/lib/oci/file_storage/file_storage_client.rb +18 -4
  25. data/lib/oci/global_context.rb +2 -2
  26. data/lib/oci/identity/identity_client.rb +68 -4
  27. data/lib/oci/identity/models/create_region_subscription_details.rb +1 -0
  28. data/lib/oci/identity/models/region.rb +2 -0
  29. data/lib/oci/identity/models/region_subscription.rb +2 -0
  30. data/lib/oci/identity/models/tenancy.rb +3 -1
  31. data/lib/oci/internal/util.rb +5 -0
  32. data/lib/oci/load_balancer/load_balancer_client.rb +59 -4
  33. data/lib/oci/object_storage/object_storage_client.rb +62 -4
  34. data/lib/oci/regions.rb +4 -2
  35. data/lib/oci/version.rb +1 -1
  36. metadata +8 -2
data/lib/oci/regions.rb CHANGED
@@ -6,13 +6,15 @@ module OCI
6
6
  REGION_ENUM = [
7
7
  REGION_US_PHOENIX_1 = 'us-phoenix-1'.freeze,
8
8
  REGION_US_ASHBURN_1 = 'us-ashburn-1'.freeze,
9
- REGION_EU_FRANKFURT_1 = 'eu-frankfurt-1'.freeze
9
+ REGION_EU_FRANKFURT_1 = 'eu-frankfurt-1'.freeze,
10
+ REGION_UK_LONDON_1 = 'uk-london-1'.freeze
10
11
  ].freeze
11
12
 
12
13
  REGION_SHORT_NAMES_TO_LONG_NAMES = {
13
14
  'phx': REGION_US_PHOENIX_1,
14
15
  'iad': REGION_US_ASHBURN_1,
15
- 'fra': REGION_EU_FRANKFURT_1
16
+ 'fra': REGION_EU_FRANKFURT_1,
17
+ 'lhr': REGION_UK_LONDON_1
16
18
  }.freeze
17
19
 
18
20
  SERVICE_ENDPOINT_PREFIX_MAPPING = {
data/lib/oci/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  module OCI
4
- VERSION = '2.0.9'.freeze
4
+ VERSION = '2.1.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oci
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oracle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -129,6 +129,7 @@ extra_rdoc_files: []
129
129
  files:
130
130
  - "./lib/oci.rb"
131
131
  - "./lib/oci/api_client.rb"
132
+ - "./lib/oci/api_client_proxy_settings.rb"
132
133
  - "./lib/oci/audit/audit.rb"
133
134
  - "./lib/oci/audit/audit_client.rb"
134
135
  - "./lib/oci/audit/models/audit_event.rb"
@@ -162,6 +163,7 @@ files:
162
163
  - "./lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb"
163
164
  - "./lib/oci/core/models/capture_console_history_details.rb"
164
165
  - "./lib/oci/core/models/connect_local_peering_gateways_details.rb"
166
+ - "./lib/oci/core/models/connect_remote_peering_connections_details.rb"
165
167
  - "./lib/oci/core/models/console_history.rb"
166
168
  - "./lib/oci/core/models/cpe.rb"
167
169
  - "./lib/oci/core/models/create_cpe_details.rb"
@@ -177,6 +179,7 @@ files:
177
179
  - "./lib/oci/core/models/create_local_peering_gateway_details.rb"
178
180
  - "./lib/oci/core/models/create_private_ip_details.rb"
179
181
  - "./lib/oci/core/models/create_public_ip_details.rb"
182
+ - "./lib/oci/core/models/create_remote_peering_connection_details.rb"
180
183
  - "./lib/oci/core/models/create_route_table_details.rb"
181
184
  - "./lib/oci/core/models/create_security_list_details.rb"
182
185
  - "./lib/oci/core/models/create_subnet_details.rb"
@@ -229,9 +232,11 @@ files:
229
232
  - "./lib/oci/core/models/letter_of_authority.rb"
230
233
  - "./lib/oci/core/models/local_peering_gateway.rb"
231
234
  - "./lib/oci/core/models/paravirtualized_volume_attachment.rb"
235
+ - "./lib/oci/core/models/peer_region_for_remote_peering.rb"
232
236
  - "./lib/oci/core/models/port_range.rb"
233
237
  - "./lib/oci/core/models/private_ip.rb"
234
238
  - "./lib/oci/core/models/public_ip.rb"
239
+ - "./lib/oci/core/models/remote_peering_connection.rb"
235
240
  - "./lib/oci/core/models/route_rule.rb"
236
241
  - "./lib/oci/core/models/route_table.rb"
237
242
  - "./lib/oci/core/models/security_list.rb"
@@ -256,6 +261,7 @@ files:
256
261
  - "./lib/oci/core/models/update_local_peering_gateway_details.rb"
257
262
  - "./lib/oci/core/models/update_private_ip_details.rb"
258
263
  - "./lib/oci/core/models/update_public_ip_details.rb"
264
+ - "./lib/oci/core/models/update_remote_peering_connection_details.rb"
259
265
  - "./lib/oci/core/models/update_route_table_details.rb"
260
266
  - "./lib/oci/core/models/update_security_list_details.rb"
261
267
  - "./lib/oci/core/models/update_subnet_details.rb"