oci 2.124.2__py3-none-any.whl → 2.125.1__py3-none-any.whl
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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +43 -43
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +176 -177
- oci/cloud_guard/models/activity_problem_aggregation.py +1 -1
- oci/cloud_guard/models/condition_metadata_type.py +1 -1
- oci/cloud_guard/models/configuration.py +1 -1
- oci/cloud_guard/models/create_data_source_details.py +47 -0
- oci/cloud_guard/models/create_managed_list_details.py +11 -3
- oci/cloud_guard/models/data_mask_rule.py +1 -1
- oci/cloud_guard/models/detector.py +1 -1
- oci/cloud_guard/models/detector_recipe.py +1 -1
- oci/cloud_guard/models/detector_recipe_detector_rule.py +12 -4
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_guard/models/detector_rule.py +12 -4
- oci/cloud_guard/models/detector_rule_summary.py +11 -3
- oci/cloud_guard/models/impacted_resource_summary.py +1 -1
- oci/cloud_guard/models/managed_list.py +12 -4
- oci/cloud_guard/models/managed_list_summary.py +11 -3
- oci/cloud_guard/models/managed_list_type_summary.py +1 -1
- oci/cloud_guard/models/policy_summary.py +1 -1
- oci/cloud_guard/models/problem.py +1 -1
- oci/cloud_guard/models/problem_aggregation.py +1 -1
- oci/cloud_guard/models/problem_endpoint_summary.py +1 -1
- oci/cloud_guard/models/problem_trend_aggregation.py +1 -1
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +11 -3
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database/models/autonomous_database.py +93 -0
- oci/database/models/autonomous_database_summary.py +93 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +146 -2
- oci/database/models/update_autonomous_database_details.py +93 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +148 -8
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +340 -0
- oci/database_management/models/heat_wave_fleet_by_category.py +134 -0
- oci/database_management/models/heat_wave_fleet_metric_definition.py +196 -0
- oci/database_management/models/heat_wave_fleet_metric_summary_definition.py +165 -0
- oci/database_management/models/heat_wave_fleet_metrics.py +165 -0
- oci/database_management/models/heat_wave_fleet_summary.py +103 -0
- oci/database_management/models/heat_wave_node.py +154 -0
- oci/database_management/models/managed_my_sql_database.py +250 -2
- oci/database_management/models/my_sql_data_summary.py +64 -2
- oci/database_management/models/my_sql_database_usage_metrics.py +93 -0
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +92 -92
- oci/devops/models/__init__.py +2 -0
- oci/devops/models/create_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/create_repository_details.py +2 -2
- oci/devops/models/deploy_artifact.py +7 -3
- oci/devops/models/deploy_artifact_source.py +4 -0
- oci/devops/models/devops_code_repository_filter.py +2 -2
- oci/devops/models/devops_code_repository_filter_attributes.py +2 -2
- oci/devops/models/diff_summary.py +37 -2
- oci/devops/models/helm_command_spec_artifact_source.py +126 -0
- oci/devops/models/oke_helm_chart_deploy_stage.py +113 -2
- oci/devops/models/oke_helm_chart_deploy_stage_summary.py +109 -0
- oci/devops/models/repository.py +17 -5
- oci/devops/models/repository_author_summary.py +37 -2
- oci/devops/models/repository_branch_summary.py +7 -0
- oci/devops/models/repository_commit_summary.py +37 -2
- oci/devops/models/repository_mirror_record_summary.py +37 -2
- oci/devops/models/repository_path_summary.py +37 -2
- oci/devops/models/repository_ref_summary.py +37 -2
- oci/devops/models/repository_summary.py +2 -2
- oci/devops/models/repository_tag_summary.py +7 -0
- oci/devops/models/update_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/update_repository_details.py +2 -2
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +135 -41
- oci/email/models/__init__.py +2 -0
- oci/email/models/configuration.py +138 -0
- oci/email/models/create_dkim_details.py +4 -4
- oci/email/models/create_email_domain_details.py +6 -2
- oci/email/models/dkim.py +8 -8
- oci/email/models/dkim_collection.py +1 -1
- oci/email/models/email_domain.py +6 -6
- oci/email/models/email_domain_collection.py +1 -1
- oci/email/models/email_domain_summary.py +6 -6
- oci/email/models/sender.py +41 -4
- oci/email/models/sender_summary.py +41 -28
- oci/email/models/suppression.py +12 -4
- oci/email/models/suppression_summary.py +6 -2
- oci/email/models/work_request.py +13 -5
- oci/email/models/work_request_error.py +8 -6
- oci/email/models/work_request_resource.py +7 -3
- oci/email/models/work_request_summary.py +13 -5
- oci/email_data_plane/__init__.py +14 -0
- oci/email_data_plane/email_dp_client.py +206 -0
- oci/email_data_plane/email_dp_client_composite_operations.py +26 -0
- oci/email_data_plane/models/__init__.py +22 -0
- oci/email_data_plane/models/email_address.py +107 -0
- oci/email_data_plane/models/email_submitted_response.py +136 -0
- oci/email_data_plane/models/recipients.py +135 -0
- oci/email_data_plane/models/sender.py +103 -0
- oci/email_data_plane/models/submit_email_details.py +297 -0
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_configuration.py +2 -0
- oci/load_balancer/models/ssl_configuration_details.py +2 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +16 -0
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/logging/models/__init__.py +52 -0
- oci/logging/models/create_unified_agent_configuration_details.py +2 -2
- oci/logging/models/grep_filter_allow_rule.py +103 -0
- oci/logging/models/grep_filter_deny_rule.py +103 -0
- oci/logging/models/operational_metrics_source.py +1 -1
- oci/logging/models/record_transformer_pair.py +103 -0
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_configuration_summary.py +7 -3
- oci/logging/models/unified_agent_cri_parser.py +1 -1
- oci/logging/models/unified_agent_csv_parser.py +1 -1
- oci/logging/models/unified_agent_custom_filter.py +151 -0
- oci/logging/models/unified_agent_custom_plugin_log_source.py +89 -0
- oci/logging/models/unified_agent_custom_section.py +103 -0
- oci/logging/models/unified_agent_grok_parser.py +1 -1
- oci/logging/models/unified_agent_kubernetes_configuration_details.py +132 -0
- oci/logging/models/unified_agent_kubernetes_filter.py +121 -0
- oci/logging/models/unified_agent_kubernetes_scrape_target.py +189 -0
- oci/logging/models/unified_agent_kubernetes_source.py +103 -0
- oci/logging/models/unified_agent_logging_configuration.py +32 -1
- oci/logging/models/unified_agent_logging_filter.py +156 -0
- oci/logging/models/unified_agent_logging_grep_filter.py +121 -0
- oci/logging/models/unified_agent_logging_record_transformer_filter.py +276 -0
- oci/logging/models/unified_agent_logging_source.py +11 -3
- oci/logging/models/unified_agent_monitoring_application_configuration_details.py +117 -0
- oci/logging/models/unified_agent_monitoring_configuration_details.py +82 -0
- oci/logging/models/unified_agent_monitoring_destination.py +103 -0
- oci/logging/models/unified_agent_monitoring_filter.py +140 -0
- oci/logging/models/unified_agent_monitoring_url_source.py +103 -0
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_parser.py +1 -1
- oci/logging/models/unified_agent_none_parser.py +1 -1
- oci/logging/models/unified_agent_openmetrics_parser.py +127 -0
- oci/logging/models/unified_agent_openmetrics_parser_record.py +134 -0
- oci/logging/models/unified_agent_openmetrics_tail_configuration_details.py +109 -0
- oci/logging/models/unified_agent_parser.py +11 -3
- oci/logging/models/unified_agent_parser_filter.py +338 -0
- oci/logging/models/unified_agent_regex_parser.py +1 -1
- oci/logging/models/unified_agent_service_configuration_details.py +11 -3
- oci/logging/models/unified_agent_syslog_parser.py +1 -1
- oci/logging/models/unified_agent_tail_log_source.py +30 -3
- oci/logging/models/unified_agent_tail_source_advanced_options.py +72 -0
- oci/logging/models/unified_agent_tsv_parser.py +1 -1
- oci/logging/models/unified_agent_url_configuration_details.py +132 -0
- oci/logging/models/unified_agent_url_filter.py +120 -0
- oci/logging/models/unified_agent_url_scrape_target.py +103 -0
- oci/logging/models/unified_agent_windows_event_source.py +1 -1
- oci/logging/models/unified_json_parser.py +65 -3
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +2 -0
- oci/monitoring/models/alarm.py +107 -0
- oci/monitoring/models/alarm_dimension_states_entry.py +35 -0
- oci/monitoring/models/alarm_override.py +304 -0
- oci/monitoring/models/alarm_status_summary.py +35 -0
- oci/monitoring/models/alarm_summary.py +109 -2
- oci/monitoring/models/create_alarm_details.py +109 -2
- oci/monitoring/models/update_alarm_details.py +109 -2
- oci/monitoring/monitoring_client.py +23 -22
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/models/backend.py +3 -3
- oci/network_load_balancer/models/backend_details.py +2 -2
- oci/network_load_balancer/models/backend_set.py +1 -1
- oci/network_load_balancer/models/backend_set_details.py +1 -1
- oci/network_load_balancer/models/backend_set_summary.py +1 -1
- oci/network_load_balancer/models/backend_summary.py +3 -3
- oci/network_load_balancer/models/create_backend_details.py +3 -3
- oci/network_load_balancer/models/create_backend_set_details.py +1 -1
- oci/network_load_balancer/models/create_listener_details.py +7 -9
- oci/network_load_balancer/models/create_network_load_balancer_details.py +144 -6
- oci/network_load_balancer/models/health_checker.py +1 -1
- oci/network_load_balancer/models/health_checker_details.py +1 -1
- oci/network_load_balancer/models/listener.py +6 -8
- oci/network_load_balancer/models/listener_details.py +6 -8
- oci/network_load_balancer/models/listener_summary.py +6 -8
- oci/network_load_balancer/models/network_load_balancer.py +43 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +42 -5
- oci/network_load_balancer/models/update_backend_details.py +4 -4
- oci/network_load_balancer/models/update_backend_set_details.py +1 -1
- oci/network_load_balancer/models/update_listener_details.py +5 -7
- oci/network_load_balancer/models/update_network_load_balancer_details.py +106 -3
- oci/network_load_balancer/models/work_request.py +7 -3
- oci/network_load_balancer/models/work_request_summary.py +7 -3
- oci/network_load_balancer/network_load_balancer_client.py +136 -68
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +350 -350
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +28 -28
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/RECORD +420 -375
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
@@ -189,7 +189,7 @@ class DiagnosabilityClient(object):
|
|
189
189
|
:rtype: :class:`~oci.response.Response`
|
190
190
|
|
191
191
|
:example:
|
192
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
192
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/list_alert_logs.py.html>`__ to see an example of how to use list_alert_logs API.
|
193
193
|
"""
|
194
194
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
195
195
|
required_arguments = ['managedDatabaseId']
|
@@ -385,7 +385,7 @@ class DiagnosabilityClient(object):
|
|
385
385
|
:rtype: :class:`~oci.response.Response`
|
386
386
|
|
387
387
|
:example:
|
388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/list_attention_logs.py.html>`__ to see an example of how to use list_attention_logs API.
|
389
389
|
"""
|
390
390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
391
391
|
required_arguments = ['managedDatabaseId']
|
@@ -576,7 +576,7 @@ class DiagnosabilityClient(object):
|
|
576
576
|
:rtype: :class:`~oci.response.Response`
|
577
577
|
|
578
578
|
:example:
|
579
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
579
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/summarize_alert_log_counts.py.html>`__ to see an example of how to use summarize_alert_log_counts API.
|
580
580
|
"""
|
581
581
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
582
582
|
required_arguments = ['managedDatabaseId']
|
@@ -758,7 +758,7 @@ class DiagnosabilityClient(object):
|
|
758
758
|
:rtype: :class:`~oci.response.Response`
|
759
759
|
|
760
760
|
:example:
|
761
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
761
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/summarize_attention_log_counts.py.html>`__ to see an example of how to use summarize_attention_log_counts API.
|
762
762
|
"""
|
763
763
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
764
764
|
required_arguments = ['managedDatabaseId']
|
@@ -118,6 +118,138 @@ class ManagedMySqlDatabasesClient(object):
|
|
118
118
|
self.retry_strategy = kwargs.get('retry_strategy')
|
119
119
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
120
120
|
|
121
|
+
def get_heat_wave_fleet_metric(self, compartment_id, start_time, end_time, **kwargs):
|
122
|
+
"""
|
123
|
+
Gets the health metrics for a fleet of HeatWave clusters in a compartment.
|
124
|
+
|
125
|
+
|
126
|
+
:param str compartment_id: (required)
|
127
|
+
The `OCID`__ of the compartment.
|
128
|
+
|
129
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
130
|
+
|
131
|
+
:param str start_time: (required)
|
132
|
+
The start time of the time range to retrieve the health metrics of a Managed Database
|
133
|
+
in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
|
134
|
+
|
135
|
+
:param str end_time: (required)
|
136
|
+
The end time of the time range to retrieve the health metrics of a Managed Database
|
137
|
+
in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
|
138
|
+
|
139
|
+
:param str opc_request_id: (optional)
|
140
|
+
The client request ID for tracing.
|
141
|
+
|
142
|
+
:param str filter_by_metric_names: (optional)
|
143
|
+
The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics.
|
144
|
+
|
145
|
+
:param str filter_by_heat_wave_status: (optional)
|
146
|
+
The parameter to filter by HeatWave cluster status.
|
147
|
+
|
148
|
+
Allowed values are: "UP", "DOWN", "UNKNOWN"
|
149
|
+
|
150
|
+
:param str filter_by_heat_wave_shape: (optional)
|
151
|
+
The parameter to filter by HeatWave node shape.
|
152
|
+
|
153
|
+
:param bool is_heat_wave_lakehouse_enabled: (optional)
|
154
|
+
The parameter to filter based on whether HeatWave Lakehouse is enabled for the cluster.
|
155
|
+
|
156
|
+
:param obj retry_strategy: (optional)
|
157
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
158
|
+
|
159
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
160
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
161
|
+
|
162
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
163
|
+
|
164
|
+
:param bool allow_control_chars: (optional)
|
165
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
166
|
+
By default, the response will not allow control characters in strings
|
167
|
+
|
168
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.HeatWaveFleetMetrics`
|
169
|
+
:rtype: :class:`~oci.response.Response`
|
170
|
+
|
171
|
+
:example:
|
172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/get_heat_wave_fleet_metric.py.html>`__ to see an example of how to use get_heat_wave_fleet_metric API.
|
173
|
+
"""
|
174
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
175
|
+
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
176
|
+
resource_path = "/heatWaveFleetMetrics"
|
177
|
+
method = "GET"
|
178
|
+
operation_name = "get_heat_wave_fleet_metric"
|
179
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/HeatWaveFleetMetrics/GetHeatWaveFleetMetric"
|
180
|
+
|
181
|
+
# Don't accept unknown kwargs
|
182
|
+
expected_kwargs = [
|
183
|
+
"allow_control_chars",
|
184
|
+
"retry_strategy",
|
185
|
+
"opc_request_id",
|
186
|
+
"filter_by_metric_names",
|
187
|
+
"filter_by_heat_wave_status",
|
188
|
+
"filter_by_heat_wave_shape",
|
189
|
+
"is_heat_wave_lakehouse_enabled"
|
190
|
+
]
|
191
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
192
|
+
if extra_kwargs:
|
193
|
+
raise ValueError(
|
194
|
+
f"get_heat_wave_fleet_metric got unknown kwargs: {extra_kwargs!r}")
|
195
|
+
|
196
|
+
if 'filter_by_heat_wave_status' in kwargs:
|
197
|
+
filter_by_heat_wave_status_allowed_values = ["UP", "DOWN", "UNKNOWN"]
|
198
|
+
if kwargs['filter_by_heat_wave_status'] not in filter_by_heat_wave_status_allowed_values:
|
199
|
+
raise ValueError(
|
200
|
+
f"Invalid value for `filter_by_heat_wave_status`, must be one of { filter_by_heat_wave_status_allowed_values }"
|
201
|
+
)
|
202
|
+
|
203
|
+
query_params = {
|
204
|
+
"compartmentId": compartment_id,
|
205
|
+
"filterByMetricNames": kwargs.get("filter_by_metric_names", missing),
|
206
|
+
"startTime": start_time,
|
207
|
+
"endTime": end_time,
|
208
|
+
"filterByHeatWaveStatus": kwargs.get("filter_by_heat_wave_status", missing),
|
209
|
+
"filterByHeatWaveShape": kwargs.get("filter_by_heat_wave_shape", missing),
|
210
|
+
"isHeatWaveLakehouseEnabled": kwargs.get("is_heat_wave_lakehouse_enabled", missing)
|
211
|
+
}
|
212
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
213
|
+
|
214
|
+
header_params = {
|
215
|
+
"accept": "application/json",
|
216
|
+
"content-type": "application/json",
|
217
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
218
|
+
}
|
219
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
220
|
+
|
221
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
222
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
223
|
+
client_retry_strategy=self.retry_strategy
|
224
|
+
)
|
225
|
+
|
226
|
+
if retry_strategy:
|
227
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
228
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
229
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
230
|
+
return retry_strategy.make_retrying_call(
|
231
|
+
self.base_client.call_api,
|
232
|
+
resource_path=resource_path,
|
233
|
+
method=method,
|
234
|
+
query_params=query_params,
|
235
|
+
header_params=header_params,
|
236
|
+
response_type="HeatWaveFleetMetrics",
|
237
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
238
|
+
operation_name=operation_name,
|
239
|
+
api_reference_link=api_reference_link,
|
240
|
+
required_arguments=required_arguments)
|
241
|
+
else:
|
242
|
+
return self.base_client.call_api(
|
243
|
+
resource_path=resource_path,
|
244
|
+
method=method,
|
245
|
+
query_params=query_params,
|
246
|
+
header_params=header_params,
|
247
|
+
response_type="HeatWaveFleetMetrics",
|
248
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
249
|
+
operation_name=operation_name,
|
250
|
+
api_reference_link=api_reference_link,
|
251
|
+
required_arguments=required_arguments)
|
252
|
+
|
121
253
|
def get_managed_my_sql_database(self, managed_my_sql_database_id, **kwargs):
|
122
254
|
"""
|
123
255
|
Retrieves the general information for a specific MySQL Database.
|
@@ -145,7 +277,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
145
277
|
:rtype: :class:`~oci.response.Response`
|
146
278
|
|
147
279
|
:example:
|
148
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/get_managed_my_sql_database.py.html>`__ to see an example of how to use get_managed_my_sql_database API.
|
149
281
|
"""
|
150
282
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
151
283
|
required_arguments = ['managedMySqlDatabaseId']
|
@@ -256,6 +388,9 @@ class ManagedMySqlDatabasesClient(object):
|
|
256
388
|
:param str filter_by_my_sql_database_version: (optional)
|
257
389
|
The parameter to filter by MySQL database version.
|
258
390
|
|
391
|
+
:param bool is_heat_wave_enabled: (optional)
|
392
|
+
The parameter to filter based on whether HeatWave is enabled for the database.
|
393
|
+
|
259
394
|
:param obj retry_strategy: (optional)
|
260
395
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
261
396
|
|
@@ -272,7 +407,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
272
407
|
:rtype: :class:`~oci.response.Response`
|
273
408
|
|
274
409
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
410
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/get_my_sql_fleet_metric.py.html>`__ to see an example of how to use get_my_sql_fleet_metric API.
|
276
411
|
"""
|
277
412
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
413
|
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
@@ -290,7 +425,8 @@ class ManagedMySqlDatabasesClient(object):
|
|
290
425
|
"filter_by_my_sql_deployment_type_param",
|
291
426
|
"filter_by_mds_deployment_type",
|
292
427
|
"filter_by_my_sql_status",
|
293
|
-
"filter_by_my_sql_database_version"
|
428
|
+
"filter_by_my_sql_database_version",
|
429
|
+
"is_heat_wave_enabled"
|
294
430
|
]
|
295
431
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
296
432
|
if extra_kwargs:
|
@@ -326,7 +462,8 @@ class ManagedMySqlDatabasesClient(object):
|
|
326
462
|
"filterByMySqlDeploymentTypeParam": kwargs.get("filter_by_my_sql_deployment_type_param", missing),
|
327
463
|
"filterByMdsDeploymentType": kwargs.get("filter_by_mds_deployment_type", missing),
|
328
464
|
"filterByMySqlStatus": kwargs.get("filter_by_my_sql_status", missing),
|
329
|
-
"filterByMySqlDatabaseVersion": kwargs.get("filter_by_my_sql_database_version", missing)
|
465
|
+
"filterByMySqlDatabaseVersion": kwargs.get("filter_by_my_sql_database_version", missing),
|
466
|
+
"isHeatWaveEnabled": kwargs.get("is_heat_wave_enabled", missing)
|
330
467
|
}
|
331
468
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
332
469
|
|
@@ -415,7 +552,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
415
552
|
:rtype: :class:`~oci.response.Response`
|
416
553
|
|
417
554
|
:example:
|
418
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
555
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/list_managed_my_sql_database_configuration_data.py.html>`__ to see an example of how to use list_managed_my_sql_database_configuration_data API.
|
419
556
|
"""
|
420
557
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
421
558
|
required_arguments = ['managedMySqlDatabaseId']
|
@@ -532,6 +669,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
532
669
|
|
533
670
|
:param str filter_column: (optional)
|
534
671
|
The parameter to filter results by key criteria which include :
|
672
|
+
- AVG_TIMER_WAIT
|
535
673
|
- SUM_TIMER_WAIT
|
536
674
|
- COUNT_STAR
|
537
675
|
- SUM_ERRORS
|
@@ -543,6 +681,8 @@ class ManagedMySqlDatabasesClient(object):
|
|
543
681
|
- SUM_NO_GOOD_INDEX_USED
|
544
682
|
- FIRST_SEEN
|
545
683
|
- LAST_SEEN
|
684
|
+
- HEATWAVE_OFFLOADED
|
685
|
+
- HEATWAVE_OUT_OF_MEMORY
|
546
686
|
|
547
687
|
:param str opc_request_id: (optional)
|
548
688
|
The client request ID for tracing.
|
@@ -582,7 +722,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
582
722
|
:rtype: :class:`~oci.response.Response`
|
583
723
|
|
584
724
|
:example:
|
585
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
725
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/list_managed_my_sql_database_sql_data.py.html>`__ to see an example of how to use list_managed_my_sql_database_sql_data API.
|
586
726
|
"""
|
587
727
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
588
728
|
required_arguments = ['managedMySqlDatabaseId', 'startTime', 'endTime']
|
@@ -733,7 +873,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
733
873
|
:rtype: :class:`~oci.response.Response`
|
734
874
|
|
735
875
|
:example:
|
736
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
876
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/list_managed_my_sql_databases.py.html>`__ to see an example of how to use list_managed_my_sql_databases API.
|
737
877
|
"""
|
738
878
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
739
879
|
required_arguments = ['compartmentId']
|
@@ -861,7 +1001,7 @@ class ManagedMySqlDatabasesClient(object):
|
|
861
1001
|
:rtype: :class:`~oci.response.Response`
|
862
1002
|
|
863
1003
|
:example:
|
864
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1004
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/databasemanagement/summarize_managed_my_sql_database_availability_metrics.py.html>`__ to see an example of how to use summarize_managed_my_sql_database_availability_metrics API.
|
865
1005
|
"""
|
866
1006
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
867
1007
|
required_arguments = ['managedMySqlDatabaseId', 'startTime', 'endTime']
|
@@ -243,6 +243,13 @@ from .fleet_metric_definition import FleetMetricDefinition
|
|
243
243
|
from .fleet_metric_summary_definition import FleetMetricSummaryDefinition
|
244
244
|
from .fleet_status_by_category import FleetStatusByCategory
|
245
245
|
from .fleet_summary import FleetSummary
|
246
|
+
from .heat_wave_cluster_usage_metrics import HeatWaveClusterUsageMetrics
|
247
|
+
from .heat_wave_fleet_by_category import HeatWaveFleetByCategory
|
248
|
+
from .heat_wave_fleet_metric_definition import HeatWaveFleetMetricDefinition
|
249
|
+
from .heat_wave_fleet_metric_summary_definition import HeatWaveFleetMetricSummaryDefinition
|
250
|
+
from .heat_wave_fleet_metrics import HeatWaveFleetMetrics
|
251
|
+
from .heat_wave_fleet_summary import HeatWaveFleetSummary
|
252
|
+
from .heat_wave_node import HeatWaveNode
|
246
253
|
from .historic_addm_result import HistoricAddmResult
|
247
254
|
from .implement_optimizer_statistics_advisor_recommendations_details import ImplementOptimizerStatisticsAdvisorRecommendationsDetails
|
248
255
|
from .implement_optimizer_statistics_advisor_recommendations_job import ImplementOptimizerStatisticsAdvisorRecommendationsJob
|
@@ -698,6 +705,13 @@ database_management_type_mapping = {
|
|
698
705
|
"FleetMetricSummaryDefinition": FleetMetricSummaryDefinition,
|
699
706
|
"FleetStatusByCategory": FleetStatusByCategory,
|
700
707
|
"FleetSummary": FleetSummary,
|
708
|
+
"HeatWaveClusterUsageMetrics": HeatWaveClusterUsageMetrics,
|
709
|
+
"HeatWaveFleetByCategory": HeatWaveFleetByCategory,
|
710
|
+
"HeatWaveFleetMetricDefinition": HeatWaveFleetMetricDefinition,
|
711
|
+
"HeatWaveFleetMetricSummaryDefinition": HeatWaveFleetMetricSummaryDefinition,
|
712
|
+
"HeatWaveFleetMetrics": HeatWaveFleetMetrics,
|
713
|
+
"HeatWaveFleetSummary": HeatWaveFleetSummary,
|
714
|
+
"HeatWaveNode": HeatWaveNode,
|
701
715
|
"HistoricAddmResult": HistoricAddmResult,
|
702
716
|
"ImplementOptimizerStatisticsAdvisorRecommendationsDetails": ImplementOptimizerStatisticsAdvisorRecommendationsDetails,
|
703
717
|
"ImplementOptimizerStatisticsAdvisorRecommendationsJob": ImplementOptimizerStatisticsAdvisorRecommendationsJob,
|
@@ -0,0 +1,340 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class HeatWaveClusterUsageMetrics(object):
|
14
|
+
"""
|
15
|
+
The list of aggregated metrics for a HeatWave cluster in the fleet.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the status property of a HeatWaveClusterUsageMetrics.
|
19
|
+
#: This constant has a value of "UP"
|
20
|
+
STATUS_UP = "UP"
|
21
|
+
|
22
|
+
#: A constant which can be used with the status property of a HeatWaveClusterUsageMetrics.
|
23
|
+
#: This constant has a value of "DOWN"
|
24
|
+
STATUS_DOWN = "DOWN"
|
25
|
+
|
26
|
+
#: A constant which can be used with the status property of a HeatWaveClusterUsageMetrics.
|
27
|
+
#: This constant has a value of "UNKNOWN"
|
28
|
+
STATUS_UNKNOWN = "UNKNOWN"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new HeatWaveClusterUsageMetrics object with values from keyword arguments.
|
33
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
34
|
+
|
35
|
+
:param status:
|
36
|
+
The value to assign to the status property of this HeatWaveClusterUsageMetrics.
|
37
|
+
Allowed values for this property are: "UP", "DOWN", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type status: str
|
40
|
+
|
41
|
+
:param db_system_id:
|
42
|
+
The value to assign to the db_system_id property of this HeatWaveClusterUsageMetrics.
|
43
|
+
:type db_system_id: str
|
44
|
+
|
45
|
+
:param db_system_name:
|
46
|
+
The value to assign to the db_system_name property of this HeatWaveClusterUsageMetrics.
|
47
|
+
:type db_system_name: str
|
48
|
+
|
49
|
+
:param heat_wave_cluster_display_name:
|
50
|
+
The value to assign to the heat_wave_cluster_display_name property of this HeatWaveClusterUsageMetrics.
|
51
|
+
:type heat_wave_cluster_display_name: str
|
52
|
+
|
53
|
+
:param node_count:
|
54
|
+
The value to assign to the node_count property of this HeatWaveClusterUsageMetrics.
|
55
|
+
:type node_count: int
|
56
|
+
|
57
|
+
:param is_lakehouse_enabled:
|
58
|
+
The value to assign to the is_lakehouse_enabled property of this HeatWaveClusterUsageMetrics.
|
59
|
+
:type is_lakehouse_enabled: bool
|
60
|
+
|
61
|
+
:param heat_wave_node_shape:
|
62
|
+
The value to assign to the heat_wave_node_shape property of this HeatWaveClusterUsageMetrics.
|
63
|
+
:type heat_wave_node_shape: str
|
64
|
+
|
65
|
+
:param memory_size:
|
66
|
+
The value to assign to the memory_size property of this HeatWaveClusterUsageMetrics.
|
67
|
+
:type memory_size: int
|
68
|
+
|
69
|
+
:param metrics:
|
70
|
+
The value to assign to the metrics property of this HeatWaveClusterUsageMetrics.
|
71
|
+
:type metrics: list[oci.database_management.models.HeatWaveFleetMetricDefinition]
|
72
|
+
|
73
|
+
"""
|
74
|
+
self.swagger_types = {
|
75
|
+
'status': 'str',
|
76
|
+
'db_system_id': 'str',
|
77
|
+
'db_system_name': 'str',
|
78
|
+
'heat_wave_cluster_display_name': 'str',
|
79
|
+
'node_count': 'int',
|
80
|
+
'is_lakehouse_enabled': 'bool',
|
81
|
+
'heat_wave_node_shape': 'str',
|
82
|
+
'memory_size': 'int',
|
83
|
+
'metrics': 'list[HeatWaveFleetMetricDefinition]'
|
84
|
+
}
|
85
|
+
|
86
|
+
self.attribute_map = {
|
87
|
+
'status': 'status',
|
88
|
+
'db_system_id': 'dbSystemId',
|
89
|
+
'db_system_name': 'dbSystemName',
|
90
|
+
'heat_wave_cluster_display_name': 'heatWaveClusterDisplayName',
|
91
|
+
'node_count': 'nodeCount',
|
92
|
+
'is_lakehouse_enabled': 'isLakehouseEnabled',
|
93
|
+
'heat_wave_node_shape': 'heatWaveNodeShape',
|
94
|
+
'memory_size': 'memorySize',
|
95
|
+
'metrics': 'metrics'
|
96
|
+
}
|
97
|
+
|
98
|
+
self._status = None
|
99
|
+
self._db_system_id = None
|
100
|
+
self._db_system_name = None
|
101
|
+
self._heat_wave_cluster_display_name = None
|
102
|
+
self._node_count = None
|
103
|
+
self._is_lakehouse_enabled = None
|
104
|
+
self._heat_wave_node_shape = None
|
105
|
+
self._memory_size = None
|
106
|
+
self._metrics = None
|
107
|
+
|
108
|
+
@property
|
109
|
+
def status(self):
|
110
|
+
"""
|
111
|
+
**[Required]** Gets the status of this HeatWaveClusterUsageMetrics.
|
112
|
+
The status of the HeatWave cluster. Indicates whether the status of the cluster is UP, DOWN, or UNKNOWN at the current time.
|
113
|
+
|
114
|
+
Allowed values for this property are: "UP", "DOWN", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
115
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
116
|
+
|
117
|
+
|
118
|
+
:return: The status of this HeatWaveClusterUsageMetrics.
|
119
|
+
:rtype: str
|
120
|
+
"""
|
121
|
+
return self._status
|
122
|
+
|
123
|
+
@status.setter
|
124
|
+
def status(self, status):
|
125
|
+
"""
|
126
|
+
Sets the status of this HeatWaveClusterUsageMetrics.
|
127
|
+
The status of the HeatWave cluster. Indicates whether the status of the cluster is UP, DOWN, or UNKNOWN at the current time.
|
128
|
+
|
129
|
+
|
130
|
+
:param status: The status of this HeatWaveClusterUsageMetrics.
|
131
|
+
:type: str
|
132
|
+
"""
|
133
|
+
allowed_values = ["UP", "DOWN", "UNKNOWN"]
|
134
|
+
if not value_allowed_none_or_none_sentinel(status, allowed_values):
|
135
|
+
status = 'UNKNOWN_ENUM_VALUE'
|
136
|
+
self._status = status
|
137
|
+
|
138
|
+
@property
|
139
|
+
def db_system_id(self):
|
140
|
+
"""
|
141
|
+
**[Required]** Gets the db_system_id of this HeatWaveClusterUsageMetrics.
|
142
|
+
The OCID for the DB system associated with the HeatWave cluster.
|
143
|
+
|
144
|
+
|
145
|
+
:return: The db_system_id of this HeatWaveClusterUsageMetrics.
|
146
|
+
:rtype: str
|
147
|
+
"""
|
148
|
+
return self._db_system_id
|
149
|
+
|
150
|
+
@db_system_id.setter
|
151
|
+
def db_system_id(self, db_system_id):
|
152
|
+
"""
|
153
|
+
Sets the db_system_id of this HeatWaveClusterUsageMetrics.
|
154
|
+
The OCID for the DB system associated with the HeatWave cluster.
|
155
|
+
|
156
|
+
|
157
|
+
:param db_system_id: The db_system_id of this HeatWaveClusterUsageMetrics.
|
158
|
+
:type: str
|
159
|
+
"""
|
160
|
+
self._db_system_id = db_system_id
|
161
|
+
|
162
|
+
@property
|
163
|
+
def db_system_name(self):
|
164
|
+
"""
|
165
|
+
**[Required]** Gets the db_system_name of this HeatWaveClusterUsageMetrics.
|
166
|
+
The name of the DB system associated with the HeatWave cluster.
|
167
|
+
|
168
|
+
|
169
|
+
:return: The db_system_name of this HeatWaveClusterUsageMetrics.
|
170
|
+
:rtype: str
|
171
|
+
"""
|
172
|
+
return self._db_system_name
|
173
|
+
|
174
|
+
@db_system_name.setter
|
175
|
+
def db_system_name(self, db_system_name):
|
176
|
+
"""
|
177
|
+
Sets the db_system_name of this HeatWaveClusterUsageMetrics.
|
178
|
+
The name of the DB system associated with the HeatWave cluster.
|
179
|
+
|
180
|
+
|
181
|
+
:param db_system_name: The db_system_name of this HeatWaveClusterUsageMetrics.
|
182
|
+
:type: str
|
183
|
+
"""
|
184
|
+
self._db_system_name = db_system_name
|
185
|
+
|
186
|
+
@property
|
187
|
+
def heat_wave_cluster_display_name(self):
|
188
|
+
"""
|
189
|
+
**[Required]** Gets the heat_wave_cluster_display_name of this HeatWaveClusterUsageMetrics.
|
190
|
+
The name of the HeatWave cluster.
|
191
|
+
|
192
|
+
|
193
|
+
:return: The heat_wave_cluster_display_name of this HeatWaveClusterUsageMetrics.
|
194
|
+
:rtype: str
|
195
|
+
"""
|
196
|
+
return self._heat_wave_cluster_display_name
|
197
|
+
|
198
|
+
@heat_wave_cluster_display_name.setter
|
199
|
+
def heat_wave_cluster_display_name(self, heat_wave_cluster_display_name):
|
200
|
+
"""
|
201
|
+
Sets the heat_wave_cluster_display_name of this HeatWaveClusterUsageMetrics.
|
202
|
+
The name of the HeatWave cluster.
|
203
|
+
|
204
|
+
|
205
|
+
:param heat_wave_cluster_display_name: The heat_wave_cluster_display_name of this HeatWaveClusterUsageMetrics.
|
206
|
+
:type: str
|
207
|
+
"""
|
208
|
+
self._heat_wave_cluster_display_name = heat_wave_cluster_display_name
|
209
|
+
|
210
|
+
@property
|
211
|
+
def node_count(self):
|
212
|
+
"""
|
213
|
+
**[Required]** Gets the node_count of this HeatWaveClusterUsageMetrics.
|
214
|
+
Number of nodes in the HeatWave cluster.
|
215
|
+
|
216
|
+
|
217
|
+
:return: The node_count of this HeatWaveClusterUsageMetrics.
|
218
|
+
:rtype: int
|
219
|
+
"""
|
220
|
+
return self._node_count
|
221
|
+
|
222
|
+
@node_count.setter
|
223
|
+
def node_count(self, node_count):
|
224
|
+
"""
|
225
|
+
Sets the node_count of this HeatWaveClusterUsageMetrics.
|
226
|
+
Number of nodes in the HeatWave cluster.
|
227
|
+
|
228
|
+
|
229
|
+
:param node_count: The node_count of this HeatWaveClusterUsageMetrics.
|
230
|
+
:type: int
|
231
|
+
"""
|
232
|
+
self._node_count = node_count
|
233
|
+
|
234
|
+
@property
|
235
|
+
def is_lakehouse_enabled(self):
|
236
|
+
"""
|
237
|
+
**[Required]** Gets the is_lakehouse_enabled of this HeatWaveClusterUsageMetrics.
|
238
|
+
If Lakehouse is enabled for the HeatWave cluster or not.
|
239
|
+
|
240
|
+
|
241
|
+
:return: The is_lakehouse_enabled of this HeatWaveClusterUsageMetrics.
|
242
|
+
:rtype: bool
|
243
|
+
"""
|
244
|
+
return self._is_lakehouse_enabled
|
245
|
+
|
246
|
+
@is_lakehouse_enabled.setter
|
247
|
+
def is_lakehouse_enabled(self, is_lakehouse_enabled):
|
248
|
+
"""
|
249
|
+
Sets the is_lakehouse_enabled of this HeatWaveClusterUsageMetrics.
|
250
|
+
If Lakehouse is enabled for the HeatWave cluster or not.
|
251
|
+
|
252
|
+
|
253
|
+
:param is_lakehouse_enabled: The is_lakehouse_enabled of this HeatWaveClusterUsageMetrics.
|
254
|
+
:type: bool
|
255
|
+
"""
|
256
|
+
self._is_lakehouse_enabled = is_lakehouse_enabled
|
257
|
+
|
258
|
+
@property
|
259
|
+
def heat_wave_node_shape(self):
|
260
|
+
"""
|
261
|
+
**[Required]** Gets the heat_wave_node_shape of this HeatWaveClusterUsageMetrics.
|
262
|
+
Shape of the nodes in the HeatWave cluster.
|
263
|
+
|
264
|
+
|
265
|
+
:return: The heat_wave_node_shape of this HeatWaveClusterUsageMetrics.
|
266
|
+
:rtype: str
|
267
|
+
"""
|
268
|
+
return self._heat_wave_node_shape
|
269
|
+
|
270
|
+
@heat_wave_node_shape.setter
|
271
|
+
def heat_wave_node_shape(self, heat_wave_node_shape):
|
272
|
+
"""
|
273
|
+
Sets the heat_wave_node_shape of this HeatWaveClusterUsageMetrics.
|
274
|
+
Shape of the nodes in the HeatWave cluster.
|
275
|
+
|
276
|
+
|
277
|
+
:param heat_wave_node_shape: The heat_wave_node_shape of this HeatWaveClusterUsageMetrics.
|
278
|
+
:type: str
|
279
|
+
"""
|
280
|
+
self._heat_wave_node_shape = heat_wave_node_shape
|
281
|
+
|
282
|
+
@property
|
283
|
+
def memory_size(self):
|
284
|
+
"""
|
285
|
+
**[Required]** Gets the memory_size of this HeatWaveClusterUsageMetrics.
|
286
|
+
The total memory belonging to the HeatWave cluster in GBs.
|
287
|
+
|
288
|
+
|
289
|
+
:return: The memory_size of this HeatWaveClusterUsageMetrics.
|
290
|
+
:rtype: int
|
291
|
+
"""
|
292
|
+
return self._memory_size
|
293
|
+
|
294
|
+
@memory_size.setter
|
295
|
+
def memory_size(self, memory_size):
|
296
|
+
"""
|
297
|
+
Sets the memory_size of this HeatWaveClusterUsageMetrics.
|
298
|
+
The total memory belonging to the HeatWave cluster in GBs.
|
299
|
+
|
300
|
+
|
301
|
+
:param memory_size: The memory_size of this HeatWaveClusterUsageMetrics.
|
302
|
+
:type: int
|
303
|
+
"""
|
304
|
+
self._memory_size = memory_size
|
305
|
+
|
306
|
+
@property
|
307
|
+
def metrics(self):
|
308
|
+
"""
|
309
|
+
**[Required]** Gets the metrics of this HeatWaveClusterUsageMetrics.
|
310
|
+
A list of the database health metrics like CPU and Memory.
|
311
|
+
|
312
|
+
|
313
|
+
:return: The metrics of this HeatWaveClusterUsageMetrics.
|
314
|
+
:rtype: list[oci.database_management.models.HeatWaveFleetMetricDefinition]
|
315
|
+
"""
|
316
|
+
return self._metrics
|
317
|
+
|
318
|
+
@metrics.setter
|
319
|
+
def metrics(self, metrics):
|
320
|
+
"""
|
321
|
+
Sets the metrics of this HeatWaveClusterUsageMetrics.
|
322
|
+
A list of the database health metrics like CPU and Memory.
|
323
|
+
|
324
|
+
|
325
|
+
:param metrics: The metrics of this HeatWaveClusterUsageMetrics.
|
326
|
+
:type: list[oci.database_management.models.HeatWaveFleetMetricDefinition]
|
327
|
+
"""
|
328
|
+
self._metrics = metrics
|
329
|
+
|
330
|
+
def __repr__(self):
|
331
|
+
return formatted_flat_dict(self)
|
332
|
+
|
333
|
+
def __eq__(self, other):
|
334
|
+
if other is None:
|
335
|
+
return False
|
336
|
+
|
337
|
+
return self.__dict__ == other.__dict__
|
338
|
+
|
339
|
+
def __ne__(self, other):
|
340
|
+
return not self == other
|