oci 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +6 -4
- data/README.md +6 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/ai_language/ai_language.rb +35 -0
- data/lib/oci/ai_language/ai_service_language_client.rb +396 -0
- data/lib/oci/ai_language/ai_service_language_client_composite_operations.rb +25 -0
- data/lib/oci/ai_language/models/detect_dominant_language_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_dominant_language_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_entities_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_entities_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_result.rb +154 -0
- data/lib/oci/ai_language/models/detected_language.rb +172 -0
- data/lib/oci/ai_language/models/entity.rb +205 -0
- data/lib/oci/ai_language/models/key_phrase.rb +160 -0
- data/lib/oci/ai_language/models/ner_model_version.rb +11 -0
- data/lib/oci/ai_language/models/sentiment_aspect.rb +192 -0
- data/lib/oci/ai_language/models/text_classification.rb +160 -0
- data/lib/oci/ai_language/util.rb +3 -0
- data/lib/oci/api_client.rb +3 -6
- data/lib/oci/apigateway/apigateway.rb +17 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +56 -4
- data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +17 -4
- data/lib/oci/apigateway/models/body_validation_request_policy.rb +211 -0
- data/lib/oci/apigateway/models/content_validation.rb +194 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/external_resp_cache.rb +269 -0
- data/lib/oci/apigateway/models/fixed_ttl_response_cache_store_policy.rb +164 -0
- data/lib/oci/apigateway/models/gateway.rb +14 -1
- data/lib/oci/apigateway/models/header_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/header_validation_request_policy.rb +188 -0
- data/lib/oci/apigateway/models/no_cache.rb +146 -0
- data/lib/oci/apigateway/models/no_content_validation.rb +145 -0
- data/lib/oci/apigateway/models/query_parameter_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/query_parameter_validation_request_policy.rb +195 -0
- data/lib/oci/apigateway/models/request_parameter_validation.rb +150 -0
- data/lib/oci/apigateway/models/response_cache_details.rb +188 -0
- data/lib/oci/apigateway/models/response_cache_lookup_policy.rb +225 -0
- data/lib/oci/apigateway/models/response_cache_resp_server.rb +161 -0
- data/lib/oci/apigateway/models/response_cache_store_policy.rb +186 -0
- data/lib/oci/apigateway/models/simple_lookup_policy.rb +173 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/validation_request_policy.rb +179 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +15 -17
- data/lib/oci/cloud_guard/cloud_guard.rb +13 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +426 -9
- data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +119 -0
- data/lib/oci/cloud_guard/models/all_targets_selected.rb +145 -0
- data/lib/oci/cloud_guard/models/create_data_mask_rule_details.rb +335 -0
- data/lib/oci/cloud_guard/models/create_managed_list_details.rb +2 -1
- data/lib/oci/cloud_guard/models/data_mask_category.rb +15 -0
- data/lib/oci/cloud_guard/models/data_mask_rule.rb +425 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_status.rb +11 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_summary.rb +425 -0
- data/lib/oci/cloud_guard/models/detector_recipe.rb +2 -2
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_type.rb +2 -1
- data/lib/oci/cloud_guard/models/policy_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/policy_summary.rb +150 -0
- data/lib/oci/cloud_guard/models/problem.rb +35 -1
- data/lib/oci/cloud_guard/models/security_rating.rb +2 -1
- data/lib/oci/cloud_guard/models/security_score_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/target_ids_selected.rb +158 -0
- data/lib/oci/cloud_guard/models/target_resource_types_selected.rb +186 -0
- data/lib/oci/cloud_guard/models/target_selected.rb +189 -0
- data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +14 -4
- data/lib/oci/cloud_guard/models/update_data_mask_rule_details.rb +292 -0
- data/lib/oci/config.rb +1 -3
- data/lib/oci/core/compute_client.rb +6 -5
- data/lib/oci/core/core.rb +47 -0
- data/lib/oci/core/models/add_drg_route_distribution_statement_details.rb +195 -0
- data/lib/oci/core/models/add_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/add_drg_route_rule_details.rb +202 -0
- data/lib/oci/core/models/add_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/bgp_session_info.rb +90 -4
- data/lib/oci/core/models/block_volume_replica.rb +19 -4
- data/lib/oci/core/models/boot_volume_replica.rb +19 -4
- data/lib/oci/core/models/create_drg_attachment_details.rb +72 -4
- data/lib/oci/core/models/create_drg_details.rb +1 -1
- data/lib/oci/core/models/create_drg_route_distribution_details.rb +235 -0
- data/lib/oci/core/models/create_drg_route_table_details.rb +242 -0
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/create_ipv6_details.rb +1 -23
- data/lib/oci/core/models/create_subnet_details.rb +26 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -36
- data/lib/oci/core/models/create_vnic_details.rb +20 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping_details.rb +356 -0
- data/lib/oci/core/models/cross_connect_mapping_details_collection.rb +150 -0
- data/lib/oci/core/models/default_drg_route_tables.rb +206 -0
- data/lib/oci/core/models/drg.rb +38 -10
- data/lib/oci/core/models/drg_attachment.rb +115 -10
- data/lib/oci/core/models/drg_attachment_id_drg_route_distribution_match_criteria.rb +164 -0
- data/lib/oci/core/models/drg_attachment_info.rb +152 -0
- data/lib/oci/core/models/drg_attachment_network_create_details.rb +189 -0
- data/lib/oci/core/models/drg_attachment_network_details.rb +202 -0
- data/lib/oci/core/models/drg_attachment_network_update_details.rb +178 -0
- data/lib/oci/core/models/drg_attachment_type_drg_route_distribution_match_criteria.rb +188 -0
- data/lib/oci/core/models/drg_redundancy_status.rb +1 -1
- data/lib/oci/core/models/drg_route_distribution.rb +336 -0
- data/lib/oci/core/models/drg_route_distribution_match_criteria.rb +194 -0
- data/lib/oci/core/models/drg_route_distribution_statement.rb +215 -0
- data/lib/oci/core/models/drg_route_rule.rb +341 -0
- data/lib/oci/core/models/drg_route_table.rb +332 -0
- data/lib/oci/core/models/image.rb +2 -2
- data/lib/oci/core/models/ingress_security_rule.rb +1 -1
- data/lib/oci/core/models/instance.rb +15 -2
- data/lib/oci/core/models/instance_availability_config.rb +18 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +17 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +18 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +46 -4
- data/lib/oci/core/models/instance_configuration_launch_options.rb +5 -5
- data/lib/oci/core/models/instance_shape_config.rb +43 -1
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/ipsec_tunnel_drg_attachment_network_details.rb +166 -0
- data/lib/oci/core/models/ipv6.rb +4 -54
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/launch_instance_details.rb +14 -1
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/launch_options.rb +5 -5
- data/lib/oci/core/models/local_peering_gateway.rb +15 -1
- data/lib/oci/core/models/networking_topology.rb +158 -0
- data/lib/oci/core/models/port_range.rb +2 -2
- data/lib/oci/core/models/preemptible_instance_config_details.rb +155 -0
- data/lib/oci/core/models/preemption_action.rb +186 -0
- data/lib/oci/core/models/remote_peering_connection_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/models/remove_drg_route_distribution_statements_details.rb +156 -0
- data/lib/oci/core/models/remove_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/route_rule.rb +3 -2
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_rule.rb +4 -4
- data/lib/oci/core/models/shape.rb +75 -1
- data/lib/oci/core/models/subnet.rb +30 -24
- data/lib/oci/core/models/terminate_preemption_action.rb +166 -0
- data/lib/oci/core/models/topology.rb +214 -0
- data/lib/oci/core/models/topology_associated_with_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_contains_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_entity_relationship.rb +209 -0
- data/lib/oci/core/models/topology_routes_to_entity_relationship.rb +173 -0
- data/lib/oci/core/models/topology_routes_to_relationship_details.rb +183 -0
- data/lib/oci/core/models/update_cluster_network_details.rb +19 -4
- data/lib/oci/core/models/update_cluster_network_instance_pool_details.rb +212 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +88 -2
- data/lib/oci/core/models/update_drg_details.rb +14 -1
- data/lib/oci/core/models/update_drg_route_distribution_details.rb +195 -0
- data/lib/oci/core/models/update_drg_route_distribution_statement_details.rb +179 -0
- data/lib/oci/core/models/update_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/update_drg_route_rule_details.rb +212 -0
- data/lib/oci/core/models/update_drg_route_rules_details.rb +155 -0
- data/lib/oci/core/models/update_drg_route_table_details.rb +227 -0
- data/lib/oci/core/models/update_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/update_ipv6_details.rb +1 -23
- data/lib/oci/core/models/update_launch_options.rb +1 -1
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/upgrade_status.rb +203 -0
- data/lib/oci/core/models/vcn.rb +12 -38
- data/lib/oci/core/models/vcn_drg_attachment_network_create_details.rb +174 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_details.rb +172 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_update_details.rb +168 -0
- data/lib/oci/core/models/vcn_topology.rb +175 -0
- data/lib/oci/core/models/virtual_circuit.rb +35 -2
- data/lib/oci/core/models/virtual_circuit_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/virtual_network_client.rb +2092 -236
- data/lib/oci/core/virtual_network_client_composite_operations.rb +446 -32
- data/lib/oci/data_catalog/data_catalog.rb +2 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +91 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +29 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +17 -1
- data/lib/oci/data_catalog/models/entity.rb +15 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/job.rb +15 -1
- data/lib/oci/data_catalog/models/job_definition_summary.rb +18 -4
- data/lib/oci/data_catalog/models/job_summary.rb +15 -1
- data/lib/oci/data_catalog/models/search_result.rb +55 -1
- data/lib/oci/data_catalog/models/suggest_list_item.rb +166 -0
- data/lib/oci/data_catalog/models/suggest_results.rb +194 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_flow/data_flow_client.rb +4 -4
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +1 -1
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +1 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/create_run_details.rb +66 -4
- data/lib/oci/data_flow/models/private_endpoint_collection.rb +2 -2
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_flow/models/update_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/work_request_summary.rb +1 -1
- data/lib/oci/data_science/data_science_client.rb +8 -7
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -3
- data/lib/oci/database/database.rb +5 -0
- data/lib/oci/database/database_client.rb +278 -0
- data/lib/oci/database/database_client_composite_operations.rb +200 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database.rb +20 -5
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +18 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +18 -4
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +8 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -2
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/customer_contact.rb +151 -0
- data/lib/oci/database/models/database.rb +1 -1
- data/lib/oci/database/models/database_summary.rb +1 -1
- data/lib/oci/database/models/enable_external_database_operations_insights_details_base.rb +156 -0
- data/lib/oci/database/models/enable_external_non_container_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/enable_external_pluggable_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/exadata_infrastructure.rb +29 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +29 -1
- data/lib/oci/database/models/external_container_database.rb +34 -1
- data/lib/oci/database/models/external_container_database_summary.rb +34 -1
- data/lib/oci/database/models/external_database_base.rb +28 -1
- data/lib/oci/database/models/external_non_container_database.rb +50 -1
- data/lib/oci/database/models/external_non_container_database_summary.rb +50 -1
- data/lib/oci/database/models/external_pluggable_database.rb +47 -1
- data/lib/oci/database/models/external_pluggable_database_summary.rb +47 -1
- data/lib/oci/database/models/maintenance_run.rb +51 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +51 -4
- data/lib/oci/database/models/operations_insights_config.rb +194 -0
- data/lib/oci/database/models/update_autonomous_database_details.rb +18 -4
- data/lib/oci/database/models/update_maintenance_run_details.rb +31 -4
- data/lib/oci/database_management/database_management.rb +6 -0
- data/lib/oci/database_management/db_management_client.rb +70 -3
- data/lib/oci/database_management/models/activity_time_series_metrics.rb +13 -4
- data/lib/oci/database_management/models/change_database_parameters_details.rb +1 -1
- data/lib/oci/database_management/models/cluster_cache_metric.rb +156 -0
- data/lib/oci/database_management/models/database_home_metrics.rb +18 -4
- data/lib/oci/database_management/models/database_instance_home_metrics_definition.rb +234 -0
- data/lib/oci/database_management/models/database_parameter_summary.rb +1 -1
- data/lib/oci/database_management/models/database_parameters_collection.rb +1 -1
- data/lib/oci/database_management/models/database_time_aggregate_metrics.rb +13 -4
- data/lib/oci/database_management/models/instance_details.rb +205 -0
- data/lib/oci/database_management/models/managed_database.rb +88 -1
- data/lib/oci/database_management/models/pdb_status_details.rb +181 -0
- data/lib/oci/database_management/models/reset_database_parameters_details.rb +8 -7
- data/lib/oci/database_management/models/time_series_metric_data_point.rb +180 -0
- data/lib/oci/database_management/models/time_series_metric_definition.rb +166 -0
- data/lib/oci/database_management/models/update_database_parameters_result.rb +1 -1
- data/lib/oci/database_migration/database_migration.rb +132 -0
- data/lib/oci/database_migration/database_migration_client.rb +2579 -0
- data/lib/oci/database_migration/database_migration_client_composite_operations.rb +736 -0
- data/lib/oci/database_migration/models/admin_credentials.rb +152 -0
- data/lib/oci/database_migration/models/agent.rb +356 -0
- data/lib/oci/database_migration/models/agent_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_summary.rb +167 -0
- data/lib/oci/database_migration/models/agent_summary.rb +341 -0
- data/lib/oci/database_migration/models/change_agent_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_connection_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_migration_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/clone_migration_details.rb +292 -0
- data/lib/oci/database_migration/models/connect_descriptor.rb +193 -0
- data/lib/oci/database_migration/models/connection.rb +461 -0
- data/lib/oci/database_migration/models/connection_collection.rb +152 -0
- data/lib/oci/database_migration/models/connection_summary.rb +366 -0
- data/lib/oci/database_migration/models/create_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/create_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/create_connect_descriptor.rb +198 -0
- data/lib/oci/database_migration/models/create_connection_details.rb +360 -0
- data/lib/oci/database_migration/models/create_data_pump_parameters.rb +261 -0
- data/lib/oci/database_migration/models/create_data_pump_settings.rb +228 -0
- data/lib/oci/database_migration/models/create_data_transfer_medium_details.rb +168 -0
- data/lib/oci/database_migration/models/create_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/create_directory_object.rb +165 -0
- data/lib/oci/database_migration/models/create_extract.rb +188 -0
- data/lib/oci/database_migration/models/create_golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/create_golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/create_golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/create_migration_details.rb +355 -0
- data/lib/oci/database_migration/models/create_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/create_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/create_replicat.rb +186 -0
- data/lib/oci/database_migration/models/create_ssh_details.rb +190 -0
- data/lib/oci/database_migration/models/create_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/data_pump_estimate.rb +11 -0
- data/lib/oci/database_migration/models/data_pump_exclude_parameters.rb +12 -0
- data/lib/oci/database_migration/models/data_pump_job_mode.rb +14 -0
- data/lib/oci/database_migration/models/data_pump_parameters.rb +274 -0
- data/lib/oci/database_migration/models/data_pump_settings.rb +235 -0
- data/lib/oci/database_migration/models/data_pump_table_exists_action.rb +13 -0
- data/lib/oci/database_migration/models/data_transfer_medium_details.rb +167 -0
- data/lib/oci/database_migration/models/database_connection_types.rb +12 -0
- data/lib/oci/database_migration/models/database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/database_object.rb +167 -0
- data/lib/oci/database_migration/models/directory_object.rb +163 -0
- data/lib/oci/database_migration/models/extract.rb +195 -0
- data/lib/oci/database_migration/models/extract_performance_profile.rb +12 -0
- data/lib/oci/database_migration/models/generate_token.rb +156 -0
- data/lib/oci/database_migration/models/golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/job.rb +372 -0
- data/lib/oci/database_migration/models/job_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_lifecycle_states.rb +18 -0
- data/lib/oci/database_migration/models/job_output_summary.rb +152 -0
- data/lib/oci/database_migration/models/job_output_summary_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_phase_status.rb +13 -0
- data/lib/oci/database_migration/models/job_summary.rb +357 -0
- data/lib/oci/database_migration/models/job_types.rb +11 -0
- data/lib/oci/database_migration/models/lifecycle_states.rb +16 -0
- data/lib/oci/database_migration/models/metadata_remap.rb +205 -0
- data/lib/oci/database_migration/models/migration.rb +590 -0
- data/lib/oci/database_migration/models/migration_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_job_progress_resource.rb +237 -0
- data/lib/oci/database_migration/models/migration_job_progress_summary.rb +241 -0
- data/lib/oci/database_migration/models/migration_phase_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_phase_summary.rb +234 -0
- data/lib/oci/database_migration/models/migration_status.rb +16 -0
- data/lib/oci/database_migration/models/migration_summary.rb +472 -0
- data/lib/oci/database_migration/models/migration_types.rb +11 -0
- data/lib/oci/database_migration/models/object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/odms_job_phases.rb +25 -0
- data/lib/oci/database_migration/models/odms_phase_actions.rb +10 -0
- data/lib/oci/database_migration/models/operation_status.rb +15 -0
- data/lib/oci/database_migration/models/operation_types.rb +20 -0
- data/lib/oci/database_migration/models/par_link.rb +156 -0
- data/lib/oci/database_migration/models/phase_status.rb +244 -0
- data/lib/oci/database_migration/models/private_endpoint_details.rb +199 -0
- data/lib/oci/database_migration/models/replicat.rb +186 -0
- data/lib/oci/database_migration/models/resume_job_details.rb +184 -0
- data/lib/oci/database_migration/models/sort_orders.rb +11 -0
- data/lib/oci/database_migration/models/ssh_details.rb +178 -0
- data/lib/oci/database_migration/models/start_migration_details.rb +184 -0
- data/lib/oci/database_migration/models/unsupported_database_object.rb +197 -0
- data/lib/oci/database_migration/models/update_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/update_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/update_connect_descriptor.rb +197 -0
- data/lib/oci/database_migration/models/update_connection_details.rb +312 -0
- data/lib/oci/database_migration/models/update_data_pump_parameters.rb +262 -0
- data/lib/oci/database_migration/models/update_data_pump_settings.rb +229 -0
- data/lib/oci/database_migration/models/update_data_transfer_medium_details.rb +169 -0
- data/lib/oci/database_migration/models/update_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/update_directory_object.rb +166 -0
- data/lib/oci/database_migration/models/update_extract.rb +189 -0
- data/lib/oci/database_migration/models/update_golden_gate_details.rb +159 -0
- data/lib/oci/database_migration/models/update_golden_gate_hub.rb +250 -0
- data/lib/oci/database_migration/models/update_golden_gate_settings.rb +175 -0
- data/lib/oci/database_migration/models/update_job_details.rb +188 -0
- data/lib/oci/database_migration/models/update_migration_details.rb +342 -0
- data/lib/oci/database_migration/models/update_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/update_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/update_replicat.rb +187 -0
- data/lib/oci/database_migration/models/update_ssh_details.rb +189 -0
- data/lib/oci/database_migration/models/update_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/vault_details.rb +186 -0
- data/lib/oci/database_migration/models/work_request.rb +319 -0
- data/lib/oci/database_migration/models/work_request_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_error.rb +180 -0
- data/lib/oci/database_migration/models/work_request_error_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_log_entry.rb +167 -0
- data/lib/oci/database_migration/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_resource.rb +223 -0
- data/lib/oci/database_migration/models/work_request_summary.rb +280 -0
- data/lib/oci/database_migration/util.rb +3 -0
- data/lib/oci/functions/functions.rb +2 -0
- data/lib/oci/functions/models/application.rb +14 -1
- data/lib/oci/functions/models/application_summary.rb +14 -1
- data/lib/oci/functions/models/application_trace_config.rb +171 -0
- data/lib/oci/functions/models/create_application_details.rb +14 -1
- data/lib/oci/functions/models/create_function_details.rb +14 -1
- data/lib/oci/functions/models/function.rb +14 -1
- data/lib/oci/functions/models/function_summary.rb +14 -1
- data/lib/oci/functions/models/function_trace_config.rb +156 -0
- data/lib/oci/functions/models/update_application_details.rb +14 -1
- data/lib/oci/functions/models/update_function_details.rb +14 -1
- data/lib/oci/limits/limits_client.rb +3 -3
- data/lib/oci/limits/models/limit_definition_summary.rb +34 -4
- data/lib/oci/limits/models/resource_availability.rb +54 -6
- data/lib/oci/limits/quotas_client.rb +1 -1
- data/lib/oci/loggingsearch/models/search_result.rb +1 -0
- data/lib/oci/object_storage/models/bucket.rb +40 -4
- data/lib/oci/object_storage/models/create_bucket_details.rb +22 -4
- data/lib/oci/object_storage/models/update_bucket_details.rb +21 -4
- data/lib/oci/object_storage/object_storage_client.rb +8 -5
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +66 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +34 -1
- data/lib/oci/ocvp/models/esxi_host.rb +94 -1
- data/lib/oci/ocvp/models/esxi_host_summary.rb +94 -1
- data/lib/oci/ocvp/models/sddc.rb +40 -1
- data/lib/oci/ocvp/models/sku.rb +13 -0
- data/lib/oci/ocvp/models/supported_sku_summary.rb +173 -0
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +150 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +32 -1
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +68 -0
- data/lib/oci/operator_access_control/access_requests_client.rb +515 -0
- data/lib/oci/operator_access_control/access_requests_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/models/access_request.rb +583 -0
- data/lib/oci/operator_access_control/models/access_request_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_summary.rb +269 -0
- data/lib/oci/operator_access_control/models/access_request_lifecycle_states.rb +29 -0
- data/lib/oci/operator_access_control/models/access_request_severities.rb +13 -0
- data/lib/oci/operator_access_control/models/access_request_summary.rb +403 -0
- data/lib/oci/operator_access_control/models/approve_access_request_details.rb +185 -0
- data/lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/change_operator_control_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/create_operator_control_assignment_details.rb +322 -0
- data/lib/oci/operator_access_control/models/create_operator_control_details.rb +302 -0
- data/lib/oci/operator_access_control/models/infrastrcuture_layers.rb +12 -0
- data/lib/oci/operator_access_control/models/operator_action.rb +198 -0
- data/lib/oci/operator_access_control/models/operator_action_categories.rb +14 -0
- data/lib/oci/operator_access_control/models/operator_action_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_action_lifecycle_states.rb +11 -0
- data/lib/oci/operator_access_control/models/operator_action_properties.rb +160 -0
- data/lib/oci/operator_access_control/models/operator_action_summary.rb +230 -0
- data/lib/oci/operator_access_control/models/operator_control.rb +407 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment.rb +448 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_summary.rb +331 -0
- data/lib/oci/operator_access_control/models/operator_control_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_summary.rb +303 -0
- data/lib/oci/operator_access_control/models/reject_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/resource_types.rb +10 -0
- data/lib/oci/operator_access_control/models/revoke_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/sort_orders.rb +11 -0
- data/lib/oci/operator_access_control/models/update_operator_control_assignment_details.rb +224 -0
- data/lib/oci/operator_access_control/models/update_operator_control_details.rb +283 -0
- data/lib/oci/operator_access_control/operator_access_control.rb +57 -0
- data/lib/oci/operator_access_control/operator_actions_client.rb +243 -0
- data/lib/oci/operator_access_control/operator_actions_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client.rb +501 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client_composite_operations.rb +105 -0
- data/lib/oci/operator_access_control/operator_control_client.rb +507 -0
- data/lib/oci/operator_access_control/operator_control_client_composite_operations.rb +144 -0
- data/lib/oci/operator_access_control/util.rb +3 -0
- data/lib/oci/opsi/models/action_type.rb +14 -0
- data/lib/oci/opsi/models/autonomous_database_insight.rb +271 -0
- data/lib/oci/opsi/models/autonomous_database_insight_summary.rb +230 -0
- data/lib/oci/opsi/models/change_database_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_enterprise_manager_bridge_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_host_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/connection_details.rb +208 -0
- data/lib/oci/opsi/models/create_database_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_em_managed_external_database_insight_details.rb +202 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +224 -0
- data/lib/oci/opsi/models/create_host_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +174 -0
- data/lib/oci/opsi/models/credential_details.rb +204 -0
- data/lib/oci/opsi/models/credentials_by_source.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_metric_group.rb +204 -0
- data/lib/oci/opsi/models/database_details.rb +24 -4
- data/lib/oci/opsi/models/database_entity_source.rb +10 -0
- data/lib/oci/opsi/models/database_entity_source_all.rb +12 -0
- data/lib/oci/opsi/models/database_insight.rb +416 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +191 -5
- data/lib/oci/opsi/models/db_external_instance.rb +300 -0
- data/lib/oci/opsi/models/db_external_properties.rb +280 -0
- data/lib/oci/opsi/models/dbos_config_instance.rb +236 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight.rb +284 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight_summary.rb +300 -0
- data/lib/oci/opsi/models/enable_database_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_em_managed_external_database_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +344 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_collection.rb +150 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +334 -0
- data/lib/oci/opsi/models/enterprise_manager_bridges.rb +154 -0
- data/lib/oci/opsi/models/host_configuration_metric_group.rb +212 -0
- data/lib/oci/opsi/models/host_cpu_hardware_configuration.rb +289 -0
- data/lib/oci/opsi/models/host_cpu_statistics.rb +174 -0
- data/lib/oci/opsi/models/host_cpu_usage.rb +279 -0
- data/lib/oci/opsi/models/host_details.rb +225 -0
- data/lib/oci/opsi/models/host_entities.rb +181 -0
- data/lib/oci/opsi/models/host_entity_source.rb +10 -0
- data/lib/oci/opsi/models/host_hardware_configuration.rb +167 -0
- data/lib/oci/opsi/models/host_insight.rb +426 -0
- data/lib/oci/opsi/models/host_insight_resource_statistics_aggregation.rb +169 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +426 -0
- data/lib/oci/opsi/models/host_insight_summary_collection.rb +150 -0
- data/lib/oci/opsi/models/host_insights.rb +154 -0
- data/lib/oci/opsi/models/host_instance_map.rb +168 -0
- data/lib/oci/opsi/models/host_memory_configuration.rb +223 -0
- data/lib/oci/opsi/models/host_memory_statistics.rb +260 -0
- data/lib/oci/opsi/models/host_memory_usage.rb +349 -0
- data/lib/oci/opsi/models/host_network_activity_summary.rb +195 -0
- data/lib/oci/opsi/models/host_network_configuration.rb +195 -0
- data/lib/oci/opsi/models/host_performance_metric_group.rb +204 -0
- data/lib/oci/opsi/models/host_product.rb +183 -0
- data/lib/oci/opsi/models/host_resource_allocation.rb +181 -0
- data/lib/oci/opsi/models/host_resource_capacity_trend_aggregation.rb +165 -0
- data/lib/oci/opsi/models/host_resource_statistics.rb +243 -0
- data/lib/oci/opsi/models/hosted_entity_collection.rb +180 -0
- data/lib/oci/opsi/models/hosted_entity_summary.rb +183 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity.rb +210 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity_collection.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_details.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_configuration_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_metrics_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_metrics_response_details.rb +152 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +15 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight.rb +325 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight_summary.rb +258 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +279 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +251 -0
- data/lib/oci/opsi/models/operation_status.rb +15 -0
- data/lib/oci/opsi/models/operation_type.rb +25 -0
- data/lib/oci/opsi/models/resource_status.rb +12 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_search_summary.rb +11 -1
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_text_summary.rb +11 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_tablespace_usage_trend_aggregation_collection.rb +232 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.rb +304 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.rb +251 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_aggregation.rb +277 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.rb +233 -0
- data/lib/oci/opsi/models/summary_statistics.rb +209 -0
- data/lib/oci/opsi/models/tablespace_usage_trend.rb +176 -0
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +182 -0
- data/lib/oci/opsi/models/update_autonomous_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_database_insight_details.rb +218 -0
- data/lib/oci/opsi/models/update_em_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_enterprise_manager_bridge_details.rb +196 -0
- data/lib/oci/opsi/models/update_host_insight_details.rb +214 -0
- data/lib/oci/opsi/models/update_macs_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_macs_managed_external_host_insight_details.rb +153 -0
- data/lib/oci/opsi/models/work_request.rb +320 -0
- data/lib/oci/opsi/models/work_request_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_error.rb +173 -0
- data/lib/oci/opsi/models/work_request_error_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_log_entry.rb +160 -0
- data/lib/oci/opsi/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_resource.rb +219 -0
- data/lib/oci/opsi/models/work_requests.rb +154 -0
- data/lib/oci/opsi/operations_insights_client.rb +3475 -411
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +792 -0
- data/lib/oci/opsi/opsi.rb +99 -0
- data/lib/oci/regions.rb +1 -1
- data/lib/oci/resource_manager/models/config_source.rb +2 -0
- data/lib/oci/resource_manager/models/config_source_record.rb +2 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/create_object_storage_config_source_details.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source_record.rb +185 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/update_object_storage_config_source_details.rb +188 -0
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +1 -0
- data/lib/oci/retry/functions/should_retry_on_error.rb +31 -0
- data/lib/oci/retry/retry.rb +15 -0
- data/lib/oci/sch/models/function_task_details.rb +194 -0
- data/lib/oci/sch/models/latest_streaming_cursor.rb +146 -0
- data/lib/oci/sch/models/source_details.rb +2 -0
- data/lib/oci/sch/models/streaming_cursor_details.rb +189 -0
- data/lib/oci/sch/models/streaming_source_details.rb +173 -0
- data/lib/oci/sch/models/task_details.rb +2 -0
- data/lib/oci/sch/models/trim_horizon_streaming_cursor.rb +146 -0
- data/lib/oci/sch/sch.rb +5 -0
- data/lib/oci/service_catalog/models/action_type.rb +13 -0
- data/lib/oci/service_catalog/models/application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/application_summary.rb +295 -0
- data/lib/oci/service_catalog/models/bulk_replace_service_catalog_associations_details.rb +150 -0
- data/lib/oci/service_catalog/models/change_private_application_compartment_details.rb +155 -0
- data/lib/oci/service_catalog/models/change_service_catalog_compartment_details.rb +154 -0
- data/lib/oci/service_catalog/models/create_private_application_details.rb +259 -0
- data/lib/oci/service_catalog/models/create_private_application_package.rb +192 -0
- data/lib/oci/service_catalog/models/create_private_application_stack_package.rb +166 -0
- data/lib/oci/service_catalog/models/create_service_catalog_association_details.rb +182 -0
- data/lib/oci/service_catalog/models/create_service_catalog_details.rb +200 -0
- data/lib/oci/service_catalog/models/error_entity.rb +160 -0
- data/lib/oci/service_catalog/models/operation_status.rb +12 -0
- data/lib/oci/service_catalog/models/operation_type.rb +13 -0
- data/lib/oci/service_catalog/models/package_type_enum.rb +10 -0
- data/lib/oci/service_catalog/models/pricing_type_enum.rb +12 -0
- data/lib/oci/service_catalog/models/private_application.rb +354 -0
- data/lib/oci/service_catalog/models/private_application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package.rb +257 -0
- data/lib/oci/service_catalog/models/private_application_package_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package_summary.rb +241 -0
- data/lib/oci/service_catalog/models/private_application_stack_package.rb +196 -0
- data/lib/oci/service_catalog/models/private_application_summary.rb +268 -0
- data/lib/oci/service_catalog/models/publisher_summary.rb +164 -0
- data/lib/oci/service_catalog/models/service_catalog.rb +280 -0
- data/lib/oci/service_catalog/models/service_catalog_association.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_association_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_association_summary.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_summary.rb +210 -0
- data/lib/oci/service_catalog/models/update_private_application_details.rb +230 -0
- data/lib/oci/service_catalog/models/update_service_catalog_details.rb +186 -0
- data/lib/oci/service_catalog/models/upload_data.rb +182 -0
- data/lib/oci/service_catalog/models/work_request.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/service_catalog/models/work_request_error_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_log_entry.rb +160 -0
- data/lib/oci/service_catalog/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_resource.rb +222 -0
- data/lib/oci/service_catalog/models/work_request_summary.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/service_catalog/service_catalog.rb +61 -0
- data/lib/oci/service_catalog/service_catalog_client.rb +1957 -0
- data/lib/oci/service_catalog/service_catalog_client_composite_operations.rb +342 -0
- data/lib/oci/service_catalog/util.rb +3 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule.rb +1 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +36 -4
- data/lib/oci/waas/models/load_balancing_method.rb +3 -3
- data/lib/oci/waas/models/origin.rb +2 -2
- data/lib/oci/waas/redirect_client.rb +1 -1
- data/lib/oci/waas/waas_client.rb +1 -1
- metadata +428 -2
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# Results of a Migration Phase search. Contains a collection of valid ODMS Job Phases.
|
|
9
|
+
#
|
|
10
|
+
class DatabaseMigration::Models::MigrationPhaseCollection
|
|
11
|
+
# **[Required]** Items in collection.
|
|
12
|
+
#
|
|
13
|
+
# @return [Array<OCI::DatabaseMigration::Models::MigrationPhaseSummary>]
|
|
14
|
+
attr_accessor :items
|
|
15
|
+
|
|
16
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
17
|
+
def self.attribute_map
|
|
18
|
+
{
|
|
19
|
+
# rubocop:disable Style/SymbolLiteral
|
|
20
|
+
'items': :'items'
|
|
21
|
+
# rubocop:enable Style/SymbolLiteral
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Attribute type mapping.
|
|
26
|
+
def self.swagger_types
|
|
27
|
+
{
|
|
28
|
+
# rubocop:disable Style/SymbolLiteral
|
|
29
|
+
'items': :'Array<OCI::DatabaseMigration::Models::MigrationPhaseSummary>'
|
|
30
|
+
# rubocop:enable Style/SymbolLiteral
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
35
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# Initializes the object
|
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
40
|
+
# @option attributes [Array<OCI::DatabaseMigration::Models::MigrationPhaseSummary>] :items The value to assign to the {#items} property
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
|
+
|
|
47
|
+
self.items = attributes[:'items'] if attributes[:'items']
|
|
48
|
+
end
|
|
49
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
50
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
51
|
+
|
|
52
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# Checks equality by comparing each attribute.
|
|
56
|
+
# @param [Object] other the other object to be compared
|
|
57
|
+
def ==(other)
|
|
58
|
+
return true if equal?(other)
|
|
59
|
+
|
|
60
|
+
self.class == other.class &&
|
|
61
|
+
items == other.items
|
|
62
|
+
end
|
|
63
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
64
|
+
|
|
65
|
+
# @see the `==` method
|
|
66
|
+
# @param [Object] other the other object to be compared
|
|
67
|
+
def eql?(other)
|
|
68
|
+
self == other
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
# Calculates hash code according to all attributes.
|
|
75
|
+
# @return [Fixnum] Hash code
|
|
76
|
+
def hash
|
|
77
|
+
[items].hash
|
|
78
|
+
end
|
|
79
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
80
|
+
|
|
81
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
# Builds the object from hash
|
|
85
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
86
|
+
# @return [Object] Returns the model itself
|
|
87
|
+
def build_from_hash(attributes)
|
|
88
|
+
return nil unless attributes.is_a?(Hash)
|
|
89
|
+
|
|
90
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
91
|
+
if type =~ /^Array<(.*)>/i
|
|
92
|
+
# check to ensure the input is an array given that the the attribute
|
|
93
|
+
# is documented as an array but the input is not
|
|
94
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
95
|
+
public_method("#{key}=").call(
|
|
96
|
+
attributes[self.class.attribute_map[key]]
|
|
97
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
98
|
+
)
|
|
99
|
+
end
|
|
100
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
101
|
+
public_method("#{key}=").call(
|
|
102
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
103
|
+
)
|
|
104
|
+
end
|
|
105
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
self
|
|
109
|
+
end
|
|
110
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
111
|
+
|
|
112
|
+
# Returns the string representation of the object
|
|
113
|
+
# @return [String] String presentation of the object
|
|
114
|
+
def to_s
|
|
115
|
+
to_hash.to_s
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Returns the object in the form of hash
|
|
119
|
+
# @return [Hash] Returns the object in the form of hash
|
|
120
|
+
def to_hash
|
|
121
|
+
hash = {}
|
|
122
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
123
|
+
value = public_method(attr).call
|
|
124
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
125
|
+
|
|
126
|
+
hash[param] = _to_hash(value)
|
|
127
|
+
end
|
|
128
|
+
hash
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
private
|
|
132
|
+
|
|
133
|
+
# Outputs non-array value in the form of hash
|
|
134
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
135
|
+
# @param [Object] value Any valid value
|
|
136
|
+
# @return [Hash] Returns the value in the form of hash
|
|
137
|
+
def _to_hash(value)
|
|
138
|
+
if value.is_a?(Array)
|
|
139
|
+
value.compact.map { |v| _to_hash(v) }
|
|
140
|
+
elsif value.is_a?(Hash)
|
|
141
|
+
{}.tap do |hash|
|
|
142
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
143
|
+
end
|
|
144
|
+
elsif value.respond_to? :to_hash
|
|
145
|
+
value.to_hash
|
|
146
|
+
else
|
|
147
|
+
value
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
require 'logger'
|
|
6
|
+
|
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
|
+
module OCI
|
|
9
|
+
# Migration Phase Summary of details.
|
|
10
|
+
#
|
|
11
|
+
class DatabaseMigration::Models::MigrationPhaseSummary
|
|
12
|
+
NAME_ENUM = [
|
|
13
|
+
NAME_ODMS_VALIDATE_TGT = 'ODMS_VALIDATE_TGT'.freeze,
|
|
14
|
+
NAME_ODMS_VALIDATE_SRC = 'ODMS_VALIDATE_SRC'.freeze,
|
|
15
|
+
NAME_ODMS_VALIDATE_GG_HUB = 'ODMS_VALIDATE_GG_HUB'.freeze,
|
|
16
|
+
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS = 'ODMS_VALIDATE_DATAPUMP_SETTINGS'.freeze,
|
|
17
|
+
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC = 'ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC'.freeze,
|
|
18
|
+
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT = 'ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT'.freeze,
|
|
19
|
+
NAME_ODMS_VALIDATE = 'ODMS_VALIDATE'.freeze,
|
|
20
|
+
NAME_ODMS_PREPARE = 'ODMS_PREPARE'.freeze,
|
|
21
|
+
NAME_ODMS_INITIAL_LOAD_EXPORT = 'ODMS_INITIAL_LOAD_EXPORT'.freeze,
|
|
22
|
+
NAME_ODMS_DATA_UPLOAD = 'ODMS_DATA_UPLOAD'.freeze,
|
|
23
|
+
NAME_ODMS_INITIAL_LOAD_IMPORT = 'ODMS_INITIAL_LOAD_IMPORT'.freeze,
|
|
24
|
+
NAME_ODMS_POST_INITIAL_LOAD = 'ODMS_POST_INITIAL_LOAD'.freeze,
|
|
25
|
+
NAME_ODMS_PREPARE_REPLICATION_TARGET = 'ODMS_PREPARE_REPLICATION_TARGET'.freeze,
|
|
26
|
+
NAME_ODMS_MONITOR_REPLICATION_LAG = 'ODMS_MONITOR_REPLICATION_LAG'.freeze,
|
|
27
|
+
NAME_ODMS_SWITCHOVER = 'ODMS_SWITCHOVER'.freeze,
|
|
28
|
+
NAME_ODMS_CLEANUP = 'ODMS_CLEANUP'.freeze,
|
|
29
|
+
NAME_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
30
|
+
].freeze
|
|
31
|
+
|
|
32
|
+
RECOMMENDED_ACTION_ENUM = [
|
|
33
|
+
RECOMMENDED_ACTION_WAIT = 'WAIT'.freeze,
|
|
34
|
+
RECOMMENDED_ACTION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
35
|
+
].freeze
|
|
36
|
+
|
|
37
|
+
# **[Required]** ODMS Job phase name
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
attr_reader :name
|
|
41
|
+
|
|
42
|
+
# Action recommended for this phase. If not included in the response, there is no recommended action for the phase.
|
|
43
|
+
#
|
|
44
|
+
# @return [String]
|
|
45
|
+
attr_reader :recommended_action
|
|
46
|
+
|
|
47
|
+
# **[Required]** Array of actions for the corresponding phase. Empty array would indicate there is no supported action for the phase.
|
|
48
|
+
#
|
|
49
|
+
# @return [Array<OCI::DatabaseMigration::Models::OdmsPhaseActions>]
|
|
50
|
+
attr_accessor :supported_actions
|
|
51
|
+
|
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
|
+
def self.attribute_map
|
|
54
|
+
{
|
|
55
|
+
# rubocop:disable Style/SymbolLiteral
|
|
56
|
+
'name': :'name',
|
|
57
|
+
'recommended_action': :'recommendedAction',
|
|
58
|
+
'supported_actions': :'supportedActions'
|
|
59
|
+
# rubocop:enable Style/SymbolLiteral
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Attribute type mapping.
|
|
64
|
+
def self.swagger_types
|
|
65
|
+
{
|
|
66
|
+
# rubocop:disable Style/SymbolLiteral
|
|
67
|
+
'name': :'String',
|
|
68
|
+
'recommended_action': :'String',
|
|
69
|
+
'supported_actions': :'Array<OCI::DatabaseMigration::Models::OdmsPhaseActions>'
|
|
70
|
+
# rubocop:enable Style/SymbolLiteral
|
|
71
|
+
}
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
75
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# Initializes the object
|
|
79
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
80
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
81
|
+
# @option attributes [String] :recommended_action The value to assign to the {#recommended_action} property
|
|
82
|
+
# @option attributes [Array<OCI::DatabaseMigration::Models::OdmsPhaseActions>] :supported_actions The value to assign to the {#supported_actions} property
|
|
83
|
+
def initialize(attributes = {})
|
|
84
|
+
return unless attributes.is_a?(Hash)
|
|
85
|
+
|
|
86
|
+
# convert string to symbol for hash key
|
|
87
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
88
|
+
|
|
89
|
+
self.name = attributes[:'name'] if attributes[:'name']
|
|
90
|
+
|
|
91
|
+
self.recommended_action = attributes[:'recommendedAction'] if attributes[:'recommendedAction']
|
|
92
|
+
|
|
93
|
+
raise 'You cannot provide both :recommendedAction and :recommended_action' if attributes.key?(:'recommendedAction') && attributes.key?(:'recommended_action')
|
|
94
|
+
|
|
95
|
+
self.recommended_action = attributes[:'recommended_action'] if attributes[:'recommended_action']
|
|
96
|
+
|
|
97
|
+
self.supported_actions = attributes[:'supportedActions'] if attributes[:'supportedActions']
|
|
98
|
+
|
|
99
|
+
raise 'You cannot provide both :supportedActions and :supported_actions' if attributes.key?(:'supportedActions') && attributes.key?(:'supported_actions')
|
|
100
|
+
|
|
101
|
+
self.supported_actions = attributes[:'supported_actions'] if attributes[:'supported_actions']
|
|
102
|
+
end
|
|
103
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
104
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
105
|
+
|
|
106
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
107
|
+
# @param [Object] name Object to be assigned
|
|
108
|
+
def name=(name)
|
|
109
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
110
|
+
if name && !NAME_ENUM.include?(name)
|
|
111
|
+
OCI.logger.debug("Unknown value for 'name' [" + name + "]. Mapping to 'NAME_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
112
|
+
@name = NAME_UNKNOWN_ENUM_VALUE
|
|
113
|
+
else
|
|
114
|
+
@name = name
|
|
115
|
+
end
|
|
116
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
120
|
+
# @param [Object] recommended_action Object to be assigned
|
|
121
|
+
def recommended_action=(recommended_action)
|
|
122
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
123
|
+
if recommended_action && !RECOMMENDED_ACTION_ENUM.include?(recommended_action)
|
|
124
|
+
OCI.logger.debug("Unknown value for 'recommended_action' [" + recommended_action + "]. Mapping to 'RECOMMENDED_ACTION_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
125
|
+
@recommended_action = RECOMMENDED_ACTION_UNKNOWN_ENUM_VALUE
|
|
126
|
+
else
|
|
127
|
+
@recommended_action = recommended_action
|
|
128
|
+
end
|
|
129
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
# Checks equality by comparing each attribute.
|
|
136
|
+
# @param [Object] other the other object to be compared
|
|
137
|
+
def ==(other)
|
|
138
|
+
return true if equal?(other)
|
|
139
|
+
|
|
140
|
+
self.class == other.class &&
|
|
141
|
+
name == other.name &&
|
|
142
|
+
recommended_action == other.recommended_action &&
|
|
143
|
+
supported_actions == other.supported_actions
|
|
144
|
+
end
|
|
145
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
146
|
+
|
|
147
|
+
# @see the `==` method
|
|
148
|
+
# @param [Object] other the other object to be compared
|
|
149
|
+
def eql?(other)
|
|
150
|
+
self == other
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
# Calculates hash code according to all attributes.
|
|
157
|
+
# @return [Fixnum] Hash code
|
|
158
|
+
def hash
|
|
159
|
+
[name, recommended_action, supported_actions].hash
|
|
160
|
+
end
|
|
161
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
162
|
+
|
|
163
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
# Builds the object from hash
|
|
167
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
168
|
+
# @return [Object] Returns the model itself
|
|
169
|
+
def build_from_hash(attributes)
|
|
170
|
+
return nil unless attributes.is_a?(Hash)
|
|
171
|
+
|
|
172
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
173
|
+
if type =~ /^Array<(.*)>/i
|
|
174
|
+
# check to ensure the input is an array given that the the attribute
|
|
175
|
+
# is documented as an array but the input is not
|
|
176
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
177
|
+
public_method("#{key}=").call(
|
|
178
|
+
attributes[self.class.attribute_map[key]]
|
|
179
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
180
|
+
)
|
|
181
|
+
end
|
|
182
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
183
|
+
public_method("#{key}=").call(
|
|
184
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
185
|
+
)
|
|
186
|
+
end
|
|
187
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
self
|
|
191
|
+
end
|
|
192
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
193
|
+
|
|
194
|
+
# Returns the string representation of the object
|
|
195
|
+
# @return [String] String presentation of the object
|
|
196
|
+
def to_s
|
|
197
|
+
to_hash.to_s
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Returns the object in the form of hash
|
|
201
|
+
# @return [Hash] Returns the object in the form of hash
|
|
202
|
+
def to_hash
|
|
203
|
+
hash = {}
|
|
204
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
205
|
+
value = public_method(attr).call
|
|
206
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
207
|
+
|
|
208
|
+
hash[param] = _to_hash(value)
|
|
209
|
+
end
|
|
210
|
+
hash
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
private
|
|
214
|
+
|
|
215
|
+
# Outputs non-array value in the form of hash
|
|
216
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
217
|
+
# @param [Object] value Any valid value
|
|
218
|
+
# @return [Hash] Returns the value in the form of hash
|
|
219
|
+
def _to_hash(value)
|
|
220
|
+
if value.is_a?(Array)
|
|
221
|
+
value.compact.map { |v| _to_hash(v) }
|
|
222
|
+
elsif value.is_a?(Hash)
|
|
223
|
+
{}.tap do |hash|
|
|
224
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
225
|
+
end
|
|
226
|
+
elsif value.respond_to? :to_hash
|
|
227
|
+
value.to_hash
|
|
228
|
+
else
|
|
229
|
+
value
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
module OCI
|
|
5
|
+
module DatabaseMigration::Models
|
|
6
|
+
MIGRATION_STATUS_ENUM = [
|
|
7
|
+
MIGRATION_STATUS_READY = 'READY'.freeze,
|
|
8
|
+
MIGRATION_STATUS_ABORTING = 'ABORTING'.freeze,
|
|
9
|
+
MIGRATION_STATUS_VALIDATING = 'VALIDATING'.freeze,
|
|
10
|
+
MIGRATION_STATUS_VALIDATED = 'VALIDATED'.freeze,
|
|
11
|
+
MIGRATION_STATUS_WAITING = 'WAITING'.freeze,
|
|
12
|
+
MIGRATION_STATUS_MIGRATING = 'MIGRATING'.freeze,
|
|
13
|
+
MIGRATION_STATUS_DONE = 'DONE'.freeze
|
|
14
|
+
].freeze
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
require 'logger'
|
|
6
|
+
|
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
|
+
module OCI
|
|
9
|
+
# Migration resource
|
|
10
|
+
#
|
|
11
|
+
class DatabaseMigration::Models::MigrationSummary
|
|
12
|
+
TYPE_ENUM = [
|
|
13
|
+
TYPE_ONLINE = 'ONLINE'.freeze,
|
|
14
|
+
TYPE_OFFLINE = 'OFFLINE'.freeze,
|
|
15
|
+
TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
16
|
+
].freeze
|
|
17
|
+
|
|
18
|
+
LIFECYCLE_STATE_ENUM = [
|
|
19
|
+
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
20
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
21
|
+
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
|
|
22
|
+
LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze,
|
|
23
|
+
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
|
24
|
+
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
|
25
|
+
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
|
|
26
|
+
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
27
|
+
].freeze
|
|
28
|
+
|
|
29
|
+
LIFECYCLE_DETAILS_ENUM = [
|
|
30
|
+
LIFECYCLE_DETAILS_READY = 'READY'.freeze,
|
|
31
|
+
LIFECYCLE_DETAILS_ABORTING = 'ABORTING'.freeze,
|
|
32
|
+
LIFECYCLE_DETAILS_VALIDATING = 'VALIDATING'.freeze,
|
|
33
|
+
LIFECYCLE_DETAILS_VALIDATED = 'VALIDATED'.freeze,
|
|
34
|
+
LIFECYCLE_DETAILS_WAITING = 'WAITING'.freeze,
|
|
35
|
+
LIFECYCLE_DETAILS_MIGRATING = 'MIGRATING'.freeze,
|
|
36
|
+
LIFECYCLE_DETAILS_DONE = 'DONE'.freeze,
|
|
37
|
+
LIFECYCLE_DETAILS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
38
|
+
].freeze
|
|
39
|
+
|
|
40
|
+
# **[Required]** The OCID of the resource
|
|
41
|
+
#
|
|
42
|
+
# @return [String]
|
|
43
|
+
attr_accessor :id
|
|
44
|
+
|
|
45
|
+
# **[Required]** Migration Display Name
|
|
46
|
+
#
|
|
47
|
+
# @return [String]
|
|
48
|
+
attr_accessor :display_name
|
|
49
|
+
|
|
50
|
+
# **[Required]** OCID of the compartment
|
|
51
|
+
#
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :compartment_id
|
|
54
|
+
|
|
55
|
+
# **[Required]** Migration type.
|
|
56
|
+
#
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_reader :type
|
|
59
|
+
|
|
60
|
+
# **[Required]** The OCID of the Source Database Connection.
|
|
61
|
+
#
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :source_database_connection_id
|
|
64
|
+
|
|
65
|
+
# The OCID of the Source Container Database Connection.
|
|
66
|
+
#
|
|
67
|
+
# @return [String]
|
|
68
|
+
attr_accessor :source_container_database_connection_id
|
|
69
|
+
|
|
70
|
+
# **[Required]** The OCID of the Target Database Connection.
|
|
71
|
+
#
|
|
72
|
+
# @return [String]
|
|
73
|
+
attr_accessor :target_database_connection_id
|
|
74
|
+
|
|
75
|
+
# OCID of the current ODMS Job in execution for the Migration, if any.
|
|
76
|
+
#
|
|
77
|
+
# @return [String]
|
|
78
|
+
attr_accessor :executing_job_id
|
|
79
|
+
|
|
80
|
+
# The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
|
|
81
|
+
#
|
|
82
|
+
# @return [String]
|
|
83
|
+
attr_accessor :agent_id
|
|
84
|
+
|
|
85
|
+
# @return [OCI::DatabaseMigration::Models::VaultDetails]
|
|
86
|
+
attr_accessor :vault_details
|
|
87
|
+
|
|
88
|
+
# **[Required]** The time the Migration was created. An RFC3339 formatted datetime string.
|
|
89
|
+
#
|
|
90
|
+
# @return [DateTime]
|
|
91
|
+
attr_accessor :time_created
|
|
92
|
+
|
|
93
|
+
# The time of the last Migration details update. An RFC3339 formatted datetime string.
|
|
94
|
+
#
|
|
95
|
+
# @return [DateTime]
|
|
96
|
+
attr_accessor :time_updated
|
|
97
|
+
|
|
98
|
+
# The time of last Migration. An RFC3339 formatted datetime string.
|
|
99
|
+
#
|
|
100
|
+
# @return [DateTime]
|
|
101
|
+
attr_accessor :time_last_migration
|
|
102
|
+
|
|
103
|
+
# **[Required]** The current state of the Migration.
|
|
104
|
+
#
|
|
105
|
+
# @return [String]
|
|
106
|
+
attr_reader :lifecycle_state
|
|
107
|
+
|
|
108
|
+
# Additional status related to the execution and current state of the Migration.
|
|
109
|
+
#
|
|
110
|
+
# @return [String]
|
|
111
|
+
attr_reader :lifecycle_details
|
|
112
|
+
|
|
113
|
+
# Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
114
|
+
# Example: `{\"bar-key\": \"value\"}`
|
|
115
|
+
#
|
|
116
|
+
# @return [Hash<String, String>]
|
|
117
|
+
attr_accessor :freeform_tags
|
|
118
|
+
|
|
119
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
120
|
+
# Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
121
|
+
#
|
|
122
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
123
|
+
attr_accessor :defined_tags
|
|
124
|
+
|
|
125
|
+
# Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
126
|
+
# Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
127
|
+
#
|
|
128
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
129
|
+
attr_accessor :system_tags
|
|
130
|
+
|
|
131
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
132
|
+
def self.attribute_map
|
|
133
|
+
{
|
|
134
|
+
# rubocop:disable Style/SymbolLiteral
|
|
135
|
+
'id': :'id',
|
|
136
|
+
'display_name': :'displayName',
|
|
137
|
+
'compartment_id': :'compartmentId',
|
|
138
|
+
'type': :'type',
|
|
139
|
+
'source_database_connection_id': :'sourceDatabaseConnectionId',
|
|
140
|
+
'source_container_database_connection_id': :'sourceContainerDatabaseConnectionId',
|
|
141
|
+
'target_database_connection_id': :'targetDatabaseConnectionId',
|
|
142
|
+
'executing_job_id': :'executingJobId',
|
|
143
|
+
'agent_id': :'agentId',
|
|
144
|
+
'vault_details': :'vaultDetails',
|
|
145
|
+
'time_created': :'timeCreated',
|
|
146
|
+
'time_updated': :'timeUpdated',
|
|
147
|
+
'time_last_migration': :'timeLastMigration',
|
|
148
|
+
'lifecycle_state': :'lifecycleState',
|
|
149
|
+
'lifecycle_details': :'lifecycleDetails',
|
|
150
|
+
'freeform_tags': :'freeformTags',
|
|
151
|
+
'defined_tags': :'definedTags',
|
|
152
|
+
'system_tags': :'systemTags'
|
|
153
|
+
# rubocop:enable Style/SymbolLiteral
|
|
154
|
+
}
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Attribute type mapping.
|
|
158
|
+
def self.swagger_types
|
|
159
|
+
{
|
|
160
|
+
# rubocop:disable Style/SymbolLiteral
|
|
161
|
+
'id': :'String',
|
|
162
|
+
'display_name': :'String',
|
|
163
|
+
'compartment_id': :'String',
|
|
164
|
+
'type': :'String',
|
|
165
|
+
'source_database_connection_id': :'String',
|
|
166
|
+
'source_container_database_connection_id': :'String',
|
|
167
|
+
'target_database_connection_id': :'String',
|
|
168
|
+
'executing_job_id': :'String',
|
|
169
|
+
'agent_id': :'String',
|
|
170
|
+
'vault_details': :'OCI::DatabaseMigration::Models::VaultDetails',
|
|
171
|
+
'time_created': :'DateTime',
|
|
172
|
+
'time_updated': :'DateTime',
|
|
173
|
+
'time_last_migration': :'DateTime',
|
|
174
|
+
'lifecycle_state': :'String',
|
|
175
|
+
'lifecycle_details': :'String',
|
|
176
|
+
'freeform_tags': :'Hash<String, String>',
|
|
177
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
178
|
+
'system_tags': :'Hash<String, Hash<String, Object>>'
|
|
179
|
+
# rubocop:enable Style/SymbolLiteral
|
|
180
|
+
}
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
184
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
# Initializes the object
|
|
188
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
189
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
190
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
191
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
192
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
|
193
|
+
# @option attributes [String] :source_database_connection_id The value to assign to the {#source_database_connection_id} property
|
|
194
|
+
# @option attributes [String] :source_container_database_connection_id The value to assign to the {#source_container_database_connection_id} property
|
|
195
|
+
# @option attributes [String] :target_database_connection_id The value to assign to the {#target_database_connection_id} property
|
|
196
|
+
# @option attributes [String] :executing_job_id The value to assign to the {#executing_job_id} property
|
|
197
|
+
# @option attributes [String] :agent_id The value to assign to the {#agent_id} property
|
|
198
|
+
# @option attributes [OCI::DatabaseMigration::Models::VaultDetails] :vault_details The value to assign to the {#vault_details} property
|
|
199
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
200
|
+
# @option attributes [DateTime] :time_updated The value to assign to the {#time_updated} property
|
|
201
|
+
# @option attributes [DateTime] :time_last_migration The value to assign to the {#time_last_migration} property
|
|
202
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
203
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
204
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
205
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
206
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :system_tags The value to assign to the {#system_tags} property
|
|
207
|
+
def initialize(attributes = {})
|
|
208
|
+
return unless attributes.is_a?(Hash)
|
|
209
|
+
|
|
210
|
+
# convert string to symbol for hash key
|
|
211
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
212
|
+
|
|
213
|
+
self.id = attributes[:'id'] if attributes[:'id']
|
|
214
|
+
|
|
215
|
+
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
|
216
|
+
|
|
217
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
218
|
+
|
|
219
|
+
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
|
220
|
+
|
|
221
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
222
|
+
|
|
223
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
224
|
+
|
|
225
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
226
|
+
|
|
227
|
+
self.type = attributes[:'type'] if attributes[:'type']
|
|
228
|
+
|
|
229
|
+
self.source_database_connection_id = attributes[:'sourceDatabaseConnectionId'] if attributes[:'sourceDatabaseConnectionId']
|
|
230
|
+
|
|
231
|
+
raise 'You cannot provide both :sourceDatabaseConnectionId and :source_database_connection_id' if attributes.key?(:'sourceDatabaseConnectionId') && attributes.key?(:'source_database_connection_id')
|
|
232
|
+
|
|
233
|
+
self.source_database_connection_id = attributes[:'source_database_connection_id'] if attributes[:'source_database_connection_id']
|
|
234
|
+
|
|
235
|
+
self.source_container_database_connection_id = attributes[:'sourceContainerDatabaseConnectionId'] if attributes[:'sourceContainerDatabaseConnectionId']
|
|
236
|
+
|
|
237
|
+
raise 'You cannot provide both :sourceContainerDatabaseConnectionId and :source_container_database_connection_id' if attributes.key?(:'sourceContainerDatabaseConnectionId') && attributes.key?(:'source_container_database_connection_id')
|
|
238
|
+
|
|
239
|
+
self.source_container_database_connection_id = attributes[:'source_container_database_connection_id'] if attributes[:'source_container_database_connection_id']
|
|
240
|
+
|
|
241
|
+
self.target_database_connection_id = attributes[:'targetDatabaseConnectionId'] if attributes[:'targetDatabaseConnectionId']
|
|
242
|
+
|
|
243
|
+
raise 'You cannot provide both :targetDatabaseConnectionId and :target_database_connection_id' if attributes.key?(:'targetDatabaseConnectionId') && attributes.key?(:'target_database_connection_id')
|
|
244
|
+
|
|
245
|
+
self.target_database_connection_id = attributes[:'target_database_connection_id'] if attributes[:'target_database_connection_id']
|
|
246
|
+
|
|
247
|
+
self.executing_job_id = attributes[:'executingJobId'] if attributes[:'executingJobId']
|
|
248
|
+
|
|
249
|
+
raise 'You cannot provide both :executingJobId and :executing_job_id' if attributes.key?(:'executingJobId') && attributes.key?(:'executing_job_id')
|
|
250
|
+
|
|
251
|
+
self.executing_job_id = attributes[:'executing_job_id'] if attributes[:'executing_job_id']
|
|
252
|
+
|
|
253
|
+
self.agent_id = attributes[:'agentId'] if attributes[:'agentId']
|
|
254
|
+
|
|
255
|
+
raise 'You cannot provide both :agentId and :agent_id' if attributes.key?(:'agentId') && attributes.key?(:'agent_id')
|
|
256
|
+
|
|
257
|
+
self.agent_id = attributes[:'agent_id'] if attributes[:'agent_id']
|
|
258
|
+
|
|
259
|
+
self.vault_details = attributes[:'vaultDetails'] if attributes[:'vaultDetails']
|
|
260
|
+
|
|
261
|
+
raise 'You cannot provide both :vaultDetails and :vault_details' if attributes.key?(:'vaultDetails') && attributes.key?(:'vault_details')
|
|
262
|
+
|
|
263
|
+
self.vault_details = attributes[:'vault_details'] if attributes[:'vault_details']
|
|
264
|
+
|
|
265
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
|
266
|
+
|
|
267
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
268
|
+
|
|
269
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
|
270
|
+
|
|
271
|
+
self.time_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated']
|
|
272
|
+
|
|
273
|
+
raise 'You cannot provide both :timeUpdated and :time_updated' if attributes.key?(:'timeUpdated') && attributes.key?(:'time_updated')
|
|
274
|
+
|
|
275
|
+
self.time_updated = attributes[:'time_updated'] if attributes[:'time_updated']
|
|
276
|
+
|
|
277
|
+
self.time_last_migration = attributes[:'timeLastMigration'] if attributes[:'timeLastMigration']
|
|
278
|
+
|
|
279
|
+
raise 'You cannot provide both :timeLastMigration and :time_last_migration' if attributes.key?(:'timeLastMigration') && attributes.key?(:'time_last_migration')
|
|
280
|
+
|
|
281
|
+
self.time_last_migration = attributes[:'time_last_migration'] if attributes[:'time_last_migration']
|
|
282
|
+
|
|
283
|
+
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
284
|
+
|
|
285
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
286
|
+
|
|
287
|
+
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
|
288
|
+
|
|
289
|
+
self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails']
|
|
290
|
+
|
|
291
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
|
292
|
+
|
|
293
|
+
self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details']
|
|
294
|
+
|
|
295
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
296
|
+
|
|
297
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
298
|
+
|
|
299
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
300
|
+
|
|
301
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
302
|
+
|
|
303
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
304
|
+
|
|
305
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
306
|
+
|
|
307
|
+
self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']
|
|
308
|
+
|
|
309
|
+
raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags')
|
|
310
|
+
|
|
311
|
+
self.system_tags = attributes[:'system_tags'] if attributes[:'system_tags']
|
|
312
|
+
end
|
|
313
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
314
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
315
|
+
|
|
316
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
317
|
+
# @param [Object] type Object to be assigned
|
|
318
|
+
def type=(type)
|
|
319
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
320
|
+
if type && !TYPE_ENUM.include?(type)
|
|
321
|
+
OCI.logger.debug("Unknown value for 'type' [" + type + "]. Mapping to 'TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
322
|
+
@type = TYPE_UNKNOWN_ENUM_VALUE
|
|
323
|
+
else
|
|
324
|
+
@type = type
|
|
325
|
+
end
|
|
326
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
330
|
+
# @param [Object] lifecycle_state Object to be assigned
|
|
331
|
+
def lifecycle_state=(lifecycle_state)
|
|
332
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
333
|
+
if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
|
|
334
|
+
OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
335
|
+
@lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
|
|
336
|
+
else
|
|
337
|
+
@lifecycle_state = lifecycle_state
|
|
338
|
+
end
|
|
339
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
343
|
+
# @param [Object] lifecycle_details Object to be assigned
|
|
344
|
+
def lifecycle_details=(lifecycle_details)
|
|
345
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
346
|
+
if lifecycle_details && !LIFECYCLE_DETAILS_ENUM.include?(lifecycle_details)
|
|
347
|
+
OCI.logger.debug("Unknown value for 'lifecycle_details' [" + lifecycle_details + "]. Mapping to 'LIFECYCLE_DETAILS_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
348
|
+
@lifecycle_details = LIFECYCLE_DETAILS_UNKNOWN_ENUM_VALUE
|
|
349
|
+
else
|
|
350
|
+
@lifecycle_details = lifecycle_details
|
|
351
|
+
end
|
|
352
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
# Checks equality by comparing each attribute.
|
|
359
|
+
# @param [Object] other the other object to be compared
|
|
360
|
+
def ==(other)
|
|
361
|
+
return true if equal?(other)
|
|
362
|
+
|
|
363
|
+
self.class == other.class &&
|
|
364
|
+
id == other.id &&
|
|
365
|
+
display_name == other.display_name &&
|
|
366
|
+
compartment_id == other.compartment_id &&
|
|
367
|
+
type == other.type &&
|
|
368
|
+
source_database_connection_id == other.source_database_connection_id &&
|
|
369
|
+
source_container_database_connection_id == other.source_container_database_connection_id &&
|
|
370
|
+
target_database_connection_id == other.target_database_connection_id &&
|
|
371
|
+
executing_job_id == other.executing_job_id &&
|
|
372
|
+
agent_id == other.agent_id &&
|
|
373
|
+
vault_details == other.vault_details &&
|
|
374
|
+
time_created == other.time_created &&
|
|
375
|
+
time_updated == other.time_updated &&
|
|
376
|
+
time_last_migration == other.time_last_migration &&
|
|
377
|
+
lifecycle_state == other.lifecycle_state &&
|
|
378
|
+
lifecycle_details == other.lifecycle_details &&
|
|
379
|
+
freeform_tags == other.freeform_tags &&
|
|
380
|
+
defined_tags == other.defined_tags &&
|
|
381
|
+
system_tags == other.system_tags
|
|
382
|
+
end
|
|
383
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
384
|
+
|
|
385
|
+
# @see the `==` method
|
|
386
|
+
# @param [Object] other the other object to be compared
|
|
387
|
+
def eql?(other)
|
|
388
|
+
self == other
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
# Calculates hash code according to all attributes.
|
|
395
|
+
# @return [Fixnum] Hash code
|
|
396
|
+
def hash
|
|
397
|
+
[id, display_name, compartment_id, type, source_database_connection_id, source_container_database_connection_id, target_database_connection_id, executing_job_id, agent_id, vault_details, time_created, time_updated, time_last_migration, lifecycle_state, lifecycle_details, freeform_tags, defined_tags, system_tags].hash
|
|
398
|
+
end
|
|
399
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
400
|
+
|
|
401
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
# Builds the object from hash
|
|
405
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
406
|
+
# @return [Object] Returns the model itself
|
|
407
|
+
def build_from_hash(attributes)
|
|
408
|
+
return nil unless attributes.is_a?(Hash)
|
|
409
|
+
|
|
410
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
411
|
+
if type =~ /^Array<(.*)>/i
|
|
412
|
+
# check to ensure the input is an array given that the the attribute
|
|
413
|
+
# is documented as an array but the input is not
|
|
414
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
415
|
+
public_method("#{key}=").call(
|
|
416
|
+
attributes[self.class.attribute_map[key]]
|
|
417
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
418
|
+
)
|
|
419
|
+
end
|
|
420
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
421
|
+
public_method("#{key}=").call(
|
|
422
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
423
|
+
)
|
|
424
|
+
end
|
|
425
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
self
|
|
429
|
+
end
|
|
430
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
431
|
+
|
|
432
|
+
# Returns the string representation of the object
|
|
433
|
+
# @return [String] String presentation of the object
|
|
434
|
+
def to_s
|
|
435
|
+
to_hash.to_s
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# Returns the object in the form of hash
|
|
439
|
+
# @return [Hash] Returns the object in the form of hash
|
|
440
|
+
def to_hash
|
|
441
|
+
hash = {}
|
|
442
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
443
|
+
value = public_method(attr).call
|
|
444
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
445
|
+
|
|
446
|
+
hash[param] = _to_hash(value)
|
|
447
|
+
end
|
|
448
|
+
hash
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
private
|
|
452
|
+
|
|
453
|
+
# Outputs non-array value in the form of hash
|
|
454
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
455
|
+
# @param [Object] value Any valid value
|
|
456
|
+
# @return [Hash] Returns the value in the form of hash
|
|
457
|
+
def _to_hash(value)
|
|
458
|
+
if value.is_a?(Array)
|
|
459
|
+
value.compact.map { |v| _to_hash(v) }
|
|
460
|
+
elsif value.is_a?(Hash)
|
|
461
|
+
{}.tap do |hash|
|
|
462
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
463
|
+
end
|
|
464
|
+
elsif value.respond_to? :to_hash
|
|
465
|
+
value.to_hash
|
|
466
|
+
else
|
|
467
|
+
value
|
|
468
|
+
end
|
|
469
|
+
end
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|