lightning-sdk 2025.9.30__py3-none-any.whl → 2025.10.14__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/cloud_account_api.py +0 -2
- lightning_sdk/api/studio_api.py +8 -0
- lightning_sdk/base_studio.py +23 -12
- lightning_sdk/cli/base_studio/__init__.py +10 -0
- lightning_sdk/cli/base_studio/list.py +45 -0
- lightning_sdk/cli/entrypoint.py +2 -0
- lightning_sdk/cli/groups.py +7 -0
- lightning_sdk/cli/studio/connect.py +117 -22
- lightning_sdk/cli/studio/ssh.py +3 -6
- lightning_sdk/cli/utils/ssh_connection.py +8 -0
- lightning_sdk/job/job.py +5 -0
- lightning_sdk/job/v1.py +8 -0
- lightning_sdk/job/v2.py +8 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +20 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +19 -19
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1463 -240
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +19 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_incidents_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
- lightning_sdk/machine.py +0 -1
- lightning_sdk/studio.py +42 -5
- lightning_sdk/utils/progress.py +32 -33
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/METADATA +1 -1
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/RECORD +69 -47
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.9.30.dist-info → lightning_sdk-2025.10.14.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1241 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import pprint
|
|
21
|
+
import re # noqa: F401
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
import six
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from datetime import datetime
|
|
29
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
|
+
|
|
31
|
+
class V1GroupPodMetrics(object):
|
|
32
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
'cpus_util': 'float',
|
|
45
|
+
'cpus_util_avg': 'float',
|
|
46
|
+
'filesystem_inode_util_avg': 'float',
|
|
47
|
+
'filesystem_read_rate_avg': 'float',
|
|
48
|
+
'filesystem_util_avg': 'float',
|
|
49
|
+
'filesystem_write_rate_avg': 'float',
|
|
50
|
+
'gpu_sm_active_avg': 'float',
|
|
51
|
+
'gpu_sm_occupancy_avg': 'float',
|
|
52
|
+
'gpus_power_avg_running_watts': 'float',
|
|
53
|
+
'gpus_power_avg_watts': 'float',
|
|
54
|
+
'gpus_power_total_watts': 'float',
|
|
55
|
+
'gpus_temp_avg': 'float',
|
|
56
|
+
'gpus_temp_avg_running': 'float',
|
|
57
|
+
'gpus_util_avg': 'float',
|
|
58
|
+
'gpus_util_avg_running': 'float',
|
|
59
|
+
'id': 'str',
|
|
60
|
+
'max_gpu_temp_recorded': 'str',
|
|
61
|
+
'max_power_per_gpu': 'float',
|
|
62
|
+
'num_gpus_running_pods': 'int',
|
|
63
|
+
'num_gpus_total': 'int',
|
|
64
|
+
'num_limit_cpus': 'int',
|
|
65
|
+
'num_limit_gpus': 'int',
|
|
66
|
+
'num_nodes': 'int',
|
|
67
|
+
'num_pods': 'int',
|
|
68
|
+
'num_pods_failed': 'int',
|
|
69
|
+
'num_pods_pending': 'int',
|
|
70
|
+
'num_pods_running': 'int',
|
|
71
|
+
'num_requested_cpus': 'int',
|
|
72
|
+
'num_requested_gpus': 'int',
|
|
73
|
+
'nvlink_rx_gib_total': 'float',
|
|
74
|
+
'nvlink_tx_gib_total': 'float',
|
|
75
|
+
'pcie_rx_gib_total': 'float',
|
|
76
|
+
'pcie_tx_gib_total': 'float',
|
|
77
|
+
'ram_limit_total': 'str',
|
|
78
|
+
'ram_requested_total': 'str',
|
|
79
|
+
'ram_used_total': 'str',
|
|
80
|
+
'ram_util_avg': 'float',
|
|
81
|
+
'timestamp': 'datetime',
|
|
82
|
+
'vram_capacity_total_mib': 'str',
|
|
83
|
+
'vram_limit_total_mib': 'str',
|
|
84
|
+
'vram_read_write_util_avg': 'float',
|
|
85
|
+
'vram_requested_total_mib': 'str',
|
|
86
|
+
'vram_used_total_mib': 'str',
|
|
87
|
+
'vram_util_avg': 'float'
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
attribute_map = {
|
|
91
|
+
'cpus_util': 'cpusUtil',
|
|
92
|
+
'cpus_util_avg': 'cpusUtilAvg',
|
|
93
|
+
'filesystem_inode_util_avg': 'filesystemInodeUtilAvg',
|
|
94
|
+
'filesystem_read_rate_avg': 'filesystemReadRateAvg',
|
|
95
|
+
'filesystem_util_avg': 'filesystemUtilAvg',
|
|
96
|
+
'filesystem_write_rate_avg': 'filesystemWriteRateAvg',
|
|
97
|
+
'gpu_sm_active_avg': 'gpuSmActiveAvg',
|
|
98
|
+
'gpu_sm_occupancy_avg': 'gpuSmOccupancyAvg',
|
|
99
|
+
'gpus_power_avg_running_watts': 'gpusPowerAvgRunningWatts',
|
|
100
|
+
'gpus_power_avg_watts': 'gpusPowerAvgWatts',
|
|
101
|
+
'gpus_power_total_watts': 'gpusPowerTotalWatts',
|
|
102
|
+
'gpus_temp_avg': 'gpusTempAvg',
|
|
103
|
+
'gpus_temp_avg_running': 'gpusTempAvgRunning',
|
|
104
|
+
'gpus_util_avg': 'gpusUtilAvg',
|
|
105
|
+
'gpus_util_avg_running': 'gpusUtilAvgRunning',
|
|
106
|
+
'id': 'id',
|
|
107
|
+
'max_gpu_temp_recorded': 'maxGpuTempRecorded',
|
|
108
|
+
'max_power_per_gpu': 'maxPowerPerGpu',
|
|
109
|
+
'num_gpus_running_pods': 'numGpusRunningPods',
|
|
110
|
+
'num_gpus_total': 'numGpusTotal',
|
|
111
|
+
'num_limit_cpus': 'numLimitCpus',
|
|
112
|
+
'num_limit_gpus': 'numLimitGpus',
|
|
113
|
+
'num_nodes': 'numNodes',
|
|
114
|
+
'num_pods': 'numPods',
|
|
115
|
+
'num_pods_failed': 'numPodsFailed',
|
|
116
|
+
'num_pods_pending': 'numPodsPending',
|
|
117
|
+
'num_pods_running': 'numPodsRunning',
|
|
118
|
+
'num_requested_cpus': 'numRequestedCpus',
|
|
119
|
+
'num_requested_gpus': 'numRequestedGpus',
|
|
120
|
+
'nvlink_rx_gib_total': 'nvlinkRxGibTotal',
|
|
121
|
+
'nvlink_tx_gib_total': 'nvlinkTxGibTotal',
|
|
122
|
+
'pcie_rx_gib_total': 'pcieRxGibTotal',
|
|
123
|
+
'pcie_tx_gib_total': 'pcieTxGibTotal',
|
|
124
|
+
'ram_limit_total': 'ramLimitTotal',
|
|
125
|
+
'ram_requested_total': 'ramRequestedTotal',
|
|
126
|
+
'ram_used_total': 'ramUsedTotal',
|
|
127
|
+
'ram_util_avg': 'ramUtilAvg',
|
|
128
|
+
'timestamp': 'timestamp',
|
|
129
|
+
'vram_capacity_total_mib': 'vramCapacityTotalMib',
|
|
130
|
+
'vram_limit_total_mib': 'vramLimitTotalMib',
|
|
131
|
+
'vram_read_write_util_avg': 'vramReadWriteUtilAvg',
|
|
132
|
+
'vram_requested_total_mib': 'vramRequestedTotalMib',
|
|
133
|
+
'vram_used_total_mib': 'vramUsedTotalMib',
|
|
134
|
+
'vram_util_avg': 'vramUtilAvg'
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
def __init__(self, cpus_util: 'float' =None, cpus_util_avg: 'float' =None, filesystem_inode_util_avg: 'float' =None, filesystem_read_rate_avg: 'float' =None, filesystem_util_avg: 'float' =None, filesystem_write_rate_avg: 'float' =None, gpu_sm_active_avg: 'float' =None, gpu_sm_occupancy_avg: 'float' =None, gpus_power_avg_running_watts: 'float' =None, gpus_power_avg_watts: 'float' =None, gpus_power_total_watts: 'float' =None, gpus_temp_avg: 'float' =None, gpus_temp_avg_running: 'float' =None, gpus_util_avg: 'float' =None, gpus_util_avg_running: 'float' =None, id: 'str' =None, max_gpu_temp_recorded: 'str' =None, max_power_per_gpu: 'float' =None, num_gpus_running_pods: 'int' =None, num_gpus_total: 'int' =None, num_limit_cpus: 'int' =None, num_limit_gpus: 'int' =None, num_nodes: 'int' =None, num_pods: 'int' =None, num_pods_failed: 'int' =None, num_pods_pending: 'int' =None, num_pods_running: 'int' =None, num_requested_cpus: 'int' =None, num_requested_gpus: 'int' =None, nvlink_rx_gib_total: 'float' =None, nvlink_tx_gib_total: 'float' =None, pcie_rx_gib_total: 'float' =None, pcie_tx_gib_total: 'float' =None, ram_limit_total: 'str' =None, ram_requested_total: 'str' =None, ram_used_total: 'str' =None, ram_util_avg: 'float' =None, timestamp: 'datetime' =None, vram_capacity_total_mib: 'str' =None, vram_limit_total_mib: 'str' =None, vram_read_write_util_avg: 'float' =None, vram_requested_total_mib: 'str' =None, vram_used_total_mib: 'str' =None, vram_util_avg: 'float' =None): # noqa: E501
|
|
138
|
+
"""V1GroupPodMetrics - a model defined in Swagger""" # noqa: E501
|
|
139
|
+
self._cpus_util = None
|
|
140
|
+
self._cpus_util_avg = None
|
|
141
|
+
self._filesystem_inode_util_avg = None
|
|
142
|
+
self._filesystem_read_rate_avg = None
|
|
143
|
+
self._filesystem_util_avg = None
|
|
144
|
+
self._filesystem_write_rate_avg = None
|
|
145
|
+
self._gpu_sm_active_avg = None
|
|
146
|
+
self._gpu_sm_occupancy_avg = None
|
|
147
|
+
self._gpus_power_avg_running_watts = None
|
|
148
|
+
self._gpus_power_avg_watts = None
|
|
149
|
+
self._gpus_power_total_watts = None
|
|
150
|
+
self._gpus_temp_avg = None
|
|
151
|
+
self._gpus_temp_avg_running = None
|
|
152
|
+
self._gpus_util_avg = None
|
|
153
|
+
self._gpus_util_avg_running = None
|
|
154
|
+
self._id = None
|
|
155
|
+
self._max_gpu_temp_recorded = None
|
|
156
|
+
self._max_power_per_gpu = None
|
|
157
|
+
self._num_gpus_running_pods = None
|
|
158
|
+
self._num_gpus_total = None
|
|
159
|
+
self._num_limit_cpus = None
|
|
160
|
+
self._num_limit_gpus = None
|
|
161
|
+
self._num_nodes = None
|
|
162
|
+
self._num_pods = None
|
|
163
|
+
self._num_pods_failed = None
|
|
164
|
+
self._num_pods_pending = None
|
|
165
|
+
self._num_pods_running = None
|
|
166
|
+
self._num_requested_cpus = None
|
|
167
|
+
self._num_requested_gpus = None
|
|
168
|
+
self._nvlink_rx_gib_total = None
|
|
169
|
+
self._nvlink_tx_gib_total = None
|
|
170
|
+
self._pcie_rx_gib_total = None
|
|
171
|
+
self._pcie_tx_gib_total = None
|
|
172
|
+
self._ram_limit_total = None
|
|
173
|
+
self._ram_requested_total = None
|
|
174
|
+
self._ram_used_total = None
|
|
175
|
+
self._ram_util_avg = None
|
|
176
|
+
self._timestamp = None
|
|
177
|
+
self._vram_capacity_total_mib = None
|
|
178
|
+
self._vram_limit_total_mib = None
|
|
179
|
+
self._vram_read_write_util_avg = None
|
|
180
|
+
self._vram_requested_total_mib = None
|
|
181
|
+
self._vram_used_total_mib = None
|
|
182
|
+
self._vram_util_avg = None
|
|
183
|
+
self.discriminator = None
|
|
184
|
+
if cpus_util is not None:
|
|
185
|
+
self.cpus_util = cpus_util
|
|
186
|
+
if cpus_util_avg is not None:
|
|
187
|
+
self.cpus_util_avg = cpus_util_avg
|
|
188
|
+
if filesystem_inode_util_avg is not None:
|
|
189
|
+
self.filesystem_inode_util_avg = filesystem_inode_util_avg
|
|
190
|
+
if filesystem_read_rate_avg is not None:
|
|
191
|
+
self.filesystem_read_rate_avg = filesystem_read_rate_avg
|
|
192
|
+
if filesystem_util_avg is not None:
|
|
193
|
+
self.filesystem_util_avg = filesystem_util_avg
|
|
194
|
+
if filesystem_write_rate_avg is not None:
|
|
195
|
+
self.filesystem_write_rate_avg = filesystem_write_rate_avg
|
|
196
|
+
if gpu_sm_active_avg is not None:
|
|
197
|
+
self.gpu_sm_active_avg = gpu_sm_active_avg
|
|
198
|
+
if gpu_sm_occupancy_avg is not None:
|
|
199
|
+
self.gpu_sm_occupancy_avg = gpu_sm_occupancy_avg
|
|
200
|
+
if gpus_power_avg_running_watts is not None:
|
|
201
|
+
self.gpus_power_avg_running_watts = gpus_power_avg_running_watts
|
|
202
|
+
if gpus_power_avg_watts is not None:
|
|
203
|
+
self.gpus_power_avg_watts = gpus_power_avg_watts
|
|
204
|
+
if gpus_power_total_watts is not None:
|
|
205
|
+
self.gpus_power_total_watts = gpus_power_total_watts
|
|
206
|
+
if gpus_temp_avg is not None:
|
|
207
|
+
self.gpus_temp_avg = gpus_temp_avg
|
|
208
|
+
if gpus_temp_avg_running is not None:
|
|
209
|
+
self.gpus_temp_avg_running = gpus_temp_avg_running
|
|
210
|
+
if gpus_util_avg is not None:
|
|
211
|
+
self.gpus_util_avg = gpus_util_avg
|
|
212
|
+
if gpus_util_avg_running is not None:
|
|
213
|
+
self.gpus_util_avg_running = gpus_util_avg_running
|
|
214
|
+
if id is not None:
|
|
215
|
+
self.id = id
|
|
216
|
+
if max_gpu_temp_recorded is not None:
|
|
217
|
+
self.max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
218
|
+
if max_power_per_gpu is not None:
|
|
219
|
+
self.max_power_per_gpu = max_power_per_gpu
|
|
220
|
+
if num_gpus_running_pods is not None:
|
|
221
|
+
self.num_gpus_running_pods = num_gpus_running_pods
|
|
222
|
+
if num_gpus_total is not None:
|
|
223
|
+
self.num_gpus_total = num_gpus_total
|
|
224
|
+
if num_limit_cpus is not None:
|
|
225
|
+
self.num_limit_cpus = num_limit_cpus
|
|
226
|
+
if num_limit_gpus is not None:
|
|
227
|
+
self.num_limit_gpus = num_limit_gpus
|
|
228
|
+
if num_nodes is not None:
|
|
229
|
+
self.num_nodes = num_nodes
|
|
230
|
+
if num_pods is not None:
|
|
231
|
+
self.num_pods = num_pods
|
|
232
|
+
if num_pods_failed is not None:
|
|
233
|
+
self.num_pods_failed = num_pods_failed
|
|
234
|
+
if num_pods_pending is not None:
|
|
235
|
+
self.num_pods_pending = num_pods_pending
|
|
236
|
+
if num_pods_running is not None:
|
|
237
|
+
self.num_pods_running = num_pods_running
|
|
238
|
+
if num_requested_cpus is not None:
|
|
239
|
+
self.num_requested_cpus = num_requested_cpus
|
|
240
|
+
if num_requested_gpus is not None:
|
|
241
|
+
self.num_requested_gpus = num_requested_gpus
|
|
242
|
+
if nvlink_rx_gib_total is not None:
|
|
243
|
+
self.nvlink_rx_gib_total = nvlink_rx_gib_total
|
|
244
|
+
if nvlink_tx_gib_total is not None:
|
|
245
|
+
self.nvlink_tx_gib_total = nvlink_tx_gib_total
|
|
246
|
+
if pcie_rx_gib_total is not None:
|
|
247
|
+
self.pcie_rx_gib_total = pcie_rx_gib_total
|
|
248
|
+
if pcie_tx_gib_total is not None:
|
|
249
|
+
self.pcie_tx_gib_total = pcie_tx_gib_total
|
|
250
|
+
if ram_limit_total is not None:
|
|
251
|
+
self.ram_limit_total = ram_limit_total
|
|
252
|
+
if ram_requested_total is not None:
|
|
253
|
+
self.ram_requested_total = ram_requested_total
|
|
254
|
+
if ram_used_total is not None:
|
|
255
|
+
self.ram_used_total = ram_used_total
|
|
256
|
+
if ram_util_avg is not None:
|
|
257
|
+
self.ram_util_avg = ram_util_avg
|
|
258
|
+
if timestamp is not None:
|
|
259
|
+
self.timestamp = timestamp
|
|
260
|
+
if vram_capacity_total_mib is not None:
|
|
261
|
+
self.vram_capacity_total_mib = vram_capacity_total_mib
|
|
262
|
+
if vram_limit_total_mib is not None:
|
|
263
|
+
self.vram_limit_total_mib = vram_limit_total_mib
|
|
264
|
+
if vram_read_write_util_avg is not None:
|
|
265
|
+
self.vram_read_write_util_avg = vram_read_write_util_avg
|
|
266
|
+
if vram_requested_total_mib is not None:
|
|
267
|
+
self.vram_requested_total_mib = vram_requested_total_mib
|
|
268
|
+
if vram_used_total_mib is not None:
|
|
269
|
+
self.vram_used_total_mib = vram_used_total_mib
|
|
270
|
+
if vram_util_avg is not None:
|
|
271
|
+
self.vram_util_avg = vram_util_avg
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def cpus_util(self) -> 'float':
|
|
275
|
+
"""Gets the cpus_util of this V1GroupPodMetrics. # noqa: E501
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:return: The cpus_util of this V1GroupPodMetrics. # noqa: E501
|
|
279
|
+
:rtype: float
|
|
280
|
+
"""
|
|
281
|
+
return self._cpus_util
|
|
282
|
+
|
|
283
|
+
@cpus_util.setter
|
|
284
|
+
def cpus_util(self, cpus_util: 'float'):
|
|
285
|
+
"""Sets the cpus_util of this V1GroupPodMetrics.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param cpus_util: The cpus_util of this V1GroupPodMetrics. # noqa: E501
|
|
289
|
+
:type: float
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self._cpus_util = cpus_util
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def cpus_util_avg(self) -> 'float':
|
|
296
|
+
"""Gets the cpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
:return: The cpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
300
|
+
:rtype: float
|
|
301
|
+
"""
|
|
302
|
+
return self._cpus_util_avg
|
|
303
|
+
|
|
304
|
+
@cpus_util_avg.setter
|
|
305
|
+
def cpus_util_avg(self, cpus_util_avg: 'float'):
|
|
306
|
+
"""Sets the cpus_util_avg of this V1GroupPodMetrics.
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:param cpus_util_avg: The cpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
310
|
+
:type: float
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
self._cpus_util_avg = cpus_util_avg
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def filesystem_inode_util_avg(self) -> 'float':
|
|
317
|
+
"""Gets the filesystem_inode_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
:return: The filesystem_inode_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
321
|
+
:rtype: float
|
|
322
|
+
"""
|
|
323
|
+
return self._filesystem_inode_util_avg
|
|
324
|
+
|
|
325
|
+
@filesystem_inode_util_avg.setter
|
|
326
|
+
def filesystem_inode_util_avg(self, filesystem_inode_util_avg: 'float'):
|
|
327
|
+
"""Sets the filesystem_inode_util_avg of this V1GroupPodMetrics.
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:param filesystem_inode_util_avg: The filesystem_inode_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
331
|
+
:type: float
|
|
332
|
+
"""
|
|
333
|
+
|
|
334
|
+
self._filesystem_inode_util_avg = filesystem_inode_util_avg
|
|
335
|
+
|
|
336
|
+
@property
|
|
337
|
+
def filesystem_read_rate_avg(self) -> 'float':
|
|
338
|
+
"""Gets the filesystem_read_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
:return: The filesystem_read_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
342
|
+
:rtype: float
|
|
343
|
+
"""
|
|
344
|
+
return self._filesystem_read_rate_avg
|
|
345
|
+
|
|
346
|
+
@filesystem_read_rate_avg.setter
|
|
347
|
+
def filesystem_read_rate_avg(self, filesystem_read_rate_avg: 'float'):
|
|
348
|
+
"""Sets the filesystem_read_rate_avg of this V1GroupPodMetrics.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:param filesystem_read_rate_avg: The filesystem_read_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
352
|
+
:type: float
|
|
353
|
+
"""
|
|
354
|
+
|
|
355
|
+
self._filesystem_read_rate_avg = filesystem_read_rate_avg
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
def filesystem_util_avg(self) -> 'float':
|
|
359
|
+
"""Gets the filesystem_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
:return: The filesystem_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
363
|
+
:rtype: float
|
|
364
|
+
"""
|
|
365
|
+
return self._filesystem_util_avg
|
|
366
|
+
|
|
367
|
+
@filesystem_util_avg.setter
|
|
368
|
+
def filesystem_util_avg(self, filesystem_util_avg: 'float'):
|
|
369
|
+
"""Sets the filesystem_util_avg of this V1GroupPodMetrics.
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
:param filesystem_util_avg: The filesystem_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
373
|
+
:type: float
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
self._filesystem_util_avg = filesystem_util_avg
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
def filesystem_write_rate_avg(self) -> 'float':
|
|
380
|
+
"""Gets the filesystem_write_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
:return: The filesystem_write_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
384
|
+
:rtype: float
|
|
385
|
+
"""
|
|
386
|
+
return self._filesystem_write_rate_avg
|
|
387
|
+
|
|
388
|
+
@filesystem_write_rate_avg.setter
|
|
389
|
+
def filesystem_write_rate_avg(self, filesystem_write_rate_avg: 'float'):
|
|
390
|
+
"""Sets the filesystem_write_rate_avg of this V1GroupPodMetrics.
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
:param filesystem_write_rate_avg: The filesystem_write_rate_avg of this V1GroupPodMetrics. # noqa: E501
|
|
394
|
+
:type: float
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
self._filesystem_write_rate_avg = filesystem_write_rate_avg
|
|
398
|
+
|
|
399
|
+
@property
|
|
400
|
+
def gpu_sm_active_avg(self) -> 'float':
|
|
401
|
+
"""Gets the gpu_sm_active_avg of this V1GroupPodMetrics. # noqa: E501
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
:return: The gpu_sm_active_avg of this V1GroupPodMetrics. # noqa: E501
|
|
405
|
+
:rtype: float
|
|
406
|
+
"""
|
|
407
|
+
return self._gpu_sm_active_avg
|
|
408
|
+
|
|
409
|
+
@gpu_sm_active_avg.setter
|
|
410
|
+
def gpu_sm_active_avg(self, gpu_sm_active_avg: 'float'):
|
|
411
|
+
"""Sets the gpu_sm_active_avg of this V1GroupPodMetrics.
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
:param gpu_sm_active_avg: The gpu_sm_active_avg of this V1GroupPodMetrics. # noqa: E501
|
|
415
|
+
:type: float
|
|
416
|
+
"""
|
|
417
|
+
|
|
418
|
+
self._gpu_sm_active_avg = gpu_sm_active_avg
|
|
419
|
+
|
|
420
|
+
@property
|
|
421
|
+
def gpu_sm_occupancy_avg(self) -> 'float':
|
|
422
|
+
"""Gets the gpu_sm_occupancy_avg of this V1GroupPodMetrics. # noqa: E501
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
:return: The gpu_sm_occupancy_avg of this V1GroupPodMetrics. # noqa: E501
|
|
426
|
+
:rtype: float
|
|
427
|
+
"""
|
|
428
|
+
return self._gpu_sm_occupancy_avg
|
|
429
|
+
|
|
430
|
+
@gpu_sm_occupancy_avg.setter
|
|
431
|
+
def gpu_sm_occupancy_avg(self, gpu_sm_occupancy_avg: 'float'):
|
|
432
|
+
"""Sets the gpu_sm_occupancy_avg of this V1GroupPodMetrics.
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
:param gpu_sm_occupancy_avg: The gpu_sm_occupancy_avg of this V1GroupPodMetrics. # noqa: E501
|
|
436
|
+
:type: float
|
|
437
|
+
"""
|
|
438
|
+
|
|
439
|
+
self._gpu_sm_occupancy_avg = gpu_sm_occupancy_avg
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
def gpus_power_avg_running_watts(self) -> 'float':
|
|
443
|
+
"""Gets the gpus_power_avg_running_watts of this V1GroupPodMetrics. # noqa: E501
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
:return: The gpus_power_avg_running_watts of this V1GroupPodMetrics. # noqa: E501
|
|
447
|
+
:rtype: float
|
|
448
|
+
"""
|
|
449
|
+
return self._gpus_power_avg_running_watts
|
|
450
|
+
|
|
451
|
+
@gpus_power_avg_running_watts.setter
|
|
452
|
+
def gpus_power_avg_running_watts(self, gpus_power_avg_running_watts: 'float'):
|
|
453
|
+
"""Sets the gpus_power_avg_running_watts of this V1GroupPodMetrics.
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
:param gpus_power_avg_running_watts: The gpus_power_avg_running_watts of this V1GroupPodMetrics. # noqa: E501
|
|
457
|
+
:type: float
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
self._gpus_power_avg_running_watts = gpus_power_avg_running_watts
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
def gpus_power_avg_watts(self) -> 'float':
|
|
464
|
+
"""Gets the gpus_power_avg_watts of this V1GroupPodMetrics. # noqa: E501
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
:return: The gpus_power_avg_watts of this V1GroupPodMetrics. # noqa: E501
|
|
468
|
+
:rtype: float
|
|
469
|
+
"""
|
|
470
|
+
return self._gpus_power_avg_watts
|
|
471
|
+
|
|
472
|
+
@gpus_power_avg_watts.setter
|
|
473
|
+
def gpus_power_avg_watts(self, gpus_power_avg_watts: 'float'):
|
|
474
|
+
"""Sets the gpus_power_avg_watts of this V1GroupPodMetrics.
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
:param gpus_power_avg_watts: The gpus_power_avg_watts of this V1GroupPodMetrics. # noqa: E501
|
|
478
|
+
:type: float
|
|
479
|
+
"""
|
|
480
|
+
|
|
481
|
+
self._gpus_power_avg_watts = gpus_power_avg_watts
|
|
482
|
+
|
|
483
|
+
@property
|
|
484
|
+
def gpus_power_total_watts(self) -> 'float':
|
|
485
|
+
"""Gets the gpus_power_total_watts of this V1GroupPodMetrics. # noqa: E501
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
:return: The gpus_power_total_watts of this V1GroupPodMetrics. # noqa: E501
|
|
489
|
+
:rtype: float
|
|
490
|
+
"""
|
|
491
|
+
return self._gpus_power_total_watts
|
|
492
|
+
|
|
493
|
+
@gpus_power_total_watts.setter
|
|
494
|
+
def gpus_power_total_watts(self, gpus_power_total_watts: 'float'):
|
|
495
|
+
"""Sets the gpus_power_total_watts of this V1GroupPodMetrics.
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
:param gpus_power_total_watts: The gpus_power_total_watts of this V1GroupPodMetrics. # noqa: E501
|
|
499
|
+
:type: float
|
|
500
|
+
"""
|
|
501
|
+
|
|
502
|
+
self._gpus_power_total_watts = gpus_power_total_watts
|
|
503
|
+
|
|
504
|
+
@property
|
|
505
|
+
def gpus_temp_avg(self) -> 'float':
|
|
506
|
+
"""Gets the gpus_temp_avg of this V1GroupPodMetrics. # noqa: E501
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
:return: The gpus_temp_avg of this V1GroupPodMetrics. # noqa: E501
|
|
510
|
+
:rtype: float
|
|
511
|
+
"""
|
|
512
|
+
return self._gpus_temp_avg
|
|
513
|
+
|
|
514
|
+
@gpus_temp_avg.setter
|
|
515
|
+
def gpus_temp_avg(self, gpus_temp_avg: 'float'):
|
|
516
|
+
"""Sets the gpus_temp_avg of this V1GroupPodMetrics.
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
:param gpus_temp_avg: The gpus_temp_avg of this V1GroupPodMetrics. # noqa: E501
|
|
520
|
+
:type: float
|
|
521
|
+
"""
|
|
522
|
+
|
|
523
|
+
self._gpus_temp_avg = gpus_temp_avg
|
|
524
|
+
|
|
525
|
+
@property
|
|
526
|
+
def gpus_temp_avg_running(self) -> 'float':
|
|
527
|
+
"""Gets the gpus_temp_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
:return: The gpus_temp_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
531
|
+
:rtype: float
|
|
532
|
+
"""
|
|
533
|
+
return self._gpus_temp_avg_running
|
|
534
|
+
|
|
535
|
+
@gpus_temp_avg_running.setter
|
|
536
|
+
def gpus_temp_avg_running(self, gpus_temp_avg_running: 'float'):
|
|
537
|
+
"""Sets the gpus_temp_avg_running of this V1GroupPodMetrics.
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
:param gpus_temp_avg_running: The gpus_temp_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
541
|
+
:type: float
|
|
542
|
+
"""
|
|
543
|
+
|
|
544
|
+
self._gpus_temp_avg_running = gpus_temp_avg_running
|
|
545
|
+
|
|
546
|
+
@property
|
|
547
|
+
def gpus_util_avg(self) -> 'float':
|
|
548
|
+
"""Gets the gpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
:return: The gpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
552
|
+
:rtype: float
|
|
553
|
+
"""
|
|
554
|
+
return self._gpus_util_avg
|
|
555
|
+
|
|
556
|
+
@gpus_util_avg.setter
|
|
557
|
+
def gpus_util_avg(self, gpus_util_avg: 'float'):
|
|
558
|
+
"""Sets the gpus_util_avg of this V1GroupPodMetrics.
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
:param gpus_util_avg: The gpus_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
562
|
+
:type: float
|
|
563
|
+
"""
|
|
564
|
+
|
|
565
|
+
self._gpus_util_avg = gpus_util_avg
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def gpus_util_avg_running(self) -> 'float':
|
|
569
|
+
"""Gets the gpus_util_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
:return: The gpus_util_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
573
|
+
:rtype: float
|
|
574
|
+
"""
|
|
575
|
+
return self._gpus_util_avg_running
|
|
576
|
+
|
|
577
|
+
@gpus_util_avg_running.setter
|
|
578
|
+
def gpus_util_avg_running(self, gpus_util_avg_running: 'float'):
|
|
579
|
+
"""Sets the gpus_util_avg_running of this V1GroupPodMetrics.
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
:param gpus_util_avg_running: The gpus_util_avg_running of this V1GroupPodMetrics. # noqa: E501
|
|
583
|
+
:type: float
|
|
584
|
+
"""
|
|
585
|
+
|
|
586
|
+
self._gpus_util_avg_running = gpus_util_avg_running
|
|
587
|
+
|
|
588
|
+
@property
|
|
589
|
+
def id(self) -> 'str':
|
|
590
|
+
"""Gets the id of this V1GroupPodMetrics. # noqa: E501
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
:return: The id of this V1GroupPodMetrics. # noqa: E501
|
|
594
|
+
:rtype: str
|
|
595
|
+
"""
|
|
596
|
+
return self._id
|
|
597
|
+
|
|
598
|
+
@id.setter
|
|
599
|
+
def id(self, id: 'str'):
|
|
600
|
+
"""Sets the id of this V1GroupPodMetrics.
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
:param id: The id of this V1GroupPodMetrics. # noqa: E501
|
|
604
|
+
:type: str
|
|
605
|
+
"""
|
|
606
|
+
|
|
607
|
+
self._id = id
|
|
608
|
+
|
|
609
|
+
@property
|
|
610
|
+
def max_gpu_temp_recorded(self) -> 'str':
|
|
611
|
+
"""Gets the max_gpu_temp_recorded of this V1GroupPodMetrics. # noqa: E501
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
:return: The max_gpu_temp_recorded of this V1GroupPodMetrics. # noqa: E501
|
|
615
|
+
:rtype: str
|
|
616
|
+
"""
|
|
617
|
+
return self._max_gpu_temp_recorded
|
|
618
|
+
|
|
619
|
+
@max_gpu_temp_recorded.setter
|
|
620
|
+
def max_gpu_temp_recorded(self, max_gpu_temp_recorded: 'str'):
|
|
621
|
+
"""Sets the max_gpu_temp_recorded of this V1GroupPodMetrics.
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
:param max_gpu_temp_recorded: The max_gpu_temp_recorded of this V1GroupPodMetrics. # noqa: E501
|
|
625
|
+
:type: str
|
|
626
|
+
"""
|
|
627
|
+
|
|
628
|
+
self._max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
629
|
+
|
|
630
|
+
@property
|
|
631
|
+
def max_power_per_gpu(self) -> 'float':
|
|
632
|
+
"""Gets the max_power_per_gpu of this V1GroupPodMetrics. # noqa: E501
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
:return: The max_power_per_gpu of this V1GroupPodMetrics. # noqa: E501
|
|
636
|
+
:rtype: float
|
|
637
|
+
"""
|
|
638
|
+
return self._max_power_per_gpu
|
|
639
|
+
|
|
640
|
+
@max_power_per_gpu.setter
|
|
641
|
+
def max_power_per_gpu(self, max_power_per_gpu: 'float'):
|
|
642
|
+
"""Sets the max_power_per_gpu of this V1GroupPodMetrics.
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
:param max_power_per_gpu: The max_power_per_gpu of this V1GroupPodMetrics. # noqa: E501
|
|
646
|
+
:type: float
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
self._max_power_per_gpu = max_power_per_gpu
|
|
650
|
+
|
|
651
|
+
@property
|
|
652
|
+
def num_gpus_running_pods(self) -> 'int':
|
|
653
|
+
"""Gets the num_gpus_running_pods of this V1GroupPodMetrics. # noqa: E501
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
:return: The num_gpus_running_pods of this V1GroupPodMetrics. # noqa: E501
|
|
657
|
+
:rtype: int
|
|
658
|
+
"""
|
|
659
|
+
return self._num_gpus_running_pods
|
|
660
|
+
|
|
661
|
+
@num_gpus_running_pods.setter
|
|
662
|
+
def num_gpus_running_pods(self, num_gpus_running_pods: 'int'):
|
|
663
|
+
"""Sets the num_gpus_running_pods of this V1GroupPodMetrics.
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
:param num_gpus_running_pods: The num_gpus_running_pods of this V1GroupPodMetrics. # noqa: E501
|
|
667
|
+
:type: int
|
|
668
|
+
"""
|
|
669
|
+
|
|
670
|
+
self._num_gpus_running_pods = num_gpus_running_pods
|
|
671
|
+
|
|
672
|
+
@property
|
|
673
|
+
def num_gpus_total(self) -> 'int':
|
|
674
|
+
"""Gets the num_gpus_total of this V1GroupPodMetrics. # noqa: E501
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
:return: The num_gpus_total of this V1GroupPodMetrics. # noqa: E501
|
|
678
|
+
:rtype: int
|
|
679
|
+
"""
|
|
680
|
+
return self._num_gpus_total
|
|
681
|
+
|
|
682
|
+
@num_gpus_total.setter
|
|
683
|
+
def num_gpus_total(self, num_gpus_total: 'int'):
|
|
684
|
+
"""Sets the num_gpus_total of this V1GroupPodMetrics.
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
:param num_gpus_total: The num_gpus_total of this V1GroupPodMetrics. # noqa: E501
|
|
688
|
+
:type: int
|
|
689
|
+
"""
|
|
690
|
+
|
|
691
|
+
self._num_gpus_total = num_gpus_total
|
|
692
|
+
|
|
693
|
+
@property
|
|
694
|
+
def num_limit_cpus(self) -> 'int':
|
|
695
|
+
"""Gets the num_limit_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
:return: The num_limit_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
699
|
+
:rtype: int
|
|
700
|
+
"""
|
|
701
|
+
return self._num_limit_cpus
|
|
702
|
+
|
|
703
|
+
@num_limit_cpus.setter
|
|
704
|
+
def num_limit_cpus(self, num_limit_cpus: 'int'):
|
|
705
|
+
"""Sets the num_limit_cpus of this V1GroupPodMetrics.
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
:param num_limit_cpus: The num_limit_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
709
|
+
:type: int
|
|
710
|
+
"""
|
|
711
|
+
|
|
712
|
+
self._num_limit_cpus = num_limit_cpus
|
|
713
|
+
|
|
714
|
+
@property
|
|
715
|
+
def num_limit_gpus(self) -> 'int':
|
|
716
|
+
"""Gets the num_limit_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
:return: The num_limit_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
720
|
+
:rtype: int
|
|
721
|
+
"""
|
|
722
|
+
return self._num_limit_gpus
|
|
723
|
+
|
|
724
|
+
@num_limit_gpus.setter
|
|
725
|
+
def num_limit_gpus(self, num_limit_gpus: 'int'):
|
|
726
|
+
"""Sets the num_limit_gpus of this V1GroupPodMetrics.
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
:param num_limit_gpus: The num_limit_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
730
|
+
:type: int
|
|
731
|
+
"""
|
|
732
|
+
|
|
733
|
+
self._num_limit_gpus = num_limit_gpus
|
|
734
|
+
|
|
735
|
+
@property
|
|
736
|
+
def num_nodes(self) -> 'int':
|
|
737
|
+
"""Gets the num_nodes of this V1GroupPodMetrics. # noqa: E501
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
:return: The num_nodes of this V1GroupPodMetrics. # noqa: E501
|
|
741
|
+
:rtype: int
|
|
742
|
+
"""
|
|
743
|
+
return self._num_nodes
|
|
744
|
+
|
|
745
|
+
@num_nodes.setter
|
|
746
|
+
def num_nodes(self, num_nodes: 'int'):
|
|
747
|
+
"""Sets the num_nodes of this V1GroupPodMetrics.
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
:param num_nodes: The num_nodes of this V1GroupPodMetrics. # noqa: E501
|
|
751
|
+
:type: int
|
|
752
|
+
"""
|
|
753
|
+
|
|
754
|
+
self._num_nodes = num_nodes
|
|
755
|
+
|
|
756
|
+
@property
|
|
757
|
+
def num_pods(self) -> 'int':
|
|
758
|
+
"""Gets the num_pods of this V1GroupPodMetrics. # noqa: E501
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
:return: The num_pods of this V1GroupPodMetrics. # noqa: E501
|
|
762
|
+
:rtype: int
|
|
763
|
+
"""
|
|
764
|
+
return self._num_pods
|
|
765
|
+
|
|
766
|
+
@num_pods.setter
|
|
767
|
+
def num_pods(self, num_pods: 'int'):
|
|
768
|
+
"""Sets the num_pods of this V1GroupPodMetrics.
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
:param num_pods: The num_pods of this V1GroupPodMetrics. # noqa: E501
|
|
772
|
+
:type: int
|
|
773
|
+
"""
|
|
774
|
+
|
|
775
|
+
self._num_pods = num_pods
|
|
776
|
+
|
|
777
|
+
@property
|
|
778
|
+
def num_pods_failed(self) -> 'int':
|
|
779
|
+
"""Gets the num_pods_failed of this V1GroupPodMetrics. # noqa: E501
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
:return: The num_pods_failed of this V1GroupPodMetrics. # noqa: E501
|
|
783
|
+
:rtype: int
|
|
784
|
+
"""
|
|
785
|
+
return self._num_pods_failed
|
|
786
|
+
|
|
787
|
+
@num_pods_failed.setter
|
|
788
|
+
def num_pods_failed(self, num_pods_failed: 'int'):
|
|
789
|
+
"""Sets the num_pods_failed of this V1GroupPodMetrics.
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
:param num_pods_failed: The num_pods_failed of this V1GroupPodMetrics. # noqa: E501
|
|
793
|
+
:type: int
|
|
794
|
+
"""
|
|
795
|
+
|
|
796
|
+
self._num_pods_failed = num_pods_failed
|
|
797
|
+
|
|
798
|
+
@property
|
|
799
|
+
def num_pods_pending(self) -> 'int':
|
|
800
|
+
"""Gets the num_pods_pending of this V1GroupPodMetrics. # noqa: E501
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
:return: The num_pods_pending of this V1GroupPodMetrics. # noqa: E501
|
|
804
|
+
:rtype: int
|
|
805
|
+
"""
|
|
806
|
+
return self._num_pods_pending
|
|
807
|
+
|
|
808
|
+
@num_pods_pending.setter
|
|
809
|
+
def num_pods_pending(self, num_pods_pending: 'int'):
|
|
810
|
+
"""Sets the num_pods_pending of this V1GroupPodMetrics.
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
:param num_pods_pending: The num_pods_pending of this V1GroupPodMetrics. # noqa: E501
|
|
814
|
+
:type: int
|
|
815
|
+
"""
|
|
816
|
+
|
|
817
|
+
self._num_pods_pending = num_pods_pending
|
|
818
|
+
|
|
819
|
+
@property
|
|
820
|
+
def num_pods_running(self) -> 'int':
|
|
821
|
+
"""Gets the num_pods_running of this V1GroupPodMetrics. # noqa: E501
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
:return: The num_pods_running of this V1GroupPodMetrics. # noqa: E501
|
|
825
|
+
:rtype: int
|
|
826
|
+
"""
|
|
827
|
+
return self._num_pods_running
|
|
828
|
+
|
|
829
|
+
@num_pods_running.setter
|
|
830
|
+
def num_pods_running(self, num_pods_running: 'int'):
|
|
831
|
+
"""Sets the num_pods_running of this V1GroupPodMetrics.
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
:param num_pods_running: The num_pods_running of this V1GroupPodMetrics. # noqa: E501
|
|
835
|
+
:type: int
|
|
836
|
+
"""
|
|
837
|
+
|
|
838
|
+
self._num_pods_running = num_pods_running
|
|
839
|
+
|
|
840
|
+
@property
|
|
841
|
+
def num_requested_cpus(self) -> 'int':
|
|
842
|
+
"""Gets the num_requested_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
:return: The num_requested_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
846
|
+
:rtype: int
|
|
847
|
+
"""
|
|
848
|
+
return self._num_requested_cpus
|
|
849
|
+
|
|
850
|
+
@num_requested_cpus.setter
|
|
851
|
+
def num_requested_cpus(self, num_requested_cpus: 'int'):
|
|
852
|
+
"""Sets the num_requested_cpus of this V1GroupPodMetrics.
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
:param num_requested_cpus: The num_requested_cpus of this V1GroupPodMetrics. # noqa: E501
|
|
856
|
+
:type: int
|
|
857
|
+
"""
|
|
858
|
+
|
|
859
|
+
self._num_requested_cpus = num_requested_cpus
|
|
860
|
+
|
|
861
|
+
@property
|
|
862
|
+
def num_requested_gpus(self) -> 'int':
|
|
863
|
+
"""Gets the num_requested_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
:return: The num_requested_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
867
|
+
:rtype: int
|
|
868
|
+
"""
|
|
869
|
+
return self._num_requested_gpus
|
|
870
|
+
|
|
871
|
+
@num_requested_gpus.setter
|
|
872
|
+
def num_requested_gpus(self, num_requested_gpus: 'int'):
|
|
873
|
+
"""Sets the num_requested_gpus of this V1GroupPodMetrics.
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
:param num_requested_gpus: The num_requested_gpus of this V1GroupPodMetrics. # noqa: E501
|
|
877
|
+
:type: int
|
|
878
|
+
"""
|
|
879
|
+
|
|
880
|
+
self._num_requested_gpus = num_requested_gpus
|
|
881
|
+
|
|
882
|
+
@property
|
|
883
|
+
def nvlink_rx_gib_total(self) -> 'float':
|
|
884
|
+
"""Gets the nvlink_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
:return: The nvlink_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
888
|
+
:rtype: float
|
|
889
|
+
"""
|
|
890
|
+
return self._nvlink_rx_gib_total
|
|
891
|
+
|
|
892
|
+
@nvlink_rx_gib_total.setter
|
|
893
|
+
def nvlink_rx_gib_total(self, nvlink_rx_gib_total: 'float'):
|
|
894
|
+
"""Sets the nvlink_rx_gib_total of this V1GroupPodMetrics.
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
:param nvlink_rx_gib_total: The nvlink_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
898
|
+
:type: float
|
|
899
|
+
"""
|
|
900
|
+
|
|
901
|
+
self._nvlink_rx_gib_total = nvlink_rx_gib_total
|
|
902
|
+
|
|
903
|
+
@property
|
|
904
|
+
def nvlink_tx_gib_total(self) -> 'float':
|
|
905
|
+
"""Gets the nvlink_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
:return: The nvlink_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
909
|
+
:rtype: float
|
|
910
|
+
"""
|
|
911
|
+
return self._nvlink_tx_gib_total
|
|
912
|
+
|
|
913
|
+
@nvlink_tx_gib_total.setter
|
|
914
|
+
def nvlink_tx_gib_total(self, nvlink_tx_gib_total: 'float'):
|
|
915
|
+
"""Sets the nvlink_tx_gib_total of this V1GroupPodMetrics.
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
:param nvlink_tx_gib_total: The nvlink_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
919
|
+
:type: float
|
|
920
|
+
"""
|
|
921
|
+
|
|
922
|
+
self._nvlink_tx_gib_total = nvlink_tx_gib_total
|
|
923
|
+
|
|
924
|
+
@property
|
|
925
|
+
def pcie_rx_gib_total(self) -> 'float':
|
|
926
|
+
"""Gets the pcie_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
:return: The pcie_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
930
|
+
:rtype: float
|
|
931
|
+
"""
|
|
932
|
+
return self._pcie_rx_gib_total
|
|
933
|
+
|
|
934
|
+
@pcie_rx_gib_total.setter
|
|
935
|
+
def pcie_rx_gib_total(self, pcie_rx_gib_total: 'float'):
|
|
936
|
+
"""Sets the pcie_rx_gib_total of this V1GroupPodMetrics.
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
:param pcie_rx_gib_total: The pcie_rx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
940
|
+
:type: float
|
|
941
|
+
"""
|
|
942
|
+
|
|
943
|
+
self._pcie_rx_gib_total = pcie_rx_gib_total
|
|
944
|
+
|
|
945
|
+
@property
|
|
946
|
+
def pcie_tx_gib_total(self) -> 'float':
|
|
947
|
+
"""Gets the pcie_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
:return: The pcie_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
951
|
+
:rtype: float
|
|
952
|
+
"""
|
|
953
|
+
return self._pcie_tx_gib_total
|
|
954
|
+
|
|
955
|
+
@pcie_tx_gib_total.setter
|
|
956
|
+
def pcie_tx_gib_total(self, pcie_tx_gib_total: 'float'):
|
|
957
|
+
"""Sets the pcie_tx_gib_total of this V1GroupPodMetrics.
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
:param pcie_tx_gib_total: The pcie_tx_gib_total of this V1GroupPodMetrics. # noqa: E501
|
|
961
|
+
:type: float
|
|
962
|
+
"""
|
|
963
|
+
|
|
964
|
+
self._pcie_tx_gib_total = pcie_tx_gib_total
|
|
965
|
+
|
|
966
|
+
@property
|
|
967
|
+
def ram_limit_total(self) -> 'str':
|
|
968
|
+
"""Gets the ram_limit_total of this V1GroupPodMetrics. # noqa: E501
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
:return: The ram_limit_total of this V1GroupPodMetrics. # noqa: E501
|
|
972
|
+
:rtype: str
|
|
973
|
+
"""
|
|
974
|
+
return self._ram_limit_total
|
|
975
|
+
|
|
976
|
+
@ram_limit_total.setter
|
|
977
|
+
def ram_limit_total(self, ram_limit_total: 'str'):
|
|
978
|
+
"""Sets the ram_limit_total of this V1GroupPodMetrics.
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
:param ram_limit_total: The ram_limit_total of this V1GroupPodMetrics. # noqa: E501
|
|
982
|
+
:type: str
|
|
983
|
+
"""
|
|
984
|
+
|
|
985
|
+
self._ram_limit_total = ram_limit_total
|
|
986
|
+
|
|
987
|
+
@property
|
|
988
|
+
def ram_requested_total(self) -> 'str':
|
|
989
|
+
"""Gets the ram_requested_total of this V1GroupPodMetrics. # noqa: E501
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
:return: The ram_requested_total of this V1GroupPodMetrics. # noqa: E501
|
|
993
|
+
:rtype: str
|
|
994
|
+
"""
|
|
995
|
+
return self._ram_requested_total
|
|
996
|
+
|
|
997
|
+
@ram_requested_total.setter
|
|
998
|
+
def ram_requested_total(self, ram_requested_total: 'str'):
|
|
999
|
+
"""Sets the ram_requested_total of this V1GroupPodMetrics.
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
:param ram_requested_total: The ram_requested_total of this V1GroupPodMetrics. # noqa: E501
|
|
1003
|
+
:type: str
|
|
1004
|
+
"""
|
|
1005
|
+
|
|
1006
|
+
self._ram_requested_total = ram_requested_total
|
|
1007
|
+
|
|
1008
|
+
@property
|
|
1009
|
+
def ram_used_total(self) -> 'str':
|
|
1010
|
+
"""Gets the ram_used_total of this V1GroupPodMetrics. # noqa: E501
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
:return: The ram_used_total of this V1GroupPodMetrics. # noqa: E501
|
|
1014
|
+
:rtype: str
|
|
1015
|
+
"""
|
|
1016
|
+
return self._ram_used_total
|
|
1017
|
+
|
|
1018
|
+
@ram_used_total.setter
|
|
1019
|
+
def ram_used_total(self, ram_used_total: 'str'):
|
|
1020
|
+
"""Sets the ram_used_total of this V1GroupPodMetrics.
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
:param ram_used_total: The ram_used_total of this V1GroupPodMetrics. # noqa: E501
|
|
1024
|
+
:type: str
|
|
1025
|
+
"""
|
|
1026
|
+
|
|
1027
|
+
self._ram_used_total = ram_used_total
|
|
1028
|
+
|
|
1029
|
+
@property
|
|
1030
|
+
def ram_util_avg(self) -> 'float':
|
|
1031
|
+
"""Gets the ram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
:return: The ram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1035
|
+
:rtype: float
|
|
1036
|
+
"""
|
|
1037
|
+
return self._ram_util_avg
|
|
1038
|
+
|
|
1039
|
+
@ram_util_avg.setter
|
|
1040
|
+
def ram_util_avg(self, ram_util_avg: 'float'):
|
|
1041
|
+
"""Sets the ram_util_avg of this V1GroupPodMetrics.
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
:param ram_util_avg: The ram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1045
|
+
:type: float
|
|
1046
|
+
"""
|
|
1047
|
+
|
|
1048
|
+
self._ram_util_avg = ram_util_avg
|
|
1049
|
+
|
|
1050
|
+
@property
|
|
1051
|
+
def timestamp(self) -> 'datetime':
|
|
1052
|
+
"""Gets the timestamp of this V1GroupPodMetrics. # noqa: E501
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
:return: The timestamp of this V1GroupPodMetrics. # noqa: E501
|
|
1056
|
+
:rtype: datetime
|
|
1057
|
+
"""
|
|
1058
|
+
return self._timestamp
|
|
1059
|
+
|
|
1060
|
+
@timestamp.setter
|
|
1061
|
+
def timestamp(self, timestamp: 'datetime'):
|
|
1062
|
+
"""Sets the timestamp of this V1GroupPodMetrics.
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
:param timestamp: The timestamp of this V1GroupPodMetrics. # noqa: E501
|
|
1066
|
+
:type: datetime
|
|
1067
|
+
"""
|
|
1068
|
+
|
|
1069
|
+
self._timestamp = timestamp
|
|
1070
|
+
|
|
1071
|
+
@property
|
|
1072
|
+
def vram_capacity_total_mib(self) -> 'str':
|
|
1073
|
+
"""Gets the vram_capacity_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
:return: The vram_capacity_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1077
|
+
:rtype: str
|
|
1078
|
+
"""
|
|
1079
|
+
return self._vram_capacity_total_mib
|
|
1080
|
+
|
|
1081
|
+
@vram_capacity_total_mib.setter
|
|
1082
|
+
def vram_capacity_total_mib(self, vram_capacity_total_mib: 'str'):
|
|
1083
|
+
"""Sets the vram_capacity_total_mib of this V1GroupPodMetrics.
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
:param vram_capacity_total_mib: The vram_capacity_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1087
|
+
:type: str
|
|
1088
|
+
"""
|
|
1089
|
+
|
|
1090
|
+
self._vram_capacity_total_mib = vram_capacity_total_mib
|
|
1091
|
+
|
|
1092
|
+
@property
|
|
1093
|
+
def vram_limit_total_mib(self) -> 'str':
|
|
1094
|
+
"""Gets the vram_limit_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
:return: The vram_limit_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1098
|
+
:rtype: str
|
|
1099
|
+
"""
|
|
1100
|
+
return self._vram_limit_total_mib
|
|
1101
|
+
|
|
1102
|
+
@vram_limit_total_mib.setter
|
|
1103
|
+
def vram_limit_total_mib(self, vram_limit_total_mib: 'str'):
|
|
1104
|
+
"""Sets the vram_limit_total_mib of this V1GroupPodMetrics.
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
:param vram_limit_total_mib: The vram_limit_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1108
|
+
:type: str
|
|
1109
|
+
"""
|
|
1110
|
+
|
|
1111
|
+
self._vram_limit_total_mib = vram_limit_total_mib
|
|
1112
|
+
|
|
1113
|
+
@property
|
|
1114
|
+
def vram_read_write_util_avg(self) -> 'float':
|
|
1115
|
+
"""Gets the vram_read_write_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
:return: The vram_read_write_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1119
|
+
:rtype: float
|
|
1120
|
+
"""
|
|
1121
|
+
return self._vram_read_write_util_avg
|
|
1122
|
+
|
|
1123
|
+
@vram_read_write_util_avg.setter
|
|
1124
|
+
def vram_read_write_util_avg(self, vram_read_write_util_avg: 'float'):
|
|
1125
|
+
"""Sets the vram_read_write_util_avg of this V1GroupPodMetrics.
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
:param vram_read_write_util_avg: The vram_read_write_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1129
|
+
:type: float
|
|
1130
|
+
"""
|
|
1131
|
+
|
|
1132
|
+
self._vram_read_write_util_avg = vram_read_write_util_avg
|
|
1133
|
+
|
|
1134
|
+
@property
|
|
1135
|
+
def vram_requested_total_mib(self) -> 'str':
|
|
1136
|
+
"""Gets the vram_requested_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
:return: The vram_requested_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1140
|
+
:rtype: str
|
|
1141
|
+
"""
|
|
1142
|
+
return self._vram_requested_total_mib
|
|
1143
|
+
|
|
1144
|
+
@vram_requested_total_mib.setter
|
|
1145
|
+
def vram_requested_total_mib(self, vram_requested_total_mib: 'str'):
|
|
1146
|
+
"""Sets the vram_requested_total_mib of this V1GroupPodMetrics.
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
:param vram_requested_total_mib: The vram_requested_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1150
|
+
:type: str
|
|
1151
|
+
"""
|
|
1152
|
+
|
|
1153
|
+
self._vram_requested_total_mib = vram_requested_total_mib
|
|
1154
|
+
|
|
1155
|
+
@property
|
|
1156
|
+
def vram_used_total_mib(self) -> 'str':
|
|
1157
|
+
"""Gets the vram_used_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
:return: The vram_used_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1161
|
+
:rtype: str
|
|
1162
|
+
"""
|
|
1163
|
+
return self._vram_used_total_mib
|
|
1164
|
+
|
|
1165
|
+
@vram_used_total_mib.setter
|
|
1166
|
+
def vram_used_total_mib(self, vram_used_total_mib: 'str'):
|
|
1167
|
+
"""Sets the vram_used_total_mib of this V1GroupPodMetrics.
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
:param vram_used_total_mib: The vram_used_total_mib of this V1GroupPodMetrics. # noqa: E501
|
|
1171
|
+
:type: str
|
|
1172
|
+
"""
|
|
1173
|
+
|
|
1174
|
+
self._vram_used_total_mib = vram_used_total_mib
|
|
1175
|
+
|
|
1176
|
+
@property
|
|
1177
|
+
def vram_util_avg(self) -> 'float':
|
|
1178
|
+
"""Gets the vram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
:return: The vram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1182
|
+
:rtype: float
|
|
1183
|
+
"""
|
|
1184
|
+
return self._vram_util_avg
|
|
1185
|
+
|
|
1186
|
+
@vram_util_avg.setter
|
|
1187
|
+
def vram_util_avg(self, vram_util_avg: 'float'):
|
|
1188
|
+
"""Sets the vram_util_avg of this V1GroupPodMetrics.
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
:param vram_util_avg: The vram_util_avg of this V1GroupPodMetrics. # noqa: E501
|
|
1192
|
+
:type: float
|
|
1193
|
+
"""
|
|
1194
|
+
|
|
1195
|
+
self._vram_util_avg = vram_util_avg
|
|
1196
|
+
|
|
1197
|
+
def to_dict(self) -> dict:
|
|
1198
|
+
"""Returns the model properties as a dict"""
|
|
1199
|
+
result = {}
|
|
1200
|
+
|
|
1201
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
1202
|
+
value = getattr(self, attr)
|
|
1203
|
+
if isinstance(value, list):
|
|
1204
|
+
result[attr] = list(map(
|
|
1205
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
1206
|
+
value
|
|
1207
|
+
))
|
|
1208
|
+
elif hasattr(value, "to_dict"):
|
|
1209
|
+
result[attr] = value.to_dict()
|
|
1210
|
+
elif isinstance(value, dict):
|
|
1211
|
+
result[attr] = dict(map(
|
|
1212
|
+
lambda item: (item[0], item[1].to_dict())
|
|
1213
|
+
if hasattr(item[1], "to_dict") else item,
|
|
1214
|
+
value.items()
|
|
1215
|
+
))
|
|
1216
|
+
else:
|
|
1217
|
+
result[attr] = value
|
|
1218
|
+
if issubclass(V1GroupPodMetrics, dict):
|
|
1219
|
+
for key, value in self.items():
|
|
1220
|
+
result[key] = value
|
|
1221
|
+
|
|
1222
|
+
return result
|
|
1223
|
+
|
|
1224
|
+
def to_str(self) -> str:
|
|
1225
|
+
"""Returns the string representation of the model"""
|
|
1226
|
+
return pprint.pformat(self.to_dict())
|
|
1227
|
+
|
|
1228
|
+
def __repr__(self) -> str:
|
|
1229
|
+
"""For `print` and `pprint`"""
|
|
1230
|
+
return self.to_str()
|
|
1231
|
+
|
|
1232
|
+
def __eq__(self, other: 'V1GroupPodMetrics') -> bool:
|
|
1233
|
+
"""Returns true if both objects are equal"""
|
|
1234
|
+
if not isinstance(other, V1GroupPodMetrics):
|
|
1235
|
+
return False
|
|
1236
|
+
|
|
1237
|
+
return self.__dict__ == other.__dict__
|
|
1238
|
+
|
|
1239
|
+
def __ne__(self, other: 'V1GroupPodMetrics') -> bool:
|
|
1240
|
+
"""Returns true if both objects are not equal"""
|
|
1241
|
+
return not self == other
|