oci 2.129.0__py3-none-any.whl → 2.129.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/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 +44 -44
- 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 +9 -9
- 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/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 +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +45 -45
- 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 +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- 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 +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- 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 +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +7970 -5829
- oci/database/database_client_composite_operations.py +582 -0
- oci/database/models/__init__.py +46 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database.py +14 -2
- oci/database/models/autonomous_database_summary.py +14 -2
- oci/database/models/change_exadb_vm_cluster_compartment_details.py +76 -0
- oci/database/models/change_exascale_db_storage_vault_compartment_details.py +76 -0
- oci/database/models/cloud_automation_apply_update_time_preference.py +103 -0
- oci/database/models/cloud_automation_freeze_period.py +103 -0
- oci/database/models/cloud_automation_update_details.py +157 -0
- oci/database/models/create_autonomous_database_base.py +4 -4
- oci/database/models/create_database_software_image_details.py +7 -3
- oci/database/models/create_exadb_vm_cluster_details.py +956 -0
- oci/database/models/create_exascale_db_storage_vault_details.py +340 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +4 -1
- oci/database/models/create_pluggable_database_from_local_clone_details.py +33 -2
- oci/database/models/create_pluggable_database_from_remote_clone_details.py +33 -2
- oci/database/models/database_software_image.py +7 -3
- oci/database/models/database_software_image_summary.py +7 -3
- oci/database/models/db_node.py +38 -3
- oci/database/models/db_node_details.py +76 -0
- oci/database/models/db_node_summary.py +38 -3
- oci/database/models/db_server.py +3 -3
- oci/database/models/db_server_summary.py +3 -3
- oci/database/models/exadb_vm_cluster.py +1592 -0
- oci/database/models/exadb_vm_cluster_storage_details.py +72 -0
- oci/database/models/exadb_vm_cluster_summary.py +1565 -0
- oci/database/models/exadb_vm_cluster_update.py +416 -0
- oci/database/models/exadb_vm_cluster_update_history_entry.py +392 -0
- oci/database/models/exadb_vm_cluster_update_history_entry_summary.py +392 -0
- oci/database/models/exadb_vm_cluster_update_summary.py +422 -0
- oci/database/models/exascale_db_storage_details.py +103 -0
- oci/database/models/exascale_db_storage_input_details.py +72 -0
- oci/database/models/exascale_db_storage_vault.py +605 -0
- oci/database/models/exascale_db_storage_vault_summary.py +536 -0
- oci/database/models/gi_minor_version_summary.py +107 -0
- oci/database/models/maintenance_window.py +2 -4
- oci/database/models/remove_virtual_machine_from_exadb_vm_cluster_details.py +72 -0
- oci/database/models/update_exadb_vm_cluster_details.py +570 -0
- oci/database/models/update_exascale_db_storage_vault_details.py +239 -0
- oci/database_management/db_management_client.py +210 -210
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/child_database.py +7 -3
- oci/database_management/models/database_usage_metrics.py +7 -3
- oci/database_management/models/fleet_status_by_category.py +7 -3
- oci/database_management/models/job_database.py +7 -3
- oci/database_management/models/job_execution.py +7 -3
- oci/database_management/models/job_execution_summary.py +7 -3
- oci/database_management/models/managed_database.py +7 -3
- oci/database_management/models/managed_database_summary.py +7 -3
- oci/database_management/models/optimizer_database.py +7 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +192 -35
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/create_oracle_migration_details.py +31 -0
- oci/database_migration/models/migration_parameter_base.py +127 -0
- oci/database_migration/models/migration_parameter_details.py +164 -0
- oci/database_migration/models/migration_parameter_summary.py +502 -0
- oci/database_migration/models/migration_parameter_summary_collection.py +72 -0
- oci/database_migration/models/oracle_migration.py +33 -2
- oci/database_migration/models/update_oracle_migration_details.py +31 -0
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- 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 +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +185 -67
- oci/file_storage/models/create_export_details.py +14 -4
- oci/file_storage/models/create_file_system_details.py +51 -0
- oci/file_storage/models/file_system.py +89 -3
- oci/file_storage/models/file_system_summary.py +60 -5
- oci/file_storage/models/snapshot_schedule.py +8 -2
- 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 +41 -41
- 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 +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- 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/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- 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/network_load_balancer_client.py +34 -34
- 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 +13 -13
- 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/models/__init__.py +12 -0
- oci/opsi/models/basic_configuration_item_summary.py +3 -3
- oci/opsi/models/create_operations_insights_private_endpoint_details.py +4 -2
- oci/opsi/models/create_operations_insights_warehouse_details.py +2 -2
- oci/opsi/models/create_operations_insights_warehouse_user_details.py +4 -4
- oci/opsi/models/credential_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +2 -2
- oci/opsi/models/database_details.py +2 -2
- oci/opsi/models/database_insight.py +2 -2
- oci/opsi/models/database_insight_summary.py +2 -2
- oci/opsi/models/download_operations_insights_warehouse_wallet_details.py +2 -2
- oci/opsi/models/enterprise_manager_bridges.py +1 -1
- oci/opsi/models/host_configuration_metric_group.py +11 -3
- oci/opsi/models/host_cpu_hardware_configuration.py +1 -1
- oci/opsi/models/host_cpu_recommendations.py +118 -5
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_entities.py +1 -1
- oci/opsi/models/host_filesystem_configuration.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +1 -1
- oci/opsi/models/host_gpu_configuration.py +492 -0
- oci/opsi/models/host_gpu_processes.py +213 -0
- oci/opsi/models/host_gpu_usage.py +678 -0
- oci/opsi/models/host_hardware_configuration.py +1 -1
- oci/opsi/models/host_insight.py +2 -2
- oci/opsi/models/host_insight_host_recommendations.py +27 -3
- oci/opsi/models/host_insight_summary.py +4 -4
- oci/opsi/models/host_memory_configuration.py +1 -1
- oci/opsi/models/host_memory_recommendations.py +165 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_network_configuration.py +1 -1
- oci/opsi/models/host_network_recommendations.py +134 -0
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_product.py +1 -1
- oci/opsi/models/host_resource_allocation.py +1 -1
- oci/opsi/models/host_storage_recommendations.py +134 -0
- oci/opsi/models/host_top_processes.py +34 -3
- oci/opsi/models/importable_enterprise_manager_entity.py +2 -2
- oci/opsi/models/news_report.py +2 -2
- oci/opsi/models/news_report_summary.py +2 -2
- oci/opsi/models/operations_insights_private_endpoint.py +2 -2
- oci/opsi/models/operations_insights_private_endpoint_summary.py +2 -2
- oci/opsi/models/operations_insights_warehouse.py +6 -6
- oci/opsi/models/operations_insights_warehouse_summary.py +6 -6
- oci/opsi/models/operations_insights_warehouse_user.py +4 -4
- oci/opsi/models/operations_insights_warehouse_user_summary.py +4 -4
- oci/opsi/models/operations_insights_warehouses.py +3 -3
- oci/opsi/models/opsi_configuration_basic_configuration_item_summary.py +1 -1
- oci/opsi/models/resource_filters.py +56 -2
- oci/opsi/models/sql_bucket.py +2 -2
- oci/opsi/models/sql_search_summary.py +2 -2
- oci/opsi/models/top_processes_usage.py +31 -0
- oci/opsi/models/top_processes_usage_trend.py +31 -0
- oci/opsi/models/update_operations_insights_warehouse_details.py +2 -2
- oci/opsi/models/update_operations_insights_warehouse_user_details.py +2 -2
- oci/opsi/models/work_requests.py +1 -1
- oci/opsi/operations_insights_client.py +604 -409
- oci/opsi/operations_insights_client_composite_operations.py +8 -8
- 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/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- 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 +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +3 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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 +33 -33
- 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.129.0.dist-info → oci-2.129.1.dist-info}/METADATA +1 -1
- {oci-2.129.0.dist-info → oci-2.129.1.dist-info}/RECORD +375 -342
- {oci-2.129.0.dist-info → oci-2.129.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.0.dist-info → oci-2.129.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.0.dist-info → oci-2.129.1.dist-info}/WHEEL +0 -0
- {oci-2.129.0.dist-info → oci-2.129.1.dist-info}/top_level.txt +0 -0
@@ -19,18 +19,33 @@ class HostInsightHostRecommendations(object):
|
|
19
19
|
#: This constant has a value of "HOST_CPU_RECOMMENDATIONS"
|
20
20
|
METRIC_RECOMMENDATION_NAME_HOST_CPU_RECOMMENDATIONS = "HOST_CPU_RECOMMENDATIONS"
|
21
21
|
|
22
|
+
#: A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
|
23
|
+
#: This constant has a value of "HOST_MEMORY_RECOMMENDATIONS"
|
24
|
+
METRIC_RECOMMENDATION_NAME_HOST_MEMORY_RECOMMENDATIONS = "HOST_MEMORY_RECOMMENDATIONS"
|
25
|
+
|
26
|
+
#: A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
|
27
|
+
#: This constant has a value of "HOST_NETWORK_RECOMMENDATIONS"
|
28
|
+
METRIC_RECOMMENDATION_NAME_HOST_NETWORK_RECOMMENDATIONS = "HOST_NETWORK_RECOMMENDATIONS"
|
29
|
+
|
30
|
+
#: A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
|
31
|
+
#: This constant has a value of "HOST_STORAGE_RECOMMENDATIONS"
|
32
|
+
METRIC_RECOMMENDATION_NAME_HOST_STORAGE_RECOMMENDATIONS = "HOST_STORAGE_RECOMMENDATIONS"
|
33
|
+
|
22
34
|
def __init__(self, **kwargs):
|
23
35
|
"""
|
24
36
|
Initializes a new HostInsightHostRecommendations object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
37
|
to a service operations then you should favor using a subclass over the base class:
|
26
38
|
|
27
39
|
* :class:`~oci.opsi.models.HostCpuRecommendations`
|
40
|
+
* :class:`~oci.opsi.models.HostNetworkRecommendations`
|
41
|
+
* :class:`~oci.opsi.models.HostMemoryRecommendations`
|
42
|
+
* :class:`~oci.opsi.models.HostStorageRecommendations`
|
28
43
|
|
29
44
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
45
|
|
31
46
|
:param metric_recommendation_name:
|
32
47
|
The value to assign to the metric_recommendation_name property of this HostInsightHostRecommendations.
|
33
|
-
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
48
|
+
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
34
49
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
35
50
|
:type metric_recommendation_name: str
|
36
51
|
|
@@ -55,6 +70,15 @@ class HostInsightHostRecommendations(object):
|
|
55
70
|
|
56
71
|
if type == 'HOST_CPU_RECOMMENDATIONS':
|
57
72
|
return 'HostCpuRecommendations'
|
73
|
+
|
74
|
+
if type == 'HOST_NETWORK_RECOMMENDATIONS':
|
75
|
+
return 'HostNetworkRecommendations'
|
76
|
+
|
77
|
+
if type == 'HOST_MEMORY_RECOMMENDATIONS':
|
78
|
+
return 'HostMemoryRecommendations'
|
79
|
+
|
80
|
+
if type == 'HOST_STORAGE_RECOMMENDATIONS':
|
81
|
+
return 'HostStorageRecommendations'
|
58
82
|
else:
|
59
83
|
return 'HostInsightHostRecommendations'
|
60
84
|
|
@@ -64,7 +88,7 @@ class HostInsightHostRecommendations(object):
|
|
64
88
|
**[Required]** Gets the metric_recommendation_name of this HostInsightHostRecommendations.
|
65
89
|
Name of recommendations depending of resource metric received.
|
66
90
|
|
67
|
-
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
91
|
+
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
68
92
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
69
93
|
|
70
94
|
|
@@ -83,7 +107,7 @@ class HostInsightHostRecommendations(object):
|
|
83
107
|
:param metric_recommendation_name: The metric_recommendation_name of this HostInsightHostRecommendations.
|
84
108
|
:type: str
|
85
109
|
"""
|
86
|
-
allowed_values = ["HOST_CPU_RECOMMENDATIONS"]
|
110
|
+
allowed_values = ["HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS"]
|
87
111
|
if not value_allowed_none_or_none_sentinel(metric_recommendation_name, allowed_values):
|
88
112
|
metric_recommendation_name = 'UNKNOWN_ENUM_VALUE'
|
89
113
|
self._metric_recommendation_name = metric_recommendation_name
|
@@ -369,7 +369,7 @@ class HostInsightSummary(object):
|
|
369
369
|
def host_type(self):
|
370
370
|
"""
|
371
371
|
Gets the host_type of this HostInsightSummary.
|
372
|
-
|
372
|
+
Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
|
373
373
|
|
374
374
|
|
375
375
|
:return: The host_type of this HostInsightSummary.
|
@@ -381,7 +381,7 @@ class HostInsightSummary(object):
|
|
381
381
|
def host_type(self, host_type):
|
382
382
|
"""
|
383
383
|
Sets the host_type of this HostInsightSummary.
|
384
|
-
|
384
|
+
Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
|
385
385
|
|
386
386
|
|
387
387
|
:param host_type: The host_type of this HostInsightSummary.
|
@@ -523,7 +523,7 @@ class HostInsightSummary(object):
|
|
523
523
|
def status(self):
|
524
524
|
"""
|
525
525
|
Gets the status of this HostInsightSummary.
|
526
|
-
Indicates the status of a host insight in
|
526
|
+
Indicates the status of a host insight in Ops Insights
|
527
527
|
|
528
528
|
Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
|
529
529
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
@@ -538,7 +538,7 @@ class HostInsightSummary(object):
|
|
538
538
|
def status(self, status):
|
539
539
|
"""
|
540
540
|
Sets the status of this HostInsightSummary.
|
541
|
-
Indicates the status of a host insight in
|
541
|
+
Indicates the status of a host insight in Ops Insights
|
542
542
|
|
543
543
|
|
544
544
|
:param status: The status of this HostInsightSummary.
|
@@ -23,7 +23,7 @@ class HostMemoryConfiguration(HostConfigurationMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostMemoryConfiguration.
|
26
|
-
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION"
|
26
|
+
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -0,0 +1,165 @@
|
|
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: 20200630
|
6
|
+
|
7
|
+
from .host_insight_host_recommendations import HostInsightHostRecommendations
|
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 HostMemoryRecommendations(HostInsightHostRecommendations):
|
14
|
+
"""
|
15
|
+
Contains memory recommendation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the unused_instance property of a HostMemoryRecommendations.
|
19
|
+
#: This constant has a value of "IN_USE"
|
20
|
+
UNUSED_INSTANCE_IN_USE = "IN_USE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the unused_instance property of a HostMemoryRecommendations.
|
23
|
+
#: This constant has a value of "NOT_IN_USE"
|
24
|
+
UNUSED_INSTANCE_NOT_IN_USE = "NOT_IN_USE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the unused_instance property of a HostMemoryRecommendations.
|
27
|
+
#: This constant has a value of "IS_NOT_DETERMINED"
|
28
|
+
UNUSED_INSTANCE_IS_NOT_DETERMINED = "IS_NOT_DETERMINED"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new HostMemoryRecommendations object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostMemoryRecommendations.metric_recommendation_name` attribute
|
33
|
+
of this class is ``HOST_MEMORY_RECOMMENDATIONS`` and it should not be changed.
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param metric_recommendation_name:
|
37
|
+
The value to assign to the metric_recommendation_name property of this HostMemoryRecommendations.
|
38
|
+
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type metric_recommendation_name: str
|
41
|
+
|
42
|
+
:param unused_instance:
|
43
|
+
The value to assign to the unused_instance property of this HostMemoryRecommendations.
|
44
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
45
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
:type unused_instance: str
|
47
|
+
|
48
|
+
:param is_abandoned_instance:
|
49
|
+
The value to assign to the is_abandoned_instance property of this HostMemoryRecommendations.
|
50
|
+
:type is_abandoned_instance: bool
|
51
|
+
|
52
|
+
:param memory_optimization:
|
53
|
+
The value to assign to the memory_optimization property of this HostMemoryRecommendations.
|
54
|
+
:type memory_optimization: str
|
55
|
+
|
56
|
+
"""
|
57
|
+
self.swagger_types = {
|
58
|
+
'metric_recommendation_name': 'str',
|
59
|
+
'unused_instance': 'str',
|
60
|
+
'is_abandoned_instance': 'bool',
|
61
|
+
'memory_optimization': 'str'
|
62
|
+
}
|
63
|
+
|
64
|
+
self.attribute_map = {
|
65
|
+
'metric_recommendation_name': 'metricRecommendationName',
|
66
|
+
'unused_instance': 'unusedInstance',
|
67
|
+
'is_abandoned_instance': 'isAbandonedInstance',
|
68
|
+
'memory_optimization': 'memoryOptimization'
|
69
|
+
}
|
70
|
+
|
71
|
+
self._metric_recommendation_name = None
|
72
|
+
self._unused_instance = None
|
73
|
+
self._is_abandoned_instance = None
|
74
|
+
self._memory_optimization = None
|
75
|
+
self._metric_recommendation_name = 'HOST_MEMORY_RECOMMENDATIONS'
|
76
|
+
|
77
|
+
@property
|
78
|
+
def unused_instance(self):
|
79
|
+
"""
|
80
|
+
Gets the unused_instance of this HostMemoryRecommendations.
|
81
|
+
Identify unused instances based on cpu, memory and network metrics.
|
82
|
+
|
83
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
84
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
85
|
+
|
86
|
+
|
87
|
+
:return: The unused_instance of this HostMemoryRecommendations.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._unused_instance
|
91
|
+
|
92
|
+
@unused_instance.setter
|
93
|
+
def unused_instance(self, unused_instance):
|
94
|
+
"""
|
95
|
+
Sets the unused_instance of this HostMemoryRecommendations.
|
96
|
+
Identify unused instances based on cpu, memory and network metrics.
|
97
|
+
|
98
|
+
|
99
|
+
:param unused_instance: The unused_instance of this HostMemoryRecommendations.
|
100
|
+
:type: str
|
101
|
+
"""
|
102
|
+
allowed_values = ["IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED"]
|
103
|
+
if not value_allowed_none_or_none_sentinel(unused_instance, allowed_values):
|
104
|
+
unused_instance = 'UNKNOWN_ENUM_VALUE'
|
105
|
+
self._unused_instance = unused_instance
|
106
|
+
|
107
|
+
@property
|
108
|
+
def is_abandoned_instance(self):
|
109
|
+
"""
|
110
|
+
Gets the is_abandoned_instance of this HostMemoryRecommendations.
|
111
|
+
Identify if an instance is abandoned.
|
112
|
+
|
113
|
+
|
114
|
+
:return: The is_abandoned_instance of this HostMemoryRecommendations.
|
115
|
+
:rtype: bool
|
116
|
+
"""
|
117
|
+
return self._is_abandoned_instance
|
118
|
+
|
119
|
+
@is_abandoned_instance.setter
|
120
|
+
def is_abandoned_instance(self, is_abandoned_instance):
|
121
|
+
"""
|
122
|
+
Sets the is_abandoned_instance of this HostMemoryRecommendations.
|
123
|
+
Identify if an instance is abandoned.
|
124
|
+
|
125
|
+
|
126
|
+
:param is_abandoned_instance: The is_abandoned_instance of this HostMemoryRecommendations.
|
127
|
+
:type: bool
|
128
|
+
"""
|
129
|
+
self._is_abandoned_instance = is_abandoned_instance
|
130
|
+
|
131
|
+
@property
|
132
|
+
def memory_optimization(self):
|
133
|
+
"""
|
134
|
+
Gets the memory_optimization of this HostMemoryRecommendations.
|
135
|
+
Show if OPSI recommends to change memory capacity based on Memory utilization and current shape.
|
136
|
+
|
137
|
+
|
138
|
+
:return: The memory_optimization of this HostMemoryRecommendations.
|
139
|
+
:rtype: str
|
140
|
+
"""
|
141
|
+
return self._memory_optimization
|
142
|
+
|
143
|
+
@memory_optimization.setter
|
144
|
+
def memory_optimization(self, memory_optimization):
|
145
|
+
"""
|
146
|
+
Sets the memory_optimization of this HostMemoryRecommendations.
|
147
|
+
Show if OPSI recommends to change memory capacity based on Memory utilization and current shape.
|
148
|
+
|
149
|
+
|
150
|
+
:param memory_optimization: The memory_optimization of this HostMemoryRecommendations.
|
151
|
+
:type: str
|
152
|
+
"""
|
153
|
+
self._memory_optimization = memory_optimization
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
return formatted_flat_dict(self)
|
157
|
+
|
158
|
+
def __eq__(self, other):
|
159
|
+
if other is None:
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
return not self == other
|
@@ -23,7 +23,7 @@ class HostMemoryUsage(HostPerformanceMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostMemoryUsage.
|
26
|
-
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE"
|
26
|
+
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -23,7 +23,7 @@ class HostNetworkActivitySummary(HostPerformanceMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostNetworkActivitySummary.
|
26
|
-
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE"
|
26
|
+
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -23,7 +23,7 @@ class HostNetworkConfiguration(HostConfigurationMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostNetworkConfiguration.
|
26
|
-
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION"
|
26
|
+
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -0,0 +1,134 @@
|
|
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: 20200630
|
6
|
+
|
7
|
+
from .host_insight_host_recommendations import HostInsightHostRecommendations
|
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 HostNetworkRecommendations(HostInsightHostRecommendations):
|
14
|
+
"""
|
15
|
+
Contains network recommendation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the unused_instance property of a HostNetworkRecommendations.
|
19
|
+
#: This constant has a value of "IN_USE"
|
20
|
+
UNUSED_INSTANCE_IN_USE = "IN_USE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the unused_instance property of a HostNetworkRecommendations.
|
23
|
+
#: This constant has a value of "NOT_IN_USE"
|
24
|
+
UNUSED_INSTANCE_NOT_IN_USE = "NOT_IN_USE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the unused_instance property of a HostNetworkRecommendations.
|
27
|
+
#: This constant has a value of "IS_NOT_DETERMINED"
|
28
|
+
UNUSED_INSTANCE_IS_NOT_DETERMINED = "IS_NOT_DETERMINED"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new HostNetworkRecommendations object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostNetworkRecommendations.metric_recommendation_name` attribute
|
33
|
+
of this class is ``HOST_NETWORK_RECOMMENDATIONS`` and it should not be changed.
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param metric_recommendation_name:
|
37
|
+
The value to assign to the metric_recommendation_name property of this HostNetworkRecommendations.
|
38
|
+
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type metric_recommendation_name: str
|
41
|
+
|
42
|
+
:param unused_instance:
|
43
|
+
The value to assign to the unused_instance property of this HostNetworkRecommendations.
|
44
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
45
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
:type unused_instance: str
|
47
|
+
|
48
|
+
:param is_abandoned_instance:
|
49
|
+
The value to assign to the is_abandoned_instance property of this HostNetworkRecommendations.
|
50
|
+
:type is_abandoned_instance: bool
|
51
|
+
|
52
|
+
"""
|
53
|
+
self.swagger_types = {
|
54
|
+
'metric_recommendation_name': 'str',
|
55
|
+
'unused_instance': 'str',
|
56
|
+
'is_abandoned_instance': 'bool'
|
57
|
+
}
|
58
|
+
|
59
|
+
self.attribute_map = {
|
60
|
+
'metric_recommendation_name': 'metricRecommendationName',
|
61
|
+
'unused_instance': 'unusedInstance',
|
62
|
+
'is_abandoned_instance': 'isAbandonedInstance'
|
63
|
+
}
|
64
|
+
|
65
|
+
self._metric_recommendation_name = None
|
66
|
+
self._unused_instance = None
|
67
|
+
self._is_abandoned_instance = None
|
68
|
+
self._metric_recommendation_name = 'HOST_NETWORK_RECOMMENDATIONS'
|
69
|
+
|
70
|
+
@property
|
71
|
+
def unused_instance(self):
|
72
|
+
"""
|
73
|
+
Gets the unused_instance of this HostNetworkRecommendations.
|
74
|
+
Identify unused instances based on cpu, memory and network metrics.
|
75
|
+
|
76
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
77
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
78
|
+
|
79
|
+
|
80
|
+
:return: The unused_instance of this HostNetworkRecommendations.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._unused_instance
|
84
|
+
|
85
|
+
@unused_instance.setter
|
86
|
+
def unused_instance(self, unused_instance):
|
87
|
+
"""
|
88
|
+
Sets the unused_instance of this HostNetworkRecommendations.
|
89
|
+
Identify unused instances based on cpu, memory and network metrics.
|
90
|
+
|
91
|
+
|
92
|
+
:param unused_instance: The unused_instance of this HostNetworkRecommendations.
|
93
|
+
:type: str
|
94
|
+
"""
|
95
|
+
allowed_values = ["IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED"]
|
96
|
+
if not value_allowed_none_or_none_sentinel(unused_instance, allowed_values):
|
97
|
+
unused_instance = 'UNKNOWN_ENUM_VALUE'
|
98
|
+
self._unused_instance = unused_instance
|
99
|
+
|
100
|
+
@property
|
101
|
+
def is_abandoned_instance(self):
|
102
|
+
"""
|
103
|
+
Gets the is_abandoned_instance of this HostNetworkRecommendations.
|
104
|
+
Identify if an instance is abandoned.
|
105
|
+
|
106
|
+
|
107
|
+
:return: The is_abandoned_instance of this HostNetworkRecommendations.
|
108
|
+
:rtype: bool
|
109
|
+
"""
|
110
|
+
return self._is_abandoned_instance
|
111
|
+
|
112
|
+
@is_abandoned_instance.setter
|
113
|
+
def is_abandoned_instance(self, is_abandoned_instance):
|
114
|
+
"""
|
115
|
+
Sets the is_abandoned_instance of this HostNetworkRecommendations.
|
116
|
+
Identify if an instance is abandoned.
|
117
|
+
|
118
|
+
|
119
|
+
:param is_abandoned_instance: The is_abandoned_instance of this HostNetworkRecommendations.
|
120
|
+
:type: bool
|
121
|
+
"""
|
122
|
+
self._is_abandoned_instance = is_abandoned_instance
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|
@@ -35,6 +35,14 @@ class HostPerformanceMetricGroup(object):
|
|
35
35
|
#: This constant has a value of "HOST_FILESYSTEM_USAGE"
|
36
36
|
METRIC_NAME_HOST_FILESYSTEM_USAGE = "HOST_FILESYSTEM_USAGE"
|
37
37
|
|
38
|
+
#: A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
|
39
|
+
#: This constant has a value of "HOST_GPU_USAGE"
|
40
|
+
METRIC_NAME_HOST_GPU_USAGE = "HOST_GPU_USAGE"
|
41
|
+
|
42
|
+
#: A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
|
43
|
+
#: This constant has a value of "HOST_GPU_PROCESSES"
|
44
|
+
METRIC_NAME_HOST_GPU_PROCESSES = "HOST_GPU_PROCESSES"
|
45
|
+
|
38
46
|
def __init__(self, **kwargs):
|
39
47
|
"""
|
40
48
|
Initializes a new HostPerformanceMetricGroup object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -43,6 +51,8 @@ class HostPerformanceMetricGroup(object):
|
|
43
51
|
* :class:`~oci.opsi.models.HostMemoryUsage`
|
44
52
|
* :class:`~oci.opsi.models.HostTopProcesses`
|
45
53
|
* :class:`~oci.opsi.models.HostCpuUsage`
|
54
|
+
* :class:`~oci.opsi.models.HostGpuUsage`
|
55
|
+
* :class:`~oci.opsi.models.HostGpuProcesses`
|
46
56
|
* :class:`~oci.opsi.models.HostFilesystemUsage`
|
47
57
|
* :class:`~oci.opsi.models.HostNetworkActivitySummary`
|
48
58
|
|
@@ -50,7 +60,7 @@ class HostPerformanceMetricGroup(object):
|
|
50
60
|
|
51
61
|
:param metric_name:
|
52
62
|
The value to assign to the metric_name property of this HostPerformanceMetricGroup.
|
53
|
-
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE"
|
63
|
+
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES"
|
54
64
|
:type metric_name: str
|
55
65
|
|
56
66
|
:param time_collected:
|
@@ -88,6 +98,12 @@ class HostPerformanceMetricGroup(object):
|
|
88
98
|
if type == 'HOST_CPU_USAGE':
|
89
99
|
return 'HostCpuUsage'
|
90
100
|
|
101
|
+
if type == 'HOST_GPU_USAGE':
|
102
|
+
return 'HostGpuUsage'
|
103
|
+
|
104
|
+
if type == 'HOST_GPU_PROCESSES':
|
105
|
+
return 'HostGpuProcesses'
|
106
|
+
|
91
107
|
if type == 'HOST_FILESYSTEM_USAGE':
|
92
108
|
return 'HostFilesystemUsage'
|
93
109
|
|
@@ -102,7 +118,7 @@ class HostPerformanceMetricGroup(object):
|
|
102
118
|
**[Required]** Gets the metric_name of this HostPerformanceMetricGroup.
|
103
119
|
Name of the metric group
|
104
120
|
|
105
|
-
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE"
|
121
|
+
Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES"
|
106
122
|
|
107
123
|
|
108
124
|
:return: The metric_name of this HostPerformanceMetricGroup.
|
@@ -120,7 +136,7 @@ class HostPerformanceMetricGroup(object):
|
|
120
136
|
:param metric_name: The metric_name of this HostPerformanceMetricGroup.
|
121
137
|
:type: str
|
122
138
|
"""
|
123
|
-
allowed_values = ["HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE"]
|
139
|
+
allowed_values = ["HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES"]
|
124
140
|
if not value_allowed_none_or_none_sentinel(metric_name, allowed_values):
|
125
141
|
raise ValueError(
|
126
142
|
f"Invalid value for `metric_name`, must be None or one of {allowed_values}"
|
oci/opsi/models/host_product.py
CHANGED
@@ -23,7 +23,7 @@ class HostProduct(HostConfigurationMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostProduct.
|
26
|
-
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION"
|
26
|
+
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -23,7 +23,7 @@ class HostResourceAllocation(HostConfigurationMetricGroup):
|
|
23
23
|
|
24
24
|
:param metric_name:
|
25
25
|
The value to assign to the metric_name property of this HostResourceAllocation.
|
26
|
-
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION"
|
26
|
+
Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION"
|
27
27
|
:type metric_name: str
|
28
28
|
|
29
29
|
:param time_collected:
|
@@ -0,0 +1,134 @@
|
|
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: 20200630
|
6
|
+
|
7
|
+
from .host_insight_host_recommendations import HostInsightHostRecommendations
|
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 HostStorageRecommendations(HostInsightHostRecommendations):
|
14
|
+
"""
|
15
|
+
Contains storage recommendation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the unused_instance property of a HostStorageRecommendations.
|
19
|
+
#: This constant has a value of "IN_USE"
|
20
|
+
UNUSED_INSTANCE_IN_USE = "IN_USE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the unused_instance property of a HostStorageRecommendations.
|
23
|
+
#: This constant has a value of "NOT_IN_USE"
|
24
|
+
UNUSED_INSTANCE_NOT_IN_USE = "NOT_IN_USE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the unused_instance property of a HostStorageRecommendations.
|
27
|
+
#: This constant has a value of "IS_NOT_DETERMINED"
|
28
|
+
UNUSED_INSTANCE_IS_NOT_DETERMINED = "IS_NOT_DETERMINED"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new HostStorageRecommendations object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostStorageRecommendations.metric_recommendation_name` attribute
|
33
|
+
of this class is ``HOST_STORAGE_RECOMMENDATIONS`` and it should not be changed.
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param metric_recommendation_name:
|
37
|
+
The value to assign to the metric_recommendation_name property of this HostStorageRecommendations.
|
38
|
+
Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type metric_recommendation_name: str
|
41
|
+
|
42
|
+
:param unused_instance:
|
43
|
+
The value to assign to the unused_instance property of this HostStorageRecommendations.
|
44
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
45
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
:type unused_instance: str
|
47
|
+
|
48
|
+
:param is_abandoned_instance:
|
49
|
+
The value to assign to the is_abandoned_instance property of this HostStorageRecommendations.
|
50
|
+
:type is_abandoned_instance: bool
|
51
|
+
|
52
|
+
"""
|
53
|
+
self.swagger_types = {
|
54
|
+
'metric_recommendation_name': 'str',
|
55
|
+
'unused_instance': 'str',
|
56
|
+
'is_abandoned_instance': 'bool'
|
57
|
+
}
|
58
|
+
|
59
|
+
self.attribute_map = {
|
60
|
+
'metric_recommendation_name': 'metricRecommendationName',
|
61
|
+
'unused_instance': 'unusedInstance',
|
62
|
+
'is_abandoned_instance': 'isAbandonedInstance'
|
63
|
+
}
|
64
|
+
|
65
|
+
self._metric_recommendation_name = None
|
66
|
+
self._unused_instance = None
|
67
|
+
self._is_abandoned_instance = None
|
68
|
+
self._metric_recommendation_name = 'HOST_STORAGE_RECOMMENDATIONS'
|
69
|
+
|
70
|
+
@property
|
71
|
+
def unused_instance(self):
|
72
|
+
"""
|
73
|
+
Gets the unused_instance of this HostStorageRecommendations.
|
74
|
+
Identify unused instances based on cpu, memory and network metrics.
|
75
|
+
|
76
|
+
Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'.
|
77
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
78
|
+
|
79
|
+
|
80
|
+
:return: The unused_instance of this HostStorageRecommendations.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._unused_instance
|
84
|
+
|
85
|
+
@unused_instance.setter
|
86
|
+
def unused_instance(self, unused_instance):
|
87
|
+
"""
|
88
|
+
Sets the unused_instance of this HostStorageRecommendations.
|
89
|
+
Identify unused instances based on cpu, memory and network metrics.
|
90
|
+
|
91
|
+
|
92
|
+
:param unused_instance: The unused_instance of this HostStorageRecommendations.
|
93
|
+
:type: str
|
94
|
+
"""
|
95
|
+
allowed_values = ["IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED"]
|
96
|
+
if not value_allowed_none_or_none_sentinel(unused_instance, allowed_values):
|
97
|
+
unused_instance = 'UNKNOWN_ENUM_VALUE'
|
98
|
+
self._unused_instance = unused_instance
|
99
|
+
|
100
|
+
@property
|
101
|
+
def is_abandoned_instance(self):
|
102
|
+
"""
|
103
|
+
Gets the is_abandoned_instance of this HostStorageRecommendations.
|
104
|
+
Identify if an instance is abandoned.
|
105
|
+
|
106
|
+
|
107
|
+
:return: The is_abandoned_instance of this HostStorageRecommendations.
|
108
|
+
:rtype: bool
|
109
|
+
"""
|
110
|
+
return self._is_abandoned_instance
|
111
|
+
|
112
|
+
@is_abandoned_instance.setter
|
113
|
+
def is_abandoned_instance(self, is_abandoned_instance):
|
114
|
+
"""
|
115
|
+
Sets the is_abandoned_instance of this HostStorageRecommendations.
|
116
|
+
Identify if an instance is abandoned.
|
117
|
+
|
118
|
+
|
119
|
+
:param is_abandoned_instance: The is_abandoned_instance of this HostStorageRecommendations.
|
120
|
+
:type: bool
|
121
|
+
"""
|
122
|
+
self._is_abandoned_instance = is_abandoned_instance
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|