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
|
@@ -6,7 +6,7 @@ require 'logger'
|
|
|
6
6
|
|
|
7
7
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
8
|
module OCI
|
|
9
|
-
#
|
|
9
|
+
# Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
10
10
|
class ApmTraces::TraceClient
|
|
11
11
|
# Client used to make HTTP requests.
|
|
12
12
|
# @return [OCI::ApiClient]
|
|
@@ -98,13 +98,75 @@ module OCI
|
|
|
98
98
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
#
|
|
101
|
+
# Gets the aggregated snapshot identified by trace ID.
|
|
102
102
|
#
|
|
103
|
-
# @param [String] apm_domain_id The APM Domain
|
|
103
|
+
# @param [String] apm_domain_id The APM Domain ID the request is intended for.
|
|
104
104
|
#
|
|
105
|
-
# @param [String]
|
|
105
|
+
# @param [String] trace_key Unique Application Performance Monitoring trace identifier (traceId).
|
|
106
106
|
#
|
|
107
|
-
# @param [
|
|
107
|
+
# @param [Hash] opts the optional parameters
|
|
108
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
109
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
110
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
111
|
+
# particular request, please provide the request ID.
|
|
112
|
+
#
|
|
113
|
+
# @return [Response] A Response object with data of type {OCI::ApmTraces::Models::AggregatedSnapshot AggregatedSnapshot}
|
|
114
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/apmtraces/get_aggregated_snapshot.rb.html) to see an example of how to use get_aggregated_snapshot API.
|
|
115
|
+
def get_aggregated_snapshot(apm_domain_id, trace_key, opts = {})
|
|
116
|
+
logger.debug 'Calling operation TraceClient#get_aggregated_snapshot.' if logger
|
|
117
|
+
|
|
118
|
+
raise "Missing the required parameter 'apm_domain_id' when calling get_aggregated_snapshot." if apm_domain_id.nil?
|
|
119
|
+
raise "Missing the required parameter 'trace_key' when calling get_aggregated_snapshot." if trace_key.nil?
|
|
120
|
+
raise "Parameter value for 'trace_key' must not be blank" if OCI::Internal::Util.blank_string?(trace_key)
|
|
121
|
+
|
|
122
|
+
path = '/traces/{traceKey}/aggregatedSnapshotData'.sub('{traceKey}', trace_key.to_s)
|
|
123
|
+
operation_signing_strategy = :standard
|
|
124
|
+
|
|
125
|
+
# rubocop:disable Style/NegatedIf
|
|
126
|
+
# Query Params
|
|
127
|
+
query_params = {}
|
|
128
|
+
query_params[:apmDomainId] = apm_domain_id
|
|
129
|
+
|
|
130
|
+
# Header Params
|
|
131
|
+
header_params = {}
|
|
132
|
+
header_params[:accept] = 'application/json'
|
|
133
|
+
header_params[:'content-type'] = 'application/json'
|
|
134
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
135
|
+
# rubocop:enable Style/NegatedIf
|
|
136
|
+
|
|
137
|
+
post_body = nil
|
|
138
|
+
|
|
139
|
+
# rubocop:disable Metrics/BlockLength
|
|
140
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'TraceClient#get_aggregated_snapshot') do
|
|
141
|
+
@api_client.call_api(
|
|
142
|
+
:GET,
|
|
143
|
+
path,
|
|
144
|
+
endpoint,
|
|
145
|
+
header_params: header_params,
|
|
146
|
+
query_params: query_params,
|
|
147
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
148
|
+
body: post_body,
|
|
149
|
+
return_type: 'OCI::ApmTraces::Models::AggregatedSnapshot'
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
# rubocop:enable Metrics/BlockLength
|
|
153
|
+
end
|
|
154
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
155
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
156
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
157
|
+
|
|
158
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
159
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
160
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
# Gets the span details identified by spanId.
|
|
164
|
+
#
|
|
165
|
+
# @param [String] apm_domain_id The APM Domain ID the request is intended for.
|
|
166
|
+
#
|
|
167
|
+
# @param [String] span_key Unique Application Performance Monitoring span identifier (spanId).
|
|
168
|
+
#
|
|
169
|
+
# @param [String] trace_key Unique Application Performance Monitoring trace identifier (traceId).
|
|
108
170
|
#
|
|
109
171
|
# @param [Hash] opts the optional parameters
|
|
110
172
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -164,11 +226,11 @@ module OCI
|
|
|
164
226
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
165
227
|
|
|
166
228
|
|
|
167
|
-
#
|
|
229
|
+
# Gets the trace details identified by traceId.
|
|
168
230
|
#
|
|
169
|
-
# @param [String] apm_domain_id The APM Domain
|
|
231
|
+
# @param [String] apm_domain_id The APM Domain ID the request is intended for.
|
|
170
232
|
#
|
|
171
|
-
# @param [String] trace_key Unique
|
|
233
|
+
# @param [String] trace_key Unique Application Performance Monitoring trace identifier (traceId).
|
|
172
234
|
#
|
|
173
235
|
# @param [Hash] opts the optional parameters
|
|
174
236
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -221,6 +283,77 @@ module OCI
|
|
|
221
283
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
222
284
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
223
285
|
|
|
286
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
287
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
288
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
# Gets the trace snapshots data identified by trace ID.
|
|
292
|
+
#
|
|
293
|
+
# @param [String] apm_domain_id The APM Domain ID the request is intended for.
|
|
294
|
+
#
|
|
295
|
+
# @param [String] trace_key Unique Application Performance Monitoring trace identifier (traceId).
|
|
296
|
+
#
|
|
297
|
+
# @param [Hash] opts the optional parameters
|
|
298
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
299
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
300
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
301
|
+
# particular request, please provide the request ID.
|
|
302
|
+
#
|
|
303
|
+
# @option opts [BOOLEAN] :is_summarized If enabled, then only span level details will be sent.
|
|
304
|
+
#
|
|
305
|
+
# @option opts [String] :thread_id Thread id for which snapshots needs to be retrieved. This is an identifier of a thread, and is a positive long number generated when when a thread is created.
|
|
306
|
+
#
|
|
307
|
+
# @option opts [String] :snapshot_time Epoch time of snapshot.
|
|
308
|
+
#
|
|
309
|
+
# @return [Response] A Response object with data of type {OCI::ApmTraces::Models::TraceSnapshot TraceSnapshot}
|
|
310
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/apmtraces/get_trace_snapshot.rb.html) to see an example of how to use get_trace_snapshot API.
|
|
311
|
+
def get_trace_snapshot(apm_domain_id, trace_key, opts = {})
|
|
312
|
+
logger.debug 'Calling operation TraceClient#get_trace_snapshot.' if logger
|
|
313
|
+
|
|
314
|
+
raise "Missing the required parameter 'apm_domain_id' when calling get_trace_snapshot." if apm_domain_id.nil?
|
|
315
|
+
raise "Missing the required parameter 'trace_key' when calling get_trace_snapshot." if trace_key.nil?
|
|
316
|
+
raise "Parameter value for 'trace_key' must not be blank" if OCI::Internal::Util.blank_string?(trace_key)
|
|
317
|
+
|
|
318
|
+
path = '/traces/{traceKey}/snapshotData'.sub('{traceKey}', trace_key.to_s)
|
|
319
|
+
operation_signing_strategy = :standard
|
|
320
|
+
|
|
321
|
+
# rubocop:disable Style/NegatedIf
|
|
322
|
+
# Query Params
|
|
323
|
+
query_params = {}
|
|
324
|
+
query_params[:apmDomainId] = apm_domain_id
|
|
325
|
+
query_params[:isSummarized] = opts[:is_summarized] if !opts[:is_summarized].nil?
|
|
326
|
+
query_params[:threadId] = opts[:thread_id] if opts[:thread_id]
|
|
327
|
+
query_params[:snapshotTime] = opts[:snapshot_time] if opts[:snapshot_time]
|
|
328
|
+
|
|
329
|
+
# Header Params
|
|
330
|
+
header_params = {}
|
|
331
|
+
header_params[:accept] = 'application/json'
|
|
332
|
+
header_params[:'content-type'] = 'application/json'
|
|
333
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
334
|
+
# rubocop:enable Style/NegatedIf
|
|
335
|
+
|
|
336
|
+
post_body = nil
|
|
337
|
+
|
|
338
|
+
# rubocop:disable Metrics/BlockLength
|
|
339
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'TraceClient#get_trace_snapshot') do
|
|
340
|
+
@api_client.call_api(
|
|
341
|
+
:GET,
|
|
342
|
+
path,
|
|
343
|
+
endpoint,
|
|
344
|
+
header_params: header_params,
|
|
345
|
+
query_params: query_params,
|
|
346
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
347
|
+
body: post_body,
|
|
348
|
+
return_type: 'OCI::ApmTraces::Models::TraceSnapshot'
|
|
349
|
+
)
|
|
350
|
+
end
|
|
351
|
+
# rubocop:enable Metrics/BlockLength
|
|
352
|
+
end
|
|
353
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
354
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
355
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
356
|
+
|
|
224
357
|
private
|
|
225
358
|
|
|
226
359
|
def applicable_retry_config(opts = {})
|
data/lib/oci/common.rb
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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 'oci/api_client'
|
|
5
|
+
require 'oci/api_client_proxy_settings'
|
|
6
|
+
require 'oci/config'
|
|
7
|
+
require 'oci/config_file_loader'
|
|
8
|
+
require 'oci/errors'
|
|
9
|
+
require 'oci/global_context'
|
|
10
|
+
require 'oci/internal/internal'
|
|
11
|
+
require 'oci/regions'
|
|
12
|
+
require 'oci/regions_definitions'
|
|
13
|
+
require 'oci/response_headers'
|
|
14
|
+
require 'oci/response'
|
|
15
|
+
require 'oci/base_signer'
|
|
16
|
+
require 'oci/signer'
|
|
17
|
+
require 'oci/version'
|
|
18
|
+
require 'oci/waiter'
|
|
19
|
+
require 'oci/retry/retry'
|
|
20
|
+
|
|
21
|
+
# Top level module for the Oracle Cloud Infrastructure SDK
|
|
22
|
+
# Make it accessible through common import
|
|
23
|
+
module OCI
|
|
24
|
+
class << self
|
|
25
|
+
attr_accessor :sdk_name
|
|
26
|
+
|
|
27
|
+
# Defines the logger used for debugging for the OCI module.
|
|
28
|
+
# For example, log to STDOUT by setting this to Logger.new(STDOUT).
|
|
29
|
+
#
|
|
30
|
+
# @return [Logger]
|
|
31
|
+
attr_accessor :logger
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -47,6 +47,8 @@ require 'oci/container_engine/models/node_source_option'
|
|
|
47
47
|
require 'oci/container_engine/models/node_source_type'
|
|
48
48
|
require 'oci/container_engine/models/node_source_via_image_details'
|
|
49
49
|
require 'oci/container_engine/models/node_source_via_image_option'
|
|
50
|
+
require 'oci/container_engine/models/persistent_volume_config_details'
|
|
51
|
+
require 'oci/container_engine/models/service_lb_config_details'
|
|
50
52
|
require 'oci/container_engine/models/sort_order'
|
|
51
53
|
require 'oci/container_engine/models/update_cluster_details'
|
|
52
54
|
require 'oci/container_engine/models/update_cluster_endpoint_config_details'
|
|
@@ -47,6 +47,26 @@ module OCI
|
|
|
47
47
|
# @return [String]
|
|
48
48
|
attr_accessor :kms_key_id
|
|
49
49
|
|
|
50
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
51
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
52
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
53
|
+
#
|
|
54
|
+
# @return [Hash<String, String>]
|
|
55
|
+
attr_accessor :freeform_tags
|
|
56
|
+
|
|
57
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
58
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
59
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
60
|
+
#
|
|
61
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
62
|
+
attr_accessor :defined_tags
|
|
63
|
+
|
|
64
|
+
# Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
65
|
+
# Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
66
|
+
#
|
|
67
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
68
|
+
attr_accessor :system_tags
|
|
69
|
+
|
|
50
70
|
# Optional attributes for the cluster.
|
|
51
71
|
# @return [OCI::ContainerEngine::Models::ClusterCreateOptions]
|
|
52
72
|
attr_accessor :options
|
|
@@ -87,6 +107,9 @@ module OCI
|
|
|
87
107
|
'vcn_id': :'vcnId',
|
|
88
108
|
'kubernetes_version': :'kubernetesVersion',
|
|
89
109
|
'kms_key_id': :'kmsKeyId',
|
|
110
|
+
'freeform_tags': :'freeformTags',
|
|
111
|
+
'defined_tags': :'definedTags',
|
|
112
|
+
'system_tags': :'systemTags',
|
|
90
113
|
'options': :'options',
|
|
91
114
|
'metadata': :'metadata',
|
|
92
115
|
'lifecycle_state': :'lifecycleState',
|
|
@@ -109,6 +132,9 @@ module OCI
|
|
|
109
132
|
'vcn_id': :'String',
|
|
110
133
|
'kubernetes_version': :'String',
|
|
111
134
|
'kms_key_id': :'String',
|
|
135
|
+
'freeform_tags': :'Hash<String, String>',
|
|
136
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
137
|
+
'system_tags': :'Hash<String, Hash<String, Object>>',
|
|
112
138
|
'options': :'OCI::ContainerEngine::Models::ClusterCreateOptions',
|
|
113
139
|
'metadata': :'OCI::ContainerEngine::Models::ClusterMetadata',
|
|
114
140
|
'lifecycle_state': :'String',
|
|
@@ -133,6 +159,9 @@ module OCI
|
|
|
133
159
|
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
134
160
|
# @option attributes [String] :kubernetes_version The value to assign to the {#kubernetes_version} property
|
|
135
161
|
# @option attributes [String] :kms_key_id The value to assign to the {#kms_key_id} property
|
|
162
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
163
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
164
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :system_tags The value to assign to the {#system_tags} property
|
|
136
165
|
# @option attributes [OCI::ContainerEngine::Models::ClusterCreateOptions] :options The value to assign to the {#options} property
|
|
137
166
|
# @option attributes [OCI::ContainerEngine::Models::ClusterMetadata] :metadata The value to assign to the {#metadata} property
|
|
138
167
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
@@ -180,6 +209,24 @@ module OCI
|
|
|
180
209
|
|
|
181
210
|
self.kms_key_id = attributes[:'kms_key_id'] if attributes[:'kms_key_id']
|
|
182
211
|
|
|
212
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
213
|
+
|
|
214
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
215
|
+
|
|
216
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
217
|
+
|
|
218
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
219
|
+
|
|
220
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
221
|
+
|
|
222
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
223
|
+
|
|
224
|
+
self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']
|
|
225
|
+
|
|
226
|
+
raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags')
|
|
227
|
+
|
|
228
|
+
self.system_tags = attributes[:'system_tags'] if attributes[:'system_tags']
|
|
229
|
+
|
|
183
230
|
self.options = attributes[:'options'] if attributes[:'options']
|
|
184
231
|
|
|
185
232
|
self.metadata = attributes[:'metadata'] if attributes[:'metadata']
|
|
@@ -242,6 +289,9 @@ module OCI
|
|
|
242
289
|
vcn_id == other.vcn_id &&
|
|
243
290
|
kubernetes_version == other.kubernetes_version &&
|
|
244
291
|
kms_key_id == other.kms_key_id &&
|
|
292
|
+
freeform_tags == other.freeform_tags &&
|
|
293
|
+
defined_tags == other.defined_tags &&
|
|
294
|
+
system_tags == other.system_tags &&
|
|
245
295
|
options == other.options &&
|
|
246
296
|
metadata == other.metadata &&
|
|
247
297
|
lifecycle_state == other.lifecycle_state &&
|
|
@@ -264,7 +314,7 @@ module OCI
|
|
|
264
314
|
# Calculates hash code according to all attributes.
|
|
265
315
|
# @return [Fixnum] Hash code
|
|
266
316
|
def hash
|
|
267
|
-
[id, name, compartment_id, endpoint_config, vcn_id, kubernetes_version, kms_key_id, options, metadata, lifecycle_state, lifecycle_details, endpoints, available_kubernetes_upgrades, image_policy_config].hash
|
|
317
|
+
[id, name, compartment_id, endpoint_config, vcn_id, kubernetes_version, kms_key_id, freeform_tags, defined_tags, system_tags, options, metadata, lifecycle_state, lifecycle_details, endpoints, available_kubernetes_upgrades, image_policy_config].hash
|
|
268
318
|
end
|
|
269
319
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
270
320
|
|
|
@@ -23,6 +23,12 @@ module OCI
|
|
|
23
23
|
# @return [OCI::ContainerEngine::Models::AdmissionControllerOptions]
|
|
24
24
|
attr_accessor :admission_controller_options
|
|
25
25
|
|
|
26
|
+
# @return [OCI::ContainerEngine::Models::PersistentVolumeConfigDetails]
|
|
27
|
+
attr_accessor :persistent_volume_config
|
|
28
|
+
|
|
29
|
+
# @return [OCI::ContainerEngine::Models::ServiceLbConfigDetails]
|
|
30
|
+
attr_accessor :service_lb_config
|
|
31
|
+
|
|
26
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
33
|
def self.attribute_map
|
|
28
34
|
{
|
|
@@ -30,7 +36,9 @@ module OCI
|
|
|
30
36
|
'service_lb_subnet_ids': :'serviceLbSubnetIds',
|
|
31
37
|
'kubernetes_network_config': :'kubernetesNetworkConfig',
|
|
32
38
|
'add_ons': :'addOns',
|
|
33
|
-
'admission_controller_options': :'admissionControllerOptions'
|
|
39
|
+
'admission_controller_options': :'admissionControllerOptions',
|
|
40
|
+
'persistent_volume_config': :'persistentVolumeConfig',
|
|
41
|
+
'service_lb_config': :'serviceLbConfig'
|
|
34
42
|
# rubocop:enable Style/SymbolLiteral
|
|
35
43
|
}
|
|
36
44
|
end
|
|
@@ -42,7 +50,9 @@ module OCI
|
|
|
42
50
|
'service_lb_subnet_ids': :'Array<String>',
|
|
43
51
|
'kubernetes_network_config': :'OCI::ContainerEngine::Models::KubernetesNetworkConfig',
|
|
44
52
|
'add_ons': :'OCI::ContainerEngine::Models::AddOnOptions',
|
|
45
|
-
'admission_controller_options': :'OCI::ContainerEngine::Models::AdmissionControllerOptions'
|
|
53
|
+
'admission_controller_options': :'OCI::ContainerEngine::Models::AdmissionControllerOptions',
|
|
54
|
+
'persistent_volume_config': :'OCI::ContainerEngine::Models::PersistentVolumeConfigDetails',
|
|
55
|
+
'service_lb_config': :'OCI::ContainerEngine::Models::ServiceLbConfigDetails'
|
|
46
56
|
# rubocop:enable Style/SymbolLiteral
|
|
47
57
|
}
|
|
48
58
|
end
|
|
@@ -57,6 +67,8 @@ module OCI
|
|
|
57
67
|
# @option attributes [OCI::ContainerEngine::Models::KubernetesNetworkConfig] :kubernetes_network_config The value to assign to the {#kubernetes_network_config} property
|
|
58
68
|
# @option attributes [OCI::ContainerEngine::Models::AddOnOptions] :add_ons The value to assign to the {#add_ons} property
|
|
59
69
|
# @option attributes [OCI::ContainerEngine::Models::AdmissionControllerOptions] :admission_controller_options The value to assign to the {#admission_controller_options} property
|
|
70
|
+
# @option attributes [OCI::ContainerEngine::Models::PersistentVolumeConfigDetails] :persistent_volume_config The value to assign to the {#persistent_volume_config} property
|
|
71
|
+
# @option attributes [OCI::ContainerEngine::Models::ServiceLbConfigDetails] :service_lb_config The value to assign to the {#service_lb_config} property
|
|
60
72
|
def initialize(attributes = {})
|
|
61
73
|
return unless attributes.is_a?(Hash)
|
|
62
74
|
|
|
@@ -86,6 +98,18 @@ module OCI
|
|
|
86
98
|
raise 'You cannot provide both :admissionControllerOptions and :admission_controller_options' if attributes.key?(:'admissionControllerOptions') && attributes.key?(:'admission_controller_options')
|
|
87
99
|
|
|
88
100
|
self.admission_controller_options = attributes[:'admission_controller_options'] if attributes[:'admission_controller_options']
|
|
101
|
+
|
|
102
|
+
self.persistent_volume_config = attributes[:'persistentVolumeConfig'] if attributes[:'persistentVolumeConfig']
|
|
103
|
+
|
|
104
|
+
raise 'You cannot provide both :persistentVolumeConfig and :persistent_volume_config' if attributes.key?(:'persistentVolumeConfig') && attributes.key?(:'persistent_volume_config')
|
|
105
|
+
|
|
106
|
+
self.persistent_volume_config = attributes[:'persistent_volume_config'] if attributes[:'persistent_volume_config']
|
|
107
|
+
|
|
108
|
+
self.service_lb_config = attributes[:'serviceLbConfig'] if attributes[:'serviceLbConfig']
|
|
109
|
+
|
|
110
|
+
raise 'You cannot provide both :serviceLbConfig and :service_lb_config' if attributes.key?(:'serviceLbConfig') && attributes.key?(:'service_lb_config')
|
|
111
|
+
|
|
112
|
+
self.service_lb_config = attributes[:'service_lb_config'] if attributes[:'service_lb_config']
|
|
89
113
|
end
|
|
90
114
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
91
115
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -102,7 +126,9 @@ module OCI
|
|
|
102
126
|
service_lb_subnet_ids == other.service_lb_subnet_ids &&
|
|
103
127
|
kubernetes_network_config == other.kubernetes_network_config &&
|
|
104
128
|
add_ons == other.add_ons &&
|
|
105
|
-
admission_controller_options == other.admission_controller_options
|
|
129
|
+
admission_controller_options == other.admission_controller_options &&
|
|
130
|
+
persistent_volume_config == other.persistent_volume_config &&
|
|
131
|
+
service_lb_config == other.service_lb_config
|
|
106
132
|
end
|
|
107
133
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
108
134
|
|
|
@@ -118,7 +144,7 @@ module OCI
|
|
|
118
144
|
# Calculates hash code according to all attributes.
|
|
119
145
|
# @return [Fixnum] Hash code
|
|
120
146
|
def hash
|
|
121
|
-
[service_lb_subnet_ids, kubernetes_network_config, add_ons, admission_controller_options].hash
|
|
147
|
+
[service_lb_subnet_ids, kubernetes_network_config, add_ons, admission_controller_options, persistent_volume_config, service_lb_config].hash
|
|
122
148
|
end
|
|
123
149
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
124
150
|
|
|
@@ -43,6 +43,26 @@ module OCI
|
|
|
43
43
|
# @return [String]
|
|
44
44
|
attr_accessor :kubernetes_version
|
|
45
45
|
|
|
46
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
47
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
48
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
49
|
+
#
|
|
50
|
+
# @return [Hash<String, String>]
|
|
51
|
+
attr_accessor :freeform_tags
|
|
52
|
+
|
|
53
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
54
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
55
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
56
|
+
#
|
|
57
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
58
|
+
attr_accessor :defined_tags
|
|
59
|
+
|
|
60
|
+
# Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
61
|
+
# Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
62
|
+
#
|
|
63
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
64
|
+
attr_accessor :system_tags
|
|
65
|
+
|
|
46
66
|
# Optional attributes for the cluster.
|
|
47
67
|
# @return [OCI::ContainerEngine::Models::ClusterCreateOptions]
|
|
48
68
|
attr_accessor :options
|
|
@@ -82,6 +102,9 @@ module OCI
|
|
|
82
102
|
'endpoint_config': :'endpointConfig',
|
|
83
103
|
'vcn_id': :'vcnId',
|
|
84
104
|
'kubernetes_version': :'kubernetesVersion',
|
|
105
|
+
'freeform_tags': :'freeformTags',
|
|
106
|
+
'defined_tags': :'definedTags',
|
|
107
|
+
'system_tags': :'systemTags',
|
|
85
108
|
'options': :'options',
|
|
86
109
|
'metadata': :'metadata',
|
|
87
110
|
'lifecycle_state': :'lifecycleState',
|
|
@@ -103,6 +126,9 @@ module OCI
|
|
|
103
126
|
'endpoint_config': :'OCI::ContainerEngine::Models::ClusterEndpointConfig',
|
|
104
127
|
'vcn_id': :'String',
|
|
105
128
|
'kubernetes_version': :'String',
|
|
129
|
+
'freeform_tags': :'Hash<String, String>',
|
|
130
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
131
|
+
'system_tags': :'Hash<String, Hash<String, Object>>',
|
|
106
132
|
'options': :'OCI::ContainerEngine::Models::ClusterCreateOptions',
|
|
107
133
|
'metadata': :'OCI::ContainerEngine::Models::ClusterMetadata',
|
|
108
134
|
'lifecycle_state': :'String',
|
|
@@ -126,6 +152,9 @@ module OCI
|
|
|
126
152
|
# @option attributes [OCI::ContainerEngine::Models::ClusterEndpointConfig] :endpoint_config The value to assign to the {#endpoint_config} property
|
|
127
153
|
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
128
154
|
# @option attributes [String] :kubernetes_version The value to assign to the {#kubernetes_version} property
|
|
155
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
156
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
157
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :system_tags The value to assign to the {#system_tags} property
|
|
129
158
|
# @option attributes [OCI::ContainerEngine::Models::ClusterCreateOptions] :options The value to assign to the {#options} property
|
|
130
159
|
# @option attributes [OCI::ContainerEngine::Models::ClusterMetadata] :metadata The value to assign to the {#metadata} property
|
|
131
160
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
@@ -167,6 +196,24 @@ module OCI
|
|
|
167
196
|
|
|
168
197
|
self.kubernetes_version = attributes[:'kubernetes_version'] if attributes[:'kubernetes_version']
|
|
169
198
|
|
|
199
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
200
|
+
|
|
201
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
202
|
+
|
|
203
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
204
|
+
|
|
205
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
206
|
+
|
|
207
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
208
|
+
|
|
209
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
210
|
+
|
|
211
|
+
self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']
|
|
212
|
+
|
|
213
|
+
raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags')
|
|
214
|
+
|
|
215
|
+
self.system_tags = attributes[:'system_tags'] if attributes[:'system_tags']
|
|
216
|
+
|
|
170
217
|
self.options = attributes[:'options'] if attributes[:'options']
|
|
171
218
|
|
|
172
219
|
self.metadata = attributes[:'metadata'] if attributes[:'metadata']
|
|
@@ -228,6 +275,9 @@ module OCI
|
|
|
228
275
|
endpoint_config == other.endpoint_config &&
|
|
229
276
|
vcn_id == other.vcn_id &&
|
|
230
277
|
kubernetes_version == other.kubernetes_version &&
|
|
278
|
+
freeform_tags == other.freeform_tags &&
|
|
279
|
+
defined_tags == other.defined_tags &&
|
|
280
|
+
system_tags == other.system_tags &&
|
|
231
281
|
options == other.options &&
|
|
232
282
|
metadata == other.metadata &&
|
|
233
283
|
lifecycle_state == other.lifecycle_state &&
|
|
@@ -250,7 +300,7 @@ module OCI
|
|
|
250
300
|
# Calculates hash code according to all attributes.
|
|
251
301
|
# @return [Fixnum] Hash code
|
|
252
302
|
def hash
|
|
253
|
-
[id, name, compartment_id, endpoint_config, vcn_id, kubernetes_version, options, metadata, lifecycle_state, lifecycle_details, endpoints, available_kubernetes_upgrades, image_policy_config].hash
|
|
303
|
+
[id, name, compartment_id, endpoint_config, vcn_id, kubernetes_version, freeform_tags, defined_tags, system_tags, options, metadata, lifecycle_state, lifecycle_details, endpoints, available_kubernetes_upgrades, image_policy_config].hash
|
|
254
304
|
end
|
|
255
305
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
256
306
|
|
|
@@ -34,6 +34,20 @@ module OCI
|
|
|
34
34
|
# @return [String]
|
|
35
35
|
attr_accessor :kms_key_id
|
|
36
36
|
|
|
37
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
38
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
39
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
40
|
+
#
|
|
41
|
+
# @return [Hash<String, String>]
|
|
42
|
+
attr_accessor :freeform_tags
|
|
43
|
+
|
|
44
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
45
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
46
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
47
|
+
#
|
|
48
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
49
|
+
attr_accessor :defined_tags
|
|
50
|
+
|
|
37
51
|
# Optional attributes for the cluster.
|
|
38
52
|
# @return [OCI::ContainerEngine::Models::ClusterCreateOptions]
|
|
39
53
|
attr_accessor :options
|
|
@@ -55,6 +69,8 @@ module OCI
|
|
|
55
69
|
'vcn_id': :'vcnId',
|
|
56
70
|
'kubernetes_version': :'kubernetesVersion',
|
|
57
71
|
'kms_key_id': :'kmsKeyId',
|
|
72
|
+
'freeform_tags': :'freeformTags',
|
|
73
|
+
'defined_tags': :'definedTags',
|
|
58
74
|
'options': :'options',
|
|
59
75
|
'image_policy_config': :'imagePolicyConfig'
|
|
60
76
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -71,6 +87,8 @@ module OCI
|
|
|
71
87
|
'vcn_id': :'String',
|
|
72
88
|
'kubernetes_version': :'String',
|
|
73
89
|
'kms_key_id': :'String',
|
|
90
|
+
'freeform_tags': :'Hash<String, String>',
|
|
91
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
74
92
|
'options': :'OCI::ContainerEngine::Models::ClusterCreateOptions',
|
|
75
93
|
'image_policy_config': :'OCI::ContainerEngine::Models::CreateImagePolicyConfigDetails'
|
|
76
94
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -89,6 +107,8 @@ module OCI
|
|
|
89
107
|
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
90
108
|
# @option attributes [String] :kubernetes_version The value to assign to the {#kubernetes_version} property
|
|
91
109
|
# @option attributes [String] :kms_key_id The value to assign to the {#kms_key_id} property
|
|
110
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
111
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
92
112
|
# @option attributes [OCI::ContainerEngine::Models::ClusterCreateOptions] :options The value to assign to the {#options} property
|
|
93
113
|
# @option attributes [OCI::ContainerEngine::Models::CreateImagePolicyConfigDetails] :image_policy_config The value to assign to the {#image_policy_config} property
|
|
94
114
|
def initialize(attributes = {})
|
|
@@ -129,6 +149,18 @@ module OCI
|
|
|
129
149
|
|
|
130
150
|
self.kms_key_id = attributes[:'kms_key_id'] if attributes[:'kms_key_id']
|
|
131
151
|
|
|
152
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
153
|
+
|
|
154
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
155
|
+
|
|
156
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
157
|
+
|
|
158
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
159
|
+
|
|
160
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
161
|
+
|
|
162
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
163
|
+
|
|
132
164
|
self.options = attributes[:'options'] if attributes[:'options']
|
|
133
165
|
|
|
134
166
|
self.image_policy_config = attributes[:'imagePolicyConfig'] if attributes[:'imagePolicyConfig']
|
|
@@ -155,6 +187,8 @@ module OCI
|
|
|
155
187
|
vcn_id == other.vcn_id &&
|
|
156
188
|
kubernetes_version == other.kubernetes_version &&
|
|
157
189
|
kms_key_id == other.kms_key_id &&
|
|
190
|
+
freeform_tags == other.freeform_tags &&
|
|
191
|
+
defined_tags == other.defined_tags &&
|
|
158
192
|
options == other.options &&
|
|
159
193
|
image_policy_config == other.image_policy_config
|
|
160
194
|
end
|
|
@@ -172,7 +206,7 @@ module OCI
|
|
|
172
206
|
# Calculates hash code according to all attributes.
|
|
173
207
|
# @return [Fixnum] Hash code
|
|
174
208
|
def hash
|
|
175
|
-
[name, compartment_id, endpoint_config, vcn_id, kubernetes_version, kms_key_id, options, image_policy_config].hash
|
|
209
|
+
[name, compartment_id, endpoint_config, vcn_id, kubernetes_version, kms_key_id, freeform_tags, defined_tags, options, image_policy_config].hash
|
|
176
210
|
end
|
|
177
211
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
178
212
|
|