oci 2.3.5 → 2.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/oci/core/blockstorage_client.rb +23 -23
- data/lib/oci/core/compute_client.rb +26 -21
- data/lib/oci/core/models/boot_volume.rb +5 -2
- data/lib/oci/core/models/boot_volume_attachment.rb +4 -1
- data/lib/oci/core/models/boot_volume_backup.rb +3 -0
- data/lib/oci/core/models/console_history.rb +4 -1
- data/lib/oci/core/models/cpe.rb +4 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +2 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/create_service_gateway_details.rb +2 -2
- data/lib/oci/core/models/create_subnet_details.rb +1 -1
- data/lib/oci/core/models/create_volume_details.rb +2 -2
- data/lib/oci/core/models/create_volume_group_details.rb +2 -2
- data/lib/oci/core/models/cross_connect.rb +3 -0
- data/lib/oci/core/models/cross_connect_group.rb +3 -0
- data/lib/oci/core/models/dhcp_dns_option.rb +7 -6
- data/lib/oci/core/models/dhcp_options.rb +3 -0
- data/lib/oci/core/models/drg.rb +4 -1
- data/lib/oci/core/models/drg_attachment.rb +3 -0
- data/lib/oci/core/models/image.rb +3 -0
- data/lib/oci/core/models/instance.rb +15 -7
- data/lib/oci/core/models/internet_gateway.rb +9 -6
- data/lib/oci/core/models/ip_sec_connection.rb +3 -0
- data/lib/oci/core/models/launch_instance_details.rb +9 -5
- data/lib/oci/core/models/local_peering_gateway.rb +3 -0
- data/lib/oci/core/models/private_ip.rb +4 -1
- data/lib/oci/core/models/public_ip.rb +8 -5
- data/lib/oci/core/models/remote_peering_connection.rb +3 -0
- data/lib/oci/core/models/route_table.rb +3 -0
- data/lib/oci/core/models/security_list.rb +3 -0
- data/lib/oci/core/models/service_gateway.rb +3 -0
- data/lib/oci/core/models/subnet.rb +5 -2
- data/lib/oci/core/models/update_instance_details.rb +46 -4
- data/lib/oci/core/models/vcn.rb +4 -1
- data/lib/oci/core/models/virtual_circuit.rb +3 -0
- data/lib/oci/core/models/vnic.rb +4 -1
- data/lib/oci/core/models/vnic_attachment.rb +4 -1
- data/lib/oci/core/models/volume.rb +5 -2
- data/lib/oci/core/models/volume_attachment.rb +4 -1
- data/lib/oci/core/models/volume_backup.rb +3 -0
- data/lib/oci/core/models/volume_backup_policy.rb +7 -1
- data/lib/oci/core/models/volume_group.rb +6 -1
- data/lib/oci/core/models/volume_group_backup.rb +3 -0
- data/lib/oci/core/virtual_network_client.rb +60 -60
- data/lib/oci/core/virtual_network_client_composite_operations.rb +4 -4
- data/lib/oci/database/database_client.rb +56 -60
- data/lib/oci/database/database_client_composite_operations.rb +6 -6
- data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +3 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +3 -1
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -1
- data/lib/oci/database/models/autonomous_database.rb +3 -1
- data/lib/oci/database/models/autonomous_database_backup.rb +3 -1
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +3 -1
- data/lib/oci/database/models/autonomous_database_summary.rb +3 -1
- data/lib/oci/database/models/backup.rb +11 -9
- data/lib/oci/database/models/backup_summary.rb +11 -9
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -0
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +3 -1
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -0
- data/lib/oci/database/models/create_autonomous_database_details.rb +4 -2
- data/lib/oci/database/models/create_backup_details.rb +6 -3
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_database_details.rb +9 -6
- data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_details.rb +5 -2
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +6 -5
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
- data/lib/oci/database/models/data_guard_association.rb +1 -1
- data/lib/oci/database/models/data_guard_association_summary.rb +1 -1
- data/lib/oci/database/models/database.rb +8 -6
- data/lib/oci/database/models/database_summary.rb +8 -6
- data/lib/oci/database/models/db_home.rb +11 -10
- data/lib/oci/database/models/db_home_summary.rb +11 -10
- data/lib/oci/database/models/db_node.rb +10 -8
- data/lib/oci/database/models/db_node_summary.rb +10 -8
- data/lib/oci/database/models/db_system.rb +46 -42
- data/lib/oci/database/models/db_system_shape_summary.rb +4 -4
- data/lib/oci/database/models/db_system_summary.rb +46 -42
- data/lib/oci/database/models/db_version_summary.rb +2 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +38 -27
- data/lib/oci/database/models/launch_db_system_details.rb +6 -6
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +8 -8
- data/lib/oci/database/models/patch.rb +2 -2
- data/lib/oci/database/models/patch_details.rb +2 -2
- data/lib/oci/database/models/patch_history_entry.rb +2 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -2
- data/lib/oci/database/models/patch_summary.rb +2 -2
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +4 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +4 -2
- data/lib/oci/database/models/update_database_details.rb +4 -1
- data/lib/oci/database/models/update_db_home_details.rb +1 -1
- data/lib/oci/database/models/update_db_system_details.rb +6 -4
- data/lib/oci/version.rb +1 -1
- metadata +3 -4
@@ -11,7 +11,7 @@ module OCI
|
|
11
11
|
# @return [OCI::Database::Models::CreateDatabaseDetails]
|
12
12
|
attr_accessor :database
|
13
13
|
|
14
|
-
# **[Required]** A valid Oracle
|
14
|
+
# **[Required]** A valid Oracle Database version. To get a list of supported versions, use the {#list_db_versions list_db_versions} operation.
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :db_version
|
17
17
|
|
@@ -99,7 +99,7 @@ module OCI
|
|
99
99
|
# @return [String]
|
100
100
|
attr_accessor :peer_db_home_id
|
101
101
|
|
102
|
-
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB
|
102
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system containing the associated
|
103
103
|
# peer database.
|
104
104
|
#
|
105
105
|
# @return [String]
|
@@ -99,7 +99,7 @@ module OCI
|
|
99
99
|
# @return [String]
|
100
100
|
attr_accessor :peer_db_home_id
|
101
101
|
|
102
|
-
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB
|
102
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system containing the associated
|
103
103
|
# peer database.
|
104
104
|
#
|
105
105
|
# @return [String]
|
@@ -5,10 +5,12 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# An Oracle database on a DB
|
8
|
+
# An Oracle database on a bare metal or virtual machine DB system. For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
9
9
|
#
|
10
10
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
11
|
#
|
12
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
13
|
+
#
|
12
14
|
class Database::Models::Database # rubocop:disable Metrics/LineLength
|
13
15
|
LIFECYCLE_STATE_ENUM = [
|
14
16
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -26,14 +28,14 @@ module OCI
|
|
26
28
|
# @return [String]
|
27
29
|
attr_accessor :character_set
|
28
30
|
|
29
|
-
# **[Required]** The OCID of the compartment.
|
31
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
30
32
|
# @return [String]
|
31
33
|
attr_accessor :compartment_id
|
32
34
|
|
33
35
|
# @return [OCI::Database::Models::DbBackupConfig]
|
34
36
|
attr_accessor :db_backup_config
|
35
37
|
|
36
|
-
# The OCID of the database home.
|
38
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home.
|
37
39
|
# @return [String]
|
38
40
|
attr_accessor :db_home_id
|
39
41
|
|
@@ -46,7 +48,7 @@ module OCI
|
|
46
48
|
# @return [String]
|
47
49
|
attr_accessor :db_unique_name
|
48
50
|
|
49
|
-
#
|
51
|
+
# The database workload type.
|
50
52
|
# @return [String]
|
51
53
|
attr_accessor :db_workload
|
52
54
|
|
@@ -66,7 +68,7 @@ module OCI
|
|
66
68
|
# @return [Hash<String, String>]
|
67
69
|
attr_accessor :freeform_tags
|
68
70
|
|
69
|
-
# **[Required]** The OCID of the database.
|
71
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database.
|
70
72
|
# @return [String]
|
71
73
|
attr_accessor :id
|
72
74
|
|
@@ -82,7 +84,7 @@ module OCI
|
|
82
84
|
# @return [String]
|
83
85
|
attr_accessor :ncharacter_set
|
84
86
|
|
85
|
-
#
|
87
|
+
# The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
|
86
88
|
# @return [String]
|
87
89
|
attr_accessor :pdb_name
|
88
90
|
|
@@ -5,10 +5,12 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# An Oracle database on a DB
|
8
|
+
# An Oracle database on a bare metal or virtual machine DB system. For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
9
9
|
#
|
10
10
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
11
|
#
|
12
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
13
|
+
#
|
12
14
|
class Database::Models::DatabaseSummary # rubocop:disable Metrics/LineLength
|
13
15
|
LIFECYCLE_STATE_ENUM = [
|
14
16
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -26,14 +28,14 @@ module OCI
|
|
26
28
|
# @return [String]
|
27
29
|
attr_accessor :character_set
|
28
30
|
|
29
|
-
# **[Required]** The OCID of the compartment.
|
31
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
30
32
|
# @return [String]
|
31
33
|
attr_accessor :compartment_id
|
32
34
|
|
33
35
|
# @return [OCI::Database::Models::DbBackupConfig]
|
34
36
|
attr_accessor :db_backup_config
|
35
37
|
|
36
|
-
# The OCID of the database home.
|
38
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home.
|
37
39
|
# @return [String]
|
38
40
|
attr_accessor :db_home_id
|
39
41
|
|
@@ -46,7 +48,7 @@ module OCI
|
|
46
48
|
# @return [String]
|
47
49
|
attr_accessor :db_unique_name
|
48
50
|
|
49
|
-
#
|
51
|
+
# The database workload type.
|
50
52
|
# @return [String]
|
51
53
|
attr_accessor :db_workload
|
52
54
|
|
@@ -66,7 +68,7 @@ module OCI
|
|
66
68
|
# @return [Hash<String, String>]
|
67
69
|
attr_accessor :freeform_tags
|
68
70
|
|
69
|
-
# **[Required]** The OCID of the database.
|
71
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database.
|
70
72
|
# @return [String]
|
71
73
|
attr_accessor :id
|
72
74
|
|
@@ -82,7 +84,7 @@ module OCI
|
|
82
84
|
# @return [String]
|
83
85
|
attr_accessor :ncharacter_set
|
84
86
|
|
85
|
-
#
|
87
|
+
# The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
|
86
88
|
# @return [String]
|
87
89
|
attr_accessor :pdb_name
|
88
90
|
|
@@ -5,15 +5,16 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# A directory where Oracle
|
9
|
-
# and each database home can
|
10
|
-
#
|
11
|
-
# see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
8
|
+
# A directory where Oracle Database software is installed. A bare metal DB system can have multiple database homes
|
9
|
+
# and each database home can run a different supported version of Oracle Database. A virtual machine DB system can have only one database home.
|
10
|
+
# For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
12
11
|
#
|
13
12
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
14
13
|
# administrator. If you're an administrator who needs to write policies to give users access,
|
15
14
|
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
16
15
|
#
|
16
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
17
|
+
#
|
17
18
|
class Database::Models::DbHome # rubocop:disable Metrics/LineLength
|
18
19
|
LIFECYCLE_STATE_ENUM = [
|
19
20
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -25,27 +26,27 @@ module OCI
|
|
25
26
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
26
27
|
].freeze
|
27
28
|
|
28
|
-
# **[Required]** The OCID of the compartment.
|
29
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
29
30
|
# @return [String]
|
30
31
|
attr_accessor :compartment_id
|
31
32
|
|
32
|
-
# The OCID of the DB
|
33
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
33
34
|
# @return [String]
|
34
35
|
attr_accessor :db_system_id
|
35
36
|
|
36
|
-
# **[Required]** The Oracle
|
37
|
+
# **[Required]** The Oracle Database version.
|
37
38
|
# @return [String]
|
38
39
|
attr_accessor :db_version
|
39
40
|
|
40
|
-
# **[Required]** The user-provided name for the database home.
|
41
|
+
# **[Required]** The user-provided name for the database home. The name does not need to be unique.
|
41
42
|
# @return [String]
|
42
43
|
attr_accessor :display_name
|
43
44
|
|
44
|
-
# **[Required]** The OCID of the database home.
|
45
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home.
|
45
46
|
# @return [String]
|
46
47
|
attr_accessor :id
|
47
48
|
|
48
|
-
# The OCID of the last patch history. This is updated as soon as a patch operation is started.
|
49
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation is started.
|
49
50
|
# @return [String]
|
50
51
|
attr_accessor :last_patch_history_entry_id
|
51
52
|
|
@@ -5,15 +5,16 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# A directory where Oracle
|
9
|
-
# and each database home can
|
10
|
-
#
|
11
|
-
# see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
8
|
+
# A directory where Oracle Database software is installed. A bare metal DB system can have multiple database homes
|
9
|
+
# and each database home can run a different supported version of Oracle Database. A virtual machine DB system can have only one database home.
|
10
|
+
# For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
12
11
|
#
|
13
12
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
14
13
|
# administrator. If you're an administrator who needs to write policies to give users access,
|
15
14
|
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
16
15
|
#
|
16
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
17
|
+
#
|
17
18
|
class Database::Models::DbHomeSummary # rubocop:disable Metrics/LineLength
|
18
19
|
LIFECYCLE_STATE_ENUM = [
|
19
20
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -25,27 +26,27 @@ module OCI
|
|
25
26
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
26
27
|
].freeze
|
27
28
|
|
28
|
-
# **[Required]** The OCID of the compartment.
|
29
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
29
30
|
# @return [String]
|
30
31
|
attr_accessor :compartment_id
|
31
32
|
|
32
|
-
# The OCID of the DB
|
33
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
33
34
|
# @return [String]
|
34
35
|
attr_accessor :db_system_id
|
35
36
|
|
36
|
-
# **[Required]** The Oracle
|
37
|
+
# **[Required]** The Oracle Database version.
|
37
38
|
# @return [String]
|
38
39
|
attr_accessor :db_version
|
39
40
|
|
40
|
-
# **[Required]** The user-provided name for the database home.
|
41
|
+
# **[Required]** The user-provided name for the database home. The name does not need to be unique.
|
41
42
|
# @return [String]
|
42
43
|
attr_accessor :display_name
|
43
44
|
|
44
|
-
# **[Required]** The OCID of the database home.
|
45
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home.
|
45
46
|
# @return [String]
|
46
47
|
attr_accessor :id
|
47
48
|
|
48
|
-
# The OCID of the last patch history. This is updated as soon as a patch operation is started.
|
49
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation is started.
|
49
50
|
# @return [String]
|
50
51
|
attr_accessor :last_patch_history_entry_id
|
51
52
|
|
@@ -5,10 +5,12 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# A server where Oracle
|
8
|
+
# A server where Oracle Database software is running.
|
9
9
|
#
|
10
10
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
11
|
#
|
12
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
13
|
+
#
|
12
14
|
class Database::Models::DbNode # rubocop:disable Metrics/LineLength
|
13
15
|
LIFECYCLE_STATE_ENUM = [
|
14
16
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -23,19 +25,19 @@ module OCI
|
|
23
25
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
24
26
|
].freeze
|
25
27
|
|
26
|
-
# The OCID of the backup VNIC.
|
28
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the backup VNIC.
|
27
29
|
# @return [String]
|
28
30
|
attr_accessor :backup_vnic_id
|
29
31
|
|
30
|
-
# **[Required]** The OCID of the DB
|
32
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
31
33
|
# @return [String]
|
32
34
|
attr_accessor :db_system_id
|
33
35
|
|
34
|
-
# The host name for the
|
36
|
+
# The host name for the database node.
|
35
37
|
# @return [String]
|
36
38
|
attr_accessor :hostname
|
37
39
|
|
38
|
-
# **[Required]** The OCID of the
|
40
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database node.
|
39
41
|
# @return [String]
|
40
42
|
attr_accessor :id
|
41
43
|
|
@@ -43,16 +45,16 @@ module OCI
|
|
43
45
|
# @return [String]
|
44
46
|
attr_reader :lifecycle_state
|
45
47
|
|
46
|
-
#
|
48
|
+
# The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
|
47
49
|
#
|
48
50
|
# @return [Integer]
|
49
51
|
attr_accessor :software_storage_size_in_gb
|
50
52
|
|
51
|
-
# **[Required]** The date and time that the
|
53
|
+
# **[Required]** The date and time that the database node was created.
|
52
54
|
# @return [DateTime]
|
53
55
|
attr_accessor :time_created
|
54
56
|
|
55
|
-
# **[Required]** The OCID of the VNIC.
|
57
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the VNIC.
|
56
58
|
# @return [String]
|
57
59
|
attr_accessor :vnic_id
|
58
60
|
|
@@ -5,10 +5,12 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# A server where Oracle
|
8
|
+
# A server where Oracle Database software is running.
|
9
9
|
#
|
10
10
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
11
|
#
|
12
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
13
|
+
#
|
12
14
|
class Database::Models::DbNodeSummary # rubocop:disable Metrics/LineLength
|
13
15
|
LIFECYCLE_STATE_ENUM = [
|
14
16
|
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
@@ -23,19 +25,19 @@ module OCI
|
|
23
25
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
24
26
|
].freeze
|
25
27
|
|
26
|
-
# The OCID of the backup VNIC.
|
28
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the backup VNIC.
|
27
29
|
# @return [String]
|
28
30
|
attr_accessor :backup_vnic_id
|
29
31
|
|
30
|
-
# **[Required]** The OCID of the DB
|
32
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
31
33
|
# @return [String]
|
32
34
|
attr_accessor :db_system_id
|
33
35
|
|
34
|
-
# The host name for the
|
36
|
+
# The host name for the database node.
|
35
37
|
# @return [String]
|
36
38
|
attr_accessor :hostname
|
37
39
|
|
38
|
-
# **[Required]** The OCID of the
|
40
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database node.
|
39
41
|
# @return [String]
|
40
42
|
attr_accessor :id
|
41
43
|
|
@@ -43,16 +45,16 @@ module OCI
|
|
43
45
|
# @return [String]
|
44
46
|
attr_reader :lifecycle_state
|
45
47
|
|
46
|
-
#
|
48
|
+
# The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
|
47
49
|
#
|
48
50
|
# @return [Integer]
|
49
51
|
attr_accessor :software_storage_size_in_gb
|
50
52
|
|
51
|
-
# **[Required]** The date and time that the
|
53
|
+
# **[Required]** The date and time that the database node was created.
|
52
54
|
# @return [DateTime]
|
53
55
|
attr_accessor :time_created
|
54
56
|
|
55
|
-
# **[Required]** The OCID of the VNIC.
|
57
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the VNIC.
|
56
58
|
# @return [String]
|
57
59
|
attr_accessor :vnic_id
|
58
60
|
|
@@ -5,28 +5,30 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
7
7
|
module OCI
|
8
|
-
# The Database Service supports several types of DB
|
8
|
+
# The Database Service supports several types of DB systems, ranging in size, price, and performance. For details about each type of system, see:
|
9
9
|
#
|
10
10
|
# - [Exadata DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/exaoverview.htm)
|
11
11
|
# - [Bare Metal and Virtual Machine DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm)
|
12
12
|
#
|
13
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you
|
13
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
14
14
|
#
|
15
15
|
# For information about access control and compartments, see
|
16
16
|
# [Overview of the Identity Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
|
17
17
|
#
|
18
|
-
# For information about
|
18
|
+
# For information about availability domains, see
|
19
19
|
# [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
|
20
20
|
#
|
21
|
-
# To get a list of
|
21
|
+
# To get a list of availability domains, use the `ListAvailabilityDomains` operation
|
22
22
|
# in the Identity Service API.
|
23
23
|
#
|
24
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
25
|
+
#
|
24
26
|
class Database::Models::DbSystem # rubocop:disable Metrics/LineLength
|
25
27
|
DATABASE_EDITION_ENUM = [
|
26
28
|
DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION'.freeze,
|
27
29
|
DATABASE_EDITION_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'.freeze,
|
28
|
-
DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = 'ENTERPRISE_EDITION_EXTREME_PERFORMANCE'.freeze,
|
29
30
|
DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = 'ENTERPRISE_EDITION_HIGH_PERFORMANCE'.freeze,
|
31
|
+
DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = 'ENTERPRISE_EDITION_EXTREME_PERFORMANCE'.freeze,
|
30
32
|
DATABASE_EDITION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
31
33
|
].freeze
|
32
34
|
|
@@ -52,43 +54,42 @@ module OCI
|
|
52
54
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
53
55
|
].freeze
|
54
56
|
|
55
|
-
# **[Required]** The name of the
|
57
|
+
# **[Required]** The name of the availability domain that the DB system is located in.
|
56
58
|
# @return [String]
|
57
59
|
attr_accessor :availability_domain
|
58
60
|
|
59
|
-
# The OCID of the backup network subnet the DB
|
61
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
|
60
62
|
#
|
61
|
-
# **Subnet Restriction:** See
|
62
|
-
# to malfunction.
|
63
|
+
# **Subnet Restriction:** See the subnet restrictions information for **subnetId**.
|
63
64
|
#
|
64
65
|
# @return [String]
|
65
66
|
attr_accessor :backup_subnet_id
|
66
67
|
|
67
|
-
#
|
68
|
+
# The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
|
68
69
|
#
|
69
70
|
# @return [String]
|
70
71
|
attr_accessor :cluster_name
|
71
72
|
|
72
|
-
# **[Required]** The OCID of the compartment.
|
73
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
73
74
|
# @return [String]
|
74
75
|
attr_accessor :compartment_id
|
75
76
|
|
76
|
-
# **[Required]** The number of CPU cores enabled on the DB
|
77
|
+
# **[Required]** The number of CPU cores enabled on the DB system.
|
77
78
|
# @return [Integer]
|
78
79
|
attr_accessor :cpu_core_count
|
79
80
|
|
80
81
|
# The percentage assigned to DATA storage (user data and database files).
|
81
|
-
# The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80.
|
82
|
+
# The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.
|
82
83
|
#
|
83
84
|
# @return [Integer]
|
84
85
|
attr_accessor :data_storage_percentage
|
85
86
|
|
86
|
-
#
|
87
|
+
# The data storage size, in gigabytes, that is currently available to the DB system. Applies only for virtual machine DB systems.
|
87
88
|
#
|
88
89
|
# @return [Integer]
|
89
90
|
attr_accessor :data_storage_size_in_gbs
|
90
91
|
|
91
|
-
# **[Required]** The Oracle Database
|
92
|
+
# **[Required]** The Oracle Database edition that applies to all the databases on the DB system.
|
92
93
|
#
|
93
94
|
# @return [String]
|
94
95
|
attr_reader :database_edition
|
@@ -101,18 +102,18 @@ module OCI
|
|
101
102
|
# @return [Hash<String, Hash<String, Object>>]
|
102
103
|
attr_accessor :defined_tags
|
103
104
|
|
104
|
-
# The type of redundancy configured for the DB
|
105
|
-
#
|
106
|
-
#
|
105
|
+
# The type of redundancy configured for the DB system.
|
106
|
+
# NORMAL is 2-way redundancy.
|
107
|
+
# HIGH is 3-way redundancy.
|
107
108
|
#
|
108
109
|
# @return [String]
|
109
110
|
attr_reader :disk_redundancy
|
110
111
|
|
111
|
-
# **[Required]** The user-friendly name for the DB
|
112
|
+
# **[Required]** The user-friendly name for the DB system. The name does not have to be unique.
|
112
113
|
# @return [String]
|
113
114
|
attr_accessor :display_name
|
114
115
|
|
115
|
-
# **[Required]** The domain name for the DB
|
116
|
+
# **[Required]** The domain name for the DB system.
|
116
117
|
# @return [String]
|
117
118
|
attr_accessor :domain
|
118
119
|
|
@@ -124,19 +125,19 @@ module OCI
|
|
124
125
|
# @return [Hash<String, String>]
|
125
126
|
attr_accessor :freeform_tags
|
126
127
|
|
127
|
-
# **[Required]** The
|
128
|
+
# **[Required]** The hostname for the DB system.
|
128
129
|
# @return [String]
|
129
130
|
attr_accessor :hostname
|
130
131
|
|
131
|
-
# **[Required]** The OCID of the DB
|
132
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
132
133
|
# @return [String]
|
133
134
|
attr_accessor :id
|
134
135
|
|
135
|
-
# The OCID of the last patch history. This is updated as soon as a patch operation
|
136
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts.
|
136
137
|
# @return [String]
|
137
138
|
attr_accessor :last_patch_history_entry_id
|
138
139
|
|
139
|
-
# The Oracle license model that applies to all the databases on the DB
|
140
|
+
# The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
|
140
141
|
#
|
141
142
|
# @return [String]
|
142
143
|
attr_reader :license_model
|
@@ -145,51 +146,54 @@ module OCI
|
|
145
146
|
# @return [String]
|
146
147
|
attr_accessor :lifecycle_details
|
147
148
|
|
148
|
-
# **[Required]** The current state of the DB
|
149
|
+
# **[Required]** The current state of the DB system.
|
149
150
|
# @return [String]
|
150
151
|
attr_reader :lifecycle_state
|
151
152
|
|
152
|
-
# The port number configured for the listener on the DB
|
153
|
+
# The port number configured for the listener on the DB system.
|
153
154
|
# @return [Integer]
|
154
155
|
attr_accessor :listener_port
|
155
156
|
|
156
|
-
#
|
157
|
+
# The number of nodes in the DB system. For RAC DB systems, the value is greater than 1.
|
157
158
|
#
|
158
159
|
# @return [Integer]
|
159
160
|
attr_accessor :node_count
|
160
161
|
|
161
|
-
# RECO/REDO storage size, in
|
162
|
+
# The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
|
162
163
|
#
|
163
164
|
# @return [Integer]
|
164
165
|
attr_accessor :reco_storage_size_in_gb
|
165
166
|
|
166
|
-
# The OCID of the DNS record for the SCAN IP addresses that are associated with the DB
|
167
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system.
|
167
168
|
#
|
168
169
|
# @return [String]
|
169
170
|
attr_accessor :scan_dns_record_id
|
170
171
|
|
171
|
-
# The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB
|
172
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
172
173
|
# SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
|
173
|
-
# Clusterware directs the requests to the appropriate nodes in the cluster.
|
174
|
+
# Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
|
174
175
|
#
|
175
|
-
#
|
176
|
+
# **Note:** For a single-node DB system, this list is empty.
|
176
177
|
#
|
177
178
|
# @return [Array<String>]
|
178
179
|
attr_accessor :scan_ip_ids
|
179
180
|
|
180
|
-
# **[Required]** The shape of the DB
|
181
|
+
# **[Required]** The shape of the DB system. The shape determines resources to allocate to the DB system.
|
182
|
+
# - For virtual machine shapes, the number of CPU cores and memory
|
183
|
+
# - For bare metal and Exadata shapes, the number of CPU cores, storage, and memory
|
184
|
+
#
|
181
185
|
# @return [String]
|
182
186
|
attr_accessor :shape
|
183
187
|
|
184
|
-
# **[Required]** The public key portion of one or more key pairs used for SSH access to the DB
|
188
|
+
# **[Required]** The public key portion of one or more key pairs used for SSH access to the DB system.
|
185
189
|
# @return [Array<String>]
|
186
190
|
attr_accessor :ssh_public_keys
|
187
191
|
|
188
|
-
# **[Required]** The OCID of the subnet the DB
|
192
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
|
189
193
|
#
|
190
194
|
# **Subnet Restrictions:**
|
191
|
-
# - For
|
192
|
-
# - For Exadata and
|
195
|
+
# - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
|
196
|
+
# - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
|
193
197
|
#
|
194
198
|
# These subnets are used by the Oracle Clusterware private interconnect on the database instance.
|
195
199
|
# Specifying an overlapping subnet will cause the private interconnect to malfunction.
|
@@ -198,19 +202,19 @@ module OCI
|
|
198
202
|
# @return [String]
|
199
203
|
attr_accessor :subnet_id
|
200
204
|
|
201
|
-
# The date and time the DB
|
205
|
+
# The date and time the DB system was created.
|
202
206
|
# @return [DateTime]
|
203
207
|
attr_accessor :time_created
|
204
208
|
|
205
|
-
# The version of the DB
|
209
|
+
# The Oracle Database version of the DB system.
|
206
210
|
# @return [String]
|
207
211
|
attr_accessor :version
|
208
212
|
|
209
|
-
# The OCID of the virtual IP (VIP) addresses associated with the DB
|
210
|
-
# The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB
|
213
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system.
|
214
|
+
# The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to
|
211
215
|
# enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
|
212
216
|
#
|
213
|
-
#
|
217
|
+
# **Note:** For a single-node DB system, this list is empty.
|
214
218
|
#
|
215
219
|
# @return [Array<String>]
|
216
220
|
attr_accessor :vip_ids
|