oci 2.16.0 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/oci/ai_vision/ai_service_vision_client.rb +1677 -0
- data/lib/oci/ai_vision/ai_service_vision_client_composite_operations.rb +399 -0
- data/lib/oci/ai_vision/ai_vision.rb +105 -0
- data/lib/oci/ai_vision/models/action_type.rb +15 -0
- data/lib/oci/ai_vision/models/analyze_document_details.rb +268 -0
- data/lib/oci/ai_vision/models/analyze_document_result.rb +286 -0
- data/lib/oci/ai_vision/models/analyze_image_details.rb +174 -0
- data/lib/oci/ai_vision/models/analyze_image_result.rb +243 -0
- data/lib/oci/ai_vision/models/bounding_polygon.rb +156 -0
- data/lib/oci/ai_vision/models/cell.rb +216 -0
- data/lib/oci/ai_vision/models/change_model_compartment_details.rb +156 -0
- data/lib/oci/ai_vision/models/change_project_compartment_details.rb +156 -0
- data/lib/oci/ai_vision/models/create_document_job_details.rb +304 -0
- data/lib/oci/ai_vision/models/create_image_job_details.rb +222 -0
- data/lib/oci/ai_vision/models/create_model_details.rb +325 -0
- data/lib/oci/ai_vision/models/create_project_details.rb +213 -0
- data/lib/oci/ai_vision/models/data_science_labeling_dataset.rb +162 -0
- data/lib/oci/ai_vision/models/dataset.rb +191 -0
- data/lib/oci/ai_vision/models/detected_document_type.rb +164 -0
- data/lib/oci/ai_vision/models/detected_language.rb +207 -0
- data/lib/oci/ai_vision/models/dimensions.rb +190 -0
- data/lib/oci/ai_vision/models/document_classification_feature.rb +176 -0
- data/lib/oci/ai_vision/models/document_details.rb +184 -0
- data/lib/oci/ai_vision/models/document_feature.rb +204 -0
- data/lib/oci/ai_vision/models/document_field.rb +216 -0
- data/lib/oci/ai_vision/models/document_job.rb +451 -0
- data/lib/oci/ai_vision/models/document_key_value_detection_feature.rb +145 -0
- data/lib/oci/ai_vision/models/document_language.rb +34 -0
- data/lib/oci/ai_vision/models/document_language_classification_feature.rb +162 -0
- data/lib/oci/ai_vision/models/document_metadata.rb +168 -0
- data/lib/oci/ai_vision/models/document_table_detection_feature.rb +145 -0
- data/lib/oci/ai_vision/models/document_text_detection_feature.rb +164 -0
- data/lib/oci/ai_vision/models/document_type.rb +19 -0
- data/lib/oci/ai_vision/models/field_label.rb +160 -0
- data/lib/oci/ai_vision/models/field_name.rb +187 -0
- data/lib/oci/ai_vision/models/field_value.rb +250 -0
- data/lib/oci/ai_vision/models/image_classification_feature.rb +176 -0
- data/lib/oci/ai_vision/models/image_details.rb +184 -0
- data/lib/oci/ai_vision/models/image_feature.rb +198 -0
- data/lib/oci/ai_vision/models/image_job.rb +358 -0
- data/lib/oci/ai_vision/models/image_object.rb +174 -0
- data/lib/oci/ai_vision/models/image_object_detection_feature.rb +176 -0
- data/lib/oci/ai_vision/models/image_text.rb +160 -0
- data/lib/oci/ai_vision/models/image_text_detection_feature.rb +201 -0
- data/lib/oci/ai_vision/models/inline_document_details.rb +158 -0
- data/lib/oci/ai_vision/models/inline_image_details.rb +158 -0
- data/lib/oci/ai_vision/models/input_location.rb +192 -0
- data/lib/oci/ai_vision/models/label.rb +160 -0
- data/lib/oci/ai_vision/models/line.rb +188 -0
- data/lib/oci/ai_vision/models/model.rb +547 -0
- data/lib/oci/ai_vision/models/model_collection.rb +150 -0
- data/lib/oci/ai_vision/models/model_summary.rb +384 -0
- data/lib/oci/ai_vision/models/normalized_vertex.rb +163 -0
- data/lib/oci/ai_vision/models/object_list_inline_input_location.rb +162 -0
- data/lib/oci/ai_vision/models/object_location.rb +182 -0
- data/lib/oci/ai_vision/models/object_storage_dataset.rb +190 -0
- data/lib/oci/ai_vision/models/object_storage_document_details.rb +190 -0
- data/lib/oci/ai_vision/models/object_storage_image_details.rb +190 -0
- data/lib/oci/ai_vision/models/ontology_class.rb +178 -0
- data/lib/oci/ai_vision/models/operation_status.rb +16 -0
- data/lib/oci/ai_vision/models/operation_type.rb +17 -0
- data/lib/oci/ai_vision/models/output_location.rb +178 -0
- data/lib/oci/ai_vision/models/page.rb +235 -0
- data/lib/oci/ai_vision/models/processing_error.rb +160 -0
- data/lib/oci/ai_vision/models/project.rb +316 -0
- data/lib/oci/ai_vision/models/project_collection.rb +150 -0
- data/lib/oci/ai_vision/models/project_summary.rb +283 -0
- data/lib/oci/ai_vision/models/sort_order.rb +11 -0
- data/lib/oci/ai_vision/models/table.rb +235 -0
- data/lib/oci/ai_vision/models/table_row.rb +150 -0
- data/lib/oci/ai_vision/models/update_model_details.rb +196 -0
- data/lib/oci/ai_vision/models/update_project_details.rb +196 -0
- data/lib/oci/ai_vision/models/value_array.rb +174 -0
- data/lib/oci/ai_vision/models/value_date.rb +174 -0
- data/lib/oci/ai_vision/models/value_integer.rb +174 -0
- data/lib/oci/ai_vision/models/value_number.rb +174 -0
- data/lib/oci/ai_vision/models/value_phone_number.rb +174 -0
- data/lib/oci/ai_vision/models/value_string.rb +174 -0
- data/lib/oci/ai_vision/models/value_time.rb +174 -0
- data/lib/oci/ai_vision/models/word.rb +174 -0
- data/lib/oci/ai_vision/models/work_request.rb +311 -0
- data/lib/oci/ai_vision/models/work_request_error.rb +173 -0
- data/lib/oci/ai_vision/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ai_vision/models/work_request_log_entry.rb +160 -0
- data/lib/oci/ai_vision/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ai_vision/models/work_request_resource.rb +220 -0
- data/lib/oci/ai_vision/models/work_request_summary.rb +313 -0
- data/lib/oci/ai_vision/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/ai_vision/util.rb +3 -0
- data/lib/oci/announcements_service/announcement_client.rb +26 -5
- data/lib/oci/announcements_service/announcement_subscription_client.rb +703 -0
- data/lib/oci/announcements_service/announcement_subscription_client_composite_operations.rb +144 -0
- data/lib/oci/announcements_service/announcements_preferences_client.rb +10 -3
- data/lib/oci/announcements_service/announcements_service.rb +14 -0
- data/lib/oci/announcements_service/models/announcement.rb +9 -1
- data/lib/oci/announcements_service/models/announcement_subscription.rb +348 -0
- data/lib/oci/announcements_service/models/announcement_subscription_collection.rb +150 -0
- data/lib/oci/announcements_service/models/announcement_subscription_summary.rb +299 -0
- data/lib/oci/announcements_service/models/announcement_summary.rb +12 -4
- data/lib/oci/announcements_service/models/base_announcement.rb +47 -4
- data/lib/oci/announcements_service/models/change_announcement_subscription_compartment_details.rb +156 -0
- data/lib/oci/announcements_service/models/create_announcement_subscription_details.rb +241 -0
- data/lib/oci/announcements_service/models/create_filter_group_details.rb +160 -0
- data/lib/oci/announcements_service/models/filter.rb +184 -0
- data/lib/oci/announcements_service/models/filter_group.rb +160 -0
- data/lib/oci/announcements_service/models/filter_group_details.rb +150 -0
- data/lib/oci/announcements_service/models/sort_order.rb +11 -0
- data/lib/oci/announcements_service/models/update_announcement_subscription_details.rb +211 -0
- data/lib/oci/announcements_service/models/update_filter_group_details.rb +150 -0
- data/lib/oci/apm_config/config_client.rb +31 -29
- data/lib/oci/apm_config/models/apdex.rb +20 -20
- data/lib/oci/apm_config/models/apdex_rules.rb +2 -2
- data/lib/oci/apm_config/models/apdex_rules_summary.rb +2 -2
- data/lib/oci/apm_config/models/config.rb +3 -3
- data/lib/oci/apm_config/models/config_collection.rb +1 -1
- data/lib/oci/apm_config/models/config_summary.rb +3 -3
- data/lib/oci/apm_config/models/create_apdex_rules_details.rb +2 -3
- data/lib/oci/apm_config/models/create_config_details.rb +3 -3
- data/lib/oci/apm_config/models/create_metric_group_details.rb +9 -6
- data/lib/oci/apm_config/models/create_span_filter_details.rb +2 -2
- data/lib/oci/apm_config/models/dimension.rb +3 -3
- data/lib/oci/apm_config/models/metric.rb +5 -5
- data/lib/oci/apm_config/models/metric_group.rb +9 -5
- data/lib/oci/apm_config/models/metric_group_summary.rb +9 -5
- data/lib/oci/apm_config/models/span_filter.rb +3 -3
- data/lib/oci/apm_config/models/span_filter_summary.rb +2 -2
- data/lib/oci/apm_config/models/update_apdex_rules_details.rb +1 -1
- data/lib/oci/apm_config/models/update_config_details.rb +2 -2
- data/lib/oci/apm_config/models/update_metric_group_details.rb +9 -5
- data/lib/oci/apm_config/models/update_span_filter_details.rb +2 -2
- data/lib/oci/apm_traces/apm_traces.rb +7 -0
- data/lib/oci/apm_traces/models/aggregated_snapshot.rb +167 -0
- data/lib/oci/apm_traces/models/aggregated_stack_trace.rb +165 -0
- data/lib/oci/apm_traces/models/query_details.rb +2 -2
- data/lib/oci/apm_traces/models/query_result_metadata_summary.rb +2 -2
- data/lib/oci/apm_traces/models/query_result_row.rb +6 -7
- data/lib/oci/apm_traces/models/query_result_row_type_summary.rb +1 -1
- data/lib/oci/apm_traces/models/query_results_grouped_by_summary.rb +2 -2
- data/lib/oci/apm_traces/models/query_results_ordered_by_summary.rb +2 -2
- data/lib/oci/apm_traces/models/quick_pick_summary.rb +3 -3
- data/lib/oci/apm_traces/models/snapshot_detail.rb +163 -0
- data/lib/oci/apm_traces/models/span.rb +4 -4
- data/lib/oci/apm_traces/models/span_log.rb +1 -1
- data/lib/oci/apm_traces/models/span_snapshot.rb +238 -0
- data/lib/oci/apm_traces/models/stack_trace_element.rb +212 -0
- data/lib/oci/apm_traces/models/tag.rb +1 -1
- data/lib/oci/apm_traces/models/thread_snapshot.rb +186 -0
- data/lib/oci/apm_traces/models/trace.rb +15 -16
- data/lib/oci/apm_traces/models/trace_service_summary.rb +3 -3
- data/lib/oci/apm_traces/models/trace_snapshot.rb +214 -0
- data/lib/oci/apm_traces/models/trace_span_summary.rb +16 -18
- data/lib/oci/apm_traces/query_client.rb +9 -89
- data/lib/oci/apm_traces/trace_client.rb +141 -8
- data/lib/oci/common.rb +33 -0
- data/lib/oci/container_engine/container_engine.rb +2 -0
- data/lib/oci/container_engine/models/cluster.rb +51 -1
- data/lib/oci/container_engine/models/cluster_create_options.rb +30 -4
- data/lib/oci/container_engine/models/cluster_summary.rb +51 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +35 -1
- data/lib/oci/container_engine/models/create_node_pool_details.rb +38 -4
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +35 -1
- data/lib/oci/container_engine/models/node.rb +51 -1
- data/lib/oci/container_engine/models/node_pool.rb +54 -4
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +35 -1
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +18 -4
- data/lib/oci/container_engine/models/node_pool_summary.rb +54 -4
- data/lib/oci/container_engine/models/persistent_volume_config_details.rb +174 -0
- data/lib/oci/container_engine/models/service_lb_config_details.rb +174 -0
- data/lib/oci/container_engine/models/update_cluster_details.rb +35 -1
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +30 -4
- data/lib/oci/container_engine/models/update_node_pool_details.rb +38 -4
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +35 -1
- data/lib/oci/dashboard_service/dashboard_client.rb +477 -0
- data/lib/oci/dashboard_service/dashboard_client_composite_operations.rb +144 -0
- data/lib/oci/dashboard_service/dashboard_group_client.rb +477 -0
- data/lib/oci/dashboard_service/dashboard_group_client_composite_operations.rb +144 -0
- data/lib/oci/dashboard_service/dashboard_service.rb +36 -0
- data/lib/oci/dashboard_service/models/create_dashboard_details.rb +247 -0
- data/lib/oci/dashboard_service/models/create_dashboard_group_details.rb +214 -0
- data/lib/oci/dashboard_service/models/create_v1_dashboard_details.rb +191 -0
- data/lib/oci/dashboard_service/models/dashboard.rb +377 -0
- data/lib/oci/dashboard_service/models/dashboard_collection.rb +150 -0
- data/lib/oci/dashboard_service/models/dashboard_group.rb +312 -0
- data/lib/oci/dashboard_service/models/dashboard_group_collection.rb +150 -0
- data/lib/oci/dashboard_service/models/dashboard_group_summary.rb +288 -0
- data/lib/oci/dashboard_service/models/dashboard_summary.rb +302 -0
- data/lib/oci/dashboard_service/models/sort_order.rb +11 -0
- data/lib/oci/dashboard_service/models/update_dashboard_details.rb +233 -0
- data/lib/oci/dashboard_service/models/update_dashboard_group_details.rb +200 -0
- data/lib/oci/dashboard_service/models/update_v1_dashboard_details.rb +187 -0
- data/lib/oci/dashboard_service/models/v1_dashboard.rb +215 -0
- data/lib/oci/dashboard_service/util.rb +3 -0
- data/lib/oci/data_integration/models/filter.rb +1 -0
- data/lib/oci/data_safe/data_safe.rb +239 -0
- data/lib/oci/data_safe/data_safe_client.rb +11900 -1705
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +3157 -156
- data/lib/oci/data_safe/models/alert.rb +535 -0
- data/lib/oci/data_safe/models/alert_aggregation_items.rb +201 -0
- data/lib/oci/data_safe/models/alert_analytics_collection.rb +150 -0
- data/lib/oci/data_safe/models/alert_collection.rb +150 -0
- data/lib/oci/data_safe/models/alert_lifecycle_state.rb +12 -0
- data/lib/oci/data_safe/models/alert_policy.rb +387 -0
- data/lib/oci/data_safe/models/alert_policy_collection.rb +150 -0
- data/lib/oci/data_safe/models/alert_policy_lifecycle_state.rb +15 -0
- data/lib/oci/data_safe/models/alert_policy_rule.rb +170 -0
- data/lib/oci/data_safe/models/alert_policy_rule_collection.rb +150 -0
- data/lib/oci/data_safe/models/alert_policy_rule_summary.rb +170 -0
- data/lib/oci/data_safe/models/alert_policy_summary.rb +368 -0
- data/lib/oci/data_safe/models/alert_policy_type.rb +12 -0
- data/lib/oci/data_safe/models/alert_severity.rb +14 -0
- data/lib/oci/data_safe/models/alert_status.rb +11 -0
- data/lib/oci/data_safe/models/alert_summary.rb +495 -0
- data/lib/oci/data_safe/models/alert_type.rb +12 -0
- data/lib/oci/data_safe/models/alerts_aggregation_dimension.rb +154 -0
- data/lib/oci/data_safe/models/apply_discovery_job_results_details.rb +154 -0
- data/lib/oci/data_safe/models/audit_archive_retrieval.rb +404 -0
- data/lib/oci/data_safe/models/audit_archive_retrieval_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_archive_retrieval_lifecycle_state.rb +15 -0
- data/lib/oci/data_safe/models/audit_archive_retrieval_summary.rb +386 -0
- data/lib/oci/data_safe/models/audit_conditions.rb +197 -0
- data/lib/oci/data_safe/models/audit_event_aggregation_dimensions.rb +352 -0
- data/lib/oci/data_safe/models/audit_event_aggregation_items.rb +215 -0
- data/lib/oci/data_safe/models/audit_event_analytics_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_event_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_event_summary.rb +719 -0
- data/lib/oci/data_safe/models/audit_policy.rb +410 -0
- data/lib/oci/data_safe/models/audit_policy_aggregation_items.rb +159 -0
- data/lib/oci/data_safe/models/audit_policy_analytic_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_policy_category.rb +15 -0
- data/lib/oci/data_safe/models/audit_policy_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_policy_dimensions.rb +186 -0
- data/lib/oci/data_safe/models/audit_policy_lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/audit_policy_summary.rb +380 -0
- data/lib/oci/data_safe/models/audit_profile.rb +429 -0
- data/lib/oci/data_safe/models/audit_profile_aggregation_items.rb +159 -0
- data/lib/oci/data_safe/models/audit_profile_analytic_collection.rb +151 -0
- data/lib/oci/data_safe/models/audit_profile_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_profile_dimensions.rb +157 -0
- data/lib/oci/data_safe/models/audit_profile_lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/audit_profile_summary.rb +400 -0
- data/lib/oci/data_safe/models/audit_specification.rb +367 -0
- data/lib/oci/data_safe/models/audit_trail.rb +447 -0
- data/lib/oci/data_safe/models/audit_trail_aggregation_items.rb +159 -0
- data/lib/oci/data_safe/models/audit_trail_analytic_collection.rb +151 -0
- data/lib/oci/data_safe/models/audit_trail_collection.rb +150 -0
- data/lib/oci/data_safe/models/audit_trail_dimensions.rb +212 -0
- data/lib/oci/data_safe/models/audit_trail_lifecycle_state.rb +15 -0
- data/lib/oci/data_safe/models/audit_trail_status.rb +17 -0
- data/lib/oci/data_safe/models/audit_trail_summary.rb +411 -0
- data/lib/oci/data_safe/models/available_audit_volume_collection.rb +150 -0
- data/lib/oci/data_safe/models/available_audit_volume_summary.rb +197 -0
- data/lib/oci/data_safe/models/calculate_audit_volume_available_details.rb +168 -0
- data/lib/oci/data_safe/models/calculate_audit_volume_collected_details.rb +168 -0
- data/lib/oci/data_safe/models/change_alert_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_alert_policy_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_audit_archive_retrieval_compartment_details.rb +156 -0
- data/lib/oci/data_safe/models/change_audit_policy_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_audit_profile_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_discovery_job_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_library_masking_format_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_masking_policy_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_report_compartment_details.rb +156 -0
- data/lib/oci/data_safe/models/change_report_definition_compartment_details.rb +156 -0
- data/lib/oci/data_safe/models/change_retention_details.rb +189 -0
- data/lib/oci/data_safe/models/change_sensitive_data_model_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_sensitive_type_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_target_alert_policy_association_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/collected_audit_volume_collection.rb +150 -0
- data/lib/oci/data_safe/models/collected_audit_volume_summary.rb +199 -0
- data/lib/oci/data_safe/models/column.rb +212 -0
- data/lib/oci/data_safe/models/column_filter.rb +234 -0
- data/lib/oci/data_safe/models/column_sorting.rb +182 -0
- data/lib/oci/data_safe/models/column_source_details.rb +191 -0
- data/lib/oci/data_safe/models/column_source_from_sdm_details.rb +162 -0
- data/lib/oci/data_safe/models/column_source_from_target_details.rb +162 -0
- data/lib/oci/data_safe/models/column_summary.rb +240 -0
- data/lib/oci/data_safe/models/compatible_formats_for_data_types.rb +161 -0
- data/lib/oci/data_safe/models/compatible_formats_for_sensitive_types.rb +154 -0
- data/lib/oci/data_safe/models/create_alert_policy_details.rb +267 -0
- data/lib/oci/data_safe/models/create_alert_policy_rule_details.rb +161 -0
- data/lib/oci/data_safe/models/create_audit_archive_retrieval_details.rb +254 -0
- data/lib/oci/data_safe/models/create_audit_policy_details.rb +226 -0
- data/lib/oci/data_safe/models/create_audit_profile_details.rb +243 -0
- data/lib/oci/data_safe/models/create_column_source_details.rb +184 -0
- data/lib/oci/data_safe/models/create_column_source_from_sdm_details.rb +162 -0
- data/lib/oci/data_safe/models/create_column_source_from_target_details.rb +162 -0
- data/lib/oci/data_safe/models/create_discovery_job_details.rb +350 -0
- data/lib/oci/data_safe/models/create_library_masking_format_details.rb +247 -0
- data/lib/oci/data_safe/models/create_masking_column_details.rb +312 -0
- data/lib/oci/data_safe/models/create_masking_policy_details.rb +371 -0
- data/lib/oci/data_safe/models/create_report_definition_details.rb +278 -0
- data/lib/oci/data_safe/models/create_sensitive_category_details.rb +173 -0
- data/lib/oci/data_safe/models/create_sensitive_column_details.rb +371 -0
- data/lib/oci/data_safe/models/create_sensitive_data_model_details.rb +359 -0
- data/lib/oci/data_safe/models/create_sensitive_type_details.rb +286 -0
- data/lib/oci/data_safe/models/create_sensitive_type_pattern_details.rb +250 -0
- data/lib/oci/data_safe/models/create_target_alert_policy_association_details.rb +257 -0
- data/lib/oci/data_safe/models/data_model_format.rb +10 -0
- data/lib/oci/data_safe/models/data_safe_configuration.rb +29 -1
- data/lib/oci/data_safe/models/delete_rows_format_entry.rb +157 -0
- data/lib/oci/data_safe/models/deterministic_encryption_date_format_entry.rb +201 -0
- data/lib/oci/data_safe/models/deterministic_encryption_format_entry.rb +193 -0
- data/lib/oci/data_safe/models/deterministic_substitution_format_entry.rb +205 -0
- data/lib/oci/data_safe/models/dimensions.rb +168 -0
- data/lib/oci/data_safe/models/discovery_analytics_collection.rb +150 -0
- data/lib/oci/data_safe/models/discovery_analytics_summary.rb +197 -0
- data/lib/oci/data_safe/models/discovery_job.rb +544 -0
- data/lib/oci/data_safe/models/discovery_job_collection.rb +150 -0
- data/lib/oci/data_safe/models/discovery_job_result.rb +506 -0
- data/lib/oci/data_safe/models/discovery_job_result_collection.rb +150 -0
- data/lib/oci/data_safe/models/discovery_job_result_summary.rb +406 -0
- data/lib/oci/data_safe/models/discovery_job_summary.rb +320 -0
- data/lib/oci/data_safe/models/discovery_lifecycle_state.rb +15 -0
- data/lib/oci/data_safe/models/download_discovery_report_details.rb +183 -0
- data/lib/oci/data_safe/models/download_masking_log_details.rb +154 -0
- data/lib/oci/data_safe/models/download_masking_policy_details.rb +168 -0
- data/lib/oci/data_safe/models/download_masking_report_details.rb +183 -0
- data/lib/oci/data_safe/models/download_security_assessment_report_details.rb +1 -0
- data/lib/oci/data_safe/models/download_sensitive_data_model_details.rb +168 -0
- data/lib/oci/data_safe/models/download_user_assessment_report_details.rb +1 -0
- data/lib/oci/data_safe/models/enable_conditions.rb +256 -0
- data/lib/oci/data_safe/models/fixed_number_format_entry.rb +168 -0
- data/lib/oci/data_safe/models/fixed_string_format_entry.rb +168 -0
- data/lib/oci/data_safe/models/format_entry.rb +243 -0
- data/lib/oci/data_safe/models/format_entry_type.rb +32 -0
- data/lib/oci/data_safe/models/format_summary.rb +170 -0
- data/lib/oci/data_safe/models/formats_for_data_type.rb +174 -0
- data/lib/oci/data_safe/models/formats_for_sensitive_type.rb +168 -0
- data/lib/oci/data_safe/models/generate_discovery_report_for_download_details.rb +183 -0
- data/lib/oci/data_safe/models/generate_masking_policy_for_download_details.rb +168 -0
- data/lib/oci/data_safe/models/generate_masking_report_for_download_details.rb +183 -0
- data/lib/oci/data_safe/models/generate_report_details.rb +263 -0
- data/lib/oci/data_safe/models/generate_security_assessment_report_details.rb +1 -0
- data/lib/oci/data_safe/models/generate_sensitive_data_model_for_download_details.rb +168 -0
- data/lib/oci/data_safe/models/generate_user_assessment_report_details.rb +1 -0
- data/lib/oci/data_safe/models/global_settings.rb +185 -0
- data/lib/oci/data_safe/models/library_masking_format.rb +354 -0
- data/lib/oci/data_safe/models/library_masking_format_collection.rb +150 -0
- data/lib/oci/data_safe/models/library_masking_format_entry.rb +171 -0
- data/lib/oci/data_safe/models/library_masking_format_source.rb +11 -0
- data/lib/oci/data_safe/models/library_masking_format_summary.rb +332 -0
- data/lib/oci/data_safe/models/mask_data_details.rb +274 -0
- data/lib/oci/data_safe/models/masked_column_collection.rb +150 -0
- data/lib/oci/data_safe/models/masked_column_summary.rb +296 -0
- data/lib/oci/data_safe/models/masking_analytics_collection.rb +150 -0
- data/lib/oci/data_safe/models/masking_analytics_dimensions.rb +168 -0
- data/lib/oci/data_safe/models/masking_analytics_summary.rb +199 -0
- data/lib/oci/data_safe/models/masking_column.rb +414 -0
- data/lib/oci/data_safe/models/masking_column_collection.rb +150 -0
- data/lib/oci/data_safe/models/masking_column_lifecycle_state.rb +15 -0
- data/lib/oci/data_safe/models/masking_column_summary.rb +410 -0
- data/lib/oci/data_safe/models/masking_format.rb +190 -0
- data/lib/oci/data_safe/models/masking_lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/masking_policy.rb +448 -0
- data/lib/oci/data_safe/models/masking_policy_collection.rb +150 -0
- data/lib/oci/data_safe/models/masking_policy_summary.rb +304 -0
- data/lib/oci/data_safe/models/masking_report.rb +306 -0
- data/lib/oci/data_safe/models/masking_report_collection.rb +150 -0
- data/lib/oci/data_safe/models/masking_report_summary.rb +304 -0
- data/lib/oci/data_safe/models/modified_attributes.rb +170 -0
- data/lib/oci/data_safe/models/modify_global_settings_details.rb +184 -0
- data/lib/oci/data_safe/models/null_value_format_entry.rb +152 -0
- data/lib/oci/data_safe/models/object_type.rb +11 -0
- data/lib/oci/data_safe/models/patch_alert_policy_rule_details.rb +150 -0
- data/lib/oci/data_safe/models/patch_alerts_details.rb +150 -0
- data/lib/oci/data_safe/models/patch_discovery_job_result_details.rb +150 -0
- data/lib/oci/data_safe/models/patch_insert_instruction.rb +162 -0
- data/lib/oci/data_safe/models/patch_instruction.rb +192 -0
- data/lib/oci/data_safe/models/patch_masking_columns_details.rb +150 -0
- data/lib/oci/data_safe/models/patch_merge_instruction.rb +162 -0
- data/lib/oci/data_safe/models/patch_remove_instruction.rb +149 -0
- data/lib/oci/data_safe/models/patch_sensitive_column_details.rb +150 -0
- data/lib/oci/data_safe/models/policy_format.rb +10 -0
- data/lib/oci/data_safe/models/ppf_format_entry.rb +179 -0
- data/lib/oci/data_safe/models/preserve_original_data_format_entry.rb +153 -0
- data/lib/oci/data_safe/models/provision_audit_conditions.rb +199 -0
- data/lib/oci/data_safe/models/provision_audit_policy_details.rb +170 -0
- data/lib/oci/data_safe/models/random_date_format_entry.rb +189 -0
- data/lib/oci/data_safe/models/random_decimal_number_format_entry.rb +190 -0
- data/lib/oci/data_safe/models/random_digits_format_entry.rb +193 -0
- data/lib/oci/data_safe/models/random_list_format_entry.rb +173 -0
- data/lib/oci/data_safe/models/random_number_format_entry.rb +192 -0
- data/lib/oci/data_safe/models/random_string_format_entry.rb +192 -0
- data/lib/oci/data_safe/models/random_substitution_format_entry.rb +204 -0
- data/lib/oci/data_safe/models/regular_expression_format_entry.rb +189 -0
- data/lib/oci/data_safe/models/report.rb +333 -0
- data/lib/oci/data_safe/models/report_collection.rb +150 -0
- data/lib/oci/data_safe/models/report_definition.rb +474 -0
- data/lib/oci/data_safe/models/report_definition_collection.rb +150 -0
- data/lib/oci/data_safe/models/report_definition_data_source.rb +11 -0
- data/lib/oci/data_safe/models/report_definition_lifecycle_state.rb +14 -0
- data/lib/oci/data_safe/models/report_definition_summary.rb +378 -0
- data/lib/oci/data_safe/models/report_lifecycle_state.rb +11 -0
- data/lib/oci/data_safe/models/report_summary.rb +317 -0
- data/lib/oci/data_safe/models/role_summary.rb +238 -0
- data/lib/oci/data_safe/models/schema_summary.rb +168 -0
- data/lib/oci/data_safe/models/sensitive_category.rb +197 -0
- data/lib/oci/data_safe/models/sensitive_column.rb +559 -0
- data/lib/oci/data_safe/models/sensitive_column_collection.rb +150 -0
- data/lib/oci/data_safe/models/sensitive_column_lifecycle_state.rb +14 -0
- data/lib/oci/data_safe/models/sensitive_column_summary.rb +512 -0
- data/lib/oci/data_safe/models/sensitive_data_model.rb +438 -0
- data/lib/oci/data_safe/models/sensitive_data_model_collection.rb +150 -0
- data/lib/oci/data_safe/models/sensitive_data_model_summary.rb +320 -0
- data/lib/oci/data_safe/models/sensitive_type.rb +416 -0
- data/lib/oci/data_safe/models/sensitive_type_collection.rb +150 -0
- data/lib/oci/data_safe/models/sensitive_type_entity.rb +11 -0
- data/lib/oci/data_safe/models/sensitive_type_pattern.rb +292 -0
- data/lib/oci/data_safe/models/sensitive_type_source.rb +11 -0
- data/lib/oci/data_safe/models/sensitive_type_summary.rb +394 -0
- data/lib/oci/data_safe/models/service_list.rb +1 -0
- data/lib/oci/data_safe/models/shuffle_format_entry.rb +177 -0
- data/lib/oci/data_safe/models/sql_expression_format_entry.rb +176 -0
- data/lib/oci/data_safe/models/start_audit_trail_details.rb +172 -0
- data/lib/oci/data_safe/models/substring_format_entry.rb +187 -0
- data/lib/oci/data_safe/models/summary.rb +222 -0
- data/lib/oci/data_safe/models/table_summary.rb +168 -0
- data/lib/oci/data_safe/models/target_alert_policy_association.rb +348 -0
- data/lib/oci/data_safe/models/target_alert_policy_association_collection.rb +150 -0
- data/lib/oci/data_safe/models/target_alert_policy_association_summary.rb +332 -0
- data/lib/oci/data_safe/models/target_database.rb +15 -1
- data/lib/oci/data_safe/models/target_database_summary.rb +15 -1
- data/lib/oci/data_safe/models/truncate_table_format_entry.rb +154 -0
- data/lib/oci/data_safe/models/udf_format_entry.rb +173 -0
- data/lib/oci/data_safe/models/update_alert_details.rb +207 -0
- data/lib/oci/data_safe/models/update_alert_policy_rule_details.rb +160 -0
- data/lib/oci/data_safe/models/update_audit_archive_retrieval_details.rb +198 -0
- data/lib/oci/data_safe/models/update_audit_policy_details.rb +198 -0
- data/lib/oci/data_safe/models/update_audit_profile_details.rb +215 -0
- data/lib/oci/data_safe/models/update_audit_trail_details.rb +216 -0
- data/lib/oci/data_safe/models/update_column_source_details.rb +184 -0
- data/lib/oci/data_safe/models/update_column_source_sdm_details.rb +162 -0
- data/lib/oci/data_safe/models/update_column_source_target_details.rb +162 -0
- data/lib/oci/data_safe/models/update_library_masking_format_details.rb +228 -0
- data/lib/oci/data_safe/models/update_masking_column_details.rb +239 -0
- data/lib/oci/data_safe/models/update_masking_policy_details.rb +329 -0
- data/lib/oci/data_safe/models/update_report_definition_details.rb +250 -0
- data/lib/oci/data_safe/models/update_sensitive_category_details.rb +169 -0
- data/lib/oci/data_safe/models/update_sensitive_column_details.rb +280 -0
- data/lib/oci/data_safe/models/update_sensitive_data_model_details.rb +299 -0
- data/lib/oci/data_safe/models/update_sensitive_type_details.rb +272 -0
- data/lib/oci/data_safe/models/update_sensitive_type_pattern_details.rb +244 -0
- data/lib/oci/data_safe/models/update_target_alert_policy_association_details.rb +213 -0
- data/lib/oci/data_safe/models/work_request.rb +57 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +56 -0
- data/lib/oci/data_science/data_science.rb +1 -0
- data/lib/oci/data_science/data_science_client.rb +71 -2
- data/lib/oci/data_science/data_science_client_composite_operations.rb +1 -1
- data/lib/oci/data_science/models/fast_launch_job_config_summary.rb +272 -0
- data/lib/oci/database/models/autonomous_database.rb +2 -1
- data/lib/oci/database/models/autonomous_database_summary.rb +2 -1
- data/lib/oci/database_management/database_management.rb +14 -0
- data/lib/oci/database_management/db_management_client.rb +544 -8
- data/lib/oci/database_management/models/add_data_files_details.rb +303 -0
- data/lib/oci/database_management/models/asm_property.rb +151 -0
- data/lib/oci/database_management/models/asm_property_collection.rb +150 -0
- data/lib/oci/database_management/models/asm_property_summary.rb +154 -0
- data/lib/oci/database_management/models/clone_sql_tuning_task_details.rb +4 -4
- data/lib/oci/database_management/models/consumer_group_privilege_collection.rb +2 -2
- data/lib/oci/database_management/models/consumer_group_privilege_summary.rb +4 -4
- data/lib/oci/database_management/models/create_tablespace_details.rb +508 -0
- data/lib/oci/database_management/models/data_access_container_collection.rb +2 -2
- data/lib/oci/database_management/models/data_access_container_summary.rb +2 -2
- data/lib/oci/database_management/models/drop_sql_tuning_task_details.rb +3 -3
- data/lib/oci/database_management/models/drop_tablespace_details.rb +199 -0
- data/lib/oci/database_management/models/execution_plan_stats_comparision.rb +1 -1
- data/lib/oci/database_management/models/object_privilege_collection.rb +2 -2
- data/lib/oci/database_management/models/object_privilege_summary.rb +9 -9
- data/lib/oci/database_management/models/proxied_for_user_collection.rb +2 -2
- data/lib/oci/database_management/models/proxied_for_user_summary.rb +4 -4
- data/lib/oci/database_management/models/proxy_user_collection.rb +2 -2
- data/lib/oci/database_management/models/proxy_user_summary.rb +4 -4
- data/lib/oci/database_management/models/remove_data_file_details.rb +197 -0
- data/lib/oci/database_management/models/resize_data_file_details.rb +272 -0
- data/lib/oci/database_management/models/role_collection.rb +2 -2
- data/lib/oci/database_management/models/role_summary.rb +9 -9
- data/lib/oci/database_management/models/sql_tuning_advisor_task_finding_collection.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_advisor_task_finding_summary.rb +19 -19
- data/lib/oci/database_management/models/sql_tuning_advisor_task_recommendation_summary.rb +6 -6
- data/lib/oci/database_management/models/sql_tuning_advisor_task_sql_execution_plan.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary.rb +13 -13
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary_finding_benefits.rb +21 -21
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary_finding_counts.rb +7 -7
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary_report_statement_counts.rb +5 -5
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary_report_statistics.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_advisor_task_summary_report_task_info.rb +9 -9
- data/lib/oci/database_management/models/sql_tuning_task_credential_details.rb +3 -3
- data/lib/oci/database_management/models/sql_tuning_task_password_credential_details.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_task_plan_stats.rb +2 -2
- data/lib/oci/database_management/models/sql_tuning_task_return.rb +3 -3
- data/lib/oci/database_management/models/sql_tuning_task_secret_credential_details.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_task_sql_detail.rb +1 -1
- data/lib/oci/database_management/models/sql_tuning_task_sql_execution_plan_step.rb +30 -30
- data/lib/oci/database_management/models/start_sql_tuning_task_details.rb +8 -8
- data/lib/oci/database_management/models/system_privilege_collection.rb +2 -2
- data/lib/oci/database_management/models/system_privilege_summary.rb +7 -7
- data/lib/oci/database_management/models/tablespace.rb +217 -81
- data/lib/oci/database_management/models/tablespace_admin_credential_details.rb +217 -0
- data/lib/oci/database_management/models/tablespace_admin_password_credential_details.rb +166 -0
- data/lib/oci/database_management/models/tablespace_admin_secret_credential_details.rb +173 -0
- data/lib/oci/database_management/models/tablespace_admin_status.rb +201 -0
- data/lib/oci/database_management/models/tablespace_storage_size.rb +178 -0
- data/lib/oci/database_management/models/tablespace_summary.rb +16 -1
- data/lib/oci/database_management/models/update_tablespace_details.rb +303 -0
- data/lib/oci/database_management/models/user.rb +15 -15
- data/lib/oci/database_management/models/user_collection.rb +1 -1
- data/lib/oci/database_management/models/user_summary.rb +3 -3
- data/lib/oci/database_management/sql_tuning_client.rb +24 -21
- data/lib/oci/loggingsearch/log_search_client.rb +4 -1
- data/lib/oci/marketplace/account_client.rb +1 -1
- data/lib/oci/marketplace/marketplace_client.rb +7 -4
- data/lib/oci/marketplace/models/free_text_search_details.rb +2 -1
- data/lib/oci/marketplace/models/listing_summary.rb +17 -1
- data/lib/oci/marketplace/models/search_listings_details.rb +4 -2
- data/lib/oci/marketplace/models/structured_search_details.rb +3 -1
- data/lib/oci/nosql/models/table_collection.rb +32 -4
- data/lib/oci/nosql/models/table_limits.rb +41 -4
- data/lib/oci/osp_gateway/invoice_service_client.rb +1 -1
- data/lib/oci/osp_gateway/models/authorize_subscription_payment_details.rb +174 -0
- data/lib/oci/osp_gateway/models/authorize_subscription_payment_receipt.rb +182 -0
- data/lib/oci/osp_gateway/models/{address.rb → bill_to_address.rb} +1 -1
- data/lib/oci/osp_gateway/models/billing_address.rb +274 -0
- data/lib/oci/osp_gateway/models/credit_card_payment_option.rb +153 -0
- data/lib/oci/osp_gateway/models/credit_card_type.rb +16 -0
- data/lib/oci/osp_gateway/models/invoice.rb +3 -3
- data/lib/oci/osp_gateway/models/merchant_defined_data.rb +168 -0
- data/lib/oci/osp_gateway/models/pay_subscription_details.rb +174 -0
- data/lib/oci/osp_gateway/models/pay_subscription_receipt.rb +182 -0
- data/lib/oci/osp_gateway/models/payment_detail.rb +1 -1
- data/lib/oci/osp_gateway/models/payment_gateway.rb +153 -0
- data/lib/oci/osp_gateway/models/payment_method.rb +11 -0
- data/lib/oci/osp_gateway/models/payment_option.rb +219 -0
- data/lib/oci/osp_gateway/models/paypal_payment_option.rb +153 -0
- data/lib/oci/osp_gateway/models/subscription.rb +456 -0
- data/lib/oci/osp_gateway/models/subscription_collection.rb +150 -0
- data/lib/oci/osp_gateway/models/subscription_summary.rb +459 -0
- data/lib/oci/osp_gateway/models/tax_info.rb +210 -0
- data/lib/oci/osp_gateway/models/update_subscription_details.rb +160 -0
- data/lib/oci/osp_gateway/osp_gateway.rb +19 -1
- data/lib/oci/osp_gateway/subscription_service_client.rb +481 -0
- data/lib/oci/osp_gateway/subscription_service_client_composite_operations.rb +25 -0
- data/lib/oci/regions_definitions.rb +9 -4
- data/lib/oci/threat_intelligence/models/data_attribution.rb +198 -0
- data/lib/oci/threat_intelligence/models/data_visibility.rb +187 -0
- data/lib/oci/threat_intelligence/models/entity_reference.rb +185 -0
- data/lib/oci/threat_intelligence/models/indicator.rb +320 -0
- data/lib/oci/threat_intelligence/models/indicator_attribute.rb +170 -0
- data/lib/oci/threat_intelligence/models/indicator_count_collection.rb +150 -0
- data/lib/oci/threat_intelligence/models/indicator_count_dimensions.rb +189 -0
- data/lib/oci/threat_intelligence/models/indicator_count_summary.rb +160 -0
- data/lib/oci/threat_intelligence/models/indicator_reference.rb +162 -0
- data/lib/oci/threat_intelligence/models/indicator_relationship.rb +174 -0
- data/lib/oci/threat_intelligence/models/indicator_source_summary.rb +150 -0
- data/lib/oci/threat_intelligence/models/indicator_summary.rb +294 -0
- data/lib/oci/threat_intelligence/models/indicator_summary_collection.rb +150 -0
- data/lib/oci/threat_intelligence/models/indicator_type.rb +16 -0
- data/lib/oci/threat_intelligence/models/lifecycle_state.rb +11 -0
- data/lib/oci/threat_intelligence/models/sort_order.rb +11 -0
- data/lib/oci/threat_intelligence/models/threat_type.rb +170 -0
- data/lib/oci/threat_intelligence/models/threat_type_summary.rb +160 -0
- data/lib/oci/threat_intelligence/models/threat_types_collection.rb +150 -0
- data/lib/oci/threat_intelligence/threat_intelligence.rb +38 -0
- data/lib/oci/threat_intelligence/threatintel_client.rb +375 -0
- data/lib/oci/threat_intelligence/threatintel_client_composite_operations.rb +25 -0
- data/lib/oci/threat_intelligence/util.rb +3 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci.rb +6 -23
- metadata +432 -3
@@ -100,6 +100,75 @@ module OCI
|
|
100
100
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
101
101
|
|
102
102
|
|
103
|
+
# Adds data files or temp files to the tablespace.
|
104
|
+
#
|
105
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
106
|
+
# @param [String] tablespace_name The name of the tablespace.
|
107
|
+
# @param [OCI::DatabaseManagement::Models::AddDataFilesDetails] add_data_files_details The details required to add data files or temp files to the tablespace.
|
108
|
+
#
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
111
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
112
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
113
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
114
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
115
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
116
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
117
|
+
# might be rejected.
|
118
|
+
#
|
119
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::TablespaceAdminStatus TablespaceAdminStatus}
|
120
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/add_data_files.rb.html) to see an example of how to use add_data_files API.
|
121
|
+
def add_data_files(managed_database_id, tablespace_name, add_data_files_details, opts = {})
|
122
|
+
logger.debug 'Calling operation DbManagementClient#add_data_files.' if logger
|
123
|
+
|
124
|
+
raise "Missing the required parameter 'managed_database_id' when calling add_data_files." if managed_database_id.nil?
|
125
|
+
raise "Missing the required parameter 'tablespace_name' when calling add_data_files." if tablespace_name.nil?
|
126
|
+
raise "Missing the required parameter 'add_data_files_details' when calling add_data_files." if add_data_files_details.nil?
|
127
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
128
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
129
|
+
|
130
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/addDataFiles'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
131
|
+
operation_signing_strategy = :standard
|
132
|
+
|
133
|
+
# rubocop:disable Style/NegatedIf
|
134
|
+
# Query Params
|
135
|
+
query_params = {}
|
136
|
+
|
137
|
+
# Header Params
|
138
|
+
header_params = {}
|
139
|
+
header_params[:accept] = 'application/json'
|
140
|
+
header_params[:'content-type'] = 'application/json'
|
141
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
142
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
143
|
+
# rubocop:enable Style/NegatedIf
|
144
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
145
|
+
|
146
|
+
post_body = @api_client.object_to_http_body(add_data_files_details)
|
147
|
+
|
148
|
+
# rubocop:disable Metrics/BlockLength
|
149
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#add_data_files') do
|
150
|
+
@api_client.call_api(
|
151
|
+
:POST,
|
152
|
+
path,
|
153
|
+
endpoint,
|
154
|
+
header_params: header_params,
|
155
|
+
query_params: query_params,
|
156
|
+
operation_signing_strategy: operation_signing_strategy,
|
157
|
+
body: post_body,
|
158
|
+
return_type: 'OCI::DatabaseManagement::Models::TablespaceAdminStatus'
|
159
|
+
)
|
160
|
+
end
|
161
|
+
# rubocop:enable Metrics/BlockLength
|
162
|
+
end
|
163
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
164
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
165
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
166
|
+
|
167
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
168
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
169
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
170
|
+
|
171
|
+
|
103
172
|
# Adds a Managed Database to a specific Managed Database Group.
|
104
173
|
# After the database is added, it will be included in the
|
105
174
|
# management activities performed on the Managed Database Group.
|
@@ -646,6 +715,71 @@ module OCI
|
|
646
715
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
647
716
|
|
648
717
|
|
718
|
+
# Creates a tablespace within the Managed Database specified by managedDatabaseId.
|
719
|
+
#
|
720
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
721
|
+
# @param [OCI::DatabaseManagement::Models::CreateTablespaceDetails] create_tablespace_details The details required to create a tablespace.
|
722
|
+
# @param [Hash] opts the optional parameters
|
723
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
724
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
725
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
726
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
727
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
728
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
729
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
730
|
+
# might be rejected.
|
731
|
+
#
|
732
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::Tablespace Tablespace}
|
733
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/create_tablespace.rb.html) to see an example of how to use create_tablespace API.
|
734
|
+
def create_tablespace(managed_database_id, create_tablespace_details, opts = {})
|
735
|
+
logger.debug 'Calling operation DbManagementClient#create_tablespace.' if logger
|
736
|
+
|
737
|
+
raise "Missing the required parameter 'managed_database_id' when calling create_tablespace." if managed_database_id.nil?
|
738
|
+
raise "Missing the required parameter 'create_tablespace_details' when calling create_tablespace." if create_tablespace_details.nil?
|
739
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
740
|
+
|
741
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces'.sub('{managedDatabaseId}', managed_database_id.to_s)
|
742
|
+
operation_signing_strategy = :standard
|
743
|
+
|
744
|
+
# rubocop:disable Style/NegatedIf
|
745
|
+
# Query Params
|
746
|
+
query_params = {}
|
747
|
+
|
748
|
+
# Header Params
|
749
|
+
header_params = {}
|
750
|
+
header_params[:accept] = 'application/json'
|
751
|
+
header_params[:'content-type'] = 'application/json'
|
752
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
753
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
754
|
+
# rubocop:enable Style/NegatedIf
|
755
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
756
|
+
|
757
|
+
post_body = @api_client.object_to_http_body(create_tablespace_details)
|
758
|
+
|
759
|
+
# rubocop:disable Metrics/BlockLength
|
760
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#create_tablespace') do
|
761
|
+
@api_client.call_api(
|
762
|
+
:POST,
|
763
|
+
path,
|
764
|
+
endpoint,
|
765
|
+
header_params: header_params,
|
766
|
+
query_params: query_params,
|
767
|
+
operation_signing_strategy: operation_signing_strategy,
|
768
|
+
body: post_body,
|
769
|
+
return_type: 'OCI::DatabaseManagement::Models::Tablespace'
|
770
|
+
)
|
771
|
+
end
|
772
|
+
# rubocop:enable Metrics/BlockLength
|
773
|
+
end
|
774
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
775
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
776
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
777
|
+
|
778
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
779
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
780
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
781
|
+
|
782
|
+
|
649
783
|
# Deletes a specific Database Management private endpoint.
|
650
784
|
# @param [String] db_management_private_endpoint_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint.
|
651
785
|
# @param [Hash] opts the optional parameters
|
@@ -828,6 +962,74 @@ module OCI
|
|
828
962
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
829
963
|
|
830
964
|
|
965
|
+
# Drops the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
|
966
|
+
#
|
967
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
968
|
+
# @param [String] tablespace_name The name of the tablespace.
|
969
|
+
# @param [OCI::DatabaseManagement::Models::DropTablespaceDetails] drop_tablespace_details The details required to drop a tablespace.
|
970
|
+
# @param [Hash] opts the optional parameters
|
971
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
972
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
973
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
974
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
975
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
976
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
977
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
978
|
+
# might be rejected.
|
979
|
+
#
|
980
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::TablespaceAdminStatus TablespaceAdminStatus}
|
981
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/drop_tablespace.rb.html) to see an example of how to use drop_tablespace API.
|
982
|
+
def drop_tablespace(managed_database_id, tablespace_name, drop_tablespace_details, opts = {})
|
983
|
+
logger.debug 'Calling operation DbManagementClient#drop_tablespace.' if logger
|
984
|
+
|
985
|
+
raise "Missing the required parameter 'managed_database_id' when calling drop_tablespace." if managed_database_id.nil?
|
986
|
+
raise "Missing the required parameter 'tablespace_name' when calling drop_tablespace." if tablespace_name.nil?
|
987
|
+
raise "Missing the required parameter 'drop_tablespace_details' when calling drop_tablespace." if drop_tablespace_details.nil?
|
988
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
989
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
990
|
+
|
991
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/dropTablespace'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
992
|
+
operation_signing_strategy = :standard
|
993
|
+
|
994
|
+
# rubocop:disable Style/NegatedIf
|
995
|
+
# Query Params
|
996
|
+
query_params = {}
|
997
|
+
|
998
|
+
# Header Params
|
999
|
+
header_params = {}
|
1000
|
+
header_params[:accept] = 'application/json'
|
1001
|
+
header_params[:'content-type'] = 'application/json'
|
1002
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1003
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1004
|
+
# rubocop:enable Style/NegatedIf
|
1005
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1006
|
+
|
1007
|
+
post_body = @api_client.object_to_http_body(drop_tablespace_details)
|
1008
|
+
|
1009
|
+
# rubocop:disable Metrics/BlockLength
|
1010
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#drop_tablespace') do
|
1011
|
+
@api_client.call_api(
|
1012
|
+
:POST,
|
1013
|
+
path,
|
1014
|
+
endpoint,
|
1015
|
+
header_params: header_params,
|
1016
|
+
query_params: query_params,
|
1017
|
+
operation_signing_strategy: operation_signing_strategy,
|
1018
|
+
body: post_body,
|
1019
|
+
return_type: 'OCI::DatabaseManagement::Models::TablespaceAdminStatus'
|
1020
|
+
)
|
1021
|
+
end
|
1022
|
+
# rubocop:enable Metrics/BlockLength
|
1023
|
+
end
|
1024
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1025
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1026
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1027
|
+
|
1028
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1029
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1030
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1031
|
+
|
1032
|
+
|
831
1033
|
# Gets the AWR report for the specific database.
|
832
1034
|
#
|
833
1035
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
@@ -1638,7 +1840,65 @@ module OCI
|
|
1638
1840
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1639
1841
|
|
1640
1842
|
|
1641
|
-
# Gets the details of
|
1843
|
+
# Gets the details of the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
|
1844
|
+
#
|
1845
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
1846
|
+
# @param [String] tablespace_name The name of the tablespace.
|
1847
|
+
# @param [Hash] opts the optional parameters
|
1848
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1849
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1850
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1851
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::Tablespace Tablespace}
|
1852
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/get_tablespace.rb.html) to see an example of how to use get_tablespace API.
|
1853
|
+
def get_tablespace(managed_database_id, tablespace_name, opts = {})
|
1854
|
+
logger.debug 'Calling operation DbManagementClient#get_tablespace.' if logger
|
1855
|
+
|
1856
|
+
raise "Missing the required parameter 'managed_database_id' when calling get_tablespace." if managed_database_id.nil?
|
1857
|
+
raise "Missing the required parameter 'tablespace_name' when calling get_tablespace." if tablespace_name.nil?
|
1858
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
1859
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
1860
|
+
|
1861
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
1862
|
+
operation_signing_strategy = :standard
|
1863
|
+
|
1864
|
+
# rubocop:disable Style/NegatedIf
|
1865
|
+
# Query Params
|
1866
|
+
query_params = {}
|
1867
|
+
|
1868
|
+
# Header Params
|
1869
|
+
header_params = {}
|
1870
|
+
header_params[:accept] = 'application/json'
|
1871
|
+
header_params[:'content-type'] = 'application/json'
|
1872
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1873
|
+
# rubocop:enable Style/NegatedIf
|
1874
|
+
|
1875
|
+
post_body = nil
|
1876
|
+
|
1877
|
+
# rubocop:disable Metrics/BlockLength
|
1878
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#get_tablespace') do
|
1879
|
+
@api_client.call_api(
|
1880
|
+
:GET,
|
1881
|
+
path,
|
1882
|
+
endpoint,
|
1883
|
+
header_params: header_params,
|
1884
|
+
query_params: query_params,
|
1885
|
+
operation_signing_strategy: operation_signing_strategy,
|
1886
|
+
body: post_body,
|
1887
|
+
return_type: 'OCI::DatabaseManagement::Models::Tablespace'
|
1888
|
+
)
|
1889
|
+
end
|
1890
|
+
# rubocop:enable Metrics/BlockLength
|
1891
|
+
end
|
1892
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1893
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1894
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1895
|
+
|
1896
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1897
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1898
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1899
|
+
|
1900
|
+
|
1901
|
+
# Gets the details of the user specified by managedDatabaseId and userName.
|
1642
1902
|
#
|
1643
1903
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
1644
1904
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
@@ -1750,6 +2010,84 @@ module OCI
|
|
1750
2010
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1751
2011
|
|
1752
2012
|
|
2013
|
+
# Gets the list of ASM properties for the specified managedDatabaseId.
|
2014
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2015
|
+
# @param [Hash] opts the optional parameters
|
2016
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2017
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2018
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
2019
|
+
# @option opts [String] :name A filter to return only resources that match the entire name.
|
2020
|
+
# @option opts [String] :sort_by The field to sort information by. Only one sortOrder can be used. The default sort order
|
2021
|
+
# for \u2018TIMECREATED\u2019 is descending and the default sort order for \u2018NAME\u2019 is ascending.
|
2022
|
+
# The \u2018NAME\u2019 sort order is case-sensitive.
|
2023
|
+
# (default to TIMECREATED)
|
2024
|
+
# Allowed values are: TIMECREATED, NAME
|
2025
|
+
# @option opts [String] :sort_order The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Ascending order is the default order. (default to ASC)
|
2026
|
+
# @option opts [String] :page The page token representing the page from where the next set of paginated results
|
2027
|
+
# are retrieved. This is usually retrieved from a previous list call.
|
2028
|
+
#
|
2029
|
+
# @option opts [Integer] :limit The maximum number of records returned in the paginated response. (default to 10)
|
2030
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::AsmPropertyCollection AsmPropertyCollection}
|
2031
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/list_asm_properties.rb.html) to see an example of how to use list_asm_properties API.
|
2032
|
+
def list_asm_properties(managed_database_id, opts = {})
|
2033
|
+
logger.debug 'Calling operation DbManagementClient#list_asm_properties.' if logger
|
2034
|
+
|
2035
|
+
raise "Missing the required parameter 'managed_database_id' when calling list_asm_properties." if managed_database_id.nil?
|
2036
|
+
|
2037
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
2038
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
if opts[:sort_order] && !OCI::DatabaseManagement::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
|
2042
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::DatabaseManagement::Models::SORT_ORDERS_ENUM.'
|
2043
|
+
end
|
2044
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
2045
|
+
|
2046
|
+
path = '/managedDatabases/{managedDatabaseId}/asmProperties'.sub('{managedDatabaseId}', managed_database_id.to_s)
|
2047
|
+
operation_signing_strategy = :standard
|
2048
|
+
|
2049
|
+
# rubocop:disable Style/NegatedIf
|
2050
|
+
# Query Params
|
2051
|
+
query_params = {}
|
2052
|
+
query_params[:name] = opts[:name] if opts[:name]
|
2053
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
2054
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
2055
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2056
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2057
|
+
|
2058
|
+
# Header Params
|
2059
|
+
header_params = {}
|
2060
|
+
header_params[:accept] = 'application/json'
|
2061
|
+
header_params[:'content-type'] = 'application/json'
|
2062
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2063
|
+
# rubocop:enable Style/NegatedIf
|
2064
|
+
|
2065
|
+
post_body = nil
|
2066
|
+
|
2067
|
+
# rubocop:disable Metrics/BlockLength
|
2068
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#list_asm_properties') do
|
2069
|
+
@api_client.call_api(
|
2070
|
+
:GET,
|
2071
|
+
path,
|
2072
|
+
endpoint,
|
2073
|
+
header_params: header_params,
|
2074
|
+
query_params: query_params,
|
2075
|
+
operation_signing_strategy: operation_signing_strategy,
|
2076
|
+
body: post_body,
|
2077
|
+
return_type: 'OCI::DatabaseManagement::Models::AsmPropertyCollection'
|
2078
|
+
)
|
2079
|
+
end
|
2080
|
+
# rubocop:enable Metrics/BlockLength
|
2081
|
+
end
|
2082
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2083
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2084
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2085
|
+
|
2086
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2087
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2088
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2089
|
+
|
2090
|
+
|
1753
2091
|
# Gets the list of databases using a specific Database Management private endpoint.
|
1754
2092
|
# @param [String] db_management_private_endpoint_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint.
|
1755
2093
|
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
@@ -2018,7 +2356,7 @@ module OCI
|
|
2018
2356
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2019
2357
|
|
2020
2358
|
|
2021
|
-
# Gets the list of
|
2359
|
+
# Gets the list of consumer group privileges granted to a specific user.
|
2022
2360
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2023
2361
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
2024
2362
|
# @param [Hash] opts the optional parameters
|
@@ -2098,7 +2436,7 @@ module OCI
|
|
2098
2436
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2099
2437
|
|
2100
2438
|
|
2101
|
-
# Gets the list of
|
2439
|
+
# Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !='Y'.
|
2102
2440
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2103
2441
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
2104
2442
|
# @param [Hash] opts the optional parameters
|
@@ -2823,7 +3161,7 @@ module OCI
|
|
2823
3161
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2824
3162
|
|
2825
3163
|
|
2826
|
-
# Gets the list of
|
3164
|
+
# Gets the list of object privileges granted to a specific user.
|
2827
3165
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2828
3166
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
2829
3167
|
# @param [Hash] opts the optional parameters
|
@@ -2903,7 +3241,7 @@ module OCI
|
|
2903
3241
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2904
3242
|
|
2905
3243
|
|
2906
|
-
# Gets the list of
|
3244
|
+
# Gets the list of users on whose behalf the current user acts as proxy.
|
2907
3245
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2908
3246
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
2909
3247
|
# @param [Hash] opts the optional parameters
|
@@ -2983,7 +3321,7 @@ module OCI
|
|
2983
3321
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2984
3322
|
|
2985
3323
|
|
2986
|
-
# Gets the list of proxy users for the current
|
3324
|
+
# Gets the list of proxy users for the current user.
|
2987
3325
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
2988
3326
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
2989
3327
|
# @param [Hash] opts the optional parameters
|
@@ -3063,7 +3401,7 @@ module OCI
|
|
3063
3401
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3064
3402
|
|
3065
3403
|
|
3066
|
-
# Gets the list of roles granted
|
3404
|
+
# Gets the list of roles granted to a specific user.
|
3067
3405
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
3068
3406
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
3069
3407
|
# @param [Hash] opts the optional parameters
|
@@ -3143,7 +3481,7 @@ module OCI
|
|
3143
3481
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3144
3482
|
|
3145
3483
|
|
3146
|
-
# Gets the list of
|
3484
|
+
# Gets the list of system privileges granted to a specific user.
|
3147
3485
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
3148
3486
|
# @param [String] user_name The name of the user whose details are to be viewed.
|
3149
3487
|
# @param [Hash] opts the optional parameters
|
@@ -3614,6 +3952,75 @@ module OCI
|
|
3614
3952
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3615
3953
|
|
3616
3954
|
|
3955
|
+
# Removes a data file or temp file from the tablespace.
|
3956
|
+
#
|
3957
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
3958
|
+
# @param [String] tablespace_name The name of the tablespace.
|
3959
|
+
# @param [OCI::DatabaseManagement::Models::RemoveDataFileDetails] remove_data_file_details The details required to remove a data file or temp file from the tablespace.
|
3960
|
+
#
|
3961
|
+
# @param [Hash] opts the optional parameters
|
3962
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3963
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3964
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
3965
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3966
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
3967
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3968
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
3969
|
+
# might be rejected.
|
3970
|
+
#
|
3971
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::TablespaceAdminStatus TablespaceAdminStatus}
|
3972
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/remove_data_file.rb.html) to see an example of how to use remove_data_file API.
|
3973
|
+
def remove_data_file(managed_database_id, tablespace_name, remove_data_file_details, opts = {})
|
3974
|
+
logger.debug 'Calling operation DbManagementClient#remove_data_file.' if logger
|
3975
|
+
|
3976
|
+
raise "Missing the required parameter 'managed_database_id' when calling remove_data_file." if managed_database_id.nil?
|
3977
|
+
raise "Missing the required parameter 'tablespace_name' when calling remove_data_file." if tablespace_name.nil?
|
3978
|
+
raise "Missing the required parameter 'remove_data_file_details' when calling remove_data_file." if remove_data_file_details.nil?
|
3979
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
3980
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
3981
|
+
|
3982
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/removeDataFile'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
3983
|
+
operation_signing_strategy = :standard
|
3984
|
+
|
3985
|
+
# rubocop:disable Style/NegatedIf
|
3986
|
+
# Query Params
|
3987
|
+
query_params = {}
|
3988
|
+
|
3989
|
+
# Header Params
|
3990
|
+
header_params = {}
|
3991
|
+
header_params[:accept] = 'application/json'
|
3992
|
+
header_params[:'content-type'] = 'application/json'
|
3993
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3994
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
3995
|
+
# rubocop:enable Style/NegatedIf
|
3996
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
3997
|
+
|
3998
|
+
post_body = @api_client.object_to_http_body(remove_data_file_details)
|
3999
|
+
|
4000
|
+
# rubocop:disable Metrics/BlockLength
|
4001
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#remove_data_file') do
|
4002
|
+
@api_client.call_api(
|
4003
|
+
:POST,
|
4004
|
+
path,
|
4005
|
+
endpoint,
|
4006
|
+
header_params: header_params,
|
4007
|
+
query_params: query_params,
|
4008
|
+
operation_signing_strategy: operation_signing_strategy,
|
4009
|
+
body: post_body,
|
4010
|
+
return_type: 'OCI::DatabaseManagement::Models::TablespaceAdminStatus'
|
4011
|
+
)
|
4012
|
+
end
|
4013
|
+
# rubocop:enable Metrics/BlockLength
|
4014
|
+
end
|
4015
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4016
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4017
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4018
|
+
|
4019
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4020
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4021
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4022
|
+
|
4023
|
+
|
3617
4024
|
# Removes a Managed Database from a Managed Database Group. Any management
|
3618
4025
|
# activities that are currently running on this database will continue to
|
3619
4026
|
# run to completion. However, any activities scheduled to run in the future
|
@@ -3746,6 +4153,75 @@ module OCI
|
|
3746
4153
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3747
4154
|
|
3748
4155
|
|
4156
|
+
# Resizes a data file or temp file within the tablespace.
|
4157
|
+
#
|
4158
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
4159
|
+
# @param [String] tablespace_name The name of the tablespace.
|
4160
|
+
# @param [OCI::DatabaseManagement::Models::ResizeDataFileDetails] resize_data_file_details The details required to resize a data file or temp file within the tablespace.
|
4161
|
+
#
|
4162
|
+
# @param [Hash] opts the optional parameters
|
4163
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4164
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4165
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
4166
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4167
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
4168
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
4169
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
4170
|
+
# might be rejected.
|
4171
|
+
#
|
4172
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::TablespaceAdminStatus TablespaceAdminStatus}
|
4173
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/resize_data_file.rb.html) to see an example of how to use resize_data_file API.
|
4174
|
+
def resize_data_file(managed_database_id, tablespace_name, resize_data_file_details, opts = {})
|
4175
|
+
logger.debug 'Calling operation DbManagementClient#resize_data_file.' if logger
|
4176
|
+
|
4177
|
+
raise "Missing the required parameter 'managed_database_id' when calling resize_data_file." if managed_database_id.nil?
|
4178
|
+
raise "Missing the required parameter 'tablespace_name' when calling resize_data_file." if tablespace_name.nil?
|
4179
|
+
raise "Missing the required parameter 'resize_data_file_details' when calling resize_data_file." if resize_data_file_details.nil?
|
4180
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
4181
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
4182
|
+
|
4183
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/resizeDataFile'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
4184
|
+
operation_signing_strategy = :standard
|
4185
|
+
|
4186
|
+
# rubocop:disable Style/NegatedIf
|
4187
|
+
# Query Params
|
4188
|
+
query_params = {}
|
4189
|
+
|
4190
|
+
# Header Params
|
4191
|
+
header_params = {}
|
4192
|
+
header_params[:accept] = 'application/json'
|
4193
|
+
header_params[:'content-type'] = 'application/json'
|
4194
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4195
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
4196
|
+
# rubocop:enable Style/NegatedIf
|
4197
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
4198
|
+
|
4199
|
+
post_body = @api_client.object_to_http_body(resize_data_file_details)
|
4200
|
+
|
4201
|
+
# rubocop:disable Metrics/BlockLength
|
4202
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#resize_data_file') do
|
4203
|
+
@api_client.call_api(
|
4204
|
+
:POST,
|
4205
|
+
path,
|
4206
|
+
endpoint,
|
4207
|
+
header_params: header_params,
|
4208
|
+
query_params: query_params,
|
4209
|
+
operation_signing_strategy: operation_signing_strategy,
|
4210
|
+
body: post_body,
|
4211
|
+
return_type: 'OCI::DatabaseManagement::Models::TablespaceAdminStatus'
|
4212
|
+
)
|
4213
|
+
end
|
4214
|
+
# rubocop:enable Metrics/BlockLength
|
4215
|
+
end
|
4216
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4217
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4218
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4219
|
+
|
4220
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4221
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4222
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4223
|
+
|
4224
|
+
|
3749
4225
|
# Summarizes the AWR CPU resource limits and metrics for the specified database in AWR.
|
3750
4226
|
#
|
3751
4227
|
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
@@ -5008,6 +5484,66 @@ module OCI
|
|
5008
5484
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5009
5485
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5010
5486
|
|
5487
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5488
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5489
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5490
|
+
|
5491
|
+
|
5492
|
+
# Updates the attributes of the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
|
5493
|
+
#
|
5494
|
+
# @param [String] managed_database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
5495
|
+
# @param [String] tablespace_name The name of the tablespace.
|
5496
|
+
# @param [OCI::DatabaseManagement::Models::UpdateTablespaceDetails] update_tablespace_details The details required to update a tablespace.
|
5497
|
+
# @param [Hash] opts the optional parameters
|
5498
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
5499
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
5500
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
5501
|
+
# @return [Response] A Response object with data of type {OCI::DatabaseManagement::Models::Tablespace Tablespace}
|
5502
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/databasemanagement/update_tablespace.rb.html) to see an example of how to use update_tablespace API.
|
5503
|
+
def update_tablespace(managed_database_id, tablespace_name, update_tablespace_details, opts = {})
|
5504
|
+
logger.debug 'Calling operation DbManagementClient#update_tablespace.' if logger
|
5505
|
+
|
5506
|
+
raise "Missing the required parameter 'managed_database_id' when calling update_tablespace." if managed_database_id.nil?
|
5507
|
+
raise "Missing the required parameter 'tablespace_name' when calling update_tablespace." if tablespace_name.nil?
|
5508
|
+
raise "Missing the required parameter 'update_tablespace_details' when calling update_tablespace." if update_tablespace_details.nil?
|
5509
|
+
raise "Parameter value for 'managed_database_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_database_id)
|
5510
|
+
raise "Parameter value for 'tablespace_name' must not be blank" if OCI::Internal::Util.blank_string?(tablespace_name)
|
5511
|
+
|
5512
|
+
path = '/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}'.sub('{managedDatabaseId}', managed_database_id.to_s).sub('{tablespaceName}', tablespace_name.to_s)
|
5513
|
+
operation_signing_strategy = :standard
|
5514
|
+
|
5515
|
+
# rubocop:disable Style/NegatedIf
|
5516
|
+
# Query Params
|
5517
|
+
query_params = {}
|
5518
|
+
|
5519
|
+
# Header Params
|
5520
|
+
header_params = {}
|
5521
|
+
header_params[:accept] = 'application/json'
|
5522
|
+
header_params[:'content-type'] = 'application/json'
|
5523
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
5524
|
+
# rubocop:enable Style/NegatedIf
|
5525
|
+
|
5526
|
+
post_body = @api_client.object_to_http_body(update_tablespace_details)
|
5527
|
+
|
5528
|
+
# rubocop:disable Metrics/BlockLength
|
5529
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DbManagementClient#update_tablespace') do
|
5530
|
+
@api_client.call_api(
|
5531
|
+
:PUT,
|
5532
|
+
path,
|
5533
|
+
endpoint,
|
5534
|
+
header_params: header_params,
|
5535
|
+
query_params: query_params,
|
5536
|
+
operation_signing_strategy: operation_signing_strategy,
|
5537
|
+
body: post_body,
|
5538
|
+
return_type: 'OCI::DatabaseManagement::Models::Tablespace'
|
5539
|
+
)
|
5540
|
+
end
|
5541
|
+
# rubocop:enable Metrics/BlockLength
|
5542
|
+
end
|
5543
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5544
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5545
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5546
|
+
|
5011
5547
|
private
|
5012
5548
|
|
5013
5549
|
def applicable_retry_config(opts = {})
|