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
data/lib/oci/operator_access_control/operator_control_assignment_client_composite_operations.rb
ADDED
@@ -0,0 +1,105 @@
|
|
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::OperatorAccessControl::OperatorControlAssignmentClient} 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 OperatorAccessControl::OperatorControlAssignmentClientCompositeOperations
|
11
|
+
# The {OCI::OperatorAccessControl::OperatorControlAssignmentClient} used to communicate with the service_client
|
12
|
+
#
|
13
|
+
# @return [OCI::OperatorAccessControl::OperatorControlAssignmentClient]
|
14
|
+
attr_reader :service_client
|
15
|
+
|
16
|
+
# Initializes a new OperatorControlAssignmentClientCompositeOperations
|
17
|
+
#
|
18
|
+
# @param [OCI::OperatorAccessControl::OperatorControlAssignmentClient] service_client The client used to communicate with the service.
|
19
|
+
# Defaults to a new service client created via {OCI::OperatorAccessControl::OperatorControlAssignmentClient#initialize} with no arguments
|
20
|
+
def initialize(service_client = OCI::OperatorAccessControl::OperatorControlAssignmentClient.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::OperatorAccessControl::OperatorControlAssignmentClient#delete_operator_control_assignment} and then waits for the {OCI::OperatorAccessControl::Models::OperatorControlAssignment} acted upon
|
29
|
+
# to enter the given state(s).
|
30
|
+
#
|
31
|
+
# @param [String] operator_control_assignment_id unique OperatorControl identifier
|
32
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::OperatorAccessControl::Models::OperatorControlAssignment#lifecycle_state}
|
33
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::OperatorAccessControl::OperatorControlAssignmentClient#delete_operator_control_assignment}
|
34
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
35
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
36
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
37
|
+
#
|
38
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
39
|
+
def delete_operator_control_assignment_and_wait_for_state(operator_control_assignment_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
40
|
+
initial_get_result = @service_client.get_operator_control_assignment(operator_control_assignment_id)
|
41
|
+
operation_result = @service_client.delete_operator_control_assignment(operator_control_assignment_id, base_operation_opts)
|
42
|
+
|
43
|
+
return operation_result if wait_for_states.empty?
|
44
|
+
|
45
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
46
|
+
|
47
|
+
begin
|
48
|
+
waiter_result = initial_get_result.wait_until(
|
49
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
50
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
51
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
52
|
+
succeed_on_not_found: true
|
53
|
+
)
|
54
|
+
result_to_return = waiter_result
|
55
|
+
|
56
|
+
return result_to_return
|
57
|
+
rescue StandardError
|
58
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
62
|
+
# rubocop:enable Layout/EmptyLines
|
63
|
+
|
64
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
65
|
+
# rubocop:disable Layout/EmptyLines
|
66
|
+
|
67
|
+
|
68
|
+
# Calls {OCI::OperatorAccessControl::OperatorControlAssignmentClient#update_operator_control_assignment} and then waits for the {OCI::OperatorAccessControl::Models::OperatorControlAssignment} acted upon
|
69
|
+
# to enter the given state(s).
|
70
|
+
#
|
71
|
+
# @param [String] operator_control_assignment_id unique OperatorControl identifier
|
72
|
+
# @param [OCI::OperatorAccessControl::Models::UpdateOperatorControlAssignmentDetails] update_operator_control_assignment_details Details for the new operator control assignment.
|
73
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::OperatorAccessControl::Models::OperatorControlAssignment#lifecycle_state}
|
74
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::OperatorAccessControl::OperatorControlAssignmentClient#update_operator_control_assignment}
|
75
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
76
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
77
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
78
|
+
#
|
79
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::OperatorAccessControl::Models::OperatorControlAssignment}
|
80
|
+
def update_operator_control_assignment_and_wait_for_state(operator_control_assignment_id, update_operator_control_assignment_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
81
|
+
operation_result = @service_client.update_operator_control_assignment(operator_control_assignment_id, update_operator_control_assignment_details, base_operation_opts)
|
82
|
+
|
83
|
+
return operation_result if wait_for_states.empty?
|
84
|
+
|
85
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
86
|
+
wait_for_resource_id = operation_result.data.id
|
87
|
+
|
88
|
+
begin
|
89
|
+
waiter_result = @service_client.get_operator_control_assignment(wait_for_resource_id).wait_until(
|
90
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
91
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
92
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
93
|
+
)
|
94
|
+
result_to_return = waiter_result
|
95
|
+
|
96
|
+
return result_to_return
|
97
|
+
rescue StandardError
|
98
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
99
|
+
end
|
100
|
+
end
|
101
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
102
|
+
# rubocop:enable Layout/EmptyLines
|
103
|
+
end
|
104
|
+
end
|
105
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,507 @@
|
|
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 'uri'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# Operator Access Control enables you to control the time duration and the actions an Oracle operator can perform on your Exadata Cloud@Customer infrastructure.
|
10
|
+
# Using logging service, you can view a near real-time audit report of all actions performed by an Oracle operator.
|
11
|
+
#
|
12
|
+
# Use the table of contents and search tool to explore the OperatorAccessControl API.
|
13
|
+
class OperatorAccessControl::OperatorControlClient
|
14
|
+
# Client used to make HTTP requests.
|
15
|
+
# @return [OCI::ApiClient]
|
16
|
+
attr_reader :api_client
|
17
|
+
|
18
|
+
# Fully qualified endpoint URL
|
19
|
+
# @return [String]
|
20
|
+
attr_reader :endpoint
|
21
|
+
|
22
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
23
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
24
|
+
# will not perform any retries
|
25
|
+
# @return [OCI::Retry::RetryConfig]
|
26
|
+
attr_reader :retry_config
|
27
|
+
|
28
|
+
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
29
|
+
# @return [String]
|
30
|
+
attr_reader :region
|
31
|
+
|
32
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
33
|
+
|
34
|
+
|
35
|
+
# Creates a new OperatorControlClient.
|
36
|
+
# Notes:
|
37
|
+
# If a config is not specified, then the global OCI.config will be used.
|
38
|
+
#
|
39
|
+
# This client is not thread-safe
|
40
|
+
#
|
41
|
+
# Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
|
42
|
+
# region. A region may be specified in the config or via or the region parameter. If specified in both, then the
|
43
|
+
# region parameter will be used.
|
44
|
+
# @param [Config] config A Config object.
|
45
|
+
# @param [String] region A region used to determine the service endpoint. This will usually
|
46
|
+
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
47
|
+
# @param [String] endpoint The fully qualified endpoint URL
|
48
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
49
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
50
|
+
# so that the instance principals signer can be provided to the client
|
51
|
+
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
52
|
+
# the details for the proxy can be provided in this parameter
|
53
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
54
|
+
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
55
|
+
# will not perform any retries
|
56
|
+
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
57
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
58
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
59
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
60
|
+
# pass it to this constructor.
|
61
|
+
#
|
62
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
63
|
+
# so try and load the config from the default file.
|
64
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
65
|
+
|
66
|
+
signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
|
67
|
+
|
68
|
+
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
69
|
+
@retry_config = retry_config
|
70
|
+
|
71
|
+
if endpoint
|
72
|
+
@endpoint = endpoint + '/20200630'
|
73
|
+
else
|
74
|
+
region ||= config.region
|
75
|
+
region ||= signer.region if signer.respond_to?(:region)
|
76
|
+
self.region = region
|
77
|
+
end
|
78
|
+
logger.info "OperatorControlClient endpoint set to '#{@endpoint}'." if logger
|
79
|
+
end
|
80
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
81
|
+
|
82
|
+
# Set the region that will be used to determine the service endpoint.
|
83
|
+
# This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
|
84
|
+
# but may be an arbitrary string.
|
85
|
+
def region=(new_region)
|
86
|
+
@region = new_region
|
87
|
+
|
88
|
+
raise 'A region must be specified.' unless @region
|
89
|
+
|
90
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://operator-access-control.{region}.oci.{secondLevelDomain}') + '/20200630'
|
91
|
+
logger.info "OperatorControlClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
92
|
+
end
|
93
|
+
|
94
|
+
# @return [Logger] The logger for this client. May be nil.
|
95
|
+
def logger
|
96
|
+
@api_client.config.logger
|
97
|
+
end
|
98
|
+
|
99
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
100
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
101
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
102
|
+
|
103
|
+
|
104
|
+
# Moves the Operator Control resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
|
105
|
+
#
|
106
|
+
# @param [String] operator_control_id unique OperatorControl identifier
|
107
|
+
# @param [OCI::OperatorAccessControl::Models::ChangeOperatorControlCompartmentDetails] change_operator_control_compartment_details Moves the Operator Control resource into a different compartment.
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
110
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
111
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
112
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
113
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
114
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
115
|
+
# might be rejected.
|
116
|
+
#
|
117
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
118
|
+
# for a resource, set the `if-match` parameter to the value of the
|
119
|
+
# etag from a previous GET or POST response for that resource.
|
120
|
+
# The resource will be updated or deleted only if the etag you
|
121
|
+
# provide matches the resource's current etag value.
|
122
|
+
#
|
123
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
124
|
+
# @return [Response] A Response object with data of type nil
|
125
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/change_operator_control_compartment.rb.html) to see an example of how to use change_operator_control_compartment API.
|
126
|
+
def change_operator_control_compartment(operator_control_id, change_operator_control_compartment_details, opts = {})
|
127
|
+
logger.debug 'Calling operation OperatorControlClient#change_operator_control_compartment.' if logger
|
128
|
+
|
129
|
+
raise "Missing the required parameter 'operator_control_id' when calling change_operator_control_compartment." if operator_control_id.nil?
|
130
|
+
raise "Missing the required parameter 'change_operator_control_compartment_details' when calling change_operator_control_compartment." if change_operator_control_compartment_details.nil?
|
131
|
+
raise "Parameter value for 'operator_control_id' must not be blank" if OCI::Internal::Util.blank_string?(operator_control_id)
|
132
|
+
|
133
|
+
path = '/operatorControls/{operatorControlId}/actions/changeCompartment'.sub('{operatorControlId}', operator_control_id.to_s)
|
134
|
+
operation_signing_strategy = :standard
|
135
|
+
|
136
|
+
# rubocop:disable Style/NegatedIf
|
137
|
+
# Query Params
|
138
|
+
query_params = {}
|
139
|
+
|
140
|
+
# Header Params
|
141
|
+
header_params = {}
|
142
|
+
header_params[:accept] = 'application/json'
|
143
|
+
header_params[:'content-type'] = 'application/json'
|
144
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
145
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
146
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
147
|
+
# rubocop:enable Style/NegatedIf
|
148
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
149
|
+
|
150
|
+
post_body = @api_client.object_to_http_body(change_operator_control_compartment_details)
|
151
|
+
|
152
|
+
# rubocop:disable Metrics/BlockLength
|
153
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#change_operator_control_compartment') do
|
154
|
+
@api_client.call_api(
|
155
|
+
:POST,
|
156
|
+
path,
|
157
|
+
endpoint,
|
158
|
+
header_params: header_params,
|
159
|
+
query_params: query_params,
|
160
|
+
operation_signing_strategy: operation_signing_strategy,
|
161
|
+
body: post_body
|
162
|
+
)
|
163
|
+
end
|
164
|
+
# rubocop:enable Metrics/BlockLength
|
165
|
+
end
|
166
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
167
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
168
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
169
|
+
|
170
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
171
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
172
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
173
|
+
|
174
|
+
|
175
|
+
# Creates an Operator Control.
|
176
|
+
#
|
177
|
+
# @param [OCI::OperatorAccessControl::Models::CreateOperatorControlDetails] create_operator_control_details Details for the new Operator Control.
|
178
|
+
# @param [Hash] opts the optional parameters
|
179
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
180
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
181
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
182
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
183
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
184
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
185
|
+
# might be rejected.
|
186
|
+
#
|
187
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
188
|
+
# @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::OperatorControl OperatorControl}
|
189
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/create_operator_control.rb.html) to see an example of how to use create_operator_control API.
|
190
|
+
def create_operator_control(create_operator_control_details, opts = {})
|
191
|
+
logger.debug 'Calling operation OperatorControlClient#create_operator_control.' if logger
|
192
|
+
|
193
|
+
raise "Missing the required parameter 'create_operator_control_details' when calling create_operator_control." if create_operator_control_details.nil?
|
194
|
+
|
195
|
+
path = '/operatorControls'
|
196
|
+
operation_signing_strategy = :standard
|
197
|
+
|
198
|
+
# rubocop:disable Style/NegatedIf
|
199
|
+
# Query Params
|
200
|
+
query_params = {}
|
201
|
+
|
202
|
+
# Header Params
|
203
|
+
header_params = {}
|
204
|
+
header_params[:accept] = 'application/json'
|
205
|
+
header_params[:'content-type'] = 'application/json'
|
206
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
207
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
208
|
+
# rubocop:enable Style/NegatedIf
|
209
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
210
|
+
|
211
|
+
post_body = @api_client.object_to_http_body(create_operator_control_details)
|
212
|
+
|
213
|
+
# rubocop:disable Metrics/BlockLength
|
214
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#create_operator_control') do
|
215
|
+
@api_client.call_api(
|
216
|
+
:POST,
|
217
|
+
path,
|
218
|
+
endpoint,
|
219
|
+
header_params: header_params,
|
220
|
+
query_params: query_params,
|
221
|
+
operation_signing_strategy: operation_signing_strategy,
|
222
|
+
body: post_body,
|
223
|
+
return_type: 'OCI::OperatorAccessControl::Models::OperatorControl'
|
224
|
+
)
|
225
|
+
end
|
226
|
+
# rubocop:enable Metrics/BlockLength
|
227
|
+
end
|
228
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
229
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
230
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
231
|
+
|
232
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
233
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
234
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
235
|
+
|
236
|
+
|
237
|
+
# Deletes an Operator Control. You cannot delete an Operator Control if it is assigned to govern any target resource currently or in the future.
|
238
|
+
# In that case, first, delete all of the current and future assignments before deleting the Operator Control. An Operator Control that was previously assigned to a target
|
239
|
+
# resource is marked as DELETED following a successful deletion. However, it is not completely deleted from the system. This is to ensure auditing information for the accesses
|
240
|
+
# done under the Operator Control is preserved for future needs. The system purges the deleted Operator Control only when all of the audit data associated with the
|
241
|
+
# Operator Control are also deleted. Therefore, you cannot reuse the name of the deleted Operator Control until the system purges the Operator Control.
|
242
|
+
#
|
243
|
+
# @param [String] operator_control_id unique OperatorControl identifier
|
244
|
+
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
246
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
247
|
+
# @option opts [String] :description reason for deletion of OperatorControl.
|
248
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
249
|
+
# for a resource, set the `if-match` parameter to the value of the
|
250
|
+
# etag from a previous GET or POST response for that resource.
|
251
|
+
# The resource will be updated or deleted only if the etag you
|
252
|
+
# provide matches the resource's current etag value.
|
253
|
+
#
|
254
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
255
|
+
# @return [Response] A Response object with data of type nil
|
256
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/delete_operator_control.rb.html) to see an example of how to use delete_operator_control API.
|
257
|
+
def delete_operator_control(operator_control_id, opts = {})
|
258
|
+
logger.debug 'Calling operation OperatorControlClient#delete_operator_control.' if logger
|
259
|
+
|
260
|
+
raise "Missing the required parameter 'operator_control_id' when calling delete_operator_control." if operator_control_id.nil?
|
261
|
+
raise "Parameter value for 'operator_control_id' must not be blank" if OCI::Internal::Util.blank_string?(operator_control_id)
|
262
|
+
|
263
|
+
path = '/operatorControls/{operatorControlId}'.sub('{operatorControlId}', operator_control_id.to_s)
|
264
|
+
operation_signing_strategy = :standard
|
265
|
+
|
266
|
+
# rubocop:disable Style/NegatedIf
|
267
|
+
# Query Params
|
268
|
+
query_params = {}
|
269
|
+
query_params[:description] = opts[:description] if opts[:description]
|
270
|
+
|
271
|
+
# Header Params
|
272
|
+
header_params = {}
|
273
|
+
header_params[:accept] = 'application/json'
|
274
|
+
header_params[:'content-type'] = 'application/json'
|
275
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
276
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
277
|
+
# rubocop:enable Style/NegatedIf
|
278
|
+
|
279
|
+
post_body = nil
|
280
|
+
|
281
|
+
# rubocop:disable Metrics/BlockLength
|
282
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#delete_operator_control') do
|
283
|
+
@api_client.call_api(
|
284
|
+
:DELETE,
|
285
|
+
path,
|
286
|
+
endpoint,
|
287
|
+
header_params: header_params,
|
288
|
+
query_params: query_params,
|
289
|
+
operation_signing_strategy: operation_signing_strategy,
|
290
|
+
body: post_body
|
291
|
+
)
|
292
|
+
end
|
293
|
+
# rubocop:enable Metrics/BlockLength
|
294
|
+
end
|
295
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
296
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
297
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
298
|
+
|
299
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
300
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
301
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
302
|
+
|
303
|
+
|
304
|
+
# Gets the Operator Control associated with the specified Operator Control ID.
|
305
|
+
# @param [String] operator_control_id unique OperatorControl identifier
|
306
|
+
# @param [Hash] opts the optional parameters
|
307
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
308
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
309
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
310
|
+
# @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::OperatorControl OperatorControl}
|
311
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/get_operator_control.rb.html) to see an example of how to use get_operator_control API.
|
312
|
+
def get_operator_control(operator_control_id, opts = {})
|
313
|
+
logger.debug 'Calling operation OperatorControlClient#get_operator_control.' if logger
|
314
|
+
|
315
|
+
raise "Missing the required parameter 'operator_control_id' when calling get_operator_control." if operator_control_id.nil?
|
316
|
+
raise "Parameter value for 'operator_control_id' must not be blank" if OCI::Internal::Util.blank_string?(operator_control_id)
|
317
|
+
|
318
|
+
path = '/operatorControls/{operatorControlId}'.sub('{operatorControlId}', operator_control_id.to_s)
|
319
|
+
operation_signing_strategy = :standard
|
320
|
+
|
321
|
+
# rubocop:disable Style/NegatedIf
|
322
|
+
# Query Params
|
323
|
+
query_params = {}
|
324
|
+
|
325
|
+
# Header Params
|
326
|
+
header_params = {}
|
327
|
+
header_params[:accept] = 'application/json'
|
328
|
+
header_params[:'content-type'] = 'application/json'
|
329
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
330
|
+
# rubocop:enable Style/NegatedIf
|
331
|
+
|
332
|
+
post_body = nil
|
333
|
+
|
334
|
+
# rubocop:disable Metrics/BlockLength
|
335
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#get_operator_control') do
|
336
|
+
@api_client.call_api(
|
337
|
+
:GET,
|
338
|
+
path,
|
339
|
+
endpoint,
|
340
|
+
header_params: header_params,
|
341
|
+
query_params: query_params,
|
342
|
+
operation_signing_strategy: operation_signing_strategy,
|
343
|
+
body: post_body,
|
344
|
+
return_type: 'OCI::OperatorAccessControl::Models::OperatorControl'
|
345
|
+
)
|
346
|
+
end
|
347
|
+
# rubocop:enable Metrics/BlockLength
|
348
|
+
end
|
349
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
350
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
351
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
352
|
+
|
353
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
354
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
355
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
356
|
+
|
357
|
+
|
358
|
+
# Lists the operator controls in the compartment.
|
359
|
+
#
|
360
|
+
# @param [String] compartment_id The ID of the compartment in which to list resources.
|
361
|
+
# @param [Hash] opts the optional parameters
|
362
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
363
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
364
|
+
# @option opts [String] :lifecycle_state A filter to return only resources whose lifecycleState matches the given OperatorControl lifecycleState.
|
365
|
+
# @option opts [String] :display_name A filter to return OperatorControl that match the entire display name given.
|
366
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
367
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
368
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
|
369
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
|
370
|
+
# (default to timeCreated)
|
371
|
+
# Allowed values are: timeCreated, displayName
|
372
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
373
|
+
# @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::OperatorControlCollection OperatorControlCollection}
|
374
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/list_operator_controls.rb.html) to see an example of how to use list_operator_controls API.
|
375
|
+
def list_operator_controls(compartment_id, opts = {})
|
376
|
+
logger.debug 'Calling operation OperatorControlClient#list_operator_controls.' if logger
|
377
|
+
|
378
|
+
raise "Missing the required parameter 'compartment_id' when calling list_operator_controls." if compartment_id.nil?
|
379
|
+
|
380
|
+
if opts[:lifecycle_state] && !OCI::OperatorAccessControl::Models::OPERATOR_CONTROL_LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
|
381
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OperatorAccessControl::Models::OPERATOR_CONTROL_LIFECYCLE_STATES_ENUM.'
|
382
|
+
end
|
383
|
+
|
384
|
+
if opts[:sort_order] && !OCI::OperatorAccessControl::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
|
385
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::OperatorAccessControl::Models::SORT_ORDERS_ENUM.'
|
386
|
+
end
|
387
|
+
|
388
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
389
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
390
|
+
end
|
391
|
+
|
392
|
+
path = '/operatorControls'
|
393
|
+
operation_signing_strategy = :standard
|
394
|
+
|
395
|
+
# rubocop:disable Style/NegatedIf
|
396
|
+
# Query Params
|
397
|
+
query_params = {}
|
398
|
+
query_params[:compartmentId] = compartment_id
|
399
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
400
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
401
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
402
|
+
query_params[:page] = opts[:page] if opts[:page]
|
403
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
404
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
405
|
+
|
406
|
+
# Header Params
|
407
|
+
header_params = {}
|
408
|
+
header_params[:accept] = 'application/json'
|
409
|
+
header_params[:'content-type'] = 'application/json'
|
410
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
411
|
+
# rubocop:enable Style/NegatedIf
|
412
|
+
|
413
|
+
post_body = nil
|
414
|
+
|
415
|
+
# rubocop:disable Metrics/BlockLength
|
416
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#list_operator_controls') do
|
417
|
+
@api_client.call_api(
|
418
|
+
:GET,
|
419
|
+
path,
|
420
|
+
endpoint,
|
421
|
+
header_params: header_params,
|
422
|
+
query_params: query_params,
|
423
|
+
operation_signing_strategy: operation_signing_strategy,
|
424
|
+
body: post_body,
|
425
|
+
return_type: 'OCI::OperatorAccessControl::Models::OperatorControlCollection'
|
426
|
+
)
|
427
|
+
end
|
428
|
+
# rubocop:enable Metrics/BlockLength
|
429
|
+
end
|
430
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
431
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
432
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
433
|
+
|
434
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
435
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
436
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
437
|
+
|
438
|
+
|
439
|
+
# Modifies the existing OperatorControl for a given operator control id except the operator control id.
|
440
|
+
#
|
441
|
+
# @param [String] operator_control_id unique OperatorControl identifier
|
442
|
+
# @param [OCI::OperatorAccessControl::Models::UpdateOperatorControlDetails] update_operator_control_details Details for the new OperatorControl.
|
443
|
+
# @param [Hash] opts the optional parameters
|
444
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
445
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
446
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
447
|
+
# for a resource, set the `if-match` parameter to the value of the
|
448
|
+
# etag from a previous GET or POST response for that resource.
|
449
|
+
# The resource will be updated or deleted only if the etag you
|
450
|
+
# provide matches the resource's current etag value.
|
451
|
+
#
|
452
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
453
|
+
# @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::OperatorControl OperatorControl}
|
454
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/update_operator_control.rb.html) to see an example of how to use update_operator_control API.
|
455
|
+
def update_operator_control(operator_control_id, update_operator_control_details, opts = {})
|
456
|
+
logger.debug 'Calling operation OperatorControlClient#update_operator_control.' if logger
|
457
|
+
|
458
|
+
raise "Missing the required parameter 'operator_control_id' when calling update_operator_control." if operator_control_id.nil?
|
459
|
+
raise "Missing the required parameter 'update_operator_control_details' when calling update_operator_control." if update_operator_control_details.nil?
|
460
|
+
raise "Parameter value for 'operator_control_id' must not be blank" if OCI::Internal::Util.blank_string?(operator_control_id)
|
461
|
+
|
462
|
+
path = '/operatorControls/{operatorControlId}'.sub('{operatorControlId}', operator_control_id.to_s)
|
463
|
+
operation_signing_strategy = :standard
|
464
|
+
|
465
|
+
# rubocop:disable Style/NegatedIf
|
466
|
+
# Query Params
|
467
|
+
query_params = {}
|
468
|
+
|
469
|
+
# Header Params
|
470
|
+
header_params = {}
|
471
|
+
header_params[:accept] = 'application/json'
|
472
|
+
header_params[:'content-type'] = 'application/json'
|
473
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
474
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
475
|
+
# rubocop:enable Style/NegatedIf
|
476
|
+
|
477
|
+
post_body = @api_client.object_to_http_body(update_operator_control_details)
|
478
|
+
|
479
|
+
# rubocop:disable Metrics/BlockLength
|
480
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OperatorControlClient#update_operator_control') do
|
481
|
+
@api_client.call_api(
|
482
|
+
:PUT,
|
483
|
+
path,
|
484
|
+
endpoint,
|
485
|
+
header_params: header_params,
|
486
|
+
query_params: query_params,
|
487
|
+
operation_signing_strategy: operation_signing_strategy,
|
488
|
+
body: post_body,
|
489
|
+
return_type: 'OCI::OperatorAccessControl::Models::OperatorControl'
|
490
|
+
)
|
491
|
+
end
|
492
|
+
# rubocop:enable Metrics/BlockLength
|
493
|
+
end
|
494
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
495
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
496
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
497
|
+
|
498
|
+
private
|
499
|
+
|
500
|
+
def applicable_retry_config(opts = {})
|
501
|
+
return @retry_config unless opts.key?(:retry_config)
|
502
|
+
|
503
|
+
opts[:retry_config]
|
504
|
+
end
|
505
|
+
end
|
506
|
+
end
|
507
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|