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
@@ -64,15 +64,15 @@ module OCI
|
|
64
64
|
|
65
65
|
# Initializes the object
|
66
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
|
-
# @option attributes [String] :
|
68
|
-
# @option attributes [String] :
|
69
|
-
# @option attributes [String] :
|
70
|
-
# @option attributes [String] :
|
67
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
68
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
69
|
+
# @option attributes [String] :database_id The value to assign to the {#database_id} property
|
70
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
71
71
|
# @option attributes [String] :id The value to assign to the {#id} property
|
72
|
-
# @option attributes [String] :
|
73
|
-
# @option attributes [String] :
|
74
|
-
# @option attributes [DateTime] :
|
75
|
-
# @option attributes [DateTime] :
|
72
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
73
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
74
|
+
# @option attributes [DateTime] :time_ended The value to assign to the {#time_ended} property
|
75
|
+
# @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
|
76
76
|
# @option attributes [String] :type The value to assign to the {#type} property
|
77
77
|
def initialize(attributes = {})
|
78
78
|
return unless attributes.is_a?(Hash)
|
@@ -84,18 +84,42 @@ module OCI
|
|
84
84
|
self.availability_domain = attributes[:'availabilityDomain']
|
85
85
|
end
|
86
86
|
|
87
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
88
|
+
|
89
|
+
if attributes[:'availability_domain']
|
90
|
+
self.availability_domain = attributes[:'availability_domain']
|
91
|
+
end
|
92
|
+
|
87
93
|
if attributes[:'compartmentId']
|
88
94
|
self.compartment_id = attributes[:'compartmentId']
|
89
95
|
end
|
90
96
|
|
97
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
98
|
+
|
99
|
+
if attributes[:'compartment_id']
|
100
|
+
self.compartment_id = attributes[:'compartment_id']
|
101
|
+
end
|
102
|
+
|
91
103
|
if attributes[:'databaseId']
|
92
104
|
self.database_id = attributes[:'databaseId']
|
93
105
|
end
|
94
106
|
|
107
|
+
raise 'You cannot provide both :databaseId and :database_id' if attributes.key?(:'databaseId') && attributes.key?(:'database_id')
|
108
|
+
|
109
|
+
if attributes[:'database_id']
|
110
|
+
self.database_id = attributes[:'database_id']
|
111
|
+
end
|
112
|
+
|
95
113
|
if attributes[:'displayName']
|
96
114
|
self.display_name = attributes[:'displayName']
|
97
115
|
end
|
98
116
|
|
117
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
118
|
+
|
119
|
+
if attributes[:'display_name']
|
120
|
+
self.display_name = attributes[:'display_name']
|
121
|
+
end
|
122
|
+
|
99
123
|
if attributes[:'id']
|
100
124
|
self.id = attributes[:'id']
|
101
125
|
end
|
@@ -104,18 +128,42 @@ module OCI
|
|
104
128
|
self.lifecycle_details = attributes[:'lifecycleDetails']
|
105
129
|
end
|
106
130
|
|
131
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
132
|
+
|
133
|
+
if attributes[:'lifecycle_details']
|
134
|
+
self.lifecycle_details = attributes[:'lifecycle_details']
|
135
|
+
end
|
136
|
+
|
107
137
|
if attributes[:'lifecycleState']
|
108
138
|
self.lifecycle_state = attributes[:'lifecycleState']
|
109
139
|
end
|
110
140
|
|
141
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
142
|
+
|
143
|
+
if attributes[:'lifecycle_state']
|
144
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
145
|
+
end
|
146
|
+
|
111
147
|
if attributes[:'timeEnded']
|
112
148
|
self.time_ended = attributes[:'timeEnded']
|
113
149
|
end
|
114
150
|
|
151
|
+
raise 'You cannot provide both :timeEnded and :time_ended' if attributes.key?(:'timeEnded') && attributes.key?(:'time_ended')
|
152
|
+
|
153
|
+
if attributes[:'time_ended']
|
154
|
+
self.time_ended = attributes[:'time_ended']
|
155
|
+
end
|
156
|
+
|
115
157
|
if attributes[:'timeStarted']
|
116
158
|
self.time_started = attributes[:'timeStarted']
|
117
159
|
end
|
118
160
|
|
161
|
+
raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
|
162
|
+
|
163
|
+
if attributes[:'time_started']
|
164
|
+
self.time_started = attributes[:'time_started']
|
165
|
+
end
|
166
|
+
|
119
167
|
if attributes[:'type']
|
120
168
|
self.type = attributes[:'type']
|
121
169
|
end
|
@@ -64,15 +64,15 @@ module OCI
|
|
64
64
|
|
65
65
|
# Initializes the object
|
66
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
|
-
# @option attributes [String] :
|
68
|
-
# @option attributes [String] :
|
69
|
-
# @option attributes [String] :
|
70
|
-
# @option attributes [String] :
|
67
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
68
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
69
|
+
# @option attributes [String] :database_id The value to assign to the {#database_id} property
|
70
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
71
71
|
# @option attributes [String] :id The value to assign to the {#id} property
|
72
|
-
# @option attributes [String] :
|
73
|
-
# @option attributes [String] :
|
74
|
-
# @option attributes [DateTime] :
|
75
|
-
# @option attributes [DateTime] :
|
72
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
73
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
74
|
+
# @option attributes [DateTime] :time_ended The value to assign to the {#time_ended} property
|
75
|
+
# @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
|
76
76
|
# @option attributes [String] :type The value to assign to the {#type} property
|
77
77
|
def initialize(attributes = {})
|
78
78
|
return unless attributes.is_a?(Hash)
|
@@ -84,18 +84,42 @@ module OCI
|
|
84
84
|
self.availability_domain = attributes[:'availabilityDomain']
|
85
85
|
end
|
86
86
|
|
87
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
88
|
+
|
89
|
+
if attributes[:'availability_domain']
|
90
|
+
self.availability_domain = attributes[:'availability_domain']
|
91
|
+
end
|
92
|
+
|
87
93
|
if attributes[:'compartmentId']
|
88
94
|
self.compartment_id = attributes[:'compartmentId']
|
89
95
|
end
|
90
96
|
|
97
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
98
|
+
|
99
|
+
if attributes[:'compartment_id']
|
100
|
+
self.compartment_id = attributes[:'compartment_id']
|
101
|
+
end
|
102
|
+
|
91
103
|
if attributes[:'databaseId']
|
92
104
|
self.database_id = attributes[:'databaseId']
|
93
105
|
end
|
94
106
|
|
107
|
+
raise 'You cannot provide both :databaseId and :database_id' if attributes.key?(:'databaseId') && attributes.key?(:'database_id')
|
108
|
+
|
109
|
+
if attributes[:'database_id']
|
110
|
+
self.database_id = attributes[:'database_id']
|
111
|
+
end
|
112
|
+
|
95
113
|
if attributes[:'displayName']
|
96
114
|
self.display_name = attributes[:'displayName']
|
97
115
|
end
|
98
116
|
|
117
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
118
|
+
|
119
|
+
if attributes[:'display_name']
|
120
|
+
self.display_name = attributes[:'display_name']
|
121
|
+
end
|
122
|
+
|
99
123
|
if attributes[:'id']
|
100
124
|
self.id = attributes[:'id']
|
101
125
|
end
|
@@ -104,18 +128,42 @@ module OCI
|
|
104
128
|
self.lifecycle_details = attributes[:'lifecycleDetails']
|
105
129
|
end
|
106
130
|
|
131
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
132
|
+
|
133
|
+
if attributes[:'lifecycle_details']
|
134
|
+
self.lifecycle_details = attributes[:'lifecycle_details']
|
135
|
+
end
|
136
|
+
|
107
137
|
if attributes[:'lifecycleState']
|
108
138
|
self.lifecycle_state = attributes[:'lifecycleState']
|
109
139
|
end
|
110
140
|
|
141
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
142
|
+
|
143
|
+
if attributes[:'lifecycle_state']
|
144
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
145
|
+
end
|
146
|
+
|
111
147
|
if attributes[:'timeEnded']
|
112
148
|
self.time_ended = attributes[:'timeEnded']
|
113
149
|
end
|
114
150
|
|
151
|
+
raise 'You cannot provide both :timeEnded and :time_ended' if attributes.key?(:'timeEnded') && attributes.key?(:'time_ended')
|
152
|
+
|
153
|
+
if attributes[:'time_ended']
|
154
|
+
self.time_ended = attributes[:'time_ended']
|
155
|
+
end
|
156
|
+
|
115
157
|
if attributes[:'timeStarted']
|
116
158
|
self.time_started = attributes[:'timeStarted']
|
117
159
|
end
|
118
160
|
|
161
|
+
raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
|
162
|
+
|
163
|
+
if attributes[:'time_started']
|
164
|
+
self.time_started = attributes[:'time_started']
|
165
|
+
end
|
166
|
+
|
119
167
|
if attributes[:'type']
|
120
168
|
self.type = attributes[:'type']
|
121
169
|
end
|
@@ -15,8 +15,8 @@ module OCI
|
|
15
15
|
|
16
16
|
# Initializes the object
|
17
17
|
# @param [Hash] attributes Model attributes in the form of hash
|
18
|
-
# @option attributes [String] :
|
19
|
-
# @option attributes [String] :
|
18
|
+
# @option attributes [String] :database_id The value to assign to the {#database_id} property
|
19
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
20
20
|
def initialize(attributes = {})
|
21
21
|
return unless attributes.is_a?(Hash)
|
22
22
|
|
@@ -27,10 +27,22 @@ module OCI
|
|
27
27
|
self.database_id = attributes[:'databaseId']
|
28
28
|
end
|
29
29
|
|
30
|
+
raise 'You cannot provide both :databaseId and :database_id' if attributes.key?(:'databaseId') && attributes.key?(:'database_id')
|
31
|
+
|
32
|
+
if attributes[:'database_id']
|
33
|
+
self.database_id = attributes[:'database_id']
|
34
|
+
end
|
35
|
+
|
30
36
|
if attributes[:'displayName']
|
31
37
|
self.display_name = attributes[:'displayName']
|
32
38
|
end
|
33
39
|
|
40
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
41
|
+
|
42
|
+
if attributes[:'display_name']
|
43
|
+
self.display_name = attributes[:'display_name']
|
44
|
+
end
|
45
|
+
|
34
46
|
end
|
35
47
|
|
36
48
|
# Checks equality by comparing each attribute.
|
@@ -85,10 +85,10 @@ module OCI
|
|
85
85
|
|
86
86
|
# Initializes the object
|
87
87
|
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
-
# @option attributes [String] :
|
89
|
-
# @option attributes [String] :
|
90
|
-
# @option attributes [String] :
|
91
|
-
# @option attributes [String] :
|
88
|
+
# @option attributes [String] :creation_type The value to assign to the {#creation_type} property
|
89
|
+
# @option attributes [String] :database_admin_password The value to assign to the {#database_admin_password} property
|
90
|
+
# @option attributes [String] :protection_mode The value to assign to the {#protection_mode} property
|
91
|
+
# @option attributes [String] :transport_type The value to assign to the {#transport_type} property
|
92
92
|
def initialize(attributes = {})
|
93
93
|
return unless attributes.is_a?(Hash)
|
94
94
|
|
@@ -99,18 +99,42 @@ module OCI
|
|
99
99
|
self.creation_type = attributes[:'creationType']
|
100
100
|
end
|
101
101
|
|
102
|
+
raise 'You cannot provide both :creationType and :creation_type' if attributes.key?(:'creationType') && attributes.key?(:'creation_type')
|
103
|
+
|
104
|
+
if attributes[:'creation_type']
|
105
|
+
self.creation_type = attributes[:'creation_type']
|
106
|
+
end
|
107
|
+
|
102
108
|
if attributes[:'databaseAdminPassword']
|
103
109
|
self.database_admin_password = attributes[:'databaseAdminPassword']
|
104
110
|
end
|
105
111
|
|
112
|
+
raise 'You cannot provide both :databaseAdminPassword and :database_admin_password' if attributes.key?(:'databaseAdminPassword') && attributes.key?(:'database_admin_password')
|
113
|
+
|
114
|
+
if attributes[:'database_admin_password']
|
115
|
+
self.database_admin_password = attributes[:'database_admin_password']
|
116
|
+
end
|
117
|
+
|
106
118
|
if attributes[:'protectionMode']
|
107
119
|
self.protection_mode = attributes[:'protectionMode']
|
108
120
|
end
|
109
121
|
|
122
|
+
raise 'You cannot provide both :protectionMode and :protection_mode' if attributes.key?(:'protectionMode') && attributes.key?(:'protection_mode')
|
123
|
+
|
124
|
+
if attributes[:'protection_mode']
|
125
|
+
self.protection_mode = attributes[:'protection_mode']
|
126
|
+
end
|
127
|
+
|
110
128
|
if attributes[:'transportType']
|
111
129
|
self.transport_type = attributes[:'transportType']
|
112
130
|
end
|
113
131
|
|
132
|
+
raise 'You cannot provide both :transportType and :transport_type' if attributes.key?(:'transportType') && attributes.key?(:'transport_type')
|
133
|
+
|
134
|
+
if attributes[:'transport_type']
|
135
|
+
self.transport_type = attributes[:'transport_type']
|
136
|
+
end
|
137
|
+
|
114
138
|
end
|
115
139
|
|
116
140
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -14,10 +14,10 @@ module OCI
|
|
14
14
|
|
15
15
|
# Initializes the object
|
16
16
|
# @param [Hash] attributes Model attributes in the form of hash
|
17
|
-
# @option attributes [String] :
|
18
|
-
# @option attributes [String] :
|
19
|
-
# @option attributes [String] :
|
20
|
-
# @option attributes [String] :
|
17
|
+
# @option attributes [String] :database_admin_password The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#database_admin_password #database_admin_password} proprety
|
18
|
+
# @option attributes [String] :protection_mode The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#protection_mode #protection_mode} proprety
|
19
|
+
# @option attributes [String] :transport_type The value to assign to the {OCI::Database::Models::CreateDataGuardAssociationDetails#transport_type #transport_type} proprety
|
20
|
+
# @option attributes [String] :peer_db_system_id The value to assign to the {#peer_db_system_id} property
|
21
21
|
def initialize(attributes = {})
|
22
22
|
return unless attributes.is_a?(Hash)
|
23
23
|
|
@@ -32,6 +32,12 @@ module OCI
|
|
32
32
|
self.peer_db_system_id = attributes[:'peerDbSystemId']
|
33
33
|
end
|
34
34
|
|
35
|
+
raise 'You cannot provide both :peerDbSystemId and :peer_db_system_id' if attributes.key?(:'peerDbSystemId') && attributes.key?(:'peer_db_system_id')
|
36
|
+
|
37
|
+
if attributes[:'peer_db_system_id']
|
38
|
+
self.peer_db_system_id = attributes[:'peer_db_system_id']
|
39
|
+
end
|
40
|
+
|
35
41
|
end
|
36
42
|
|
37
43
|
# Checks equality by comparing each attribute.
|
@@ -43,13 +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] :
|
47
|
-
# @option attributes [String] :
|
48
|
-
# @option attributes [OCI::Database::Models::DbBackupConfig] :
|
49
|
-
# @option attributes [String] :
|
50
|
-
# @option attributes [String] :
|
51
|
-
# @option attributes [String] :
|
52
|
-
# @option attributes [String] :
|
46
|
+
# @option attributes [String] :admin_password The value to assign to the {#admin_password} property
|
47
|
+
# @option attributes [String] :character_set The value to assign to the {#character_set} property
|
48
|
+
# @option attributes [OCI::Database::Models::DbBackupConfig] :db_backup_config The value to assign to the {#db_backup_config} property
|
49
|
+
# @option attributes [String] :db_name The value to assign to the {#db_name} property
|
50
|
+
# @option attributes [String] :db_workload The value to assign to the {#db_workload} property
|
51
|
+
# @option attributes [String] :ncharacter_set The value to assign to the {#ncharacter_set} property
|
52
|
+
# @option attributes [String] :pdb_name The value to assign to the {#pdb_name} property
|
53
53
|
def initialize(attributes = {})
|
54
54
|
return unless attributes.is_a?(Hash)
|
55
55
|
|
@@ -60,30 +60,72 @@ module OCI
|
|
60
60
|
self.admin_password = attributes[:'adminPassword']
|
61
61
|
end
|
62
62
|
|
63
|
+
raise 'You cannot provide both :adminPassword and :admin_password' if attributes.key?(:'adminPassword') && attributes.key?(:'admin_password')
|
64
|
+
|
65
|
+
if attributes[:'admin_password']
|
66
|
+
self.admin_password = attributes[:'admin_password']
|
67
|
+
end
|
68
|
+
|
63
69
|
if attributes[:'characterSet']
|
64
70
|
self.character_set = attributes[:'characterSet']
|
65
71
|
end
|
66
72
|
|
73
|
+
raise 'You cannot provide both :characterSet and :character_set' if attributes.key?(:'characterSet') && attributes.key?(:'character_set')
|
74
|
+
|
75
|
+
if attributes[:'character_set']
|
76
|
+
self.character_set = attributes[:'character_set']
|
77
|
+
end
|
78
|
+
|
67
79
|
if attributes[:'dbBackupConfig']
|
68
80
|
self.db_backup_config = attributes[:'dbBackupConfig']
|
69
81
|
end
|
70
82
|
|
83
|
+
raise 'You cannot provide both :dbBackupConfig and :db_backup_config' if attributes.key?(:'dbBackupConfig') && attributes.key?(:'db_backup_config')
|
84
|
+
|
85
|
+
if attributes[:'db_backup_config']
|
86
|
+
self.db_backup_config = attributes[:'db_backup_config']
|
87
|
+
end
|
88
|
+
|
71
89
|
if attributes[:'dbName']
|
72
90
|
self.db_name = attributes[:'dbName']
|
73
91
|
end
|
74
92
|
|
93
|
+
raise 'You cannot provide both :dbName and :db_name' if attributes.key?(:'dbName') && attributes.key?(:'db_name')
|
94
|
+
|
95
|
+
if attributes[:'db_name']
|
96
|
+
self.db_name = attributes[:'db_name']
|
97
|
+
end
|
98
|
+
|
75
99
|
if attributes[:'dbWorkload']
|
76
100
|
self.db_workload = attributes[:'dbWorkload']
|
77
101
|
end
|
78
102
|
|
103
|
+
raise 'You cannot provide both :dbWorkload and :db_workload' if attributes.key?(:'dbWorkload') && attributes.key?(:'db_workload')
|
104
|
+
|
105
|
+
if attributes[:'db_workload']
|
106
|
+
self.db_workload = attributes[:'db_workload']
|
107
|
+
end
|
108
|
+
|
79
109
|
if attributes[:'ncharacterSet']
|
80
110
|
self.ncharacter_set = attributes[:'ncharacterSet']
|
81
111
|
end
|
82
112
|
|
113
|
+
raise 'You cannot provide both :ncharacterSet and :ncharacter_set' if attributes.key?(:'ncharacterSet') && attributes.key?(:'ncharacter_set')
|
114
|
+
|
115
|
+
if attributes[:'ncharacter_set']
|
116
|
+
self.ncharacter_set = attributes[:'ncharacter_set']
|
117
|
+
end
|
118
|
+
|
83
119
|
if attributes[:'pdbName']
|
84
120
|
self.pdb_name = attributes[:'pdbName']
|
85
121
|
end
|
86
122
|
|
123
|
+
raise 'You cannot provide both :pdbName and :pdb_name' if attributes.key?(:'pdbName') && attributes.key?(:'pdb_name')
|
124
|
+
|
125
|
+
if attributes[:'pdb_name']
|
126
|
+
self.pdb_name = attributes[:'pdb_name']
|
127
|
+
end
|
128
|
+
|
87
129
|
end
|
88
130
|
|
89
131
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -19,9 +19,9 @@ module OCI
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
-
# @option attributes [String] :
|
23
|
-
# @option attributes [String] :
|
24
|
-
# @option attributes [String] :
|
22
|
+
# @option attributes [String] :admin_password The value to assign to the {#admin_password} property
|
23
|
+
# @option attributes [String] :backup_id The value to assign to the {#backup_id} property
|
24
|
+
# @option attributes [String] :backup_tde_password The value to assign to the {#backup_tde_password} property
|
25
25
|
def initialize(attributes = {})
|
26
26
|
return unless attributes.is_a?(Hash)
|
27
27
|
|
@@ -32,14 +32,32 @@ module OCI
|
|
32
32
|
self.admin_password = attributes[:'adminPassword']
|
33
33
|
end
|
34
34
|
|
35
|
+
raise 'You cannot provide both :adminPassword and :admin_password' if attributes.key?(:'adminPassword') && attributes.key?(:'admin_password')
|
36
|
+
|
37
|
+
if attributes[:'admin_password']
|
38
|
+
self.admin_password = attributes[:'admin_password']
|
39
|
+
end
|
40
|
+
|
35
41
|
if attributes[:'backupId']
|
36
42
|
self.backup_id = attributes[:'backupId']
|
37
43
|
end
|
38
44
|
|
45
|
+
raise 'You cannot provide both :backupId and :backup_id' if attributes.key?(:'backupId') && attributes.key?(:'backup_id')
|
46
|
+
|
47
|
+
if attributes[:'backup_id']
|
48
|
+
self.backup_id = attributes[:'backup_id']
|
49
|
+
end
|
50
|
+
|
39
51
|
if attributes[:'backupTDEPassword']
|
40
52
|
self.backup_tde_password = attributes[:'backupTDEPassword']
|
41
53
|
end
|
42
54
|
|
55
|
+
raise 'You cannot provide both :backupTDEPassword and :backup_tde_password' if attributes.key?(:'backupTDEPassword') && attributes.key?(:'backup_tde_password')
|
56
|
+
|
57
|
+
if attributes[:'backup_tde_password']
|
58
|
+
self.backup_tde_password = attributes[:'backup_tde_password']
|
59
|
+
end
|
60
|
+
|
43
61
|
end
|
44
62
|
|
45
63
|
# Checks equality by comparing each attribute.
|