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
@@ -0,0 +1,492 @@
|
|
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_configuration_metric_group import HostConfigurationMetricGroup
|
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 HostGpuConfiguration(HostConfigurationMetricGroup):
|
14
|
+
"""
|
15
|
+
GPU configuration metrics
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HostGpuConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostGpuConfiguration.metric_name` attribute
|
21
|
+
of this class is ``HOST_GPU_CONFIGURATION`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param metric_name:
|
25
|
+
The value to assign to the metric_name property of this HostGpuConfiguration.
|
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
|
+
:type metric_name: str
|
28
|
+
|
29
|
+
:param time_collected:
|
30
|
+
The value to assign to the time_collected property of this HostGpuConfiguration.
|
31
|
+
:type time_collected: datetime
|
32
|
+
|
33
|
+
:param gpu_id:
|
34
|
+
The value to assign to the gpu_id property of this HostGpuConfiguration.
|
35
|
+
:type gpu_id: int
|
36
|
+
|
37
|
+
:param product_name:
|
38
|
+
The value to assign to the product_name property of this HostGpuConfiguration.
|
39
|
+
:type product_name: str
|
40
|
+
|
41
|
+
:param vendor:
|
42
|
+
The value to assign to the vendor property of this HostGpuConfiguration.
|
43
|
+
:type vendor: str
|
44
|
+
|
45
|
+
:param bus_id:
|
46
|
+
The value to assign to the bus_id property of this HostGpuConfiguration.
|
47
|
+
:type bus_id: str
|
48
|
+
|
49
|
+
:param bus_width:
|
50
|
+
The value to assign to the bus_width property of this HostGpuConfiguration.
|
51
|
+
:type bus_width: int
|
52
|
+
|
53
|
+
:param gpu_capabilities:
|
54
|
+
The value to assign to the gpu_capabilities property of this HostGpuConfiguration.
|
55
|
+
:type gpu_capabilities: str
|
56
|
+
|
57
|
+
:param total_power:
|
58
|
+
The value to assign to the total_power property of this HostGpuConfiguration.
|
59
|
+
:type total_power: float
|
60
|
+
|
61
|
+
:param total_memory:
|
62
|
+
The value to assign to the total_memory property of this HostGpuConfiguration.
|
63
|
+
:type total_memory: float
|
64
|
+
|
65
|
+
:param total_video_clock_speed:
|
66
|
+
The value to assign to the total_video_clock_speed property of this HostGpuConfiguration.
|
67
|
+
:type total_video_clock_speed: float
|
68
|
+
|
69
|
+
:param total_sm_clock_speed:
|
70
|
+
The value to assign to the total_sm_clock_speed property of this HostGpuConfiguration.
|
71
|
+
:type total_sm_clock_speed: float
|
72
|
+
|
73
|
+
:param total_graphics_clock_speed:
|
74
|
+
The value to assign to the total_graphics_clock_speed property of this HostGpuConfiguration.
|
75
|
+
:type total_graphics_clock_speed: float
|
76
|
+
|
77
|
+
:param total_memory_clock_speed:
|
78
|
+
The value to assign to the total_memory_clock_speed property of this HostGpuConfiguration.
|
79
|
+
:type total_memory_clock_speed: float
|
80
|
+
|
81
|
+
:param cuda_version:
|
82
|
+
The value to assign to the cuda_version property of this HostGpuConfiguration.
|
83
|
+
:type cuda_version: str
|
84
|
+
|
85
|
+
:param driver_version:
|
86
|
+
The value to assign to the driver_version property of this HostGpuConfiguration.
|
87
|
+
:type driver_version: str
|
88
|
+
|
89
|
+
"""
|
90
|
+
self.swagger_types = {
|
91
|
+
'metric_name': 'str',
|
92
|
+
'time_collected': 'datetime',
|
93
|
+
'gpu_id': 'int',
|
94
|
+
'product_name': 'str',
|
95
|
+
'vendor': 'str',
|
96
|
+
'bus_id': 'str',
|
97
|
+
'bus_width': 'int',
|
98
|
+
'gpu_capabilities': 'str',
|
99
|
+
'total_power': 'float',
|
100
|
+
'total_memory': 'float',
|
101
|
+
'total_video_clock_speed': 'float',
|
102
|
+
'total_sm_clock_speed': 'float',
|
103
|
+
'total_graphics_clock_speed': 'float',
|
104
|
+
'total_memory_clock_speed': 'float',
|
105
|
+
'cuda_version': 'str',
|
106
|
+
'driver_version': 'str'
|
107
|
+
}
|
108
|
+
|
109
|
+
self.attribute_map = {
|
110
|
+
'metric_name': 'metricName',
|
111
|
+
'time_collected': 'timeCollected',
|
112
|
+
'gpu_id': 'gpuId',
|
113
|
+
'product_name': 'productName',
|
114
|
+
'vendor': 'vendor',
|
115
|
+
'bus_id': 'busId',
|
116
|
+
'bus_width': 'busWidth',
|
117
|
+
'gpu_capabilities': 'gpuCapabilities',
|
118
|
+
'total_power': 'totalPower',
|
119
|
+
'total_memory': 'totalMemory',
|
120
|
+
'total_video_clock_speed': 'totalVideoClockSpeed',
|
121
|
+
'total_sm_clock_speed': 'totalSmClockSpeed',
|
122
|
+
'total_graphics_clock_speed': 'totalGraphicsClockSpeed',
|
123
|
+
'total_memory_clock_speed': 'totalMemoryClockSpeed',
|
124
|
+
'cuda_version': 'cudaVersion',
|
125
|
+
'driver_version': 'driverVersion'
|
126
|
+
}
|
127
|
+
|
128
|
+
self._metric_name = None
|
129
|
+
self._time_collected = None
|
130
|
+
self._gpu_id = None
|
131
|
+
self._product_name = None
|
132
|
+
self._vendor = None
|
133
|
+
self._bus_id = None
|
134
|
+
self._bus_width = None
|
135
|
+
self._gpu_capabilities = None
|
136
|
+
self._total_power = None
|
137
|
+
self._total_memory = None
|
138
|
+
self._total_video_clock_speed = None
|
139
|
+
self._total_sm_clock_speed = None
|
140
|
+
self._total_graphics_clock_speed = None
|
141
|
+
self._total_memory_clock_speed = None
|
142
|
+
self._cuda_version = None
|
143
|
+
self._driver_version = None
|
144
|
+
self._metric_name = 'HOST_GPU_CONFIGURATION'
|
145
|
+
|
146
|
+
@property
|
147
|
+
def gpu_id(self):
|
148
|
+
"""
|
149
|
+
**[Required]** Gets the gpu_id of this HostGpuConfiguration.
|
150
|
+
GPU Identifier
|
151
|
+
|
152
|
+
|
153
|
+
:return: The gpu_id of this HostGpuConfiguration.
|
154
|
+
:rtype: int
|
155
|
+
"""
|
156
|
+
return self._gpu_id
|
157
|
+
|
158
|
+
@gpu_id.setter
|
159
|
+
def gpu_id(self, gpu_id):
|
160
|
+
"""
|
161
|
+
Sets the gpu_id of this HostGpuConfiguration.
|
162
|
+
GPU Identifier
|
163
|
+
|
164
|
+
|
165
|
+
:param gpu_id: The gpu_id of this HostGpuConfiguration.
|
166
|
+
:type: int
|
167
|
+
"""
|
168
|
+
self._gpu_id = gpu_id
|
169
|
+
|
170
|
+
@property
|
171
|
+
def product_name(self):
|
172
|
+
"""
|
173
|
+
**[Required]** Gets the product_name of this HostGpuConfiguration.
|
174
|
+
GPU Product Name
|
175
|
+
|
176
|
+
|
177
|
+
:return: The product_name of this HostGpuConfiguration.
|
178
|
+
:rtype: str
|
179
|
+
"""
|
180
|
+
return self._product_name
|
181
|
+
|
182
|
+
@product_name.setter
|
183
|
+
def product_name(self, product_name):
|
184
|
+
"""
|
185
|
+
Sets the product_name of this HostGpuConfiguration.
|
186
|
+
GPU Product Name
|
187
|
+
|
188
|
+
|
189
|
+
:param product_name: The product_name of this HostGpuConfiguration.
|
190
|
+
:type: str
|
191
|
+
"""
|
192
|
+
self._product_name = product_name
|
193
|
+
|
194
|
+
@property
|
195
|
+
def vendor(self):
|
196
|
+
"""
|
197
|
+
**[Required]** Gets the vendor of this HostGpuConfiguration.
|
198
|
+
GPU Vendor
|
199
|
+
|
200
|
+
|
201
|
+
:return: The vendor of this HostGpuConfiguration.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._vendor
|
205
|
+
|
206
|
+
@vendor.setter
|
207
|
+
def vendor(self, vendor):
|
208
|
+
"""
|
209
|
+
Sets the vendor of this HostGpuConfiguration.
|
210
|
+
GPU Vendor
|
211
|
+
|
212
|
+
|
213
|
+
:param vendor: The vendor of this HostGpuConfiguration.
|
214
|
+
:type: str
|
215
|
+
"""
|
216
|
+
self._vendor = vendor
|
217
|
+
|
218
|
+
@property
|
219
|
+
def bus_id(self):
|
220
|
+
"""
|
221
|
+
**[Required]** Gets the bus_id of this HostGpuConfiguration.
|
222
|
+
Bus Identifier
|
223
|
+
|
224
|
+
|
225
|
+
:return: The bus_id of this HostGpuConfiguration.
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._bus_id
|
229
|
+
|
230
|
+
@bus_id.setter
|
231
|
+
def bus_id(self, bus_id):
|
232
|
+
"""
|
233
|
+
Sets the bus_id of this HostGpuConfiguration.
|
234
|
+
Bus Identifier
|
235
|
+
|
236
|
+
|
237
|
+
:param bus_id: The bus_id of this HostGpuConfiguration.
|
238
|
+
:type: str
|
239
|
+
"""
|
240
|
+
self._bus_id = bus_id
|
241
|
+
|
242
|
+
@property
|
243
|
+
def bus_width(self):
|
244
|
+
"""
|
245
|
+
**[Required]** Gets the bus_width of this HostGpuConfiguration.
|
246
|
+
Bus Width
|
247
|
+
|
248
|
+
|
249
|
+
:return: The bus_width of this HostGpuConfiguration.
|
250
|
+
:rtype: int
|
251
|
+
"""
|
252
|
+
return self._bus_width
|
253
|
+
|
254
|
+
@bus_width.setter
|
255
|
+
def bus_width(self, bus_width):
|
256
|
+
"""
|
257
|
+
Sets the bus_width of this HostGpuConfiguration.
|
258
|
+
Bus Width
|
259
|
+
|
260
|
+
|
261
|
+
:param bus_width: The bus_width of this HostGpuConfiguration.
|
262
|
+
:type: int
|
263
|
+
"""
|
264
|
+
self._bus_width = bus_width
|
265
|
+
|
266
|
+
@property
|
267
|
+
def gpu_capabilities(self):
|
268
|
+
"""
|
269
|
+
Gets the gpu_capabilities of this HostGpuConfiguration.
|
270
|
+
GPU Capabilities
|
271
|
+
|
272
|
+
|
273
|
+
:return: The gpu_capabilities of this HostGpuConfiguration.
|
274
|
+
:rtype: str
|
275
|
+
"""
|
276
|
+
return self._gpu_capabilities
|
277
|
+
|
278
|
+
@gpu_capabilities.setter
|
279
|
+
def gpu_capabilities(self, gpu_capabilities):
|
280
|
+
"""
|
281
|
+
Sets the gpu_capabilities of this HostGpuConfiguration.
|
282
|
+
GPU Capabilities
|
283
|
+
|
284
|
+
|
285
|
+
:param gpu_capabilities: The gpu_capabilities of this HostGpuConfiguration.
|
286
|
+
:type: str
|
287
|
+
"""
|
288
|
+
self._gpu_capabilities = gpu_capabilities
|
289
|
+
|
290
|
+
@property
|
291
|
+
def total_power(self):
|
292
|
+
"""
|
293
|
+
**[Required]** Gets the total_power of this HostGpuConfiguration.
|
294
|
+
Power Capacity
|
295
|
+
|
296
|
+
|
297
|
+
:return: The total_power of this HostGpuConfiguration.
|
298
|
+
:rtype: float
|
299
|
+
"""
|
300
|
+
return self._total_power
|
301
|
+
|
302
|
+
@total_power.setter
|
303
|
+
def total_power(self, total_power):
|
304
|
+
"""
|
305
|
+
Sets the total_power of this HostGpuConfiguration.
|
306
|
+
Power Capacity
|
307
|
+
|
308
|
+
|
309
|
+
:param total_power: The total_power of this HostGpuConfiguration.
|
310
|
+
:type: float
|
311
|
+
"""
|
312
|
+
self._total_power = total_power
|
313
|
+
|
314
|
+
@property
|
315
|
+
def total_memory(self):
|
316
|
+
"""
|
317
|
+
**[Required]** Gets the total_memory of this HostGpuConfiguration.
|
318
|
+
Total Memory Allocated to GPU
|
319
|
+
|
320
|
+
|
321
|
+
:return: The total_memory of this HostGpuConfiguration.
|
322
|
+
:rtype: float
|
323
|
+
"""
|
324
|
+
return self._total_memory
|
325
|
+
|
326
|
+
@total_memory.setter
|
327
|
+
def total_memory(self, total_memory):
|
328
|
+
"""
|
329
|
+
Sets the total_memory of this HostGpuConfiguration.
|
330
|
+
Total Memory Allocated to GPU
|
331
|
+
|
332
|
+
|
333
|
+
:param total_memory: The total_memory of this HostGpuConfiguration.
|
334
|
+
:type: float
|
335
|
+
"""
|
336
|
+
self._total_memory = total_memory
|
337
|
+
|
338
|
+
@property
|
339
|
+
def total_video_clock_speed(self):
|
340
|
+
"""
|
341
|
+
**[Required]** Gets the total_video_clock_speed of this HostGpuConfiguration.
|
342
|
+
Max Video Clock Speed
|
343
|
+
|
344
|
+
|
345
|
+
:return: The total_video_clock_speed of this HostGpuConfiguration.
|
346
|
+
:rtype: float
|
347
|
+
"""
|
348
|
+
return self._total_video_clock_speed
|
349
|
+
|
350
|
+
@total_video_clock_speed.setter
|
351
|
+
def total_video_clock_speed(self, total_video_clock_speed):
|
352
|
+
"""
|
353
|
+
Sets the total_video_clock_speed of this HostGpuConfiguration.
|
354
|
+
Max Video Clock Speed
|
355
|
+
|
356
|
+
|
357
|
+
:param total_video_clock_speed: The total_video_clock_speed of this HostGpuConfiguration.
|
358
|
+
:type: float
|
359
|
+
"""
|
360
|
+
self._total_video_clock_speed = total_video_clock_speed
|
361
|
+
|
362
|
+
@property
|
363
|
+
def total_sm_clock_speed(self):
|
364
|
+
"""
|
365
|
+
**[Required]** Gets the total_sm_clock_speed of this HostGpuConfiguration.
|
366
|
+
Max SM (Streaming Multiprocessor) Clock Speed
|
367
|
+
|
368
|
+
|
369
|
+
:return: The total_sm_clock_speed of this HostGpuConfiguration.
|
370
|
+
:rtype: float
|
371
|
+
"""
|
372
|
+
return self._total_sm_clock_speed
|
373
|
+
|
374
|
+
@total_sm_clock_speed.setter
|
375
|
+
def total_sm_clock_speed(self, total_sm_clock_speed):
|
376
|
+
"""
|
377
|
+
Sets the total_sm_clock_speed of this HostGpuConfiguration.
|
378
|
+
Max SM (Streaming Multiprocessor) Clock Speed
|
379
|
+
|
380
|
+
|
381
|
+
:param total_sm_clock_speed: The total_sm_clock_speed of this HostGpuConfiguration.
|
382
|
+
:type: float
|
383
|
+
"""
|
384
|
+
self._total_sm_clock_speed = total_sm_clock_speed
|
385
|
+
|
386
|
+
@property
|
387
|
+
def total_graphics_clock_speed(self):
|
388
|
+
"""
|
389
|
+
**[Required]** Gets the total_graphics_clock_speed of this HostGpuConfiguration.
|
390
|
+
Max Graphics Clock Speed
|
391
|
+
|
392
|
+
|
393
|
+
:return: The total_graphics_clock_speed of this HostGpuConfiguration.
|
394
|
+
:rtype: float
|
395
|
+
"""
|
396
|
+
return self._total_graphics_clock_speed
|
397
|
+
|
398
|
+
@total_graphics_clock_speed.setter
|
399
|
+
def total_graphics_clock_speed(self, total_graphics_clock_speed):
|
400
|
+
"""
|
401
|
+
Sets the total_graphics_clock_speed of this HostGpuConfiguration.
|
402
|
+
Max Graphics Clock Speed
|
403
|
+
|
404
|
+
|
405
|
+
:param total_graphics_clock_speed: The total_graphics_clock_speed of this HostGpuConfiguration.
|
406
|
+
:type: float
|
407
|
+
"""
|
408
|
+
self._total_graphics_clock_speed = total_graphics_clock_speed
|
409
|
+
|
410
|
+
@property
|
411
|
+
def total_memory_clock_speed(self):
|
412
|
+
"""
|
413
|
+
**[Required]** Gets the total_memory_clock_speed of this HostGpuConfiguration.
|
414
|
+
Max Memory Clock Speed
|
415
|
+
|
416
|
+
|
417
|
+
:return: The total_memory_clock_speed of this HostGpuConfiguration.
|
418
|
+
:rtype: float
|
419
|
+
"""
|
420
|
+
return self._total_memory_clock_speed
|
421
|
+
|
422
|
+
@total_memory_clock_speed.setter
|
423
|
+
def total_memory_clock_speed(self, total_memory_clock_speed):
|
424
|
+
"""
|
425
|
+
Sets the total_memory_clock_speed of this HostGpuConfiguration.
|
426
|
+
Max Memory Clock Speed
|
427
|
+
|
428
|
+
|
429
|
+
:param total_memory_clock_speed: The total_memory_clock_speed of this HostGpuConfiguration.
|
430
|
+
:type: float
|
431
|
+
"""
|
432
|
+
self._total_memory_clock_speed = total_memory_clock_speed
|
433
|
+
|
434
|
+
@property
|
435
|
+
def cuda_version(self):
|
436
|
+
"""
|
437
|
+
**[Required]** Gets the cuda_version of this HostGpuConfiguration.
|
438
|
+
CUDA library version
|
439
|
+
|
440
|
+
|
441
|
+
:return: The cuda_version of this HostGpuConfiguration.
|
442
|
+
:rtype: str
|
443
|
+
"""
|
444
|
+
return self._cuda_version
|
445
|
+
|
446
|
+
@cuda_version.setter
|
447
|
+
def cuda_version(self, cuda_version):
|
448
|
+
"""
|
449
|
+
Sets the cuda_version of this HostGpuConfiguration.
|
450
|
+
CUDA library version
|
451
|
+
|
452
|
+
|
453
|
+
:param cuda_version: The cuda_version of this HostGpuConfiguration.
|
454
|
+
:type: str
|
455
|
+
"""
|
456
|
+
self._cuda_version = cuda_version
|
457
|
+
|
458
|
+
@property
|
459
|
+
def driver_version(self):
|
460
|
+
"""
|
461
|
+
**[Required]** Gets the driver_version of this HostGpuConfiguration.
|
462
|
+
GPU Driver version
|
463
|
+
|
464
|
+
|
465
|
+
:return: The driver_version of this HostGpuConfiguration.
|
466
|
+
:rtype: str
|
467
|
+
"""
|
468
|
+
return self._driver_version
|
469
|
+
|
470
|
+
@driver_version.setter
|
471
|
+
def driver_version(self, driver_version):
|
472
|
+
"""
|
473
|
+
Sets the driver_version of this HostGpuConfiguration.
|
474
|
+
GPU Driver version
|
475
|
+
|
476
|
+
|
477
|
+
:param driver_version: The driver_version of this HostGpuConfiguration.
|
478
|
+
:type: str
|
479
|
+
"""
|
480
|
+
self._driver_version = driver_version
|
481
|
+
|
482
|
+
def __repr__(self):
|
483
|
+
return formatted_flat_dict(self)
|
484
|
+
|
485
|
+
def __eq__(self, other):
|
486
|
+
if other is None:
|
487
|
+
return False
|
488
|
+
|
489
|
+
return self.__dict__ == other.__dict__
|
490
|
+
|
491
|
+
def __ne__(self, other):
|
492
|
+
return not self == other
|
@@ -0,0 +1,213 @@
|
|
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_performance_metric_group import HostPerformanceMetricGroup
|
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 HostGpuProcesses(HostPerformanceMetricGroup):
|
14
|
+
"""
|
15
|
+
GPU processes metrics, processes using GPUs.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HostGpuProcesses object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostGpuProcesses.metric_name` attribute
|
21
|
+
of this class is ``HOST_GPU_PROCESSES`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param metric_name:
|
25
|
+
The value to assign to the metric_name property of this HostGpuProcesses.
|
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
|
+
:type metric_name: str
|
28
|
+
|
29
|
+
:param time_collected:
|
30
|
+
The value to assign to the time_collected property of this HostGpuProcesses.
|
31
|
+
:type time_collected: datetime
|
32
|
+
|
33
|
+
:param gpu_id:
|
34
|
+
The value to assign to the gpu_id property of this HostGpuProcesses.
|
35
|
+
:type gpu_id: int
|
36
|
+
|
37
|
+
:param pid:
|
38
|
+
The value to assign to the pid property of this HostGpuProcesses.
|
39
|
+
:type pid: int
|
40
|
+
|
41
|
+
:param process_name:
|
42
|
+
The value to assign to the process_name property of this HostGpuProcesses.
|
43
|
+
:type process_name: str
|
44
|
+
|
45
|
+
:param elapsed_time:
|
46
|
+
The value to assign to the elapsed_time property of this HostGpuProcesses.
|
47
|
+
:type elapsed_time: float
|
48
|
+
|
49
|
+
:param gpu_memory_usage:
|
50
|
+
The value to assign to the gpu_memory_usage property of this HostGpuProcesses.
|
51
|
+
:type gpu_memory_usage: float
|
52
|
+
|
53
|
+
"""
|
54
|
+
self.swagger_types = {
|
55
|
+
'metric_name': 'str',
|
56
|
+
'time_collected': 'datetime',
|
57
|
+
'gpu_id': 'int',
|
58
|
+
'pid': 'int',
|
59
|
+
'process_name': 'str',
|
60
|
+
'elapsed_time': 'float',
|
61
|
+
'gpu_memory_usage': 'float'
|
62
|
+
}
|
63
|
+
|
64
|
+
self.attribute_map = {
|
65
|
+
'metric_name': 'metricName',
|
66
|
+
'time_collected': 'timeCollected',
|
67
|
+
'gpu_id': 'gpuId',
|
68
|
+
'pid': 'pid',
|
69
|
+
'process_name': 'processName',
|
70
|
+
'elapsed_time': 'elapsedTime',
|
71
|
+
'gpu_memory_usage': 'gpuMemoryUsage'
|
72
|
+
}
|
73
|
+
|
74
|
+
self._metric_name = None
|
75
|
+
self._time_collected = None
|
76
|
+
self._gpu_id = None
|
77
|
+
self._pid = None
|
78
|
+
self._process_name = None
|
79
|
+
self._elapsed_time = None
|
80
|
+
self._gpu_memory_usage = None
|
81
|
+
self._metric_name = 'HOST_GPU_PROCESSES'
|
82
|
+
|
83
|
+
@property
|
84
|
+
def gpu_id(self):
|
85
|
+
"""
|
86
|
+
Gets the gpu_id of this HostGpuProcesses.
|
87
|
+
GPU Identifier
|
88
|
+
|
89
|
+
|
90
|
+
:return: The gpu_id of this HostGpuProcesses.
|
91
|
+
:rtype: int
|
92
|
+
"""
|
93
|
+
return self._gpu_id
|
94
|
+
|
95
|
+
@gpu_id.setter
|
96
|
+
def gpu_id(self, gpu_id):
|
97
|
+
"""
|
98
|
+
Sets the gpu_id of this HostGpuProcesses.
|
99
|
+
GPU Identifier
|
100
|
+
|
101
|
+
|
102
|
+
:param gpu_id: The gpu_id of this HostGpuProcesses.
|
103
|
+
:type: int
|
104
|
+
"""
|
105
|
+
self._gpu_id = gpu_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def pid(self):
|
109
|
+
"""
|
110
|
+
Gets the pid of this HostGpuProcesses.
|
111
|
+
Process Identifier
|
112
|
+
|
113
|
+
|
114
|
+
:return: The pid of this HostGpuProcesses.
|
115
|
+
:rtype: int
|
116
|
+
"""
|
117
|
+
return self._pid
|
118
|
+
|
119
|
+
@pid.setter
|
120
|
+
def pid(self, pid):
|
121
|
+
"""
|
122
|
+
Sets the pid of this HostGpuProcesses.
|
123
|
+
Process Identifier
|
124
|
+
|
125
|
+
|
126
|
+
:param pid: The pid of this HostGpuProcesses.
|
127
|
+
:type: int
|
128
|
+
"""
|
129
|
+
self._pid = pid
|
130
|
+
|
131
|
+
@property
|
132
|
+
def process_name(self):
|
133
|
+
"""
|
134
|
+
Gets the process_name of this HostGpuProcesses.
|
135
|
+
Process Name (process using GPU)
|
136
|
+
|
137
|
+
|
138
|
+
:return: The process_name of this HostGpuProcesses.
|
139
|
+
:rtype: str
|
140
|
+
"""
|
141
|
+
return self._process_name
|
142
|
+
|
143
|
+
@process_name.setter
|
144
|
+
def process_name(self, process_name):
|
145
|
+
"""
|
146
|
+
Sets the process_name of this HostGpuProcesses.
|
147
|
+
Process Name (process using GPU)
|
148
|
+
|
149
|
+
|
150
|
+
:param process_name: The process_name of this HostGpuProcesses.
|
151
|
+
:type: str
|
152
|
+
"""
|
153
|
+
self._process_name = process_name
|
154
|
+
|
155
|
+
@property
|
156
|
+
def elapsed_time(self):
|
157
|
+
"""
|
158
|
+
Gets the elapsed_time of this HostGpuProcesses.
|
159
|
+
Process elapsed time
|
160
|
+
|
161
|
+
|
162
|
+
:return: The elapsed_time of this HostGpuProcesses.
|
163
|
+
:rtype: float
|
164
|
+
"""
|
165
|
+
return self._elapsed_time
|
166
|
+
|
167
|
+
@elapsed_time.setter
|
168
|
+
def elapsed_time(self, elapsed_time):
|
169
|
+
"""
|
170
|
+
Sets the elapsed_time of this HostGpuProcesses.
|
171
|
+
Process elapsed time
|
172
|
+
|
173
|
+
|
174
|
+
:param elapsed_time: The elapsed_time of this HostGpuProcesses.
|
175
|
+
:type: float
|
176
|
+
"""
|
177
|
+
self._elapsed_time = elapsed_time
|
178
|
+
|
179
|
+
@property
|
180
|
+
def gpu_memory_usage(self):
|
181
|
+
"""
|
182
|
+
Gets the gpu_memory_usage of this HostGpuProcesses.
|
183
|
+
Memory Used by Process in MBs
|
184
|
+
|
185
|
+
|
186
|
+
:return: The gpu_memory_usage of this HostGpuProcesses.
|
187
|
+
:rtype: float
|
188
|
+
"""
|
189
|
+
return self._gpu_memory_usage
|
190
|
+
|
191
|
+
@gpu_memory_usage.setter
|
192
|
+
def gpu_memory_usage(self, gpu_memory_usage):
|
193
|
+
"""
|
194
|
+
Sets the gpu_memory_usage of this HostGpuProcesses.
|
195
|
+
Memory Used by Process in MBs
|
196
|
+
|
197
|
+
|
198
|
+
:param gpu_memory_usage: The gpu_memory_usage of this HostGpuProcesses.
|
199
|
+
:type: float
|
200
|
+
"""
|
201
|
+
self._gpu_memory_usage = gpu_memory_usage
|
202
|
+
|
203
|
+
def __repr__(self):
|
204
|
+
return formatted_flat_dict(self)
|
205
|
+
|
206
|
+
def __eq__(self, other):
|
207
|
+
if other is None:
|
208
|
+
return False
|
209
|
+
|
210
|
+
return self.__dict__ == other.__dict__
|
211
|
+
|
212
|
+
def __ne__(self, other):
|
213
|
+
return not self == other
|