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,342 @@
|
|
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
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
5
|
+
module OCI
|
6
|
+
# This class provides a wrapper around {OCI::ServiceCatalog::ServiceCatalogClient} and offers convenience methods
|
7
|
+
# for operations that would otherwise need to be chained together. For example, instead of performing an action
|
8
|
+
# on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
9
|
+
# to enter a given state, you can call a single method in this class to accomplish the same functionality
|
10
|
+
class ServiceCatalog::ServiceCatalogClientCompositeOperations
|
11
|
+
# The {OCI::ServiceCatalog::ServiceCatalogClient} used to communicate with the service_client
|
12
|
+
#
|
13
|
+
# @return [OCI::ServiceCatalog::ServiceCatalogClient]
|
14
|
+
attr_reader :service_client
|
15
|
+
|
16
|
+
# Initializes a new ServiceCatalogClientCompositeOperations
|
17
|
+
#
|
18
|
+
# @param [OCI::ServiceCatalog::ServiceCatalogClient] service_client The client used to communicate with the service.
|
19
|
+
# Defaults to a new service client created via {OCI::ServiceCatalog::ServiceCatalogClient#initialize} with no arguments
|
20
|
+
def initialize(service_client = OCI::ServiceCatalog::ServiceCatalogClient.new)
|
21
|
+
@service_client = service_client
|
22
|
+
end
|
23
|
+
|
24
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
25
|
+
# rubocop:disable Layout/EmptyLines
|
26
|
+
|
27
|
+
|
28
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#change_private_application_compartment} and then waits for the {OCI::ServiceCatalog::Models::WorkRequest}
|
29
|
+
# to enter the given state(s).
|
30
|
+
#
|
31
|
+
# @param [String] private_application_id The unique identifier for the private application.
|
32
|
+
# @param [OCI::ServiceCatalog::Models::ChangePrivateApplicationCompartmentDetails] change_private_application_compartment_details The details of the request to change the compartment of a given private application.
|
33
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::WorkRequest#status}
|
34
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#change_private_application_compartment}
|
35
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
36
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
37
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
38
|
+
#
|
39
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::ServiceCatalog::Models::WorkRequest}
|
40
|
+
def change_private_application_compartment_and_wait_for_state(private_application_id, change_private_application_compartment_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
41
|
+
operation_result = @service_client.change_private_application_compartment(private_application_id, change_private_application_compartment_details, base_operation_opts)
|
42
|
+
use_util = OCI::ServiceCatalog::Util.respond_to?(:wait_on_work_request)
|
43
|
+
|
44
|
+
return operation_result if wait_for_states.empty? && !use_util
|
45
|
+
|
46
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
47
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
48
|
+
|
49
|
+
begin
|
50
|
+
if use_util
|
51
|
+
waiter_result = OCI::ServiceCatalog::Util.wait_on_work_request(
|
52
|
+
@service_client,
|
53
|
+
wait_for_resource_id,
|
54
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
55
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
56
|
+
)
|
57
|
+
else
|
58
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
59
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
60
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
61
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
62
|
+
)
|
63
|
+
end
|
64
|
+
result_to_return = waiter_result
|
65
|
+
|
66
|
+
return result_to_return
|
67
|
+
rescue StandardError
|
68
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
69
|
+
end
|
70
|
+
end
|
71
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
72
|
+
# rubocop:enable Layout/EmptyLines
|
73
|
+
|
74
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
75
|
+
# rubocop:disable Layout/EmptyLines
|
76
|
+
|
77
|
+
|
78
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#create_private_application} and then waits for the {OCI::ServiceCatalog::Models::WorkRequest}
|
79
|
+
# to enter the given state(s).
|
80
|
+
#
|
81
|
+
# @param [OCI::ServiceCatalog::Models::CreatePrivateApplicationDetails] create_private_application_details Private application creation details.
|
82
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::WorkRequest#status}
|
83
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#create_private_application}
|
84
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
85
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
86
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
87
|
+
#
|
88
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::ServiceCatalog::Models::WorkRequest}
|
89
|
+
def create_private_application_and_wait_for_state(create_private_application_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
90
|
+
operation_result = @service_client.create_private_application(create_private_application_details, base_operation_opts)
|
91
|
+
use_util = OCI::ServiceCatalog::Util.respond_to?(:wait_on_work_request)
|
92
|
+
|
93
|
+
return operation_result if wait_for_states.empty? && !use_util
|
94
|
+
|
95
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
96
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
97
|
+
|
98
|
+
begin
|
99
|
+
if use_util
|
100
|
+
waiter_result = OCI::ServiceCatalog::Util.wait_on_work_request(
|
101
|
+
@service_client,
|
102
|
+
wait_for_resource_id,
|
103
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
104
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
105
|
+
)
|
106
|
+
else
|
107
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
108
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
109
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
110
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
111
|
+
)
|
112
|
+
end
|
113
|
+
result_to_return = waiter_result
|
114
|
+
|
115
|
+
return result_to_return
|
116
|
+
rescue StandardError
|
117
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
118
|
+
end
|
119
|
+
end
|
120
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
121
|
+
# rubocop:enable Layout/EmptyLines
|
122
|
+
|
123
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
124
|
+
# rubocop:disable Layout/EmptyLines
|
125
|
+
|
126
|
+
|
127
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#create_service_catalog} and then waits for the {OCI::ServiceCatalog::Models::ServiceCatalog} acted upon
|
128
|
+
# to enter the given state(s).
|
129
|
+
#
|
130
|
+
# @param [OCI::ServiceCatalog::Models::CreateServiceCatalogDetails] create_service_catalog_details The details for creating a service catalog.
|
131
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::ServiceCatalog#lifecycle_state}
|
132
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#create_service_catalog}
|
133
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
134
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
135
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
136
|
+
#
|
137
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::ServiceCatalog::Models::ServiceCatalog}
|
138
|
+
def create_service_catalog_and_wait_for_state(create_service_catalog_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
139
|
+
operation_result = @service_client.create_service_catalog(create_service_catalog_details, base_operation_opts)
|
140
|
+
|
141
|
+
return operation_result if wait_for_states.empty?
|
142
|
+
|
143
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
144
|
+
wait_for_resource_id = operation_result.data.id
|
145
|
+
|
146
|
+
begin
|
147
|
+
waiter_result = @service_client.get_service_catalog(wait_for_resource_id).wait_until(
|
148
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
149
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
150
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
151
|
+
)
|
152
|
+
result_to_return = waiter_result
|
153
|
+
|
154
|
+
return result_to_return
|
155
|
+
rescue StandardError
|
156
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
157
|
+
end
|
158
|
+
end
|
159
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
160
|
+
# rubocop:enable Layout/EmptyLines
|
161
|
+
|
162
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
163
|
+
# rubocop:disable Layout/EmptyLines
|
164
|
+
|
165
|
+
|
166
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#delete_private_application} and then waits for the {OCI::ServiceCatalog::Models::WorkRequest}
|
167
|
+
# to enter the given state(s).
|
168
|
+
#
|
169
|
+
# @param [String] private_application_id The unique identifier for the private application.
|
170
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::WorkRequest#status}
|
171
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#delete_private_application}
|
172
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
173
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
174
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
175
|
+
#
|
176
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::ServiceCatalog::Models::WorkRequest}
|
177
|
+
def delete_private_application_and_wait_for_state(private_application_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
178
|
+
operation_result = @service_client.delete_private_application(private_application_id, base_operation_opts)
|
179
|
+
use_util = OCI::ServiceCatalog::Util.respond_to?(:wait_on_work_request)
|
180
|
+
|
181
|
+
return operation_result if wait_for_states.empty? && !use_util
|
182
|
+
|
183
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
184
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
185
|
+
|
186
|
+
begin
|
187
|
+
if use_util
|
188
|
+
waiter_result = OCI::ServiceCatalog::Util.wait_on_work_request(
|
189
|
+
@service_client,
|
190
|
+
wait_for_resource_id,
|
191
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
192
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
193
|
+
)
|
194
|
+
else
|
195
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
196
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
197
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
198
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
199
|
+
)
|
200
|
+
end
|
201
|
+
result_to_return = waiter_result
|
202
|
+
|
203
|
+
return result_to_return
|
204
|
+
rescue StandardError
|
205
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
206
|
+
end
|
207
|
+
end
|
208
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
209
|
+
# rubocop:enable Layout/EmptyLines
|
210
|
+
|
211
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
212
|
+
# rubocop:disable Layout/EmptyLines
|
213
|
+
|
214
|
+
|
215
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#delete_service_catalog} and then waits for the {OCI::ServiceCatalog::Models::ServiceCatalog} acted upon
|
216
|
+
# to enter the given state(s).
|
217
|
+
#
|
218
|
+
# @param [String] service_catalog_id The unique identifier for the service catalog.
|
219
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::ServiceCatalog#lifecycle_state}
|
220
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#delete_service_catalog}
|
221
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
222
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
223
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
224
|
+
#
|
225
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
226
|
+
def delete_service_catalog_and_wait_for_state(service_catalog_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
227
|
+
initial_get_result = @service_client.get_service_catalog(service_catalog_id)
|
228
|
+
operation_result = @service_client.delete_service_catalog(service_catalog_id, base_operation_opts)
|
229
|
+
|
230
|
+
return operation_result if wait_for_states.empty?
|
231
|
+
|
232
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
233
|
+
|
234
|
+
begin
|
235
|
+
waiter_result = initial_get_result.wait_until(
|
236
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
237
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
238
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
239
|
+
succeed_on_not_found: true
|
240
|
+
)
|
241
|
+
result_to_return = waiter_result
|
242
|
+
|
243
|
+
return result_to_return
|
244
|
+
rescue StandardError
|
245
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
246
|
+
end
|
247
|
+
end
|
248
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
249
|
+
# rubocop:enable Layout/EmptyLines
|
250
|
+
|
251
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
252
|
+
# rubocop:disable Layout/EmptyLines
|
253
|
+
|
254
|
+
|
255
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#update_private_application} and then waits for the {OCI::ServiceCatalog::Models::WorkRequest}
|
256
|
+
# to enter the given state(s).
|
257
|
+
#
|
258
|
+
# @param [String] private_application_id The unique identifier for the private application.
|
259
|
+
# @param [OCI::ServiceCatalog::Models::UpdatePrivateApplicationDetails] update_private_application_details The details for updating the private application.
|
260
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::WorkRequest#status}
|
261
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#update_private_application}
|
262
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
263
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
264
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
265
|
+
#
|
266
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::ServiceCatalog::Models::WorkRequest}
|
267
|
+
def update_private_application_and_wait_for_state(private_application_id, update_private_application_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
268
|
+
operation_result = @service_client.update_private_application(private_application_id, update_private_application_details, base_operation_opts)
|
269
|
+
use_util = OCI::ServiceCatalog::Util.respond_to?(:wait_on_work_request)
|
270
|
+
|
271
|
+
return operation_result if wait_for_states.empty? && !use_util
|
272
|
+
|
273
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
274
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
275
|
+
|
276
|
+
begin
|
277
|
+
if use_util
|
278
|
+
waiter_result = OCI::ServiceCatalog::Util.wait_on_work_request(
|
279
|
+
@service_client,
|
280
|
+
wait_for_resource_id,
|
281
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
282
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
283
|
+
)
|
284
|
+
else
|
285
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
286
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
287
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
288
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
289
|
+
)
|
290
|
+
end
|
291
|
+
result_to_return = waiter_result
|
292
|
+
|
293
|
+
return result_to_return
|
294
|
+
rescue StandardError
|
295
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
296
|
+
end
|
297
|
+
end
|
298
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
299
|
+
# rubocop:enable Layout/EmptyLines
|
300
|
+
|
301
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
302
|
+
# rubocop:disable Layout/EmptyLines
|
303
|
+
|
304
|
+
|
305
|
+
# Calls {OCI::ServiceCatalog::ServiceCatalogClient#update_service_catalog} and then waits for the {OCI::ServiceCatalog::Models::ServiceCatalog} acted upon
|
306
|
+
# to enter the given state(s).
|
307
|
+
#
|
308
|
+
# @param [String] service_catalog_id The unique identifier for the service catalog.
|
309
|
+
# @param [OCI::ServiceCatalog::Models::UpdateServiceCatalogDetails] update_service_catalog_details Details to update for a service catalog.
|
310
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::ServiceCatalog::Models::ServiceCatalog#lifecycle_state}
|
311
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::ServiceCatalog::ServiceCatalogClient#update_service_catalog}
|
312
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
313
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
314
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
315
|
+
#
|
316
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::ServiceCatalog::Models::ServiceCatalog}
|
317
|
+
def update_service_catalog_and_wait_for_state(service_catalog_id, update_service_catalog_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
318
|
+
operation_result = @service_client.update_service_catalog(service_catalog_id, update_service_catalog_details, base_operation_opts)
|
319
|
+
|
320
|
+
return operation_result if wait_for_states.empty?
|
321
|
+
|
322
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
323
|
+
wait_for_resource_id = operation_result.data.id
|
324
|
+
|
325
|
+
begin
|
326
|
+
waiter_result = @service_client.get_service_catalog(wait_for_resource_id).wait_until(
|
327
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
328
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
329
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
330
|
+
)
|
331
|
+
result_to_return = waiter_result
|
332
|
+
|
333
|
+
return result_to_return
|
334
|
+
rescue StandardError
|
335
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
336
|
+
end
|
337
|
+
end
|
338
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
339
|
+
# rubocop:enable Layout/EmptyLines
|
340
|
+
end
|
341
|
+
end
|
342
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,3 @@
|
|
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
|
+
|
data/lib/oci/version.rb
CHANGED
@@ -68,7 +68,7 @@ module OCI
|
|
68
68
|
# @return [String]
|
69
69
|
attr_reader :block_action
|
70
70
|
|
71
|
-
# The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the access criteria are met. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
|
71
|
+
# The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the access criteria are met. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `494`, `495`, `496`, `497`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
|
72
72
|
# @return [Integer]
|
73
73
|
attr_accessor :block_response_code
|
74
74
|
|
@@ -19,7 +19,7 @@ module OCI
|
|
19
19
|
# @return [Integer]
|
20
20
|
attr_accessor :max_delayed_count_per_address
|
21
21
|
|
22
|
-
# The response status code returned when a request is blocked. If unspecified, defaults to `503`. The list of available response codes: `
|
22
|
+
# The response status code returned when a request is blocked. If unspecified, defaults to `503`. The list of available response codes: `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `494`, `495`, `496`, `497`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
|
23
23
|
# @return [Integer]
|
24
24
|
attr_accessor :block_response_code
|
25
25
|
|
@@ -19,7 +19,7 @@ module OCI
|
|
19
19
|
# @return [String]
|
20
20
|
attr_reader :block_action
|
21
21
|
|
22
|
-
# The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE` or `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
|
22
|
+
# The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE` or `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `494`, `495`, `496`, `497`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
|
23
23
|
# @return [Integer]
|
24
24
|
attr_accessor :block_response_code
|
25
25
|
|
@@ -91,6 +91,16 @@ module OCI
|
|
91
91
|
# @return [DateTime]
|
92
92
|
attr_accessor :time_created
|
93
93
|
|
94
|
+
# This indicates whether trust verification was disabled during the creation of SSL certificate.
|
95
|
+
# If `true` SSL certificate trust verification was disabled and this SSL certificate is most likely self-signed.
|
96
|
+
#
|
97
|
+
# @return [BOOLEAN]
|
98
|
+
attr_accessor :is_trust_verification_disabled
|
99
|
+
|
100
|
+
# The data of the SSL certificate.
|
101
|
+
# @return [String]
|
102
|
+
attr_accessor :certificate_data
|
103
|
+
|
94
104
|
# Attribute mapping from ruby-style variable name to JSON key.
|
95
105
|
def self.attribute_map
|
96
106
|
{
|
@@ -111,7 +121,9 @@ module OCI
|
|
111
121
|
'freeform_tags': :'freeformTags',
|
112
122
|
'defined_tags': :'definedTags',
|
113
123
|
'lifecycle_state': :'lifecycleState',
|
114
|
-
'time_created': :'timeCreated'
|
124
|
+
'time_created': :'timeCreated',
|
125
|
+
'is_trust_verification_disabled': :'isTrustVerificationDisabled',
|
126
|
+
'certificate_data': :'certificateData'
|
115
127
|
# rubocop:enable Style/SymbolLiteral
|
116
128
|
}
|
117
129
|
end
|
@@ -136,7 +148,9 @@ module OCI
|
|
136
148
|
'freeform_tags': :'Hash<String, String>',
|
137
149
|
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
138
150
|
'lifecycle_state': :'String',
|
139
|
-
'time_created': :'DateTime'
|
151
|
+
'time_created': :'DateTime',
|
152
|
+
'is_trust_verification_disabled': :'BOOLEAN',
|
153
|
+
'certificate_data': :'String'
|
140
154
|
# rubocop:enable Style/SymbolLiteral
|
141
155
|
}
|
142
156
|
end
|
@@ -164,6 +178,8 @@ module OCI
|
|
164
178
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
165
179
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
166
180
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
181
|
+
# @option attributes [BOOLEAN] :is_trust_verification_disabled The value to assign to the {#is_trust_verification_disabled} property
|
182
|
+
# @option attributes [String] :certificate_data The value to assign to the {#certificate_data} property
|
167
183
|
def initialize(attributes = {})
|
168
184
|
return unless attributes.is_a?(Hash)
|
169
185
|
|
@@ -259,6 +275,20 @@ module OCI
|
|
259
275
|
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
260
276
|
|
261
277
|
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
278
|
+
|
279
|
+
self.is_trust_verification_disabled = attributes[:'isTrustVerificationDisabled'] unless attributes[:'isTrustVerificationDisabled'].nil?
|
280
|
+
self.is_trust_verification_disabled = false if is_trust_verification_disabled.nil? && !attributes.key?(:'isTrustVerificationDisabled') # rubocop:disable Style/StringLiterals
|
281
|
+
|
282
|
+
raise 'You cannot provide both :isTrustVerificationDisabled and :is_trust_verification_disabled' if attributes.key?(:'isTrustVerificationDisabled') && attributes.key?(:'is_trust_verification_disabled')
|
283
|
+
|
284
|
+
self.is_trust_verification_disabled = attributes[:'is_trust_verification_disabled'] unless attributes[:'is_trust_verification_disabled'].nil?
|
285
|
+
self.is_trust_verification_disabled = false if is_trust_verification_disabled.nil? && !attributes.key?(:'isTrustVerificationDisabled') && !attributes.key?(:'is_trust_verification_disabled') # rubocop:disable Style/StringLiterals
|
286
|
+
|
287
|
+
self.certificate_data = attributes[:'certificateData'] if attributes[:'certificateData']
|
288
|
+
|
289
|
+
raise 'You cannot provide both :certificateData and :certificate_data' if attributes.key?(:'certificateData') && attributes.key?(:'certificate_data')
|
290
|
+
|
291
|
+
self.certificate_data = attributes[:'certificate_data'] if attributes[:'certificate_data']
|
262
292
|
end
|
263
293
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
264
294
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -301,7 +331,9 @@ module OCI
|
|
301
331
|
freeform_tags == other.freeform_tags &&
|
302
332
|
defined_tags == other.defined_tags &&
|
303
333
|
lifecycle_state == other.lifecycle_state &&
|
304
|
-
time_created == other.time_created
|
334
|
+
time_created == other.time_created &&
|
335
|
+
is_trust_verification_disabled == other.is_trust_verification_disabled &&
|
336
|
+
certificate_data == other.certificate_data
|
305
337
|
end
|
306
338
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
307
339
|
|
@@ -317,7 +349,7 @@ module OCI
|
|
317
349
|
# Calculates hash code according to all attributes.
|
318
350
|
# @return [Fixnum] Hash code
|
319
351
|
def hash
|
320
|
-
[id, compartment_id, display_name, issued_by, subject_name, issuer_name, serial_number, version, signature_algorithm, time_not_valid_before, time_not_valid_after, public_key_info, extensions, freeform_tags, defined_tags, lifecycle_state, time_created].hash
|
352
|
+
[id, compartment_id, display_name, issued_by, subject_name, issuer_name, serial_number, version, signature_algorithm, time_not_valid_before, time_not_valid_after, public_key_info, extensions, freeform_tags, defined_tags, lifecycle_state, time_created, is_trust_verification_disabled, certificate_data].hash
|
321
353
|
end
|
322
354
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
323
355
|
|