oci 2.16.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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
|
@@ -25,6 +25,20 @@ module OCI
|
|
|
25
25
|
# @return [BOOLEAN]
|
|
26
26
|
attr_accessor :is_pv_encryption_in_transit_enabled
|
|
27
27
|
|
|
28
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
29
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
30
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
31
|
+
#
|
|
32
|
+
# @return [Hash<String, String>]
|
|
33
|
+
attr_accessor :freeform_tags
|
|
34
|
+
|
|
35
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
36
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
37
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
38
|
+
#
|
|
39
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
40
|
+
attr_accessor :defined_tags
|
|
41
|
+
|
|
28
42
|
# The placement configurations for the node pool. Provide one placement
|
|
29
43
|
# configuration for each availability domain in which you intend to launch a node.
|
|
30
44
|
#
|
|
@@ -43,6 +57,8 @@ module OCI
|
|
|
43
57
|
'nsg_ids': :'nsgIds',
|
|
44
58
|
'kms_key_id': :'kmsKeyId',
|
|
45
59
|
'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled',
|
|
60
|
+
'freeform_tags': :'freeformTags',
|
|
61
|
+
'defined_tags': :'definedTags',
|
|
46
62
|
'placement_configs': :'placementConfigs'
|
|
47
63
|
# rubocop:enable Style/SymbolLiteral
|
|
48
64
|
}
|
|
@@ -56,6 +72,8 @@ module OCI
|
|
|
56
72
|
'nsg_ids': :'Array<String>',
|
|
57
73
|
'kms_key_id': :'String',
|
|
58
74
|
'is_pv_encryption_in_transit_enabled': :'BOOLEAN',
|
|
75
|
+
'freeform_tags': :'Hash<String, String>',
|
|
76
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
59
77
|
'placement_configs': :'Array<OCI::ContainerEngine::Models::NodePoolPlacementConfigDetails>'
|
|
60
78
|
# rubocop:enable Style/SymbolLiteral
|
|
61
79
|
}
|
|
@@ -71,6 +89,8 @@ module OCI
|
|
|
71
89
|
# @option attributes [Array<String>] :nsg_ids The value to assign to the {#nsg_ids} property
|
|
72
90
|
# @option attributes [String] :kms_key_id The value to assign to the {#kms_key_id} property
|
|
73
91
|
# @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {#is_pv_encryption_in_transit_enabled} property
|
|
92
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
93
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
74
94
|
# @option attributes [Array<OCI::ContainerEngine::Models::NodePoolPlacementConfigDetails>] :placement_configs The value to assign to the {#placement_configs} property
|
|
75
95
|
def initialize(attributes = {})
|
|
76
96
|
return unless attributes.is_a?(Hash)
|
|
@@ -100,6 +120,18 @@ module OCI
|
|
|
100
120
|
self.is_pv_encryption_in_transit_enabled = attributes[:'is_pv_encryption_in_transit_enabled'] unless attributes[:'is_pv_encryption_in_transit_enabled'].nil?
|
|
101
121
|
self.is_pv_encryption_in_transit_enabled = false if is_pv_encryption_in_transit_enabled.nil? && !attributes.key?(:'isPvEncryptionInTransitEnabled') && !attributes.key?(:'is_pv_encryption_in_transit_enabled') # rubocop:disable Style/StringLiterals
|
|
102
122
|
|
|
123
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
124
|
+
|
|
125
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
126
|
+
|
|
127
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
128
|
+
|
|
129
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
130
|
+
|
|
131
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
132
|
+
|
|
133
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
134
|
+
|
|
103
135
|
self.placement_configs = attributes[:'placementConfigs'] if attributes[:'placementConfigs']
|
|
104
136
|
|
|
105
137
|
raise 'You cannot provide both :placementConfigs and :placement_configs' if attributes.key?(:'placementConfigs') && attributes.key?(:'placement_configs')
|
|
@@ -122,6 +154,8 @@ module OCI
|
|
|
122
154
|
nsg_ids == other.nsg_ids &&
|
|
123
155
|
kms_key_id == other.kms_key_id &&
|
|
124
156
|
is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled &&
|
|
157
|
+
freeform_tags == other.freeform_tags &&
|
|
158
|
+
defined_tags == other.defined_tags &&
|
|
125
159
|
placement_configs == other.placement_configs
|
|
126
160
|
end
|
|
127
161
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
@@ -138,7 +172,7 @@ module OCI
|
|
|
138
172
|
# Calculates hash code according to all attributes.
|
|
139
173
|
# @return [Fixnum] Hash code
|
|
140
174
|
def hash
|
|
141
|
-
[size, nsg_ids, kms_key_id, is_pv_encryption_in_transit_enabled, placement_configs].hash
|
|
175
|
+
[size, nsg_ids, kms_key_id, is_pv_encryption_in_transit_enabled, freeform_tags, defined_tags, placement_configs].hash
|
|
142
176
|
end
|
|
143
177
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
144
178
|
|
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2022, 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
|
+
# Use the Oracle Cloud Infrastructure Dashboards service API to manage dashboards in the Console.
|
|
10
|
+
# Dashboards provide an organized and customizable view of resources and their metrics in the Console.
|
|
11
|
+
# For more information, see [Dashboards](/Content/Dashboards/home.htm).
|
|
12
|
+
#
|
|
13
|
+
# **Important:** Resources for the Dashboards service are created in the tenacy's home region.
|
|
14
|
+
# Although it is possible to create dashboard and dashboard group resources in regions other than the home region,
|
|
15
|
+
# you won't be able to view those resources in the Console.
|
|
16
|
+
# Therefore, creating resources outside of the home region is not recommended.
|
|
17
|
+
class DashboardService::DashboardClient
|
|
18
|
+
# Client used to make HTTP requests.
|
|
19
|
+
# @return [OCI::ApiClient]
|
|
20
|
+
attr_reader :api_client
|
|
21
|
+
|
|
22
|
+
# Fully qualified endpoint URL
|
|
23
|
+
# @return [String]
|
|
24
|
+
attr_reader :endpoint
|
|
25
|
+
|
|
26
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
|
27
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
|
28
|
+
# will not perform any retries
|
|
29
|
+
# @return [OCI::Retry::RetryConfig]
|
|
30
|
+
attr_reader :retry_config
|
|
31
|
+
|
|
32
|
+
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_reader :region
|
|
35
|
+
|
|
36
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# Creates a new DashboardClient.
|
|
40
|
+
# Notes:
|
|
41
|
+
# If a config is not specified, then the global OCI.config will be used.
|
|
42
|
+
#
|
|
43
|
+
# This client is not thread-safe
|
|
44
|
+
#
|
|
45
|
+
# Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
|
|
46
|
+
# region. A region may be specified in the config or via or the region parameter. If specified in both, then the
|
|
47
|
+
# region parameter will be used.
|
|
48
|
+
# @param [Config] config A Config object.
|
|
49
|
+
# @param [String] region A region used to determine the service endpoint. This will usually
|
|
50
|
+
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
|
51
|
+
# @param [String] endpoint The fully qualified endpoint URL
|
|
52
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
|
53
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
|
54
|
+
# so that the instance principals signer can be provided to the client
|
|
55
|
+
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
|
56
|
+
# the details for the proxy can be provided in this parameter
|
|
57
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
|
58
|
+
# 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
|
|
59
|
+
# will not perform any retries
|
|
60
|
+
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
|
61
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
|
62
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
|
63
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
|
64
|
+
# pass it to this constructor.
|
|
65
|
+
#
|
|
66
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
|
67
|
+
# so try and load the config from the default file.
|
|
68
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
|
69
|
+
|
|
70
|
+
signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
|
|
71
|
+
|
|
72
|
+
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
|
73
|
+
@retry_config = retry_config
|
|
74
|
+
|
|
75
|
+
if endpoint
|
|
76
|
+
@endpoint = endpoint + '/20210731'
|
|
77
|
+
else
|
|
78
|
+
region ||= config.region
|
|
79
|
+
region ||= signer.region if signer.respond_to?(:region)
|
|
80
|
+
self.region = region
|
|
81
|
+
end
|
|
82
|
+
logger.info "DashboardClient endpoint set to '#{@endpoint}'." if logger
|
|
83
|
+
end
|
|
84
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
|
85
|
+
|
|
86
|
+
# Set the region that will be used to determine the service endpoint.
|
|
87
|
+
# This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
|
|
88
|
+
# but may be an arbitrary string.
|
|
89
|
+
def region=(new_region)
|
|
90
|
+
@region = new_region
|
|
91
|
+
|
|
92
|
+
raise 'A region must be specified.' unless @region
|
|
93
|
+
|
|
94
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://dashboard.{region}.oci.{secondLevelDomain}') + '/20210731'
|
|
95
|
+
logger.info "DashboardClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# @return [Logger] The logger for this client. May be nil.
|
|
99
|
+
def logger
|
|
100
|
+
@api_client.config.logger
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
104
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
105
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
# Creates a new dashboard in the dashboard group's compartment using the details provided in request body.
|
|
109
|
+
#
|
|
110
|
+
# **Caution:** Resources for the Dashboard service are created in the tenacy's home region.
|
|
111
|
+
# Although it is possible to create dashboard resource in regions other than the home region,
|
|
112
|
+
# you won't be able to view those resources in the Console.
|
|
113
|
+
# Therefore, creating resources outside of the home region is not recommended.
|
|
114
|
+
#
|
|
115
|
+
# @param [OCI::DashboardService::Models::CreateDashboardDetails] create_dashboard_details Details about the dashboard being created.
|
|
116
|
+
# @param [Hash] opts the optional parameters
|
|
117
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
118
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
119
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server
|
|
120
|
+
# error without risk of executing that same action again.
|
|
121
|
+
# Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
|
122
|
+
# (for example, if a resource has been deleted and purged from the system,
|
|
123
|
+
# then a retry of the original creation request may be rejected).
|
|
124
|
+
#
|
|
125
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
126
|
+
# @option opts [String] :opc_cross_region To identify if the call is cross-regional. In CRUD calls for a resource, to
|
|
127
|
+
# identify that the call originates from different region, set the
|
|
128
|
+
# `CrossRegionIdentifierHeader` parameter to a region name (ex - `US-ASHBURN-1`)
|
|
129
|
+
# The call will be served from a Replicated bucket.
|
|
130
|
+
# For same-region calls, the value is unassigned.
|
|
131
|
+
#
|
|
132
|
+
# @return [Response] A Response object with data of type {OCI::DashboardService::Models::Dashboard Dashboard}
|
|
133
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dashboardservice/create_dashboard.rb.html) to see an example of how to use create_dashboard API.
|
|
134
|
+
def create_dashboard(create_dashboard_details, opts = {})
|
|
135
|
+
logger.debug 'Calling operation DashboardClient#create_dashboard.' if logger
|
|
136
|
+
|
|
137
|
+
raise "Missing the required parameter 'create_dashboard_details' when calling create_dashboard." if create_dashboard_details.nil?
|
|
138
|
+
|
|
139
|
+
path = '/dashboards'
|
|
140
|
+
operation_signing_strategy = :standard
|
|
141
|
+
|
|
142
|
+
# rubocop:disable Style/NegatedIf
|
|
143
|
+
# Query Params
|
|
144
|
+
query_params = {}
|
|
145
|
+
|
|
146
|
+
# Header Params
|
|
147
|
+
header_params = {}
|
|
148
|
+
header_params[:accept] = 'application/json'
|
|
149
|
+
header_params[:'content-type'] = 'application/json'
|
|
150
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
151
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
152
|
+
header_params[:'opc-cross-region'] = opts[:opc_cross_region] if opts[:opc_cross_region]
|
|
153
|
+
# rubocop:enable Style/NegatedIf
|
|
154
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
155
|
+
|
|
156
|
+
post_body = @api_client.object_to_http_body(create_dashboard_details)
|
|
157
|
+
|
|
158
|
+
# rubocop:disable Metrics/BlockLength
|
|
159
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DashboardClient#create_dashboard') do
|
|
160
|
+
@api_client.call_api(
|
|
161
|
+
:POST,
|
|
162
|
+
path,
|
|
163
|
+
endpoint,
|
|
164
|
+
header_params: header_params,
|
|
165
|
+
query_params: query_params,
|
|
166
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
167
|
+
body: post_body,
|
|
168
|
+
return_type: 'OCI::DashboardService::Models::Dashboard'
|
|
169
|
+
)
|
|
170
|
+
end
|
|
171
|
+
# rubocop:enable Metrics/BlockLength
|
|
172
|
+
end
|
|
173
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
174
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
175
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
176
|
+
|
|
177
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
178
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
179
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
# Deletes the specified dashboard. Uses the dashboard's OCID to determine which dashboard to delete.
|
|
183
|
+
# @param [String] dashboard_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dashboard.
|
|
184
|
+
# @param [Hash] opts the optional parameters
|
|
185
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
186
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
187
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
188
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
189
|
+
# etag from a previous GET or POST response for that resource.
|
|
190
|
+
# The resource will be updated or deleted only if the etag you
|
|
191
|
+
# provide matches the resource's current etag value.
|
|
192
|
+
#
|
|
193
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
194
|
+
# @option opts [String] :opc_cross_region To identify if the call is cross-regional. In CRUD calls for a resource, to
|
|
195
|
+
# identify that the call originates from different region, set the
|
|
196
|
+
# `CrossRegionIdentifierHeader` parameter to a region name (ex - `US-ASHBURN-1`)
|
|
197
|
+
# The call will be served from a Replicated bucket.
|
|
198
|
+
# For same-region calls, the value is unassigned.
|
|
199
|
+
#
|
|
200
|
+
# @return [Response] A Response object with data of type nil
|
|
201
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dashboardservice/delete_dashboard.rb.html) to see an example of how to use delete_dashboard API.
|
|
202
|
+
def delete_dashboard(dashboard_id, opts = {})
|
|
203
|
+
logger.debug 'Calling operation DashboardClient#delete_dashboard.' if logger
|
|
204
|
+
|
|
205
|
+
raise "Missing the required parameter 'dashboard_id' when calling delete_dashboard." if dashboard_id.nil?
|
|
206
|
+
raise "Parameter value for 'dashboard_id' must not be blank" if OCI::Internal::Util.blank_string?(dashboard_id)
|
|
207
|
+
|
|
208
|
+
path = '/dashboards/{dashboardId}'.sub('{dashboardId}', dashboard_id.to_s)
|
|
209
|
+
operation_signing_strategy = :standard
|
|
210
|
+
|
|
211
|
+
# rubocop:disable Style/NegatedIf
|
|
212
|
+
# Query Params
|
|
213
|
+
query_params = {}
|
|
214
|
+
|
|
215
|
+
# Header Params
|
|
216
|
+
header_params = {}
|
|
217
|
+
header_params[:accept] = 'application/json'
|
|
218
|
+
header_params[:'content-type'] = 'application/json'
|
|
219
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
220
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
221
|
+
header_params[:'opc-cross-region'] = opts[:opc_cross_region] if opts[:opc_cross_region]
|
|
222
|
+
# rubocop:enable Style/NegatedIf
|
|
223
|
+
|
|
224
|
+
post_body = nil
|
|
225
|
+
|
|
226
|
+
# rubocop:disable Metrics/BlockLength
|
|
227
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DashboardClient#delete_dashboard') do
|
|
228
|
+
@api_client.call_api(
|
|
229
|
+
:DELETE,
|
|
230
|
+
path,
|
|
231
|
+
endpoint,
|
|
232
|
+
header_params: header_params,
|
|
233
|
+
query_params: query_params,
|
|
234
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
235
|
+
body: post_body
|
|
236
|
+
)
|
|
237
|
+
end
|
|
238
|
+
# rubocop:enable Metrics/BlockLength
|
|
239
|
+
end
|
|
240
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
241
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
242
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
243
|
+
|
|
244
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
245
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
246
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
# Gets the specified dashboard's information. Uses the dashboard's OCID to determine which dashboard to retrieve.
|
|
250
|
+
# @param [String] dashboard_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dashboard.
|
|
251
|
+
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
253
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
254
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
255
|
+
# @option opts [String] :opc_cross_region To identify if the call is cross-regional. In CRUD calls for a resource, to
|
|
256
|
+
# identify that the call originates from different region, set the
|
|
257
|
+
# `CrossRegionIdentifierHeader` parameter to a region name (ex - `US-ASHBURN-1`)
|
|
258
|
+
# The call will be served from a Replicated bucket.
|
|
259
|
+
# For same-region calls, the value is unassigned.
|
|
260
|
+
#
|
|
261
|
+
# @return [Response] A Response object with data of type {OCI::DashboardService::Models::Dashboard Dashboard}
|
|
262
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dashboardservice/get_dashboard.rb.html) to see an example of how to use get_dashboard API.
|
|
263
|
+
def get_dashboard(dashboard_id, opts = {})
|
|
264
|
+
logger.debug 'Calling operation DashboardClient#get_dashboard.' if logger
|
|
265
|
+
|
|
266
|
+
raise "Missing the required parameter 'dashboard_id' when calling get_dashboard." if dashboard_id.nil?
|
|
267
|
+
raise "Parameter value for 'dashboard_id' must not be blank" if OCI::Internal::Util.blank_string?(dashboard_id)
|
|
268
|
+
|
|
269
|
+
path = '/dashboards/{dashboardId}'.sub('{dashboardId}', dashboard_id.to_s)
|
|
270
|
+
operation_signing_strategy = :standard
|
|
271
|
+
|
|
272
|
+
# rubocop:disable Style/NegatedIf
|
|
273
|
+
# Query Params
|
|
274
|
+
query_params = {}
|
|
275
|
+
|
|
276
|
+
# Header Params
|
|
277
|
+
header_params = {}
|
|
278
|
+
header_params[:accept] = 'application/json'
|
|
279
|
+
header_params[:'content-type'] = 'application/json'
|
|
280
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
281
|
+
header_params[:'opc-cross-region'] = opts[:opc_cross_region] if opts[:opc_cross_region]
|
|
282
|
+
# rubocop:enable Style/NegatedIf
|
|
283
|
+
|
|
284
|
+
post_body = nil
|
|
285
|
+
|
|
286
|
+
# rubocop:disable Metrics/BlockLength
|
|
287
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DashboardClient#get_dashboard') do
|
|
288
|
+
@api_client.call_api(
|
|
289
|
+
:GET,
|
|
290
|
+
path,
|
|
291
|
+
endpoint,
|
|
292
|
+
header_params: header_params,
|
|
293
|
+
query_params: query_params,
|
|
294
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
295
|
+
body: post_body,
|
|
296
|
+
return_type: 'OCI::DashboardService::Models::Dashboard'
|
|
297
|
+
)
|
|
298
|
+
end
|
|
299
|
+
# rubocop:enable Metrics/BlockLength
|
|
300
|
+
end
|
|
301
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
302
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
303
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
304
|
+
|
|
305
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
306
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
307
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
# Returns a list of dashboards with a specific dashboard group ID.
|
|
311
|
+
#
|
|
312
|
+
# @param [String] dashboard_group_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dashboard group that the dashboard belongs to.
|
|
313
|
+
# @param [Hash] opts the optional parameters
|
|
314
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
315
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
316
|
+
# @option opts [String] :lifecycle_state A filter that returns dashboard resources that match the lifecycle state specified.
|
|
317
|
+
# @option opts [String] :display_name A case-sensitive filter that returns resources that match the entire display name specified.
|
|
318
|
+
# @option opts [String] :id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dashboard.
|
|
319
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
|
320
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This value is usually retrieved from a previous list call.
|
|
321
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
322
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`).
|
|
323
|
+
# Default order for TIMECREATED is descending.
|
|
324
|
+
# Default order for DISPLAYNAME is ascending.
|
|
325
|
+
# The DISPLAYNAME sort order is case sensitive.
|
|
326
|
+
# (default to timeCreated)
|
|
327
|
+
# Allowed values are: timeCreated, displayName
|
|
328
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
329
|
+
# @option opts [String] :opc_cross_region To identify if the call is cross-regional. In CRUD calls for a resource, to
|
|
330
|
+
# identify that the call originates from different region, set the
|
|
331
|
+
# `CrossRegionIdentifierHeader` parameter to a region name (ex - `US-ASHBURN-1`)
|
|
332
|
+
# The call will be served from a Replicated bucket.
|
|
333
|
+
# For same-region calls, the value is unassigned.
|
|
334
|
+
#
|
|
335
|
+
# @return [Response] A Response object with data of type {OCI::DashboardService::Models::DashboardCollection DashboardCollection}
|
|
336
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dashboardservice/list_dashboards.rb.html) to see an example of how to use list_dashboards API.
|
|
337
|
+
def list_dashboards(dashboard_group_id, opts = {})
|
|
338
|
+
logger.debug 'Calling operation DashboardClient#list_dashboards.' if logger
|
|
339
|
+
|
|
340
|
+
raise "Missing the required parameter 'dashboard_group_id' when calling list_dashboards." if dashboard_group_id.nil?
|
|
341
|
+
|
|
342
|
+
if opts[:lifecycle_state] && !OCI::DashboardService::Models::Dashboard::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
343
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DashboardService::Models::Dashboard::LIFECYCLE_STATE_ENUM.'
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
if opts[:sort_order] && !OCI::DashboardService::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
347
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::DashboardService::Models::SORT_ORDER_ENUM.'
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
|
351
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
path = '/dashboards'
|
|
355
|
+
operation_signing_strategy = :standard
|
|
356
|
+
|
|
357
|
+
# rubocop:disable Style/NegatedIf
|
|
358
|
+
# Query Params
|
|
359
|
+
query_params = {}
|
|
360
|
+
query_params[:dashboardGroupId] = dashboard_group_id
|
|
361
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
362
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
363
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
364
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
365
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
366
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
367
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
368
|
+
|
|
369
|
+
# Header Params
|
|
370
|
+
header_params = {}
|
|
371
|
+
header_params[:accept] = 'application/json'
|
|
372
|
+
header_params[:'content-type'] = 'application/json'
|
|
373
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
374
|
+
header_params[:'opc-cross-region'] = opts[:opc_cross_region] if opts[:opc_cross_region]
|
|
375
|
+
# rubocop:enable Style/NegatedIf
|
|
376
|
+
|
|
377
|
+
post_body = nil
|
|
378
|
+
|
|
379
|
+
# rubocop:disable Metrics/BlockLength
|
|
380
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DashboardClient#list_dashboards') do
|
|
381
|
+
@api_client.call_api(
|
|
382
|
+
:GET,
|
|
383
|
+
path,
|
|
384
|
+
endpoint,
|
|
385
|
+
header_params: header_params,
|
|
386
|
+
query_params: query_params,
|
|
387
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
388
|
+
body: post_body,
|
|
389
|
+
return_type: 'OCI::DashboardService::Models::DashboardCollection'
|
|
390
|
+
)
|
|
391
|
+
end
|
|
392
|
+
# rubocop:enable Metrics/BlockLength
|
|
393
|
+
end
|
|
394
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
395
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
396
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
397
|
+
|
|
398
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
399
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
400
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
# Updates the specified dashboard. Uses the dashboard's OCID to determine which dashboard to update.
|
|
404
|
+
# @param [String] dashboard_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dashboard.
|
|
405
|
+
# @param [OCI::DashboardService::Models::UpdateDashboardDetails] update_dashboard_details The dashboard details to be updated.
|
|
406
|
+
# @param [Hash] opts the optional parameters
|
|
407
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
408
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
409
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
410
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
411
|
+
# etag from a previous GET or POST response for that resource.
|
|
412
|
+
# The resource will be updated or deleted only if the etag you
|
|
413
|
+
# provide matches the resource's current etag value.
|
|
414
|
+
#
|
|
415
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
416
|
+
# @option opts [String] :opc_cross_region To identify if the call is cross-regional. In CRUD calls for a resource, to
|
|
417
|
+
# identify that the call originates from different region, set the
|
|
418
|
+
# `CrossRegionIdentifierHeader` parameter to a region name (ex - `US-ASHBURN-1`)
|
|
419
|
+
# The call will be served from a Replicated bucket.
|
|
420
|
+
# For same-region calls, the value is unassigned.
|
|
421
|
+
#
|
|
422
|
+
# @return [Response] A Response object with data of type {OCI::DashboardService::Models::Dashboard Dashboard}
|
|
423
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dashboardservice/update_dashboard.rb.html) to see an example of how to use update_dashboard API.
|
|
424
|
+
def update_dashboard(dashboard_id, update_dashboard_details, opts = {})
|
|
425
|
+
logger.debug 'Calling operation DashboardClient#update_dashboard.' if logger
|
|
426
|
+
|
|
427
|
+
raise "Missing the required parameter 'dashboard_id' when calling update_dashboard." if dashboard_id.nil?
|
|
428
|
+
raise "Missing the required parameter 'update_dashboard_details' when calling update_dashboard." if update_dashboard_details.nil?
|
|
429
|
+
raise "Parameter value for 'dashboard_id' must not be blank" if OCI::Internal::Util.blank_string?(dashboard_id)
|
|
430
|
+
|
|
431
|
+
path = '/dashboards/{dashboardId}'.sub('{dashboardId}', dashboard_id.to_s)
|
|
432
|
+
operation_signing_strategy = :standard
|
|
433
|
+
|
|
434
|
+
# rubocop:disable Style/NegatedIf
|
|
435
|
+
# Query Params
|
|
436
|
+
query_params = {}
|
|
437
|
+
|
|
438
|
+
# Header Params
|
|
439
|
+
header_params = {}
|
|
440
|
+
header_params[:accept] = 'application/json'
|
|
441
|
+
header_params[:'content-type'] = 'application/json'
|
|
442
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
443
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
444
|
+
header_params[:'opc-cross-region'] = opts[:opc_cross_region] if opts[:opc_cross_region]
|
|
445
|
+
# rubocop:enable Style/NegatedIf
|
|
446
|
+
|
|
447
|
+
post_body = @api_client.object_to_http_body(update_dashboard_details)
|
|
448
|
+
|
|
449
|
+
# rubocop:disable Metrics/BlockLength
|
|
450
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DashboardClient#update_dashboard') do
|
|
451
|
+
@api_client.call_api(
|
|
452
|
+
:PUT,
|
|
453
|
+
path,
|
|
454
|
+
endpoint,
|
|
455
|
+
header_params: header_params,
|
|
456
|
+
query_params: query_params,
|
|
457
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
458
|
+
body: post_body,
|
|
459
|
+
return_type: 'OCI::DashboardService::Models::Dashboard'
|
|
460
|
+
)
|
|
461
|
+
end
|
|
462
|
+
# rubocop:enable Metrics/BlockLength
|
|
463
|
+
end
|
|
464
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
465
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
466
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
467
|
+
|
|
468
|
+
private
|
|
469
|
+
|
|
470
|
+
def applicable_retry_config(opts = {})
|
|
471
|
+
return @retry_config unless opts.key?(:retry_config)
|
|
472
|
+
|
|
473
|
+
opts[:retry_config]
|
|
474
|
+
end
|
|
475
|
+
end
|
|
476
|
+
end
|
|
477
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|