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,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A database backup
|
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::Backup
|
7
10
|
|
8
11
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
@@ -61,6 +64,16 @@ module OCI
|
|
61
64
|
|
62
65
|
# Initializes the object
|
63
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
68
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
69
|
+
# @option attributes [String] :databaseId The value to assign to the {#database_id} property
|
70
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
71
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
72
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
73
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
74
|
+
# @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
|
75
|
+
# @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
|
76
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
64
77
|
def initialize(attributes = {})
|
65
78
|
return unless attributes.is_a?(Hash)
|
66
79
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A database backup
|
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::BackupSummary
|
7
10
|
|
8
11
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
@@ -61,6 +64,16 @@ module OCI
|
|
61
64
|
|
62
65
|
# Initializes the object
|
63
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
68
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
69
|
+
# @option attributes [String] :databaseId The value to assign to the {#database_id} property
|
70
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
71
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
72
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
73
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
74
|
+
# @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
|
75
|
+
# @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
|
76
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
64
77
|
def initialize(attributes = {})
|
65
78
|
return unless attributes.is_a?(Hash)
|
66
79
|
|
@@ -4,17 +4,19 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Database::Models::CreateBackupDetails
|
7
|
-
# The OCID of the database.
|
7
|
+
# **[Required]** The OCID of the database.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :database_id
|
10
10
|
|
11
|
-
# The user-friendly name for the backup. It does not have to be unique.
|
11
|
+
# **[Required]** The user-friendly name for the backup. It does not have to be unique.
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :display_name
|
14
14
|
|
15
15
|
|
16
16
|
# Initializes the object
|
17
17
|
# @param [Hash] attributes Model attributes in the form of hash
|
18
|
+
# @option attributes [String] :databaseId The value to assign to the {#database_id} property
|
19
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
18
20
|
def initialize(attributes = {})
|
19
21
|
return unless attributes.is_a?(Hash)
|
20
22
|
|
@@ -3,6 +3,16 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The configuration details for creating a Data Guard association between databases.
|
7
|
+
#
|
8
|
+
# **NOTE:**
|
9
|
+
# \"ExistingDbSystem\" is the only supported `creationType` value. Therefore, all
|
10
|
+
# {#create_data_guard_association create_data_guard_association}
|
11
|
+
# requests must include the `peerDbSystemId` parameter found in the
|
12
|
+
# {#create_data_guard_association_to_existing_db_system_details create_data_guard_association_to_existing_db_system_details}
|
13
|
+
# object.
|
14
|
+
#
|
15
|
+
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
6
16
|
class Database::Models::CreateDataGuardAssociationDetails
|
7
17
|
|
8
18
|
PROTECTION_MODE_ENUM = [PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY',
|
@@ -14,13 +24,13 @@ module OCI
|
|
14
24
|
TRANSPORT_TYPE_ASYNC = 'ASYNC',
|
15
25
|
TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC']
|
16
26
|
|
17
|
-
# Specifies where to create the associated database.
|
27
|
+
# **[Required]** Specifies where to create the associated database.
|
18
28
|
# \"ExistingDbSystem\" is the only supported `creationType` value.
|
19
29
|
#
|
20
30
|
# @return [String]
|
21
31
|
attr_accessor :creation_type
|
22
32
|
|
23
|
-
# A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
|
33
|
+
# **[Required]** A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
|
24
34
|
#
|
25
35
|
# The password must contain no fewer than nine characters and include:
|
26
36
|
#
|
@@ -37,7 +47,7 @@ module OCI
|
|
37
47
|
# @return [String]
|
38
48
|
attr_accessor :database_admin_password
|
39
49
|
|
40
|
-
# The protection mode to set up between the primary and standby databases. For more information, see
|
50
|
+
# **[Required]** The protection mode to set up between the primary and standby databases. For more information, see
|
41
51
|
# [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
|
42
52
|
# in the Oracle Data Guard documentation.
|
43
53
|
#
|
@@ -46,7 +56,7 @@ module OCI
|
|
46
56
|
# @return [String]
|
47
57
|
attr_accessor :protection_mode
|
48
58
|
|
49
|
-
# The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
|
59
|
+
# **[Required]** The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
|
50
60
|
#
|
51
61
|
# * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
|
52
62
|
# * MAXIMUM_PERFORMANCE - ASYNC
|
@@ -75,6 +85,10 @@ module OCI
|
|
75
85
|
|
76
86
|
# Initializes the object
|
77
87
|
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
# @option attributes [String] :creationType The value to assign to the {#creation_type} property
|
89
|
+
# @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
|
90
|
+
# @option attributes [String] :protectionMode The value to assign to the {#protection_mode} property
|
91
|
+
# @option attributes [String] :transportType The value to assign to the {#transport_type} property
|
78
92
|
def initialize(attributes = {})
|
79
93
|
return unless attributes.is_a?(Hash)
|
80
94
|
|
@@ -4,6 +4,7 @@ require 'date'
|
|
4
4
|
require_relative 'create_data_guard_association_details'
|
5
5
|
|
6
6
|
module OCI
|
7
|
+
# The configuration details for creating a Data Guard association to an existing database.
|
7
8
|
class Database::Models::CreateDataGuardAssociationToExistingDbSystemDetails < Database::Models::CreateDataGuardAssociationDetails
|
8
9
|
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System to create the standby database on.
|
9
10
|
#
|
@@ -13,6 +14,10 @@ module OCI
|
|
13
14
|
|
14
15
|
# Initializes the object
|
15
16
|
# @param [Hash] attributes Model attributes in the form of hash
|
17
|
+
# @option attributes [String] :databaseAdminPassword The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#database_admin_password #database_admin_password} proprety
|
18
|
+
# @option attributes [String] :protectionMode The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#protection_mode #protection_mode} proprety
|
19
|
+
# @option attributes [String] :transportType The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#transport_type #transport_type} proprety
|
20
|
+
# @option attributes [String] :peerDbSystemId The value to assign to the {#peer_db_system_id} property
|
16
21
|
def initialize(attributes = {})
|
17
22
|
return unless attributes.is_a?(Hash)
|
18
23
|
|
@@ -8,7 +8,7 @@ module OCI
|
|
8
8
|
DB_WORKLOAD_ENUM = [DB_WORKLOAD_OLTP = 'OLTP',
|
9
9
|
DB_WORKLOAD_DSS = 'DSS']
|
10
10
|
|
11
|
-
# A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
|
11
|
+
# **[Required]** A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :admin_password
|
14
14
|
|
@@ -22,7 +22,7 @@ module OCI
|
|
22
22
|
# @return [OCI::Database::Models::DbBackupConfig]
|
23
23
|
attr_accessor :db_backup_config
|
24
24
|
|
25
|
-
# The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
|
25
|
+
# **[Required]** The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
|
26
26
|
# @return [String]
|
27
27
|
attr_accessor :db_name
|
28
28
|
|
@@ -43,6 +43,13 @@ module OCI
|
|
43
43
|
|
44
44
|
# Initializes the object
|
45
45
|
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
# @option attributes [String] :adminPassword The value to assign to the {#admin_password} property
|
47
|
+
# @option attributes [String] :characterSet The value to assign to the {#character_set} property
|
48
|
+
# @option attributes [OCI::Database::Models::DbBackupConfig] :dbBackupConfig The value to assign to the {#db_backup_config} property
|
49
|
+
# @option attributes [String] :dbName The value to assign to the {#db_name} property
|
50
|
+
# @option attributes [String] :dbWorkload The value to assign to the {#db_workload} property
|
51
|
+
# @option attributes [String] :ncharacterSet The value to assign to the {#ncharacter_set} property
|
52
|
+
# @option attributes [String] :pdbName The value to assign to the {#pdb_name} property
|
46
53
|
def initialize(attributes = {})
|
47
54
|
return unless attributes.is_a?(Hash)
|
48
55
|
|
@@ -4,21 +4,24 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Database::Models::CreateDatabaseFromBackupDetails
|
7
|
-
# A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
|
7
|
+
# **[Required]** A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :admin_password
|
10
10
|
|
11
|
-
# The backup OCID.
|
11
|
+
# **[Required]** The backup OCID.
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :backup_id
|
14
14
|
|
15
|
-
# The password to open the TDE wallet.
|
15
|
+
# **[Required]** The password to open the TDE wallet.
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :backup_tde_password
|
18
18
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [String] :adminPassword The value to assign to the {#admin_password} property
|
23
|
+
# @option attributes [String] :backupId The value to assign to the {#backup_id} property
|
24
|
+
# @option attributes [String] :backupTDEPassword The value to assign to the {#backup_tde_password} property
|
22
25
|
def initialize(attributes = {})
|
23
26
|
return unless attributes.is_a?(Hash)
|
24
27
|
|
@@ -4,10 +4,11 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Database::Models::CreateDbHomeDetails
|
7
|
+
# This attribute is required.
|
7
8
|
# @return [OCI::Database::Models::CreateDatabaseDetails]
|
8
9
|
attr_accessor :database
|
9
10
|
|
10
|
-
# A valid Oracle database version. To get a list of supported versions, use the {#list_db_versions list_db_versions} operation.
|
11
|
+
# **[Required]** A valid Oracle database version. To get a list of supported versions, use the {#list_db_versions list_db_versions} operation.
|
11
12
|
# @return [String]
|
12
13
|
attr_accessor :db_version
|
13
14
|
|
@@ -18,6 +19,9 @@ module OCI
|
|
18
19
|
|
19
20
|
# Initializes the object
|
20
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [OCI::Database::Models::CreateDatabaseDetails] :database The value to assign to the {#database} property
|
23
|
+
# @option attributes [String] :dbVersion The value to assign to the {#db_version} property
|
24
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
21
25
|
def initialize(attributes = {})
|
22
26
|
return unless attributes.is_a?(Hash)
|
23
27
|
|
@@ -3,12 +3,13 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
6
7
|
class Database::Models::CreateDbHomeWithDbSystemIdBase
|
7
8
|
|
8
9
|
SOURCE_ENUM = [SOURCE_NONE = 'NONE',
|
9
10
|
SOURCE_DB_BACKUP = 'DB_BACKUP']
|
10
11
|
|
11
|
-
# The OCID of the DB System.
|
12
|
+
# **[Required]** The OCID of the DB System.
|
12
13
|
# @return [String]
|
13
14
|
attr_accessor :db_system_id
|
14
15
|
|
@@ -38,6 +39,9 @@ module OCI
|
|
38
39
|
|
39
40
|
# Initializes the object
|
40
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
# @option attributes [String] :dbSystemId The value to assign to the {#db_system_id} property
|
43
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
44
|
+
# @option attributes [String] :source The value to assign to the {#source} property
|
41
45
|
def initialize(attributes = {})
|
42
46
|
return unless attributes.is_a?(Hash)
|
43
47
|
|
@@ -5,16 +5,21 @@ require_relative 'create_db_home_with_db_system_id_base'
|
|
5
5
|
|
6
6
|
module OCI
|
7
7
|
class Database::Models::CreateDbHomeWithDbSystemIdDetails < Database::Models::CreateDbHomeWithDbSystemIdBase
|
8
|
+
# This attribute is required.
|
8
9
|
# @return [OCI::Database::Models::CreateDatabaseDetails]
|
9
10
|
attr_accessor :database
|
10
11
|
|
11
|
-
# A valid Oracle database version. To get a list of supported versions, use the {#list_db_versions list_db_versions} operation.
|
12
|
+
# **[Required]** A valid Oracle database version. To get a list of supported versions, use the {#list_db_versions list_db_versions} operation.
|
12
13
|
# @return [String]
|
13
14
|
attr_accessor :db_version
|
14
15
|
|
15
16
|
|
16
17
|
# Initializes the object
|
17
18
|
# @param [Hash] attributes Model attributes in the form of hash
|
19
|
+
# @option attributes [String] :dbSystemId The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#db_system_id #db_system_id} proprety
|
20
|
+
# @option attributes [String] :displayName The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#display_name #display_name} proprety
|
21
|
+
# @option attributes [OCI::Database::Models::CreateDatabaseDetails] :database The value to assign to the {#database} property
|
22
|
+
# @option attributes [String] :dbVersion The value to assign to the {#db_version} property
|
18
23
|
def initialize(attributes = {})
|
19
24
|
return unless attributes.is_a?(Hash)
|
20
25
|
|
@@ -5,12 +5,16 @@ require_relative 'create_db_home_with_db_system_id_base'
|
|
5
5
|
|
6
6
|
module OCI
|
7
7
|
class Database::Models::CreateDbHomeWithDbSystemIdFromBackupDetails < Database::Models::CreateDbHomeWithDbSystemIdBase
|
8
|
+
# This attribute is required.
|
8
9
|
# @return [OCI::Database::Models::CreateDatabaseFromBackupDetails]
|
9
10
|
attr_accessor :database
|
10
11
|
|
11
12
|
|
12
13
|
# Initializes the object
|
13
14
|
# @param [Hash] attributes Model attributes in the form of hash
|
15
|
+
# @option attributes [String] :dbSystemId The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#db_system_id #db_system_id} proprety
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#display_name #display_name} proprety
|
17
|
+
# @option attributes [OCI::Database::Models::CreateDatabaseFromBackupDetails] :database The value to assign to the {#database} property
|
14
18
|
def initialize(attributes = {})
|
15
19
|
return unless attributes.is_a?(Hash)
|
16
20
|
|
@@ -3,6 +3,16 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The properties that define a Data Guard association.
|
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
|
9
|
+
# administrator. If you're an administrator who needs to write policies to give users access, see
|
10
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
|
+
#
|
12
|
+
# For information about endpoints and signing API requests, see
|
13
|
+
# [About the API](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see
|
14
|
+
# [SDKS and Other Tools](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm).
|
15
|
+
#
|
6
16
|
class Database::Models::DataGuardAssociation
|
7
17
|
|
8
18
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -52,11 +62,11 @@ module OCI
|
|
52
62
|
# @return [String]
|
53
63
|
attr_accessor :apply_rate
|
54
64
|
|
55
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
65
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
56
66
|
# @return [String]
|
57
67
|
attr_accessor :database_id
|
58
68
|
|
59
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
69
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
60
70
|
# @return [String]
|
61
71
|
attr_accessor :id
|
62
72
|
|
@@ -65,7 +75,7 @@ module OCI
|
|
65
75
|
# @return [String]
|
66
76
|
attr_accessor :lifecycle_details
|
67
77
|
|
68
|
-
# The current state of the Data Guard association.
|
78
|
+
# **[Required]** The current state of the Data Guard association.
|
69
79
|
# @return [String]
|
70
80
|
attr_accessor :lifecycle_state
|
71
81
|
|
@@ -82,24 +92,24 @@ module OCI
|
|
82
92
|
# @return [String]
|
83
93
|
attr_accessor :peer_db_home_id
|
84
94
|
|
85
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
|
95
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
|
86
96
|
# peer database.
|
87
97
|
#
|
88
98
|
# @return [String]
|
89
99
|
attr_accessor :peer_db_system_id
|
90
100
|
|
91
|
-
# The role of the peer database in this Data Guard association.
|
101
|
+
# **[Required]** The role of the peer database in this Data Guard association.
|
92
102
|
# @return [String]
|
93
103
|
attr_accessor :peer_role
|
94
104
|
|
95
|
-
# The protection mode of this Data Guard association. For more information, see
|
105
|
+
# **[Required]** The protection mode of this Data Guard association. For more information, see
|
96
106
|
# [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
|
97
107
|
# in the Oracle Data Guard documentation.
|
98
108
|
#
|
99
109
|
# @return [String]
|
100
110
|
attr_accessor :protection_mode
|
101
111
|
|
102
|
-
# The role of the reporting database in this Data Guard association.
|
112
|
+
# **[Required]** The role of the reporting database in this Data Guard association.
|
103
113
|
# @return [String]
|
104
114
|
attr_accessor :role
|
105
115
|
|
@@ -117,6 +127,21 @@ module OCI
|
|
117
127
|
|
118
128
|
# Initializes the object
|
119
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @option attributes [String] :applyLag The value to assign to the {#apply_lag} property
|
131
|
+
# @option attributes [String] :applyRate The value to assign to the {#apply_rate} property
|
132
|
+
# @option attributes [String] :databaseId The value to assign to the {#database_id} property
|
133
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
134
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
135
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
136
|
+
# @option attributes [String] :peerDataGuardAssociationId The value to assign to the {#peer_data_guard_association_id} property
|
137
|
+
# @option attributes [String] :peerDatabaseId The value to assign to the {#peer_database_id} property
|
138
|
+
# @option attributes [String] :peerDbHomeId The value to assign to the {#peer_db_home_id} property
|
139
|
+
# @option attributes [String] :peerDbSystemId The value to assign to the {#peer_db_system_id} property
|
140
|
+
# @option attributes [String] :peerRole The value to assign to the {#peer_role} property
|
141
|
+
# @option attributes [String] :protectionMode The value to assign to the {#protection_mode} property
|
142
|
+
# @option attributes [String] :role The value to assign to the {#role} property
|
143
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
144
|
+
# @option attributes [String] :transportType The value to assign to the {#transport_type} property
|
120
145
|
def initialize(attributes = {})
|
121
146
|
return unless attributes.is_a?(Hash)
|
122
147
|
|
@@ -3,6 +3,16 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The properties that define a Data Guard association.
|
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
|
9
|
+
# administrator. If you're an administrator who needs to write policies to give users access, see
|
10
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
|
+
#
|
12
|
+
# For information about endpoints and signing API requests, see
|
13
|
+
# [About the API](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see
|
14
|
+
# [SDKS and Other Tools](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm).
|
15
|
+
#
|
6
16
|
class Database::Models::DataGuardAssociationSummary
|
7
17
|
|
8
18
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -52,11 +62,11 @@ module OCI
|
|
52
62
|
# @return [String]
|
53
63
|
attr_accessor :apply_rate
|
54
64
|
|
55
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
65
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
56
66
|
# @return [String]
|
57
67
|
attr_accessor :database_id
|
58
68
|
|
59
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
69
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
60
70
|
# @return [String]
|
61
71
|
attr_accessor :id
|
62
72
|
|
@@ -65,7 +75,7 @@ module OCI
|
|
65
75
|
# @return [String]
|
66
76
|
attr_accessor :lifecycle_details
|
67
77
|
|
68
|
-
# The current state of the Data Guard association.
|
78
|
+
# **[Required]** The current state of the Data Guard association.
|
69
79
|
# @return [String]
|
70
80
|
attr_accessor :lifecycle_state
|
71
81
|
|
@@ -82,24 +92,24 @@ module OCI
|
|
82
92
|
# @return [String]
|
83
93
|
attr_accessor :peer_db_home_id
|
84
94
|
|
85
|
-
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
|
95
|
+
# **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
|
86
96
|
# peer database.
|
87
97
|
#
|
88
98
|
# @return [String]
|
89
99
|
attr_accessor :peer_db_system_id
|
90
100
|
|
91
|
-
# The role of the peer database in this Data Guard association.
|
101
|
+
# **[Required]** The role of the peer database in this Data Guard association.
|
92
102
|
# @return [String]
|
93
103
|
attr_accessor :peer_role
|
94
104
|
|
95
|
-
# The protection mode of this Data Guard association. For more information, see
|
105
|
+
# **[Required]** The protection mode of this Data Guard association. For more information, see
|
96
106
|
# [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
|
97
107
|
# in the Oracle Data Guard documentation.
|
98
108
|
#
|
99
109
|
# @return [String]
|
100
110
|
attr_accessor :protection_mode
|
101
111
|
|
102
|
-
# The role of the reporting database in this Data Guard association.
|
112
|
+
# **[Required]** The role of the reporting database in this Data Guard association.
|
103
113
|
# @return [String]
|
104
114
|
attr_accessor :role
|
105
115
|
|
@@ -117,6 +127,21 @@ module OCI
|
|
117
127
|
|
118
128
|
# Initializes the object
|
119
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @option attributes [String] :applyLag The value to assign to the {#apply_lag} property
|
131
|
+
# @option attributes [String] :applyRate The value to assign to the {#apply_rate} property
|
132
|
+
# @option attributes [String] :databaseId The value to assign to the {#database_id} property
|
133
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
134
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
135
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
136
|
+
# @option attributes [String] :peerDataGuardAssociationId The value to assign to the {#peer_data_guard_association_id} property
|
137
|
+
# @option attributes [String] :peerDatabaseId The value to assign to the {#peer_database_id} property
|
138
|
+
# @option attributes [String] :peerDbHomeId The value to assign to the {#peer_db_home_id} property
|
139
|
+
# @option attributes [String] :peerDbSystemId The value to assign to the {#peer_db_system_id} property
|
140
|
+
# @option attributes [String] :peerRole The value to assign to the {#peer_role} property
|
141
|
+
# @option attributes [String] :protectionMode The value to assign to the {#protection_mode} property
|
142
|
+
# @option attributes [String] :role The value to assign to the {#role} property
|
143
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
144
|
+
# @option attributes [String] :transportType The value to assign to the {#transport_type} property
|
120
145
|
def initialize(attributes = {})
|
121
146
|
return unless attributes.is_a?(Hash)
|
122
147
|
|