oci 2.13.0 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,154 @@
|
|
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
|
+
# Logical grouping used for Operations Insights Enterprise Manager Bridge operations.
|
9
|
+
class Opsi::Models::EnterpriseManagerBridges
|
10
|
+
# Enterprise Manager Bridge Object.
|
11
|
+
# @return [Object]
|
12
|
+
attr_accessor :enterprise_manager_bridges
|
13
|
+
|
14
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
15
|
+
def self.attribute_map
|
16
|
+
{
|
17
|
+
# rubocop:disable Style/SymbolLiteral
|
18
|
+
'enterprise_manager_bridges': :'enterpriseManagerBridges'
|
19
|
+
# rubocop:enable Style/SymbolLiteral
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
# Attribute type mapping.
|
24
|
+
def self.swagger_types
|
25
|
+
{
|
26
|
+
# rubocop:disable Style/SymbolLiteral
|
27
|
+
'enterprise_manager_bridges': :'Object'
|
28
|
+
# rubocop:enable Style/SymbolLiteral
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
33
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
34
|
+
|
35
|
+
|
36
|
+
# Initializes the object
|
37
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
+
# @option attributes [Object] :enterprise_manager_bridges The value to assign to the {#enterprise_manager_bridges} property
|
39
|
+
def initialize(attributes = {})
|
40
|
+
return unless attributes.is_a?(Hash)
|
41
|
+
|
42
|
+
# convert string to symbol for hash key
|
43
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
44
|
+
|
45
|
+
self.enterprise_manager_bridges = attributes[:'enterpriseManagerBridges'] if attributes[:'enterpriseManagerBridges']
|
46
|
+
|
47
|
+
raise 'You cannot provide both :enterpriseManagerBridges and :enterprise_manager_bridges' if attributes.key?(:'enterpriseManagerBridges') && attributes.key?(:'enterprise_manager_bridges')
|
48
|
+
|
49
|
+
self.enterprise_manager_bridges = attributes[:'enterprise_manager_bridges'] if attributes[:'enterprise_manager_bridges']
|
50
|
+
end
|
51
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
52
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
53
|
+
|
54
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
55
|
+
|
56
|
+
|
57
|
+
# Checks equality by comparing each attribute.
|
58
|
+
# @param [Object] other the other object to be compared
|
59
|
+
def ==(other)
|
60
|
+
return true if equal?(other)
|
61
|
+
|
62
|
+
self.class == other.class &&
|
63
|
+
enterprise_manager_bridges == other.enterprise_manager_bridges
|
64
|
+
end
|
65
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
66
|
+
|
67
|
+
# @see the `==` method
|
68
|
+
# @param [Object] other the other object to be compared
|
69
|
+
def eql?(other)
|
70
|
+
self == other
|
71
|
+
end
|
72
|
+
|
73
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
74
|
+
|
75
|
+
|
76
|
+
# Calculates hash code according to all attributes.
|
77
|
+
# @return [Fixnum] Hash code
|
78
|
+
def hash
|
79
|
+
[enterprise_manager_bridges].hash
|
80
|
+
end
|
81
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
82
|
+
|
83
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
84
|
+
|
85
|
+
|
86
|
+
# Builds the object from hash
|
87
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
# @return [Object] Returns the model itself
|
89
|
+
def build_from_hash(attributes)
|
90
|
+
return nil unless attributes.is_a?(Hash)
|
91
|
+
|
92
|
+
self.class.swagger_types.each_pair do |key, type|
|
93
|
+
if type =~ /^Array<(.*)>/i
|
94
|
+
# check to ensure the input is an array given that the the attribute
|
95
|
+
# is documented as an array but the input is not
|
96
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
97
|
+
public_method("#{key}=").call(
|
98
|
+
attributes[self.class.attribute_map[key]]
|
99
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
100
|
+
)
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
public_method("#{key}=").call(
|
104
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
105
|
+
)
|
106
|
+
end
|
107
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
108
|
+
end
|
109
|
+
|
110
|
+
self
|
111
|
+
end
|
112
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
113
|
+
|
114
|
+
# Returns the string representation of the object
|
115
|
+
# @return [String] String presentation of the object
|
116
|
+
def to_s
|
117
|
+
to_hash.to_s
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns the object in the form of hash
|
121
|
+
# @return [Hash] Returns the object in the form of hash
|
122
|
+
def to_hash
|
123
|
+
hash = {}
|
124
|
+
self.class.attribute_map.each_pair do |attr, param|
|
125
|
+
value = public_method(attr).call
|
126
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
127
|
+
|
128
|
+
hash[param] = _to_hash(value)
|
129
|
+
end
|
130
|
+
hash
|
131
|
+
end
|
132
|
+
|
133
|
+
private
|
134
|
+
|
135
|
+
# Outputs non-array value in the form of hash
|
136
|
+
# For object, use to_hash. Otherwise, just return the value
|
137
|
+
# @param [Object] value Any valid value
|
138
|
+
# @return [Hash] Returns the value in the form of hash
|
139
|
+
def _to_hash(value)
|
140
|
+
if value.is_a?(Array)
|
141
|
+
value.compact.map { |v| _to_hash(v) }
|
142
|
+
elsif value.is_a?(Hash)
|
143
|
+
{}.tap do |hash|
|
144
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
145
|
+
end
|
146
|
+
elsif value.respond_to? :to_hash
|
147
|
+
value.to_hash
|
148
|
+
else
|
149
|
+
value
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,212 @@
|
|
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
|
+
# Base Metric Group for Host configuration metrics
|
9
|
+
#
|
10
|
+
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
11
|
+
class Opsi::Models::HostConfigurationMetricGroup
|
12
|
+
METRIC_NAME_ENUM = [
|
13
|
+
METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'.freeze,
|
14
|
+
METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'.freeze,
|
15
|
+
METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'.freeze,
|
16
|
+
METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'.freeze,
|
17
|
+
METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'.freeze,
|
18
|
+
METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'.freeze,
|
19
|
+
METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'.freeze
|
20
|
+
].freeze
|
21
|
+
|
22
|
+
# **[Required]** Name of the metric group
|
23
|
+
#
|
24
|
+
# @return [String]
|
25
|
+
attr_reader :metric_name
|
26
|
+
|
27
|
+
# **[Required]** Collection timestamp
|
28
|
+
# Example: `\"2020-05-06T00:00:00.000Z\"`
|
29
|
+
#
|
30
|
+
# @return [DateTime]
|
31
|
+
attr_accessor :time_collected
|
32
|
+
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
34
|
+
def self.attribute_map
|
35
|
+
{
|
36
|
+
# rubocop:disable Style/SymbolLiteral
|
37
|
+
'metric_name': :'metricName',
|
38
|
+
'time_collected': :'timeCollected'
|
39
|
+
# rubocop:enable Style/SymbolLiteral
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Attribute type mapping.
|
44
|
+
def self.swagger_types
|
45
|
+
{
|
46
|
+
# rubocop:disable Style/SymbolLiteral
|
47
|
+
'metric_name': :'String',
|
48
|
+
'time_collected': :'DateTime'
|
49
|
+
# rubocop:enable Style/SymbolLiteral
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity, Metrics/AbcSize
|
54
|
+
|
55
|
+
|
56
|
+
# Given the hash representation of a subtype of this class,
|
57
|
+
# use the info in the hash to return the class of the subtype.
|
58
|
+
def self.get_subtype(object_hash)
|
59
|
+
type = object_hash[:'metricName'] # rubocop:disable Style/SymbolLiteral
|
60
|
+
|
61
|
+
return 'OCI::Opsi::Models::HostResourceAllocation' if type == 'HOST_RESOURCE_ALLOCATION'
|
62
|
+
return 'OCI::Opsi::Models::HostProduct' if type == 'HOST_PRODUCT'
|
63
|
+
return 'OCI::Opsi::Models::HostNetworkConfiguration' if type == 'HOST_NETWORK_CONFIGURATION'
|
64
|
+
return 'OCI::Opsi::Models::HostEntities' if type == 'HOST_ENTITIES'
|
65
|
+
return 'OCI::Opsi::Models::HostMemoryConfiguration' if type == 'HOST_MEMORY_CONFIGURATION'
|
66
|
+
return 'OCI::Opsi::Models::HostCpuHardwareConfiguration' if type == 'HOST_CPU_HARDWARE_CONFIGURATION'
|
67
|
+
return 'OCI::Opsi::Models::HostHardwareConfiguration' if type == 'HOST_HARDWARE_CONFIGURATION'
|
68
|
+
|
69
|
+
# TODO: Log a warning when the subtype is not found.
|
70
|
+
'OCI::Opsi::Models::HostConfigurationMetricGroup'
|
71
|
+
end
|
72
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity, Metrics/AbcSize
|
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] :metric_name The value to assign to the {#metric_name} property
|
81
|
+
# @option attributes [DateTime] :time_collected The value to assign to the {#time_collected} property
|
82
|
+
def initialize(attributes = {})
|
83
|
+
return unless attributes.is_a?(Hash)
|
84
|
+
|
85
|
+
# convert string to symbol for hash key
|
86
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
87
|
+
|
88
|
+
self.metric_name = attributes[:'metricName'] if attributes[:'metricName']
|
89
|
+
|
90
|
+
raise 'You cannot provide both :metricName and :metric_name' if attributes.key?(:'metricName') && attributes.key?(:'metric_name')
|
91
|
+
|
92
|
+
self.metric_name = attributes[:'metric_name'] if attributes[:'metric_name']
|
93
|
+
|
94
|
+
self.time_collected = attributes[:'timeCollected'] if attributes[:'timeCollected']
|
95
|
+
|
96
|
+
raise 'You cannot provide both :timeCollected and :time_collected' if attributes.key?(:'timeCollected') && attributes.key?(:'time_collected')
|
97
|
+
|
98
|
+
self.time_collected = attributes[:'time_collected'] if attributes[:'time_collected']
|
99
|
+
end
|
100
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
101
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
102
|
+
|
103
|
+
# Custom attribute writer method checking allowed values (enum).
|
104
|
+
# @param [Object] metric_name Object to be assigned
|
105
|
+
def metric_name=(metric_name)
|
106
|
+
raise "Invalid value for 'metric_name': this must be one of the values in METRIC_NAME_ENUM." if metric_name && !METRIC_NAME_ENUM.include?(metric_name)
|
107
|
+
|
108
|
+
@metric_name = metric_name
|
109
|
+
end
|
110
|
+
|
111
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
112
|
+
|
113
|
+
|
114
|
+
# Checks equality by comparing each attribute.
|
115
|
+
# @param [Object] other the other object to be compared
|
116
|
+
def ==(other)
|
117
|
+
return true if equal?(other)
|
118
|
+
|
119
|
+
self.class == other.class &&
|
120
|
+
metric_name == other.metric_name &&
|
121
|
+
time_collected == other.time_collected
|
122
|
+
end
|
123
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
124
|
+
|
125
|
+
# @see the `==` method
|
126
|
+
# @param [Object] other the other object to be compared
|
127
|
+
def eql?(other)
|
128
|
+
self == other
|
129
|
+
end
|
130
|
+
|
131
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
132
|
+
|
133
|
+
|
134
|
+
# Calculates hash code according to all attributes.
|
135
|
+
# @return [Fixnum] Hash code
|
136
|
+
def hash
|
137
|
+
[metric_name, time_collected].hash
|
138
|
+
end
|
139
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
140
|
+
|
141
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
142
|
+
|
143
|
+
|
144
|
+
# Builds the object from hash
|
145
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
146
|
+
# @return [Object] Returns the model itself
|
147
|
+
def build_from_hash(attributes)
|
148
|
+
return nil unless attributes.is_a?(Hash)
|
149
|
+
|
150
|
+
self.class.swagger_types.each_pair do |key, type|
|
151
|
+
if type =~ /^Array<(.*)>/i
|
152
|
+
# check to ensure the input is an array given that the the attribute
|
153
|
+
# is documented as an array but the input is not
|
154
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
155
|
+
public_method("#{key}=").call(
|
156
|
+
attributes[self.class.attribute_map[key]]
|
157
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
158
|
+
)
|
159
|
+
end
|
160
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
161
|
+
public_method("#{key}=").call(
|
162
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
163
|
+
)
|
164
|
+
end
|
165
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
166
|
+
end
|
167
|
+
|
168
|
+
self
|
169
|
+
end
|
170
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
171
|
+
|
172
|
+
# Returns the string representation of the object
|
173
|
+
# @return [String] String presentation of the object
|
174
|
+
def to_s
|
175
|
+
to_hash.to_s
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the object in the form of hash
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
180
|
+
def to_hash
|
181
|
+
hash = {}
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
183
|
+
value = public_method(attr).call
|
184
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
185
|
+
|
186
|
+
hash[param] = _to_hash(value)
|
187
|
+
end
|
188
|
+
hash
|
189
|
+
end
|
190
|
+
|
191
|
+
private
|
192
|
+
|
193
|
+
# Outputs non-array value in the form of hash
|
194
|
+
# For object, use to_hash. Otherwise, just return the value
|
195
|
+
# @param [Object] value Any valid value
|
196
|
+
# @return [Hash] Returns the value in the form of hash
|
197
|
+
def _to_hash(value)
|
198
|
+
if value.is_a?(Array)
|
199
|
+
value.compact.map { |v| _to_hash(v) }
|
200
|
+
elsif value.is_a?(Hash)
|
201
|
+
{}.tap do |hash|
|
202
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
203
|
+
end
|
204
|
+
elsif value.respond_to? :to_hash
|
205
|
+
value.to_hash
|
206
|
+
else
|
207
|
+
value
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,289 @@
|
|
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_relative 'host_configuration_metric_group'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# CPU Hardware Configuration metric for the host
|
10
|
+
#
|
11
|
+
class Opsi::Models::HostCpuHardwareConfiguration < Opsi::Models::HostConfigurationMetricGroup
|
12
|
+
# Total number of CPU Sockets
|
13
|
+
# @return [Integer]
|
14
|
+
attr_accessor :total_sockets
|
15
|
+
|
16
|
+
# Name of the CPU vendor
|
17
|
+
# @return [String]
|
18
|
+
attr_accessor :vendor_name
|
19
|
+
|
20
|
+
# Clock frequency of the processor in megahertz
|
21
|
+
# @return [Float]
|
22
|
+
attr_accessor :frequency_in_mhz
|
23
|
+
|
24
|
+
# Size of cache memory in megabytes
|
25
|
+
# @return [Float]
|
26
|
+
attr_accessor :cache_in_mb
|
27
|
+
|
28
|
+
# Model name of processor
|
29
|
+
# @return [String]
|
30
|
+
attr_accessor :cpu_implementation
|
31
|
+
|
32
|
+
# CPU model
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :model
|
35
|
+
|
36
|
+
# Type of processor in the system
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :cpu_family
|
39
|
+
|
40
|
+
# Number of cores per socket
|
41
|
+
# @return [Integer]
|
42
|
+
attr_accessor :cores_per_socket
|
43
|
+
|
44
|
+
# Number of threads per socket
|
45
|
+
# @return [Integer]
|
46
|
+
attr_accessor :threads_per_socket
|
47
|
+
|
48
|
+
# Indicates if hyper-threading is enabled or not
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :hyper_threading_enabled
|
51
|
+
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
53
|
+
def self.attribute_map
|
54
|
+
{
|
55
|
+
# rubocop:disable Style/SymbolLiteral
|
56
|
+
'metric_name': :'metricName',
|
57
|
+
'time_collected': :'timeCollected',
|
58
|
+
'total_sockets': :'totalSockets',
|
59
|
+
'vendor_name': :'vendorName',
|
60
|
+
'frequency_in_mhz': :'frequencyInMhz',
|
61
|
+
'cache_in_mb': :'cacheInMB',
|
62
|
+
'cpu_implementation': :'cpuImplementation',
|
63
|
+
'model': :'model',
|
64
|
+
'cpu_family': :'cpuFamily',
|
65
|
+
'cores_per_socket': :'coresPerSocket',
|
66
|
+
'threads_per_socket': :'threadsPerSocket',
|
67
|
+
'hyper_threading_enabled': :'hyperThreadingEnabled'
|
68
|
+
# rubocop:enable Style/SymbolLiteral
|
69
|
+
}
|
70
|
+
end
|
71
|
+
|
72
|
+
# Attribute type mapping.
|
73
|
+
def self.swagger_types
|
74
|
+
{
|
75
|
+
# rubocop:disable Style/SymbolLiteral
|
76
|
+
'metric_name': :'String',
|
77
|
+
'time_collected': :'DateTime',
|
78
|
+
'total_sockets': :'Integer',
|
79
|
+
'vendor_name': :'String',
|
80
|
+
'frequency_in_mhz': :'Float',
|
81
|
+
'cache_in_mb': :'Float',
|
82
|
+
'cpu_implementation': :'String',
|
83
|
+
'model': :'String',
|
84
|
+
'cpu_family': :'String',
|
85
|
+
'cores_per_socket': :'Integer',
|
86
|
+
'threads_per_socket': :'Integer',
|
87
|
+
'hyper_threading_enabled': :'String'
|
88
|
+
# rubocop:enable Style/SymbolLiteral
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
93
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
94
|
+
|
95
|
+
|
96
|
+
# Initializes the object
|
97
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
+
# @option attributes [DateTime] :time_collected The value to assign to the {OCI::Opsi::Models::HostConfigurationMetricGroup#time_collected #time_collected} proprety
|
99
|
+
# @option attributes [Integer] :total_sockets The value to assign to the {#total_sockets} property
|
100
|
+
# @option attributes [String] :vendor_name The value to assign to the {#vendor_name} property
|
101
|
+
# @option attributes [Float] :frequency_in_mhz The value to assign to the {#frequency_in_mhz} property
|
102
|
+
# @option attributes [Float] :cache_in_mb The value to assign to the {#cache_in_mb} property
|
103
|
+
# @option attributes [String] :cpu_implementation The value to assign to the {#cpu_implementation} property
|
104
|
+
# @option attributes [String] :model The value to assign to the {#model} property
|
105
|
+
# @option attributes [String] :cpu_family The value to assign to the {#cpu_family} property
|
106
|
+
# @option attributes [Integer] :cores_per_socket The value to assign to the {#cores_per_socket} property
|
107
|
+
# @option attributes [Integer] :threads_per_socket The value to assign to the {#threads_per_socket} property
|
108
|
+
# @option attributes [String] :hyper_threading_enabled The value to assign to the {#hyper_threading_enabled} property
|
109
|
+
def initialize(attributes = {})
|
110
|
+
return unless attributes.is_a?(Hash)
|
111
|
+
|
112
|
+
attributes['metricName'] = 'HOST_CPU_HARDWARE_CONFIGURATION'
|
113
|
+
|
114
|
+
super(attributes)
|
115
|
+
|
116
|
+
# convert string to symbol for hash key
|
117
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
118
|
+
|
119
|
+
self.total_sockets = attributes[:'totalSockets'] if attributes[:'totalSockets']
|
120
|
+
|
121
|
+
raise 'You cannot provide both :totalSockets and :total_sockets' if attributes.key?(:'totalSockets') && attributes.key?(:'total_sockets')
|
122
|
+
|
123
|
+
self.total_sockets = attributes[:'total_sockets'] if attributes[:'total_sockets']
|
124
|
+
|
125
|
+
self.vendor_name = attributes[:'vendorName'] if attributes[:'vendorName']
|
126
|
+
|
127
|
+
raise 'You cannot provide both :vendorName and :vendor_name' if attributes.key?(:'vendorName') && attributes.key?(:'vendor_name')
|
128
|
+
|
129
|
+
self.vendor_name = attributes[:'vendor_name'] if attributes[:'vendor_name']
|
130
|
+
|
131
|
+
self.frequency_in_mhz = attributes[:'frequencyInMhz'] if attributes[:'frequencyInMhz']
|
132
|
+
|
133
|
+
raise 'You cannot provide both :frequencyInMhz and :frequency_in_mhz' if attributes.key?(:'frequencyInMhz') && attributes.key?(:'frequency_in_mhz')
|
134
|
+
|
135
|
+
self.frequency_in_mhz = attributes[:'frequency_in_mhz'] if attributes[:'frequency_in_mhz']
|
136
|
+
|
137
|
+
self.cache_in_mb = attributes[:'cacheInMB'] if attributes[:'cacheInMB']
|
138
|
+
|
139
|
+
raise 'You cannot provide both :cacheInMB and :cache_in_mb' if attributes.key?(:'cacheInMB') && attributes.key?(:'cache_in_mb')
|
140
|
+
|
141
|
+
self.cache_in_mb = attributes[:'cache_in_mb'] if attributes[:'cache_in_mb']
|
142
|
+
|
143
|
+
self.cpu_implementation = attributes[:'cpuImplementation'] if attributes[:'cpuImplementation']
|
144
|
+
|
145
|
+
raise 'You cannot provide both :cpuImplementation and :cpu_implementation' if attributes.key?(:'cpuImplementation') && attributes.key?(:'cpu_implementation')
|
146
|
+
|
147
|
+
self.cpu_implementation = attributes[:'cpu_implementation'] if attributes[:'cpu_implementation']
|
148
|
+
|
149
|
+
self.model = attributes[:'model'] if attributes[:'model']
|
150
|
+
|
151
|
+
self.cpu_family = attributes[:'cpuFamily'] if attributes[:'cpuFamily']
|
152
|
+
|
153
|
+
raise 'You cannot provide both :cpuFamily and :cpu_family' if attributes.key?(:'cpuFamily') && attributes.key?(:'cpu_family')
|
154
|
+
|
155
|
+
self.cpu_family = attributes[:'cpu_family'] if attributes[:'cpu_family']
|
156
|
+
|
157
|
+
self.cores_per_socket = attributes[:'coresPerSocket'] if attributes[:'coresPerSocket']
|
158
|
+
|
159
|
+
raise 'You cannot provide both :coresPerSocket and :cores_per_socket' if attributes.key?(:'coresPerSocket') && attributes.key?(:'cores_per_socket')
|
160
|
+
|
161
|
+
self.cores_per_socket = attributes[:'cores_per_socket'] if attributes[:'cores_per_socket']
|
162
|
+
|
163
|
+
self.threads_per_socket = attributes[:'threadsPerSocket'] if attributes[:'threadsPerSocket']
|
164
|
+
|
165
|
+
raise 'You cannot provide both :threadsPerSocket and :threads_per_socket' if attributes.key?(:'threadsPerSocket') && attributes.key?(:'threads_per_socket')
|
166
|
+
|
167
|
+
self.threads_per_socket = attributes[:'threads_per_socket'] if attributes[:'threads_per_socket']
|
168
|
+
|
169
|
+
self.hyper_threading_enabled = attributes[:'hyperThreadingEnabled'] if attributes[:'hyperThreadingEnabled']
|
170
|
+
|
171
|
+
raise 'You cannot provide both :hyperThreadingEnabled and :hyper_threading_enabled' if attributes.key?(:'hyperThreadingEnabled') && attributes.key?(:'hyper_threading_enabled')
|
172
|
+
|
173
|
+
self.hyper_threading_enabled = attributes[:'hyper_threading_enabled'] if attributes[:'hyper_threading_enabled']
|
174
|
+
end
|
175
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
176
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
177
|
+
|
178
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
179
|
+
|
180
|
+
|
181
|
+
# Checks equality by comparing each attribute.
|
182
|
+
# @param [Object] other the other object to be compared
|
183
|
+
def ==(other)
|
184
|
+
return true if equal?(other)
|
185
|
+
|
186
|
+
self.class == other.class &&
|
187
|
+
metric_name == other.metric_name &&
|
188
|
+
time_collected == other.time_collected &&
|
189
|
+
total_sockets == other.total_sockets &&
|
190
|
+
vendor_name == other.vendor_name &&
|
191
|
+
frequency_in_mhz == other.frequency_in_mhz &&
|
192
|
+
cache_in_mb == other.cache_in_mb &&
|
193
|
+
cpu_implementation == other.cpu_implementation &&
|
194
|
+
model == other.model &&
|
195
|
+
cpu_family == other.cpu_family &&
|
196
|
+
cores_per_socket == other.cores_per_socket &&
|
197
|
+
threads_per_socket == other.threads_per_socket &&
|
198
|
+
hyper_threading_enabled == other.hyper_threading_enabled
|
199
|
+
end
|
200
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
201
|
+
|
202
|
+
# @see the `==` method
|
203
|
+
# @param [Object] other the other object to be compared
|
204
|
+
def eql?(other)
|
205
|
+
self == other
|
206
|
+
end
|
207
|
+
|
208
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
209
|
+
|
210
|
+
|
211
|
+
# Calculates hash code according to all attributes.
|
212
|
+
# @return [Fixnum] Hash code
|
213
|
+
def hash
|
214
|
+
[metric_name, time_collected, total_sockets, vendor_name, frequency_in_mhz, cache_in_mb, cpu_implementation, model, cpu_family, cores_per_socket, threads_per_socket, hyper_threading_enabled].hash
|
215
|
+
end
|
216
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
217
|
+
|
218
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
219
|
+
|
220
|
+
|
221
|
+
# Builds the object from hash
|
222
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
223
|
+
# @return [Object] Returns the model itself
|
224
|
+
def build_from_hash(attributes)
|
225
|
+
return nil unless attributes.is_a?(Hash)
|
226
|
+
|
227
|
+
self.class.swagger_types.each_pair do |key, type|
|
228
|
+
if type =~ /^Array<(.*)>/i
|
229
|
+
# check to ensure the input is an array given that the the attribute
|
230
|
+
# is documented as an array but the input is not
|
231
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
232
|
+
public_method("#{key}=").call(
|
233
|
+
attributes[self.class.attribute_map[key]]
|
234
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
235
|
+
)
|
236
|
+
end
|
237
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
238
|
+
public_method("#{key}=").call(
|
239
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
240
|
+
)
|
241
|
+
end
|
242
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
243
|
+
end
|
244
|
+
|
245
|
+
self
|
246
|
+
end
|
247
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
248
|
+
|
249
|
+
# Returns the string representation of the object
|
250
|
+
# @return [String] String presentation of the object
|
251
|
+
def to_s
|
252
|
+
to_hash.to_s
|
253
|
+
end
|
254
|
+
|
255
|
+
# Returns the object in the form of hash
|
256
|
+
# @return [Hash] Returns the object in the form of hash
|
257
|
+
def to_hash
|
258
|
+
hash = {}
|
259
|
+
self.class.attribute_map.each_pair do |attr, param|
|
260
|
+
value = public_method(attr).call
|
261
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
262
|
+
|
263
|
+
hash[param] = _to_hash(value)
|
264
|
+
end
|
265
|
+
hash
|
266
|
+
end
|
267
|
+
|
268
|
+
private
|
269
|
+
|
270
|
+
# Outputs non-array value in the form of hash
|
271
|
+
# For object, use to_hash. Otherwise, just return the value
|
272
|
+
# @param [Object] value Any valid value
|
273
|
+
# @return [Hash] Returns the value in the form of hash
|
274
|
+
def _to_hash(value)
|
275
|
+
if value.is_a?(Array)
|
276
|
+
value.compact.map { |v| _to_hash(v) }
|
277
|
+
elsif value.is_a?(Hash)
|
278
|
+
{}.tap do |hash|
|
279
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
280
|
+
end
|
281
|
+
elsif value.respond_to? :to_hash
|
282
|
+
value.to_hash
|
283
|
+
else
|
284
|
+
value
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|