oci 2.0.7 → 2.0.8
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 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +21 -11
- data/lib/oci/audit/models/audit_event.rb +133 -19
- data/lib/oci/audit/models/configuration.rb +7 -1
- data/lib/oci/audit/models/update_configuration_details.rb +7 -1
- data/lib/oci/base_signer.rb +1 -2
- data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
- data/lib/oci/core/models/attach_vnic_details.rb +28 -4
- data/lib/oci/core/models/attach_volume_details.rb +28 -4
- data/lib/oci/core/models/boot_volume.rb +56 -8
- data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/capture_console_history_details.rb +28 -4
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
- data/lib/oci/core/models/console_history.rb +56 -8
- data/lib/oci/core/models/cpe.rb +28 -4
- data/lib/oci/core/models/create_cpe_details.rb +21 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
- data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
- data/lib/oci/core/models/create_dhcp_details.rb +35 -5
- data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
- data/lib/oci/core/models/create_drg_details.rb +14 -2
- data/lib/oci/core/models/create_image_details.rb +49 -7
- data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
- data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
- data/lib/oci/core/models/create_private_ip_details.rb +42 -6
- data/lib/oci/core/models/create_public_ip_details.rb +21 -3
- data/lib/oci/core/models/create_route_table_details.rb +42 -6
- data/lib/oci/core/models/create_security_list_details.rb +49 -7
- data/lib/oci/core/models/create_subnet_details.rb +84 -12
- data/lib/oci/core/models/create_vcn_details.rb +42 -6
- data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/create_vnic_details.rb +42 -6
- data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
- data/lib/oci/core/models/create_volume_details.rb +70 -10
- data/lib/oci/core/models/cross_connect.rb +56 -8
- data/lib/oci/core/models/cross_connect_group.rb +28 -4
- data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
- data/lib/oci/core/models/cross_connect_status.rb +28 -4
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
- data/lib/oci/core/models/dhcp_options.rb +49 -7
- data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
- data/lib/oci/core/models/drg.rb +28 -4
- data/lib/oci/core/models/drg_attachment.rb +42 -6
- data/lib/oci/core/models/egress_security_rule.rb +28 -4
- data/lib/oci/core/models/export_image_details.rb +7 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
- data/lib/oci/core/models/image.rb +84 -12
- data/lib/oci/core/models/image_source_details.rb +14 -2
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
- data/lib/oci/core/models/ingress_security_rule.rb +28 -4
- data/lib/oci/core/models/instance.rb +91 -13
- data/lib/oci/core/models/instance_console_connection.rb +49 -7
- data/lib/oci/core/models/instance_source_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
- data/lib/oci/core/models/internet_gateway.rb +42 -6
- data/lib/oci/core/models/ip_sec_connection.rb +49 -7
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
- data/lib/oci/core/models/launch_instance_details.rb +84 -12
- data/lib/oci/core/models/launch_options.rb +21 -3
- data/lib/oci/core/models/letter_of_authority.rb +49 -7
- data/lib/oci/core/models/local_peering_gateway.rb +63 -9
- data/lib/oci/core/models/private_ip.rb +77 -11
- data/lib/oci/core/models/public_ip.rb +49 -7
- data/lib/oci/core/models/route_rule.rb +14 -2
- data/lib/oci/core/models/route_table.rb +56 -8
- data/lib/oci/core/models/security_list.rb +63 -9
- data/lib/oci/core/models/subnet.rb +119 -17
- data/lib/oci/core/models/tcp_options.rb +14 -2
- data/lib/oci/core/models/tunnel_config.rb +21 -3
- data/lib/oci/core/models/tunnel_status.rb +28 -4
- data/lib/oci/core/models/udp_options.rb +14 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/update_console_history_details.rb +21 -3
- data/lib/oci/core/models/update_cpe_details.rb +7 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
- data/lib/oci/core/models/update_dhcp_details.rb +21 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
- data/lib/oci/core/models/update_drg_details.rb +7 -1
- data/lib/oci/core/models/update_image_details.rb +21 -3
- data/lib/oci/core/models/update_instance_details.rb +21 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
- data/lib/oci/core/models/update_private_ip_details.rb +35 -5
- data/lib/oci/core/models/update_public_ip_details.rb +14 -2
- data/lib/oci/core/models/update_route_table_details.rb +28 -4
- data/lib/oci/core/models/update_security_list_details.rb +35 -5
- data/lib/oci/core/models/update_subnet_details.rb +21 -3
- data/lib/oci/core/models/update_vcn_details.rb +21 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
- data/lib/oci/core/models/update_vnic_details.rb +21 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
- data/lib/oci/core/models/update_volume_details.rb +21 -3
- data/lib/oci/core/models/vcn.rb +84 -12
- data/lib/oci/core/models/virtual_circuit.rb +126 -18
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
- data/lib/oci/core/models/vnic.rb +84 -12
- data/lib/oci/core/models/vnic_attachment.rb +70 -10
- data/lib/oci/core/models/volume.rb +77 -11
- data/lib/oci/core/models/volume_attachment.rb +63 -9
- data/lib/oci/core/models/volume_backup.rb +98 -14
- data/lib/oci/core/models/volume_backup_policy.rb +14 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
- data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
- data/lib/oci/database/database_client.rb +2 -2
- data/lib/oci/database/models/backup.rb +56 -8
- data/lib/oci/database/models/backup_summary.rb +56 -8
- data/lib/oci/database/models/create_backup_details.rb +14 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
- data/lib/oci/database/models/create_database_details.rb +49 -7
- data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
- data/lib/oci/database/models/create_db_home_details.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
- data/lib/oci/database/models/data_guard_association.rb +91 -13
- data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
- data/lib/oci/database/models/database.rb +84 -12
- data/lib/oci/database/models/database_summary.rb +84 -12
- data/lib/oci/database/models/db_backup_config.rb +7 -1
- data/lib/oci/database/models/db_home.rb +49 -7
- data/lib/oci/database/models/db_home_summary.rb +49 -7
- data/lib/oci/database/models/db_node.rb +42 -6
- data/lib/oci/database/models/db_node_summary.rb +42 -6
- data/lib/oci/database/models/db_system.rb +161 -23
- data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
- data/lib/oci/database/models/db_system_summary.rb +161 -23
- data/lib/oci/database/models/db_version_summary.rb +7 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/launch_db_system_details.rb +105 -15
- data/lib/oci/database/models/patch.rb +35 -5
- data/lib/oci/database/models/patch_details.rb +7 -1
- data/lib/oci/database/models/patch_history_entry.rb +35 -5
- data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
- data/lib/oci/database/models/patch_summary.rb +35 -5
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/restore_database_details.rb +7 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/update_database_details.rb +7 -1
- data/lib/oci/database/models/update_db_home_details.rb +7 -1
- data/lib/oci/database/models/update_db_system_details.rb +21 -3
- data/lib/oci/dns/models/create_zone_details.rb +21 -3
- data/lib/oci/dns/models/record.rb +21 -3
- data/lib/oci/dns/models/record_details.rb +21 -3
- data/lib/oci/dns/models/record_operation.rb +21 -3
- data/lib/oci/dns/models/update_zone_details.rb +7 -1
- data/lib/oci/dns/models/zone.rb +42 -6
- data/lib/oci/dns/models/zone_summary.rb +28 -4
- data/lib/oci/file_storage/file_storage.rb +33 -0
- data/lib/oci/file_storage/file_storage_client.rb +1117 -0
- data/lib/oci/file_storage/models/create_export_details.rb +162 -0
- data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
- data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
- data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
- data/lib/oci/file_storage/models/export.rb +261 -0
- data/lib/oci/file_storage/models/export_set.rb +315 -0
- data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
- data/lib/oci/file_storage/models/export_summary.rb +233 -0
- data/lib/oci/file_storage/models/file_system.rb +273 -0
- data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
- data/lib/oci/file_storage/models/mount_target.rb +320 -0
- data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
- data/lib/oci/file_storage/models/snapshot.rb +217 -0
- data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
- data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
- data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
- data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
- data/lib/oci/file_storage/util.rb +2 -0
- data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
- data/lib/oci/identity/models/api_key.rb +42 -6
- data/lib/oci/identity/models/availability_domain.rb +7 -1
- data/lib/oci/identity/models/compartment.rb +42 -6
- data/lib/oci/identity/models/create_compartment_details.rb +21 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
- data/lib/oci/identity/models/create_group_details.rb +21 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/create_policy_details.rb +28 -4
- data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/create_tag_details.rb +14 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/create_user_details.rb +21 -3
- data/lib/oci/identity/models/customer_secret_key.rb +42 -6
- data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
- data/lib/oci/identity/models/dynamic_group.rb +35 -5
- data/lib/oci/identity/models/group.rb +42 -6
- data/lib/oci/identity/models/identity_provider.rb +49 -7
- data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
- data/lib/oci/identity/models/policy.rb +49 -7
- data/lib/oci/identity/models/region_subscription.rb +21 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
- data/lib/oci/identity/models/swift_password.rb +35 -5
- data/lib/oci/identity/models/tag.rb +49 -7
- data/lib/oci/identity/models/tag_namespace.rb +35 -5
- data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
- data/lib/oci/identity/models/tag_summary.rb +35 -5
- data/lib/oci/identity/models/tenancy.rb +21 -3
- data/lib/oci/identity/models/ui_password.rb +28 -4
- data/lib/oci/identity/models/update_compartment_details.rb +14 -2
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
- data/lib/oci/identity/models/update_group_details.rb +14 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/update_policy_details.rb +21 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
- data/lib/oci/identity/models/update_tag_details.rb +21 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/update_user_details.rb +14 -2
- data/lib/oci/identity/models/user.rb +42 -6
- data/lib/oci/identity/models/user_group_membership.rb +42 -6
- data/lib/oci/load_balancer/models/backend.rb +7 -1
- data/lib/oci/load_balancer/models/backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/backend_health.rb +7 -1
- data/lib/oci/load_balancer/models/backend_set.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
- data/lib/oci/load_balancer/models/certificate.rb +21 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
- data/lib/oci/load_balancer/models/health_checker.rb +35 -5
- data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/ip_address.rb +14 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -4
- data/lib/oci/load_balancer/models/listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
- data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
- data/lib/oci/load_balancer/models/path_route.rb +14 -2
- data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/work_request.rb +35 -5
- data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
- data/lib/oci/object_storage/models/bucket.rb +83 -11
- data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
- data/lib/oci/object_storage/models/list_objects.rb +7 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
- data/lib/oci/object_storage/models/object_summary.rb +7 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
- data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
- data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
- data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
- data/lib/oci/object_storage/object_storage_client.rb +17 -5
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
- data/lib/oci/signer.rb +0 -8
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waiter.rb +1 -0
- metadata +22 -2
@@ -20,8 +20,8 @@ module OCI
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
22
|
# @option attributes [OCI::Database::Models::CreateDatabaseDetails] :database The value to assign to the {#database} property
|
23
|
-
# @option attributes [String] :
|
24
|
-
# @option attributes [String] :
|
23
|
+
# @option attributes [String] :db_version The value to assign to the {#db_version} property
|
24
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
25
25
|
def initialize(attributes = {})
|
26
26
|
return unless attributes.is_a?(Hash)
|
27
27
|
|
@@ -36,10 +36,22 @@ module OCI
|
|
36
36
|
self.db_version = attributes[:'dbVersion']
|
37
37
|
end
|
38
38
|
|
39
|
+
raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')
|
40
|
+
|
41
|
+
if attributes[:'db_version']
|
42
|
+
self.db_version = attributes[:'db_version']
|
43
|
+
end
|
44
|
+
|
39
45
|
if attributes[:'displayName']
|
40
46
|
self.display_name = attributes[:'displayName']
|
41
47
|
end
|
42
48
|
|
49
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
50
|
+
|
51
|
+
if attributes[:'display_name']
|
52
|
+
self.display_name = attributes[:'display_name']
|
53
|
+
end
|
54
|
+
|
43
55
|
end
|
44
56
|
|
45
57
|
# Checks equality by comparing each attribute.
|
@@ -39,8 +39,8 @@ module OCI
|
|
39
39
|
|
40
40
|
# Initializes the object
|
41
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
-
# @option attributes [String] :
|
43
|
-
# @option attributes [String] :
|
42
|
+
# @option attributes [String] :db_system_id The value to assign to the {#db_system_id} property
|
43
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
44
44
|
# @option attributes [String] :source The value to assign to the {#source} property
|
45
45
|
def initialize(attributes = {})
|
46
46
|
return unless attributes.is_a?(Hash)
|
@@ -52,10 +52,22 @@ module OCI
|
|
52
52
|
self.db_system_id = attributes[:'dbSystemId']
|
53
53
|
end
|
54
54
|
|
55
|
+
raise 'You cannot provide both :dbSystemId and :db_system_id' if attributes.key?(:'dbSystemId') && attributes.key?(:'db_system_id')
|
56
|
+
|
57
|
+
if attributes[:'db_system_id']
|
58
|
+
self.db_system_id = attributes[:'db_system_id']
|
59
|
+
end
|
60
|
+
|
55
61
|
if attributes[:'displayName']
|
56
62
|
self.display_name = attributes[:'displayName']
|
57
63
|
end
|
58
64
|
|
65
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
66
|
+
|
67
|
+
if attributes[:'display_name']
|
68
|
+
self.display_name = attributes[:'display_name']
|
69
|
+
end
|
70
|
+
|
59
71
|
if attributes[:'source']
|
60
72
|
self.source = attributes[:'source']
|
61
73
|
else
|
@@ -16,10 +16,10 @@ module OCI
|
|
16
16
|
|
17
17
|
# Initializes the object
|
18
18
|
# @param [Hash] attributes Model attributes in the form of hash
|
19
|
-
# @option attributes [String] :
|
20
|
-
# @option attributes [String] :
|
19
|
+
# @option attributes [String] :db_system_id The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#db_system_id #db_system_id} proprety
|
20
|
+
# @option attributes [String] :display_name The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#display_name #display_name} proprety
|
21
21
|
# @option attributes [OCI::Database::Models::CreateDatabaseDetails] :database The value to assign to the {#database} property
|
22
|
-
# @option attributes [String] :
|
22
|
+
# @option attributes [String] :db_version The value to assign to the {#db_version} property
|
23
23
|
def initialize(attributes = {})
|
24
24
|
return unless attributes.is_a?(Hash)
|
25
25
|
|
@@ -38,6 +38,12 @@ module OCI
|
|
38
38
|
self.db_version = attributes[:'dbVersion']
|
39
39
|
end
|
40
40
|
|
41
|
+
raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')
|
42
|
+
|
43
|
+
if attributes[:'db_version']
|
44
|
+
self.db_version = attributes[:'db_version']
|
45
|
+
end
|
46
|
+
|
41
47
|
end
|
42
48
|
|
43
49
|
# Checks equality by comparing each attribute.
|
@@ -12,8 +12,8 @@ module OCI
|
|
12
12
|
|
13
13
|
# Initializes the object
|
14
14
|
# @param [Hash] attributes Model attributes in the form of hash
|
15
|
-
# @option attributes [String] :
|
16
|
-
# @option attributes [String] :
|
15
|
+
# @option attributes [String] :db_system_id The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#db_system_id #db_system_id} proprety
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {OCI::Database::Models::CreateDbHomeWithDbSystemIdBase#display_name #display_name} proprety
|
17
17
|
# @option attributes [OCI::Database::Models::CreateDatabaseFromBackupDetails] :database The value to assign to the {#database} property
|
18
18
|
def initialize(attributes = {})
|
19
19
|
return unless attributes.is_a?(Hash)
|
@@ -127,21 +127,21 @@ module OCI
|
|
127
127
|
|
128
128
|
# Initializes the object
|
129
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
-
# @option attributes [String] :
|
131
|
-
# @option attributes [String] :
|
132
|
-
# @option attributes [String] :
|
130
|
+
# @option attributes [String] :apply_lag The value to assign to the {#apply_lag} property
|
131
|
+
# @option attributes [String] :apply_rate The value to assign to the {#apply_rate} property
|
132
|
+
# @option attributes [String] :database_id The value to assign to the {#database_id} property
|
133
133
|
# @option attributes [String] :id The value to assign to the {#id} property
|
134
|
-
# @option attributes [String] :
|
135
|
-
# @option attributes [String] :
|
136
|
-
# @option attributes [String] :
|
137
|
-
# @option attributes [String] :
|
138
|
-
# @option attributes [String] :
|
139
|
-
# @option attributes [String] :
|
140
|
-
# @option attributes [String] :
|
141
|
-
# @option attributes [String] :
|
134
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
135
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
136
|
+
# @option attributes [String] :peer_data_guard_association_id The value to assign to the {#peer_data_guard_association_id} property
|
137
|
+
# @option attributes [String] :peer_database_id The value to assign to the {#peer_database_id} property
|
138
|
+
# @option attributes [String] :peer_db_home_id The value to assign to the {#peer_db_home_id} property
|
139
|
+
# @option attributes [String] :peer_db_system_id The value to assign to the {#peer_db_system_id} property
|
140
|
+
# @option attributes [String] :peer_role The value to assign to the {#peer_role} property
|
141
|
+
# @option attributes [String] :protection_mode The value to assign to the {#protection_mode} property
|
142
142
|
# @option attributes [String] :role The value to assign to the {#role} property
|
143
|
-
# @option attributes [DateTime] :
|
144
|
-
# @option attributes [String] :
|
143
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
144
|
+
# @option attributes [String] :transport_type The value to assign to the {#transport_type} property
|
145
145
|
def initialize(attributes = {})
|
146
146
|
return unless attributes.is_a?(Hash)
|
147
147
|
|
@@ -152,14 +152,32 @@ module OCI
|
|
152
152
|
self.apply_lag = attributes[:'applyLag']
|
153
153
|
end
|
154
154
|
|
155
|
+
raise 'You cannot provide both :applyLag and :apply_lag' if attributes.key?(:'applyLag') && attributes.key?(:'apply_lag')
|
156
|
+
|
157
|
+
if attributes[:'apply_lag']
|
158
|
+
self.apply_lag = attributes[:'apply_lag']
|
159
|
+
end
|
160
|
+
|
155
161
|
if attributes[:'applyRate']
|
156
162
|
self.apply_rate = attributes[:'applyRate']
|
157
163
|
end
|
158
164
|
|
165
|
+
raise 'You cannot provide both :applyRate and :apply_rate' if attributes.key?(:'applyRate') && attributes.key?(:'apply_rate')
|
166
|
+
|
167
|
+
if attributes[:'apply_rate']
|
168
|
+
self.apply_rate = attributes[:'apply_rate']
|
169
|
+
end
|
170
|
+
|
159
171
|
if attributes[:'databaseId']
|
160
172
|
self.database_id = attributes[:'databaseId']
|
161
173
|
end
|
162
174
|
|
175
|
+
raise 'You cannot provide both :databaseId and :database_id' if attributes.key?(:'databaseId') && attributes.key?(:'database_id')
|
176
|
+
|
177
|
+
if attributes[:'database_id']
|
178
|
+
self.database_id = attributes[:'database_id']
|
179
|
+
end
|
180
|
+
|
163
181
|
if attributes[:'id']
|
164
182
|
self.id = attributes[:'id']
|
165
183
|
end
|
@@ -168,34 +186,82 @@ module OCI
|
|
168
186
|
self.lifecycle_details = attributes[:'lifecycleDetails']
|
169
187
|
end
|
170
188
|
|
189
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
190
|
+
|
191
|
+
if attributes[:'lifecycle_details']
|
192
|
+
self.lifecycle_details = attributes[:'lifecycle_details']
|
193
|
+
end
|
194
|
+
|
171
195
|
if attributes[:'lifecycleState']
|
172
196
|
self.lifecycle_state = attributes[:'lifecycleState']
|
173
197
|
end
|
174
198
|
|
199
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
200
|
+
|
201
|
+
if attributes[:'lifecycle_state']
|
202
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
203
|
+
end
|
204
|
+
|
175
205
|
if attributes[:'peerDataGuardAssociationId']
|
176
206
|
self.peer_data_guard_association_id = attributes[:'peerDataGuardAssociationId']
|
177
207
|
end
|
178
208
|
|
209
|
+
raise 'You cannot provide both :peerDataGuardAssociationId and :peer_data_guard_association_id' if attributes.key?(:'peerDataGuardAssociationId') && attributes.key?(:'peer_data_guard_association_id')
|
210
|
+
|
211
|
+
if attributes[:'peer_data_guard_association_id']
|
212
|
+
self.peer_data_guard_association_id = attributes[:'peer_data_guard_association_id']
|
213
|
+
end
|
214
|
+
|
179
215
|
if attributes[:'peerDatabaseId']
|
180
216
|
self.peer_database_id = attributes[:'peerDatabaseId']
|
181
217
|
end
|
182
218
|
|
219
|
+
raise 'You cannot provide both :peerDatabaseId and :peer_database_id' if attributes.key?(:'peerDatabaseId') && attributes.key?(:'peer_database_id')
|
220
|
+
|
221
|
+
if attributes[:'peer_database_id']
|
222
|
+
self.peer_database_id = attributes[:'peer_database_id']
|
223
|
+
end
|
224
|
+
|
183
225
|
if attributes[:'peerDbHomeId']
|
184
226
|
self.peer_db_home_id = attributes[:'peerDbHomeId']
|
185
227
|
end
|
186
228
|
|
229
|
+
raise 'You cannot provide both :peerDbHomeId and :peer_db_home_id' if attributes.key?(:'peerDbHomeId') && attributes.key?(:'peer_db_home_id')
|
230
|
+
|
231
|
+
if attributes[:'peer_db_home_id']
|
232
|
+
self.peer_db_home_id = attributes[:'peer_db_home_id']
|
233
|
+
end
|
234
|
+
|
187
235
|
if attributes[:'peerDbSystemId']
|
188
236
|
self.peer_db_system_id = attributes[:'peerDbSystemId']
|
189
237
|
end
|
190
238
|
|
239
|
+
raise 'You cannot provide both :peerDbSystemId and :peer_db_system_id' if attributes.key?(:'peerDbSystemId') && attributes.key?(:'peer_db_system_id')
|
240
|
+
|
241
|
+
if attributes[:'peer_db_system_id']
|
242
|
+
self.peer_db_system_id = attributes[:'peer_db_system_id']
|
243
|
+
end
|
244
|
+
|
191
245
|
if attributes[:'peerRole']
|
192
246
|
self.peer_role = attributes[:'peerRole']
|
193
247
|
end
|
194
248
|
|
249
|
+
raise 'You cannot provide both :peerRole and :peer_role' if attributes.key?(:'peerRole') && attributes.key?(:'peer_role')
|
250
|
+
|
251
|
+
if attributes[:'peer_role']
|
252
|
+
self.peer_role = attributes[:'peer_role']
|
253
|
+
end
|
254
|
+
|
195
255
|
if attributes[:'protectionMode']
|
196
256
|
self.protection_mode = attributes[:'protectionMode']
|
197
257
|
end
|
198
258
|
|
259
|
+
raise 'You cannot provide both :protectionMode and :protection_mode' if attributes.key?(:'protectionMode') && attributes.key?(:'protection_mode')
|
260
|
+
|
261
|
+
if attributes[:'protection_mode']
|
262
|
+
self.protection_mode = attributes[:'protection_mode']
|
263
|
+
end
|
264
|
+
|
199
265
|
if attributes[:'role']
|
200
266
|
self.role = attributes[:'role']
|
201
267
|
end
|
@@ -204,10 +270,22 @@ module OCI
|
|
204
270
|
self.time_created = attributes[:'timeCreated']
|
205
271
|
end
|
206
272
|
|
273
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
274
|
+
|
275
|
+
if attributes[:'time_created']
|
276
|
+
self.time_created = attributes[:'time_created']
|
277
|
+
end
|
278
|
+
|
207
279
|
if attributes[:'transportType']
|
208
280
|
self.transport_type = attributes[:'transportType']
|
209
281
|
end
|
210
282
|
|
283
|
+
raise 'You cannot provide both :transportType and :transport_type' if attributes.key?(:'transportType') && attributes.key?(:'transport_type')
|
284
|
+
|
285
|
+
if attributes[:'transport_type']
|
286
|
+
self.transport_type = attributes[:'transport_type']
|
287
|
+
end
|
288
|
+
|
211
289
|
end
|
212
290
|
|
213
291
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -127,21 +127,21 @@ module OCI
|
|
127
127
|
|
128
128
|
# Initializes the object
|
129
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
-
# @option attributes [String] :
|
131
|
-
# @option attributes [String] :
|
132
|
-
# @option attributes [String] :
|
130
|
+
# @option attributes [String] :apply_lag The value to assign to the {#apply_lag} property
|
131
|
+
# @option attributes [String] :apply_rate The value to assign to the {#apply_rate} property
|
132
|
+
# @option attributes [String] :database_id The value to assign to the {#database_id} property
|
133
133
|
# @option attributes [String] :id The value to assign to the {#id} property
|
134
|
-
# @option attributes [String] :
|
135
|
-
# @option attributes [String] :
|
136
|
-
# @option attributes [String] :
|
137
|
-
# @option attributes [String] :
|
138
|
-
# @option attributes [String] :
|
139
|
-
# @option attributes [String] :
|
140
|
-
# @option attributes [String] :
|
141
|
-
# @option attributes [String] :
|
134
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
135
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
136
|
+
# @option attributes [String] :peer_data_guard_association_id The value to assign to the {#peer_data_guard_association_id} property
|
137
|
+
# @option attributes [String] :peer_database_id The value to assign to the {#peer_database_id} property
|
138
|
+
# @option attributes [String] :peer_db_home_id The value to assign to the {#peer_db_home_id} property
|
139
|
+
# @option attributes [String] :peer_db_system_id The value to assign to the {#peer_db_system_id} property
|
140
|
+
# @option attributes [String] :peer_role The value to assign to the {#peer_role} property
|
141
|
+
# @option attributes [String] :protection_mode The value to assign to the {#protection_mode} property
|
142
142
|
# @option attributes [String] :role The value to assign to the {#role} property
|
143
|
-
# @option attributes [DateTime] :
|
144
|
-
# @option attributes [String] :
|
143
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
144
|
+
# @option attributes [String] :transport_type The value to assign to the {#transport_type} property
|
145
145
|
def initialize(attributes = {})
|
146
146
|
return unless attributes.is_a?(Hash)
|
147
147
|
|
@@ -152,14 +152,32 @@ module OCI
|
|
152
152
|
self.apply_lag = attributes[:'applyLag']
|
153
153
|
end
|
154
154
|
|
155
|
+
raise 'You cannot provide both :applyLag and :apply_lag' if attributes.key?(:'applyLag') && attributes.key?(:'apply_lag')
|
156
|
+
|
157
|
+
if attributes[:'apply_lag']
|
158
|
+
self.apply_lag = attributes[:'apply_lag']
|
159
|
+
end
|
160
|
+
|
155
161
|
if attributes[:'applyRate']
|
156
162
|
self.apply_rate = attributes[:'applyRate']
|
157
163
|
end
|
158
164
|
|
165
|
+
raise 'You cannot provide both :applyRate and :apply_rate' if attributes.key?(:'applyRate') && attributes.key?(:'apply_rate')
|
166
|
+
|
167
|
+
if attributes[:'apply_rate']
|
168
|
+
self.apply_rate = attributes[:'apply_rate']
|
169
|
+
end
|
170
|
+
|
159
171
|
if attributes[:'databaseId']
|
160
172
|
self.database_id = attributes[:'databaseId']
|
161
173
|
end
|
162
174
|
|
175
|
+
raise 'You cannot provide both :databaseId and :database_id' if attributes.key?(:'databaseId') && attributes.key?(:'database_id')
|
176
|
+
|
177
|
+
if attributes[:'database_id']
|
178
|
+
self.database_id = attributes[:'database_id']
|
179
|
+
end
|
180
|
+
|
163
181
|
if attributes[:'id']
|
164
182
|
self.id = attributes[:'id']
|
165
183
|
end
|
@@ -168,34 +186,82 @@ module OCI
|
|
168
186
|
self.lifecycle_details = attributes[:'lifecycleDetails']
|
169
187
|
end
|
170
188
|
|
189
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
190
|
+
|
191
|
+
if attributes[:'lifecycle_details']
|
192
|
+
self.lifecycle_details = attributes[:'lifecycle_details']
|
193
|
+
end
|
194
|
+
|
171
195
|
if attributes[:'lifecycleState']
|
172
196
|
self.lifecycle_state = attributes[:'lifecycleState']
|
173
197
|
end
|
174
198
|
|
199
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
200
|
+
|
201
|
+
if attributes[:'lifecycle_state']
|
202
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
203
|
+
end
|
204
|
+
|
175
205
|
if attributes[:'peerDataGuardAssociationId']
|
176
206
|
self.peer_data_guard_association_id = attributes[:'peerDataGuardAssociationId']
|
177
207
|
end
|
178
208
|
|
209
|
+
raise 'You cannot provide both :peerDataGuardAssociationId and :peer_data_guard_association_id' if attributes.key?(:'peerDataGuardAssociationId') && attributes.key?(:'peer_data_guard_association_id')
|
210
|
+
|
211
|
+
if attributes[:'peer_data_guard_association_id']
|
212
|
+
self.peer_data_guard_association_id = attributes[:'peer_data_guard_association_id']
|
213
|
+
end
|
214
|
+
|
179
215
|
if attributes[:'peerDatabaseId']
|
180
216
|
self.peer_database_id = attributes[:'peerDatabaseId']
|
181
217
|
end
|
182
218
|
|
219
|
+
raise 'You cannot provide both :peerDatabaseId and :peer_database_id' if attributes.key?(:'peerDatabaseId') && attributes.key?(:'peer_database_id')
|
220
|
+
|
221
|
+
if attributes[:'peer_database_id']
|
222
|
+
self.peer_database_id = attributes[:'peer_database_id']
|
223
|
+
end
|
224
|
+
|
183
225
|
if attributes[:'peerDbHomeId']
|
184
226
|
self.peer_db_home_id = attributes[:'peerDbHomeId']
|
185
227
|
end
|
186
228
|
|
229
|
+
raise 'You cannot provide both :peerDbHomeId and :peer_db_home_id' if attributes.key?(:'peerDbHomeId') && attributes.key?(:'peer_db_home_id')
|
230
|
+
|
231
|
+
if attributes[:'peer_db_home_id']
|
232
|
+
self.peer_db_home_id = attributes[:'peer_db_home_id']
|
233
|
+
end
|
234
|
+
|
187
235
|
if attributes[:'peerDbSystemId']
|
188
236
|
self.peer_db_system_id = attributes[:'peerDbSystemId']
|
189
237
|
end
|
190
238
|
|
239
|
+
raise 'You cannot provide both :peerDbSystemId and :peer_db_system_id' if attributes.key?(:'peerDbSystemId') && attributes.key?(:'peer_db_system_id')
|
240
|
+
|
241
|
+
if attributes[:'peer_db_system_id']
|
242
|
+
self.peer_db_system_id = attributes[:'peer_db_system_id']
|
243
|
+
end
|
244
|
+
|
191
245
|
if attributes[:'peerRole']
|
192
246
|
self.peer_role = attributes[:'peerRole']
|
193
247
|
end
|
194
248
|
|
249
|
+
raise 'You cannot provide both :peerRole and :peer_role' if attributes.key?(:'peerRole') && attributes.key?(:'peer_role')
|
250
|
+
|
251
|
+
if attributes[:'peer_role']
|
252
|
+
self.peer_role = attributes[:'peer_role']
|
253
|
+
end
|
254
|
+
|
195
255
|
if attributes[:'protectionMode']
|
196
256
|
self.protection_mode = attributes[:'protectionMode']
|
197
257
|
end
|
198
258
|
|
259
|
+
raise 'You cannot provide both :protectionMode and :protection_mode' if attributes.key?(:'protectionMode') && attributes.key?(:'protection_mode')
|
260
|
+
|
261
|
+
if attributes[:'protection_mode']
|
262
|
+
self.protection_mode = attributes[:'protection_mode']
|
263
|
+
end
|
264
|
+
|
199
265
|
if attributes[:'role']
|
200
266
|
self.role = attributes[:'role']
|
201
267
|
end
|
@@ -204,10 +270,22 @@ module OCI
|
|
204
270
|
self.time_created = attributes[:'timeCreated']
|
205
271
|
end
|
206
272
|
|
273
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
274
|
+
|
275
|
+
if attributes[:'time_created']
|
276
|
+
self.time_created = attributes[:'time_created']
|
277
|
+
end
|
278
|
+
|
207
279
|
if attributes[:'transportType']
|
208
280
|
self.transport_type = attributes[:'transportType']
|
209
281
|
end
|
210
282
|
|
283
|
+
raise 'You cannot provide both :transportType and :transport_type' if attributes.key?(:'transportType') && attributes.key?(:'transport_type')
|
284
|
+
|
285
|
+
if attributes[:'transport_type']
|
286
|
+
self.transport_type = attributes[:'transport_type']
|
287
|
+
end
|
288
|
+
|
211
289
|
end
|
212
290
|
|
213
291
|
# Custom attribute writer method checking allowed values (enum).
|