oci 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/oci.rb +3 -0
- data/lib/oci/api_client.rb +24 -3
- data/lib/oci/audit/audit_client.rb +19 -5
- data/lib/oci/audit/models/audit_event.rb +19 -0
- data/lib/oci/audit/models/configuration.rb +1 -0
- data/lib/oci/audit/models/update_configuration_details.rb +1 -0
- data/lib/oci/auth/auth.rb +16 -0
- data/lib/oci/auth/federation_client.rb +125 -0
- data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
- data/lib/oci/auth/security_token_container.rb +25 -0
- data/lib/oci/auth/session_key_supplier.rb +37 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
- data/lib/oci/auth/signers/security_token_signer.rb +32 -0
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
- data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
- data/lib/oci/auth/util.rb +33 -0
- data/lib/oci/base_signer.rb +154 -0
- data/lib/oci/core/blockstorage_client.rb +19 -5
- data/lib/oci/core/compute_client.rb +19 -5
- data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
- data/lib/oci/core/models/attach_vnic_details.rb +6 -2
- data/lib/oci/core/models/attach_volume_details.rb +8 -3
- data/lib/oci/core/models/boot_volume.rb +22 -6
- data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +5 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
- data/lib/oci/core/models/console_history.rb +19 -6
- data/lib/oci/core/models/cpe.rb +18 -3
- data/lib/oci/core/models/create_cpe_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
- data/lib/oci/core/models/create_dhcp_details.rb +9 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/create_drg_details.rb +3 -1
- data/lib/oci/core/models/create_image_details.rb +9 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_private_ip_details.rb +7 -1
- data/lib/oci/core/models/create_route_table_details.rb +9 -3
- data/lib/oci/core/models/create_security_list_details.rb +11 -4
- data/lib/oci/core/models/create_subnet_details.rb +17 -5
- data/lib/oci/core/models/create_vcn_details.rb +8 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/create_vnic_details.rb +14 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
- data/lib/oci/core/models/create_volume_details.rb +11 -2
- data/lib/oci/core/models/cross_connect.rb +26 -0
- data/lib/oci/core/models/cross_connect_group.rb +19 -0
- data/lib/oci/core/models/cross_connect_location.rb +5 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
- data/lib/oci/core/models/cross_connect_status.rb +6 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
- data/lib/oci/core/models/dhcp_option.rb +9 -1
- data/lib/oci/core/models/dhcp_options.rb +31 -6
- data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
- data/lib/oci/core/models/drg.rb +18 -3
- data/lib/oci/core/models/drg_attachment.rb +15 -5
- data/lib/oci/core/models/egress_security_rule.rb +10 -3
- data/lib/oci/core/models/export_image_details.rb +13 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
- data/lib/oci/core/models/icmp_options.rb +11 -1
- data/lib/oci/core/models/image.rb +28 -7
- data/lib/oci/core/models/image_source_details.rb +4 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
- data/lib/oci/core/models/ingress_security_rule.rb +10 -3
- data/lib/oci/core/models/instance.rb +33 -7
- data/lib/oci/core/models/instance_console_connection.rb +15 -0
- data/lib/oci/core/models/instance_credentials.rb +5 -2
- data/lib/oci/core/models/instance_source_details.rb +3 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +20 -5
- data/lib/oci/core/models/ip_sec_connection.rb +23 -6
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
- data/lib/oci/core/models/launch_instance_details.rb +20 -3
- data/lib/oci/core/models/launch_options.rb +10 -4
- data/lib/oci/core/models/letter_of_authority.rb +10 -0
- data/lib/oci/core/models/local_peering_gateway.rb +29 -9
- data/lib/oci/core/models/port_range.rb +4 -2
- data/lib/oci/core/models/private_ip.rb +41 -1
- data/lib/oci/core/models/route_rule.rb +7 -2
- data/lib/oci/core/models/route_table.rb +22 -5
- data/lib/oci/core/models/security_list.rb +32 -8
- data/lib/oci/core/models/shape.rb +5 -1
- data/lib/oci/core/models/subnet.rb +38 -10
- data/lib/oci/core/models/tcp_options.rb +5 -0
- data/lib/oci/core/models/tunnel_config.rb +6 -2
- data/lib/oci/core/models/tunnel_status.rb +7 -1
- data/lib/oci/core/models/udp_options.rb +5 -0
- data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -0
- data/lib/oci/core/models/update_cpe_details.rb +1 -0
- data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
- data/lib/oci/core/models/update_dhcp_details.rb +4 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
- data/lib/oci/core/models/update_drg_details.rb +1 -0
- data/lib/oci/core/models/update_image_details.rb +3 -0
- data/lib/oci/core/models/update_instance_details.rb +3 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
- data/lib/oci/core/models/update_private_ip_details.rb +5 -0
- data/lib/oci/core/models/update_route_table_details.rb +4 -0
- data/lib/oci/core/models/update_security_list_details.rb +5 -0
- data/lib/oci/core/models/update_subnet_details.rb +3 -0
- data/lib/oci/core/models/update_vcn_details.rb +3 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
- data/lib/oci/core/models/update_vnic_details.rb +4 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
- data/lib/oci/core/models/update_volume_details.rb +3 -0
- data/lib/oci/core/models/vcn.rb +24 -4
- data/lib/oci/core/models/virtual_circuit.rb +41 -0
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
- data/lib/oci/core/models/vnic.rb +38 -9
- data/lib/oci/core/models/vnic_attachment.rb +21 -7
- data/lib/oci/core/models/volume.rb +28 -8
- data/lib/oci/core/models/volume_attachment.rb +25 -8
- data/lib/oci/core/models/volume_backup.rb +26 -5
- data/lib/oci/core/models/volume_source_details.rb +3 -0
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
- data/lib/oci/core/virtual_network_client.rb +19 -5
- data/lib/oci/database/database_client.rb +19 -5
- data/lib/oci/database/models/backup.rb +13 -0
- data/lib/oci/database/models/backup_summary.rb +13 -0
- data/lib/oci/database/models/create_backup_details.rb +4 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
- data/lib/oci/database/models/create_database_details.rb +9 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
- data/lib/oci/database/models/create_db_home_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
- data/lib/oci/database/models/data_guard_association.rb +32 -7
- data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
- data/lib/oci/database/models/database.rb +22 -5
- data/lib/oci/database/models/database_summary.rb +22 -5
- data/lib/oci/database/models/db_backup_config.rb +5 -1
- data/lib/oci/database/models/db_home.rb +22 -5
- data/lib/oci/database/models/db_home_summary.rb +22 -5
- data/lib/oci/database/models/db_node.rb +17 -5
- data/lib/oci/database/models/db_node_summary.rb +17 -5
- data/lib/oci/database/models/db_system.rb +56 -12
- data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
- data/lib/oci/database/models/db_system_summary.rb +56 -12
- data/lib/oci/database/models/db_version_summary.rb +8 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/launch_db_system_details.rb +27 -8
- data/lib/oci/database/models/patch.rb +18 -4
- data/lib/oci/database/models/patch_details.rb +6 -0
- data/lib/oci/database/models/patch_history_entry.rb +12 -4
- data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
- data/lib/oci/database/models/patch_summary.rb +18 -4
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/restore_database_details.rb +4 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/update_database_details.rb +1 -0
- data/lib/oci/database/models/update_db_home_details.rb +3 -0
- data/lib/oci/database/models/update_db_system_details.rb +6 -0
- data/lib/oci/identity/identity.rb +3 -0
- data/lib/oci/identity/identity_client.rb +290 -70
- data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
- data/lib/oci/identity/models/api_key.rb +18 -0
- data/lib/oci/identity/models/availability_domain.rb +6 -0
- data/lib/oci/identity/models/compartment.rb +38 -10
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +14 -7
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
- data/lib/oci/identity/models/create_group_details.rb +14 -7
- data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
- data/lib/oci/identity/models/create_policy_details.rb +18 -9
- data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_details.rb +12 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
- data/lib/oci/identity/models/create_user_details.rb +14 -7
- data/lib/oci/identity/models/customer_secret_key.rb +16 -0
- data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
- data/lib/oci/identity/models/dynamic_group.rb +239 -0
- data/lib/oci/identity/models/group.rb +35 -11
- data/lib/oci/identity/models/identity_provider.rb +36 -12
- data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
- data/lib/oci/identity/models/policy.rb +38 -11
- data/lib/oci/identity/models/region.rb +10 -0
- data/lib/oci/identity/models/region_subscription.rb +16 -5
- data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
- data/lib/oci/identity/models/swift_password.rb +17 -1
- data/lib/oci/identity/models/tag.rb +30 -13
- data/lib/oci/identity/models/tag_namespace.rb +25 -11
- data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
- data/lib/oci/identity/models/tag_summary.rb +21 -8
- data/lib/oci/identity/models/tenancy.rb +21 -4
- data/lib/oci/identity/models/ui_password.rb +10 -0
- data/lib/oci/identity/models/update_compartment_details.rb +10 -4
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
- data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
- data/lib/oci/identity/models/update_group_details.rb +9 -4
- data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
- data/lib/oci/identity/models/update_policy_details.rb +12 -5
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
- data/lib/oci/identity/models/update_tag_details.rb +15 -7
- data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
- data/lib/oci/identity/models/update_user_details.rb +9 -4
- data/lib/oci/identity/models/user.rb +38 -11
- data/lib/oci/identity/models/user_group_membership.rb +16 -6
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
- data/lib/oci/load_balancer/models/backend.rb +20 -10
- data/lib/oci/load_balancer/models/backend_details.rb +12 -5
- data/lib/oci/load_balancer/models/backend_health.rb +6 -2
- data/lib/oci/load_balancer/models/backend_set.rb +14 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
- data/lib/oci/load_balancer/models/certificate.rb +10 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
- data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
- data/lib/oci/load_balancer/models/health_checker.rb +15 -4
- data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
- data/lib/oci/load_balancer/models/ip_address.rb +5 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -5
- data/lib/oci/load_balancer/models/listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
- data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
- data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
- data/lib/oci/load_balancer/models/work_request.rb +20 -6
- data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
- data/lib/oci/object_storage/models/bucket.rb +27 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
- data/lib/oci/object_storage/models/list_objects.rb +8 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
- data/lib/oci/object_storage/models/object_summary.rb +9 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
- data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
- data/lib/oci/object_storage/object_storage_client.rb +26 -12
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/signer.rb +5 -124
- data/lib/oci/version.rb +1 -1
- metadata +31 -2
@@ -3,6 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# An Oracle database on a DB System. For more information, see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
7
|
+
#
|
8
|
+
# 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).
|
9
|
+
#
|
6
10
|
class Database::Models::Database
|
7
11
|
|
8
12
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -19,7 +23,7 @@ module OCI
|
|
19
23
|
# @return [String]
|
20
24
|
attr_accessor :character_set
|
21
25
|
|
22
|
-
# The OCID of the compartment.
|
26
|
+
# **[Required]** The OCID of the compartment.
|
23
27
|
# @return [String]
|
24
28
|
attr_accessor :compartment_id
|
25
29
|
|
@@ -30,11 +34,11 @@ module OCI
|
|
30
34
|
# @return [String]
|
31
35
|
attr_accessor :db_home_id
|
32
36
|
|
33
|
-
# The database name.
|
37
|
+
# **[Required]** The database name.
|
34
38
|
# @return [String]
|
35
39
|
attr_accessor :db_name
|
36
40
|
|
37
|
-
# A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
|
41
|
+
# **[Required]** A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
|
38
42
|
#
|
39
43
|
# @return [String]
|
40
44
|
attr_accessor :db_unique_name
|
@@ -43,7 +47,7 @@ module OCI
|
|
43
47
|
# @return [String]
|
44
48
|
attr_accessor :db_workload
|
45
49
|
|
46
|
-
# The OCID of the database.
|
50
|
+
# **[Required]** The OCID of the database.
|
47
51
|
# @return [String]
|
48
52
|
attr_accessor :id
|
49
53
|
|
@@ -51,7 +55,7 @@ module OCI
|
|
51
55
|
# @return [String]
|
52
56
|
attr_accessor :lifecycle_details
|
53
57
|
|
54
|
-
# The current state of the database.
|
58
|
+
# **[Required]** The current state of the database.
|
55
59
|
# @return [String]
|
56
60
|
attr_accessor :lifecycle_state
|
57
61
|
|
@@ -70,6 +74,19 @@ module OCI
|
|
70
74
|
|
71
75
|
# Initializes the object
|
72
76
|
# @param [Hash] attributes Model attributes in the form of hash
|
77
|
+
# @option attributes [String] :characterSet The value to assign to the {#character_set} property
|
78
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
79
|
+
# @option attributes [OCI::Database::Models::DbBackupConfig] :dbBackupConfig The value to assign to the {#db_backup_config} property
|
80
|
+
# @option attributes [String] :dbHomeId The value to assign to the {#db_home_id} property
|
81
|
+
# @option attributes [String] :dbName The value to assign to the {#db_name} property
|
82
|
+
# @option attributes [String] :dbUniqueName The value to assign to the {#db_unique_name} property
|
83
|
+
# @option attributes [String] :dbWorkload The value to assign to the {#db_workload} property
|
84
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
85
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
86
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
87
|
+
# @option attributes [String] :ncharacterSet The value to assign to the {#ncharacter_set} property
|
88
|
+
# @option attributes [String] :pdbName The value to assign to the {#pdb_name} property
|
89
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
73
90
|
def initialize(attributes = {})
|
74
91
|
return unless attributes.is_a?(Hash)
|
75
92
|
|
@@ -3,6 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# An Oracle database on a DB System. For more information, see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
7
|
+
#
|
8
|
+
# 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).
|
9
|
+
#
|
6
10
|
class Database::Models::DatabaseSummary
|
7
11
|
|
8
12
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -19,7 +23,7 @@ module OCI
|
|
19
23
|
# @return [String]
|
20
24
|
attr_accessor :character_set
|
21
25
|
|
22
|
-
# The OCID of the compartment.
|
26
|
+
# **[Required]** The OCID of the compartment.
|
23
27
|
# @return [String]
|
24
28
|
attr_accessor :compartment_id
|
25
29
|
|
@@ -30,11 +34,11 @@ module OCI
|
|
30
34
|
# @return [String]
|
31
35
|
attr_accessor :db_home_id
|
32
36
|
|
33
|
-
# The database name.
|
37
|
+
# **[Required]** The database name.
|
34
38
|
# @return [String]
|
35
39
|
attr_accessor :db_name
|
36
40
|
|
37
|
-
# A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
|
41
|
+
# **[Required]** A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
|
38
42
|
#
|
39
43
|
# @return [String]
|
40
44
|
attr_accessor :db_unique_name
|
@@ -43,7 +47,7 @@ module OCI
|
|
43
47
|
# @return [String]
|
44
48
|
attr_accessor :db_workload
|
45
49
|
|
46
|
-
# The OCID of the database.
|
50
|
+
# **[Required]** The OCID of the database.
|
47
51
|
# @return [String]
|
48
52
|
attr_accessor :id
|
49
53
|
|
@@ -51,7 +55,7 @@ module OCI
|
|
51
55
|
# @return [String]
|
52
56
|
attr_accessor :lifecycle_details
|
53
57
|
|
54
|
-
# The current state of the database.
|
58
|
+
# **[Required]** The current state of the database.
|
55
59
|
# @return [String]
|
56
60
|
attr_accessor :lifecycle_state
|
57
61
|
|
@@ -70,6 +74,19 @@ module OCI
|
|
70
74
|
|
71
75
|
# Initializes the object
|
72
76
|
# @param [Hash] attributes Model attributes in the form of hash
|
77
|
+
# @option attributes [String] :characterSet The value to assign to the {#character_set} property
|
78
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
79
|
+
# @option attributes [OCI::Database::Models::DbBackupConfig] :dbBackupConfig The value to assign to the {#db_backup_config} property
|
80
|
+
# @option attributes [String] :dbHomeId The value to assign to the {#db_home_id} property
|
81
|
+
# @option attributes [String] :dbName The value to assign to the {#db_name} property
|
82
|
+
# @option attributes [String] :dbUniqueName The value to assign to the {#db_unique_name} property
|
83
|
+
# @option attributes [String] :dbWorkload The value to assign to the {#db_workload} property
|
84
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
85
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
86
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
87
|
+
# @option attributes [String] :ncharacterSet The value to assign to the {#ncharacter_set} property
|
88
|
+
# @option attributes [String] :pdbName The value to assign to the {#pdb_name} property
|
89
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
73
90
|
def initialize(attributes = {})
|
74
91
|
return unless attributes.is_a?(Hash)
|
75
92
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Backup Options
|
7
|
+
# 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).
|
8
|
+
#
|
6
9
|
class Database::Models::DbBackupConfig
|
7
10
|
# If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
|
8
11
|
# @return [BOOLEAN]
|
@@ -11,13 +14,14 @@ module OCI
|
|
11
14
|
|
12
15
|
# Initializes the object
|
13
16
|
# @param [Hash] attributes Model attributes in the form of hash
|
17
|
+
# @option attributes [BOOLEAN] :autoBackupEnabled The value to assign to the {#auto_backup_enabled} property
|
14
18
|
def initialize(attributes = {})
|
15
19
|
return unless attributes.is_a?(Hash)
|
16
20
|
|
17
21
|
# convert string to symbol for hash key
|
18
22
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
19
23
|
|
20
|
-
|
24
|
+
unless attributes[:'autoBackupEnabled'].nil?
|
21
25
|
self.auto_backup_enabled = attributes[:'autoBackupEnabled']
|
22
26
|
end
|
23
27
|
|
@@ -3,6 +3,15 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A directory where Oracle database software is installed. Each DB System can have multiple database homes,
|
7
|
+
# and each database home can have multiple databases within it. All the databases within a single database home
|
8
|
+
# must be the same database version, but different database homes can run different versions. For more information,
|
9
|
+
# see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
10
|
+
#
|
11
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
12
|
+
# administrator. If you're an administrator who needs to write policies to give users access,
|
13
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
14
|
+
#
|
6
15
|
class Database::Models::DbHome
|
7
16
|
|
8
17
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -13,7 +22,7 @@ module OCI
|
|
13
22
|
LIFECYCLE_STATE_FAILED = 'FAILED',
|
14
23
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
15
24
|
|
16
|
-
# The OCID of the compartment.
|
25
|
+
# **[Required]** The OCID of the compartment.
|
17
26
|
# @return [String]
|
18
27
|
attr_accessor :compartment_id
|
19
28
|
|
@@ -21,15 +30,15 @@ module OCI
|
|
21
30
|
# @return [String]
|
22
31
|
attr_accessor :db_system_id
|
23
32
|
|
24
|
-
# The Oracle database version.
|
33
|
+
# **[Required]** The Oracle database version.
|
25
34
|
# @return [String]
|
26
35
|
attr_accessor :db_version
|
27
36
|
|
28
|
-
# The user-provided name for the database home. It does not need to be unique.
|
37
|
+
# **[Required]** The user-provided name for the database home. It does not need to be unique.
|
29
38
|
# @return [String]
|
30
39
|
attr_accessor :display_name
|
31
40
|
|
32
|
-
# The OCID of the database home.
|
41
|
+
# **[Required]** The OCID of the database home.
|
33
42
|
# @return [String]
|
34
43
|
attr_accessor :id
|
35
44
|
|
@@ -37,7 +46,7 @@ module OCI
|
|
37
46
|
# @return [String]
|
38
47
|
attr_accessor :last_patch_history_entry_id
|
39
48
|
|
40
|
-
# The current state of the database home.
|
49
|
+
# **[Required]** The current state of the database home.
|
41
50
|
# @return [String]
|
42
51
|
attr_accessor :lifecycle_state
|
43
52
|
|
@@ -48,6 +57,14 @@ module OCI
|
|
48
57
|
|
49
58
|
# Initializes the object
|
50
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
60
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
61
|
+
# @option attributes [String] :dbSystemId The value to assign to the {#db_system_id} property
|
62
|
+
# @option attributes [String] :dbVersion The value to assign to the {#db_version} property
|
63
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
64
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
65
|
+
# @option attributes [String] :lastPatchHistoryEntryId The value to assign to the {#last_patch_history_entry_id} property
|
66
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
67
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
51
68
|
def initialize(attributes = {})
|
52
69
|
return unless attributes.is_a?(Hash)
|
53
70
|
|
@@ -3,6 +3,15 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A directory where Oracle database software is installed. Each DB System can have multiple database homes,
|
7
|
+
# and each database home can have multiple databases within it. All the databases within a single database home
|
8
|
+
# must be the same database version, but different database homes can run different versions. For more information,
|
9
|
+
# see [Managing Oracle Databases](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm).
|
10
|
+
#
|
11
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
12
|
+
# administrator. If you're an administrator who needs to write policies to give users access,
|
13
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
14
|
+
#
|
6
15
|
class Database::Models::DbHomeSummary
|
7
16
|
|
8
17
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -13,7 +22,7 @@ module OCI
|
|
13
22
|
LIFECYCLE_STATE_FAILED = 'FAILED',
|
14
23
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
15
24
|
|
16
|
-
# The OCID of the compartment.
|
25
|
+
# **[Required]** The OCID of the compartment.
|
17
26
|
# @return [String]
|
18
27
|
attr_accessor :compartment_id
|
19
28
|
|
@@ -21,15 +30,15 @@ module OCI
|
|
21
30
|
# @return [String]
|
22
31
|
attr_accessor :db_system_id
|
23
32
|
|
24
|
-
# The Oracle database version.
|
33
|
+
# **[Required]** The Oracle database version.
|
25
34
|
# @return [String]
|
26
35
|
attr_accessor :db_version
|
27
36
|
|
28
|
-
# The user-provided name for the database home. It does not need to be unique.
|
37
|
+
# **[Required]** The user-provided name for the database home. It does not need to be unique.
|
29
38
|
# @return [String]
|
30
39
|
attr_accessor :display_name
|
31
40
|
|
32
|
-
# The OCID of the database home.
|
41
|
+
# **[Required]** The OCID of the database home.
|
33
42
|
# @return [String]
|
34
43
|
attr_accessor :id
|
35
44
|
|
@@ -37,7 +46,7 @@ module OCI
|
|
37
46
|
# @return [String]
|
38
47
|
attr_accessor :last_patch_history_entry_id
|
39
48
|
|
40
|
-
# The current state of the database home.
|
49
|
+
# **[Required]** The current state of the database home.
|
41
50
|
# @return [String]
|
42
51
|
attr_accessor :lifecycle_state
|
43
52
|
|
@@ -48,6 +57,14 @@ module OCI
|
|
48
57
|
|
49
58
|
# Initializes the object
|
50
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
60
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
61
|
+
# @option attributes [String] :dbSystemId The value to assign to the {#db_system_id} property
|
62
|
+
# @option attributes [String] :dbVersion The value to assign to the {#db_version} property
|
63
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
64
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
65
|
+
# @option attributes [String] :lastPatchHistoryEntryId The value to assign to the {#last_patch_history_entry_id} property
|
66
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
67
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
51
68
|
def initialize(attributes = {})
|
52
69
|
return unless attributes.is_a?(Hash)
|
53
70
|
|
@@ -3,6 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A server where Oracle database software is running.
|
7
|
+
#
|
8
|
+
# 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).
|
9
|
+
#
|
6
10
|
class Database::Models::DbNode
|
7
11
|
|
8
12
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -20,7 +24,7 @@ module OCI
|
|
20
24
|
# @return [String]
|
21
25
|
attr_accessor :backup_vnic_id
|
22
26
|
|
23
|
-
# The OCID of the DB System.
|
27
|
+
# **[Required]** The OCID of the DB System.
|
24
28
|
# @return [String]
|
25
29
|
attr_accessor :db_system_id
|
26
30
|
|
@@ -28,11 +32,11 @@ module OCI
|
|
28
32
|
# @return [String]
|
29
33
|
attr_accessor :hostname
|
30
34
|
|
31
|
-
# The OCID of the DB Node.
|
35
|
+
# **[Required]** The OCID of the DB Node.
|
32
36
|
# @return [String]
|
33
37
|
attr_accessor :id
|
34
38
|
|
35
|
-
# The current state of the database node.
|
39
|
+
# **[Required]** The current state of the database node.
|
36
40
|
# @return [String]
|
37
41
|
attr_accessor :lifecycle_state
|
38
42
|
|
@@ -41,17 +45,25 @@ module OCI
|
|
41
45
|
# @return [Integer]
|
42
46
|
attr_accessor :software_storage_size_in_gb
|
43
47
|
|
44
|
-
# The date and time that the DB Node was created.
|
48
|
+
# **[Required]** The date and time that the DB Node was created.
|
45
49
|
# @return [DateTime]
|
46
50
|
attr_accessor :time_created
|
47
51
|
|
48
|
-
# The OCID of the VNIC.
|
52
|
+
# **[Required]** The OCID of the VNIC.
|
49
53
|
# @return [String]
|
50
54
|
attr_accessor :vnic_id
|
51
55
|
|
52
56
|
|
53
57
|
# Initializes the object
|
54
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
# @option attributes [String] :backupVnicId The value to assign to the {#backup_vnic_id} property
|
60
|
+
# @option attributes [String] :dbSystemId The value to assign to the {#db_system_id} property
|
61
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
62
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
63
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
64
|
+
# @option attributes [Integer] :softwareStorageSizeInGB The value to assign to the {#software_storage_size_in_gb} property
|
65
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
66
|
+
# @option attributes [String] :vnicId The value to assign to the {#vnic_id} property
|
55
67
|
def initialize(attributes = {})
|
56
68
|
return unless attributes.is_a?(Hash)
|
57
69
|
|
@@ -3,6 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A server where Oracle database software is running.
|
7
|
+
#
|
8
|
+
# 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).
|
9
|
+
#
|
6
10
|
class Database::Models::DbNodeSummary
|
7
11
|
|
8
12
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -20,7 +24,7 @@ module OCI
|
|
20
24
|
# @return [String]
|
21
25
|
attr_accessor :backup_vnic_id
|
22
26
|
|
23
|
-
# The OCID of the DB System.
|
27
|
+
# **[Required]** The OCID of the DB System.
|
24
28
|
# @return [String]
|
25
29
|
attr_accessor :db_system_id
|
26
30
|
|
@@ -28,11 +32,11 @@ module OCI
|
|
28
32
|
# @return [String]
|
29
33
|
attr_accessor :hostname
|
30
34
|
|
31
|
-
# The OCID of the DB Node.
|
35
|
+
# **[Required]** The OCID of the DB Node.
|
32
36
|
# @return [String]
|
33
37
|
attr_accessor :id
|
34
38
|
|
35
|
-
# The current state of the database node.
|
39
|
+
# **[Required]** The current state of the database node.
|
36
40
|
# @return [String]
|
37
41
|
attr_accessor :lifecycle_state
|
38
42
|
|
@@ -41,17 +45,25 @@ module OCI
|
|
41
45
|
# @return [Integer]
|
42
46
|
attr_accessor :software_storage_size_in_gb
|
43
47
|
|
44
|
-
# The date and time that the DB Node was created.
|
48
|
+
# **[Required]** The date and time that the DB Node was created.
|
45
49
|
# @return [DateTime]
|
46
50
|
attr_accessor :time_created
|
47
51
|
|
48
|
-
# The OCID of the VNIC.
|
52
|
+
# **[Required]** The OCID of the VNIC.
|
49
53
|
# @return [String]
|
50
54
|
attr_accessor :vnic_id
|
51
55
|
|
52
56
|
|
53
57
|
# Initializes the object
|
54
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
# @option attributes [String] :backupVnicId The value to assign to the {#backup_vnic_id} property
|
60
|
+
# @option attributes [String] :dbSystemId The value to assign to the {#db_system_id} property
|
61
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
62
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
63
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
64
|
+
# @option attributes [Integer] :softwareStorageSizeInGB The value to assign to the {#software_storage_size_in_gb} property
|
65
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
66
|
+
# @option attributes [String] :vnicId The value to assign to the {#vnic_id} property
|
55
67
|
def initialize(attributes = {})
|
56
68
|
return unless attributes.is_a?(Hash)
|
57
69
|
|
@@ -3,6 +3,22 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The Database Service supports several types of DB Systems, ranging in size, price, and performance. For details about each type of system, see:
|
7
|
+
#
|
8
|
+
# - [Exadata DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/exaoverview.htm)
|
9
|
+
# - [Bare Metal or VM DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm)
|
10
|
+
#
|
11
|
+
# 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).
|
12
|
+
#
|
13
|
+
# For information about access control and compartments, see
|
14
|
+
# [Overview of the Identity Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
|
15
|
+
#
|
16
|
+
# For information about Availability Domains, see
|
17
|
+
# [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
|
18
|
+
#
|
19
|
+
# To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
|
20
|
+
# in the Identity Service API.
|
21
|
+
#
|
6
22
|
class Database::Models::DbSystem
|
7
23
|
|
8
24
|
DATABASE_EDITION_ENUM = [DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION',
|
@@ -30,7 +46,7 @@ module OCI
|
|
30
46
|
LIFECYCLE_STATE_FAILED = 'FAILED',
|
31
47
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
32
48
|
|
33
|
-
# The name of the Availability Domain that the DB System is located in.
|
49
|
+
# **[Required]** The name of the Availability Domain that the DB System is located in.
|
34
50
|
# @return [String]
|
35
51
|
attr_accessor :availability_domain
|
36
52
|
|
@@ -47,11 +63,11 @@ module OCI
|
|
47
63
|
# @return [String]
|
48
64
|
attr_accessor :cluster_name
|
49
65
|
|
50
|
-
# The OCID of the compartment.
|
66
|
+
# **[Required]** The OCID of the compartment.
|
51
67
|
# @return [String]
|
52
68
|
attr_accessor :compartment_id
|
53
69
|
|
54
|
-
# The number of CPU cores enabled on the DB System.
|
70
|
+
# **[Required]** The number of CPU cores enabled on the DB System.
|
55
71
|
# @return [Integer]
|
56
72
|
attr_accessor :cpu_core_count
|
57
73
|
|
@@ -66,7 +82,7 @@ module OCI
|
|
66
82
|
# @return [Integer]
|
67
83
|
attr_accessor :data_storage_size_in_gbs
|
68
84
|
|
69
|
-
# The Oracle Database Edition that applies to all the databases on the DB System.
|
85
|
+
# **[Required]** The Oracle Database Edition that applies to all the databases on the DB System.
|
70
86
|
#
|
71
87
|
# @return [String]
|
72
88
|
attr_accessor :database_edition
|
@@ -78,19 +94,19 @@ module OCI
|
|
78
94
|
# @return [String]
|
79
95
|
attr_accessor :disk_redundancy
|
80
96
|
|
81
|
-
# The user-friendly name for the DB System. It does not have to be unique.
|
97
|
+
# **[Required]** The user-friendly name for the DB System. It does not have to be unique.
|
82
98
|
# @return [String]
|
83
99
|
attr_accessor :display_name
|
84
100
|
|
85
|
-
# The domain name for the DB System.
|
101
|
+
# **[Required]** The domain name for the DB System.
|
86
102
|
# @return [String]
|
87
103
|
attr_accessor :domain
|
88
104
|
|
89
|
-
# The host name for the DB Node.
|
105
|
+
# **[Required]** The host name for the DB Node.
|
90
106
|
# @return [String]
|
91
107
|
attr_accessor :hostname
|
92
108
|
|
93
|
-
# The OCID of the DB System.
|
109
|
+
# **[Required]** The OCID of the DB System.
|
94
110
|
# @return [String]
|
95
111
|
attr_accessor :id
|
96
112
|
|
@@ -107,7 +123,7 @@ module OCI
|
|
107
123
|
# @return [String]
|
108
124
|
attr_accessor :lifecycle_details
|
109
125
|
|
110
|
-
# The current state of the DB System.
|
126
|
+
# **[Required]** The current state of the DB System.
|
111
127
|
# @return [String]
|
112
128
|
attr_accessor :lifecycle_state
|
113
129
|
|
@@ -139,15 +155,15 @@ module OCI
|
|
139
155
|
# @return [Array<String>]
|
140
156
|
attr_accessor :scan_ip_ids
|
141
157
|
|
142
|
-
# The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
158
|
+
# **[Required]** The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
143
159
|
# @return [String]
|
144
160
|
attr_accessor :shape
|
145
161
|
|
146
|
-
# The public key portion of one or more key pairs used for SSH access to the DB System.
|
162
|
+
# **[Required]** The public key portion of one or more key pairs used for SSH access to the DB System.
|
147
163
|
# @return [Array<String>]
|
148
164
|
attr_accessor :ssh_public_keys
|
149
165
|
|
150
|
-
# The OCID of the subnet the DB System is associated with.
|
166
|
+
# **[Required]** The OCID of the subnet the DB System is associated with.
|
151
167
|
#
|
152
168
|
# **Subnet Restrictions:**
|
153
169
|
# - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
|
@@ -180,6 +196,34 @@ module OCI
|
|
180
196
|
|
181
197
|
# Initializes the object
|
182
198
|
# @param [Hash] attributes Model attributes in the form of hash
|
199
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
200
|
+
# @option attributes [String] :backupSubnetId The value to assign to the {#backup_subnet_id} property
|
201
|
+
# @option attributes [String] :clusterName The value to assign to the {#cluster_name} property
|
202
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
203
|
+
# @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
|
204
|
+
# @option attributes [Integer] :dataStoragePercentage The value to assign to the {#data_storage_percentage} property
|
205
|
+
# @option attributes [Integer] :dataStorageSizeInGBs The value to assign to the {#data_storage_size_in_gbs} property
|
206
|
+
# @option attributes [String] :databaseEdition The value to assign to the {#database_edition} property
|
207
|
+
# @option attributes [String] :diskRedundancy The value to assign to the {#disk_redundancy} property
|
208
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
209
|
+
# @option attributes [String] :domain The value to assign to the {#domain} property
|
210
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
211
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
212
|
+
# @option attributes [String] :lastPatchHistoryEntryId The value to assign to the {#last_patch_history_entry_id} property
|
213
|
+
# @option attributes [String] :licenseModel The value to assign to the {#license_model} property
|
214
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
215
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
216
|
+
# @option attributes [Integer] :listenerPort The value to assign to the {#listener_port} property
|
217
|
+
# @option attributes [Integer] :nodeCount The value to assign to the {#node_count} property
|
218
|
+
# @option attributes [Integer] :recoStorageSizeInGB The value to assign to the {#reco_storage_size_in_gb} property
|
219
|
+
# @option attributes [String] :scanDnsRecordId The value to assign to the {#scan_dns_record_id} property
|
220
|
+
# @option attributes [Array<String>] :scanIpIds The value to assign to the {#scan_ip_ids} property
|
221
|
+
# @option attributes [String] :shape The value to assign to the {#shape} property
|
222
|
+
# @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
|
223
|
+
# @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
|
224
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
225
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
226
|
+
# @option attributes [Array<String>] :vipIds The value to assign to the {#vip_ids} property
|
183
227
|
def initialize(attributes = {})
|
184
228
|
return unless attributes.is_a?(Hash)
|
185
229
|
|