oci 2.1.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -13
- data/lib/oci/core/blockstorage_client.rb +690 -61
- data/lib/oci/core/blockstorage_client_composite_operations.rb +238 -0
- data/lib/oci/core/compute_client.rb +1 -5
- data/lib/oci/core/core.rb +10 -0
- data/lib/oci/core/models/boot_volume.rb +18 -4
- data/lib/oci/core/models/cpe.rb +38 -1
- data/lib/oci/core/models/create_cpe_details.rb +38 -1
- data/lib/oci/core/models/create_drg_details.rb +41 -4
- data/lib/oci/core/models/create_internet_gateway_details.rb +38 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +38 -1
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +38 -1
- data/lib/oci/core/models/create_public_ip_details.rb +38 -1
- data/lib/oci/core/models/create_vnic_details.rb +38 -1
- data/lib/oci/core/models/create_volume_group_backup_details.rb +239 -0
- data/lib/oci/core/models/create_volume_group_details.rb +231 -0
- data/lib/oci/core/models/drg.rb +38 -1
- data/lib/oci/core/models/internet_gateway.rb +38 -1
- data/lib/oci/core/models/ip_sec_connection.rb +38 -1
- data/lib/oci/core/models/launch_options.rb +4 -0
- data/lib/oci/core/models/local_peering_gateway.rb +38 -1
- data/lib/oci/core/models/public_ip.rb +38 -1
- data/lib/oci/core/models/update_cpe_details.rb +41 -4
- data/lib/oci/core/models/update_drg_details.rb +41 -4
- data/lib/oci/core/models/update_internet_gateway_details.rb +38 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +41 -4
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +41 -4
- data/lib/oci/core/models/update_public_ip_details.rb +38 -1
- data/lib/oci/core/models/update_vnic_details.rb +38 -1
- data/lib/oci/core/models/update_volume_group_backup_details.rb +187 -0
- data/lib/oci/core/models/update_volume_group_details.rb +201 -0
- data/lib/oci/core/models/vnic.rb +38 -1
- data/lib/oci/core/models/volume.rb +18 -4
- data/lib/oci/core/models/volume_group.rb +322 -0
- data/lib/oci/core/models/volume_group_backup.rb +380 -0
- data/lib/oci/core/models/volume_group_source_details.rb +164 -0
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +158 -0
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +158 -0
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +158 -0
- data/lib/oci/core/virtual_network_client.rb +6 -6
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +1 -1
- data/lib/oci/database/database_client_composite_operations.rb +1 -1
- data/lib/oci/database/models/backup.rb +31 -1
- data/lib/oci/database/models/backup_summary.rb +31 -1
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +160 -0
- data/lib/oci/database/models/launch_db_system_base.rb +438 -0
- data/lib/oci/database/models/launch_db_system_details.rb +41 -227
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +314 -0
- data/lib/oci/file_storage/file_storage_client.rb +9 -8
- data/lib/oci/file_storage/models/export.rb +6 -5
- data/lib/oci/file_storage/models/file_system_summary.rb +1 -2
- data/lib/oci/version.rb +1 -1
- metadata +15 -2
@@ -6,8 +6,6 @@ require 'logger'
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
7
|
module OCI
|
8
8
|
# The API for the File Storage Service.
|
9
|
-
#
|
10
|
-
# You can use the table of contents or the version selector and search tool to explore the File Storage Service API.
|
11
9
|
class FileStorage::FileStorageClient
|
12
10
|
# Client used to make HTTP requests.
|
13
11
|
# @return [OCI::ApiClient]
|
@@ -253,6 +251,9 @@ module OCI
|
|
253
251
|
# client mount commands. These private IP addresses are listed
|
254
252
|
# in the privateIpIds property of the mount target and are highly available. Mount
|
255
253
|
# targets also consume additional IP addresses in their subnet.
|
254
|
+
# Do not use /30 or smaller subnets for mount target creation because they
|
255
|
+
# do not have sufficient available IP addresses.
|
256
|
+
# Allow at least three IP addresses for each mount target.
|
256
257
|
#
|
257
258
|
# For information about access control and compartments, see
|
258
259
|
# [Overview of the IAM
|
@@ -968,13 +969,14 @@ module OCI
|
|
968
969
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
969
970
|
|
970
971
|
|
971
|
-
# Lists
|
972
|
-
#
|
972
|
+
# Lists export resources by compartment, file system, or export
|
973
|
+
# set. You must specify an export set ID, a file system ID, and
|
974
|
+
# / or a compartment ID.
|
973
975
|
#
|
974
|
-
# @param [String] compartment_id The OCID of the compartment.
|
975
976
|
# @param [Hash] opts the optional parameters
|
976
977
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
977
978
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
979
|
+
# @option opts [String] :compartment_id The OCID of the compartment.
|
978
980
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
979
981
|
#
|
980
982
|
# Example: `500`
|
@@ -1001,10 +1003,9 @@ module OCI
|
|
1001
1003
|
#
|
1002
1004
|
# Allowed values are: ASC, DESC
|
1003
1005
|
# @return [Response] A Response object with data of type Array<{OCI::FileStorage::Models::ExportSummary ExportSummary}>
|
1004
|
-
def list_exports(
|
1006
|
+
def list_exports(opts = {})
|
1005
1007
|
logger.debug 'Calling operation FileStorageClient#list_exports.' if logger
|
1006
1008
|
|
1007
|
-
raise "Missing the required parameter 'compartment_id' when calling list_exports." if compartment_id.nil?
|
1008
1009
|
|
1009
1010
|
if opts[:lifecycle_state] && !%w[CREATING ACTIVE DELETING DELETED FAILED].include?(opts[:lifecycle_state])
|
1010
1011
|
raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, DELETING, DELETED, FAILED.'
|
@@ -1023,7 +1024,7 @@ module OCI
|
|
1023
1024
|
|
1024
1025
|
# Query Params
|
1025
1026
|
query_params = {}
|
1026
|
-
query_params[:compartmentId] = compartment_id
|
1027
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
1027
1028
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
1028
1029
|
query_params[:page] = opts[:page] if opts[:page]
|
1029
1030
|
query_params[:exportSetId] = opts[:export_set_id] if opts[:export_set_id]
|
@@ -19,15 +19,16 @@ module OCI
|
|
19
19
|
# sequence for the first export resource can't contain the
|
20
20
|
# complete path element sequence of the second export resource.
|
21
21
|
#
|
22
|
+
#
|
22
23
|
# For example, the following are acceptable:
|
23
24
|
#
|
24
|
-
# * /
|
25
|
-
# * /
|
26
|
-
# * /
|
25
|
+
# * /example and /path
|
26
|
+
# * /example1 and /example2
|
27
|
+
# * /example and /example1
|
27
28
|
#
|
28
29
|
# The following examples are not acceptable:
|
29
|
-
# * /
|
30
|
-
# * / and /
|
30
|
+
# * /example and /example/path
|
31
|
+
# * / and /example
|
31
32
|
#
|
32
33
|
# Paths may not end in a slash (/). No path element can be a period (.)
|
33
34
|
# or two periods in sequence (..). All path elements must be 255 bytes or less.
|
@@ -27,8 +27,7 @@ module OCI
|
|
27
27
|
# **[Required]** The number of bytes consumed by the file system, including
|
28
28
|
# any snapshots. This number reflects the metered size of the file
|
29
29
|
# system and is updated asynchronously with respect to
|
30
|
-
# updates to the file system.
|
31
|
-
# metering see [File System Metering](https://docs.us-phoenix-1.oraclecloud.com/Content/File/Concepts/metering.htm).
|
30
|
+
# updates to the file system.
|
32
31
|
#
|
33
32
|
# @return [Integer]
|
34
33
|
attr_accessor :metered_bytes
|
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.
|
4
|
+
version: 2.2.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-05-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -219,6 +219,8 @@ files:
|
|
219
219
|
- "./lib/oci/core/models/create_volume_backup_details.rb"
|
220
220
|
- "./lib/oci/core/models/create_volume_backup_policy_assignment_details.rb"
|
221
221
|
- "./lib/oci/core/models/create_volume_details.rb"
|
222
|
+
- "./lib/oci/core/models/create_volume_group_backup_details.rb"
|
223
|
+
- "./lib/oci/core/models/create_volume_group_details.rb"
|
222
224
|
- "./lib/oci/core/models/cross_connect.rb"
|
223
225
|
- "./lib/oci/core/models/cross_connect_group.rb"
|
224
226
|
- "./lib/oci/core/models/cross_connect_location.rb"
|
@@ -299,6 +301,8 @@ files:
|
|
299
301
|
- "./lib/oci/core/models/update_vnic_details.rb"
|
300
302
|
- "./lib/oci/core/models/update_volume_backup_details.rb"
|
301
303
|
- "./lib/oci/core/models/update_volume_details.rb"
|
304
|
+
- "./lib/oci/core/models/update_volume_group_backup_details.rb"
|
305
|
+
- "./lib/oci/core/models/update_volume_group_details.rb"
|
302
306
|
- "./lib/oci/core/models/vcn.rb"
|
303
307
|
- "./lib/oci/core/models/virtual_circuit.rb"
|
304
308
|
- "./lib/oci/core/models/virtual_circuit_bandwidth_shape.rb"
|
@@ -311,6 +315,12 @@ files:
|
|
311
315
|
- "./lib/oci/core/models/volume_backup_policy.rb"
|
312
316
|
- "./lib/oci/core/models/volume_backup_policy_assignment.rb"
|
313
317
|
- "./lib/oci/core/models/volume_backup_schedule.rb"
|
318
|
+
- "./lib/oci/core/models/volume_group.rb"
|
319
|
+
- "./lib/oci/core/models/volume_group_backup.rb"
|
320
|
+
- "./lib/oci/core/models/volume_group_source_details.rb"
|
321
|
+
- "./lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb"
|
322
|
+
- "./lib/oci/core/models/volume_group_source_from_volume_group_details.rb"
|
323
|
+
- "./lib/oci/core/models/volume_group_source_from_volumes_details.rb"
|
314
324
|
- "./lib/oci/core/models/volume_source_details.rb"
|
315
325
|
- "./lib/oci/core/models/volume_source_from_volume_backup_details.rb"
|
316
326
|
- "./lib/oci/core/models/volume_source_from_volume_details.rb"
|
@@ -328,6 +338,7 @@ files:
|
|
328
338
|
- "./lib/oci/database/models/create_database_details.rb"
|
329
339
|
- "./lib/oci/database/models/create_database_from_backup_details.rb"
|
330
340
|
- "./lib/oci/database/models/create_db_home_details.rb"
|
341
|
+
- "./lib/oci/database/models/create_db_home_from_backup_details.rb"
|
331
342
|
- "./lib/oci/database/models/create_db_home_with_db_system_id_base.rb"
|
332
343
|
- "./lib/oci/database/models/create_db_home_with_db_system_id_details.rb"
|
333
344
|
- "./lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb"
|
@@ -345,7 +356,9 @@ files:
|
|
345
356
|
- "./lib/oci/database/models/db_system_summary.rb"
|
346
357
|
- "./lib/oci/database/models/db_version_summary.rb"
|
347
358
|
- "./lib/oci/database/models/failover_data_guard_association_details.rb"
|
359
|
+
- "./lib/oci/database/models/launch_db_system_base.rb"
|
348
360
|
- "./lib/oci/database/models/launch_db_system_details.rb"
|
361
|
+
- "./lib/oci/database/models/launch_db_system_from_backup_details.rb"
|
349
362
|
- "./lib/oci/database/models/patch.rb"
|
350
363
|
- "./lib/oci/database/models/patch_details.rb"
|
351
364
|
- "./lib/oci/database/models/patch_history_entry.rb"
|