anyscale 0.24.86__py3-none-any.whl → 0.24.87__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.
- anyscale/client/README.md +22 -2
- anyscale/client/openapi_client/__init__.py +16 -2
- anyscale/client/openapi_client/api/default_api.py +704 -3
- anyscale/client/openapi_client/models/__init__.py +16 -2
- anyscale/client/openapi_client/models/{aggregated_instance_usage_with_cost_model.py → aggregated_instance_usage_csv.py} +100 -100
- anyscale/client/openapi_client/models/aggregated_usage.py +147 -0
- anyscale/client/openapi_client/models/aggregated_usage_query.py +264 -0
- anyscale/client/openapi_client/models/{aggregatedinstanceusagewithcostmodel_list_response.py → aggregatedinstanceusagecsv_list_response.py} +15 -15
- anyscale/client/openapi_client/models/aggregatedusage_response.py +121 -0
- anyscale/client/openapi_client/models/cloud_resource.py +29 -1
- anyscale/client/openapi_client/models/cloud_resource_gcp.py +29 -1
- anyscale/client/openapi_client/models/create_cloud_resource.py +29 -1
- anyscale/client/openapi_client/models/create_cloud_resource_gcp.py +29 -1
- anyscale/client/openapi_client/models/paging_context.py +172 -0
- anyscale/client/openapi_client/models/usage_by_cloud.py +201 -0
- anyscale/client/openapi_client/models/usage_by_cluster.py +544 -0
- anyscale/client/openapi_client/models/usage_by_instance_type.py +174 -0
- anyscale/client/openapi_client/models/usage_by_project.py +255 -0
- anyscale/client/openapi_client/models/usage_by_user.py +201 -0
- anyscale/client/openapi_client/models/usagebycloud_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebycluster_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyinstancetype_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyproject_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyuser_list_response.py +147 -0
- anyscale/commands/cloud_commands.py +8 -0
- anyscale/controllers/cloud_controller.py +3 -0
- anyscale/version.py +1 -1
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/METADATA +1 -1
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/RECORD +34 -20
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/LICENSE +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/NOTICE +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/WHEEL +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/top_level.txt +0 -0
|
@@ -17,8 +17,11 @@ from __future__ import absolute_import
|
|
|
17
17
|
from openapi_client.models.aws_credentials import AWSCredentials
|
|
18
18
|
from openapi_client.models.aws_memory_db_cluster_config import AWSMemoryDBClusterConfig
|
|
19
19
|
from openapi_client.models.access_config import AccessConfig
|
|
20
|
-
from openapi_client.models.
|
|
21
|
-
from openapi_client.models.
|
|
20
|
+
from openapi_client.models.aggregated_instance_usage_csv import AggregatedInstanceUsageCSV
|
|
21
|
+
from openapi_client.models.aggregated_usage import AggregatedUsage
|
|
22
|
+
from openapi_client.models.aggregated_usage_query import AggregatedUsageQuery
|
|
23
|
+
from openapi_client.models.aggregatedinstanceusagecsv_list_response import AggregatedinstanceusagecsvListResponse
|
|
24
|
+
from openapi_client.models.aggregatedusage_response import AggregatedusageResponse
|
|
22
25
|
from openapi_client.models.aica_endpoint import AicaEndpoint
|
|
23
26
|
from openapi_client.models.aica_endpoint_event import AicaEndpointEvent
|
|
24
27
|
from openapi_client.models.aica_endpoint_event_level import AicaEndpointEventLevel
|
|
@@ -447,6 +450,7 @@ from openapi_client.models.organizationprojectcollaborator_list_response import
|
|
|
447
450
|
from openapi_client.models.organizationpublicidentifier_response import OrganizationpublicidentifierResponse
|
|
448
451
|
from openapi_client.models.organizationusagealert_list_response import OrganizationusagealertListResponse
|
|
449
452
|
from openapi_client.models.page_query import PageQuery
|
|
453
|
+
from openapi_client.models.paging_context import PagingContext
|
|
450
454
|
from openapi_client.models.pause_schedule import PauseSchedule
|
|
451
455
|
from openapi_client.models.permission_level import PermissionLevel
|
|
452
456
|
from openapi_client.models.platform_fine_tuning_job import PlatformFineTuningJob
|
|
@@ -610,6 +614,16 @@ from openapi_client.models.update_resource_quota import UpdateResourceQuota
|
|
|
610
614
|
from openapi_client.models.updatemachinepoolresponse_response import UpdatemachinepoolresponseResponse
|
|
611
615
|
from openapi_client.models.upload_session_command_logs_locations import UploadSessionCommandLogsLocations
|
|
612
616
|
from openapi_client.models.uploadsessioncommandlogslocations_response import UploadsessioncommandlogslocationsResponse
|
|
617
|
+
from openapi_client.models.usage_by_cloud import UsageByCloud
|
|
618
|
+
from openapi_client.models.usage_by_cluster import UsageByCluster
|
|
619
|
+
from openapi_client.models.usage_by_instance_type import UsageByInstanceType
|
|
620
|
+
from openapi_client.models.usage_by_project import UsageByProject
|
|
621
|
+
from openapi_client.models.usage_by_user import UsageByUser
|
|
622
|
+
from openapi_client.models.usagebycloud_list_response import UsagebycloudListResponse
|
|
623
|
+
from openapi_client.models.usagebycluster_list_response import UsagebyclusterListResponse
|
|
624
|
+
from openapi_client.models.usagebyinstancetype_list_response import UsagebyinstancetypeListResponse
|
|
625
|
+
from openapi_client.models.usagebyproject_list_response import UsagebyprojectListResponse
|
|
626
|
+
from openapi_client.models.usagebyuser_list_response import UsagebyuserListResponse
|
|
613
627
|
from openapi_client.models.user_info import UserInfo
|
|
614
628
|
from openapi_client.models.user_resend_email_options import UserResendEmailOptions
|
|
615
629
|
from openapi_client.models.user_service_access_types import UserServiceAccessTypes
|
|
@@ -18,7 +18,7 @@ import six
|
|
|
18
18
|
from openapi_client.configuration import Configuration
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class AggregatedInstanceUsageCSV(object):
|
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
23
|
Ref: https://openapi-generator.tech
|
|
24
24
|
|
|
@@ -87,7 +87,7 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
def __init__(self, date=None, organization_id=None, organization_name=None, cloud_hosting_type=None, cloud_id=None, cloud_name=None, project_id=None, project_name=None, user_id=None, user_email=None, cluster_id=None, workspace_id=None, job_id=None, job_queue_id=None, service_id=None, instance_type=None, instance_seconds=None, cloud_provider=None, anyscale_credits=None, compute_stack=None, gpu_type=None, memory_mib=None, cpu_count=None, gpu_count=None, local_vars_configuration=None): # noqa: E501
|
|
90
|
-
"""
|
|
90
|
+
"""AggregatedInstanceUsageCSV - a model defined in OpenAPI""" # noqa: E501
|
|
91
91
|
if local_vars_configuration is None:
|
|
92
92
|
local_vars_configuration = Configuration()
|
|
93
93
|
self.local_vars_configuration = local_vars_configuration
|
|
@@ -154,20 +154,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
154
154
|
|
|
155
155
|
@property
|
|
156
156
|
def date(self):
|
|
157
|
-
"""Gets the date of this
|
|
157
|
+
"""Gets the date of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
:return: The date of this
|
|
160
|
+
:return: The date of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
161
161
|
:rtype: date
|
|
162
162
|
"""
|
|
163
163
|
return self._date
|
|
164
164
|
|
|
165
165
|
@date.setter
|
|
166
166
|
def date(self, date):
|
|
167
|
-
"""Sets the date of this
|
|
167
|
+
"""Sets the date of this AggregatedInstanceUsageCSV.
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
:param date: The date of this
|
|
170
|
+
:param date: The date of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
171
171
|
:type: date
|
|
172
172
|
"""
|
|
173
173
|
if self.local_vars_configuration.client_side_validation and date is None: # noqa: E501
|
|
@@ -177,20 +177,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
177
177
|
|
|
178
178
|
@property
|
|
179
179
|
def organization_id(self):
|
|
180
|
-
"""Gets the organization_id of this
|
|
180
|
+
"""Gets the organization_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
:return: The organization_id of this
|
|
183
|
+
:return: The organization_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
184
184
|
:rtype: str
|
|
185
185
|
"""
|
|
186
186
|
return self._organization_id
|
|
187
187
|
|
|
188
188
|
@organization_id.setter
|
|
189
189
|
def organization_id(self, organization_id):
|
|
190
|
-
"""Sets the organization_id of this
|
|
190
|
+
"""Sets the organization_id of this AggregatedInstanceUsageCSV.
|
|
191
191
|
|
|
192
192
|
|
|
193
|
-
:param organization_id: The organization_id of this
|
|
193
|
+
:param organization_id: The organization_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
194
194
|
:type: str
|
|
195
195
|
"""
|
|
196
196
|
if self.local_vars_configuration.client_side_validation and organization_id is None: # noqa: E501
|
|
@@ -200,20 +200,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
200
200
|
|
|
201
201
|
@property
|
|
202
202
|
def organization_name(self):
|
|
203
|
-
"""Gets the organization_name of this
|
|
203
|
+
"""Gets the organization_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
:return: The organization_name of this
|
|
206
|
+
:return: The organization_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
207
207
|
:rtype: str
|
|
208
208
|
"""
|
|
209
209
|
return self._organization_name
|
|
210
210
|
|
|
211
211
|
@organization_name.setter
|
|
212
212
|
def organization_name(self, organization_name):
|
|
213
|
-
"""Sets the organization_name of this
|
|
213
|
+
"""Sets the organization_name of this AggregatedInstanceUsageCSV.
|
|
214
214
|
|
|
215
215
|
|
|
216
|
-
:param organization_name: The organization_name of this
|
|
216
|
+
:param organization_name: The organization_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
217
217
|
:type: str
|
|
218
218
|
"""
|
|
219
219
|
if self.local_vars_configuration.client_side_validation and organization_name is None: # noqa: E501
|
|
@@ -223,20 +223,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
223
223
|
|
|
224
224
|
@property
|
|
225
225
|
def cloud_hosting_type(self):
|
|
226
|
-
"""Gets the cloud_hosting_type of this
|
|
226
|
+
"""Gets the cloud_hosting_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
:return: The cloud_hosting_type of this
|
|
229
|
+
:return: The cloud_hosting_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
230
230
|
:rtype: CloudHostingType
|
|
231
231
|
"""
|
|
232
232
|
return self._cloud_hosting_type
|
|
233
233
|
|
|
234
234
|
@cloud_hosting_type.setter
|
|
235
235
|
def cloud_hosting_type(self, cloud_hosting_type):
|
|
236
|
-
"""Sets the cloud_hosting_type of this
|
|
236
|
+
"""Sets the cloud_hosting_type of this AggregatedInstanceUsageCSV.
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
:param cloud_hosting_type: The cloud_hosting_type of this
|
|
239
|
+
:param cloud_hosting_type: The cloud_hosting_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
240
240
|
:type: CloudHostingType
|
|
241
241
|
"""
|
|
242
242
|
if self.local_vars_configuration.client_side_validation and cloud_hosting_type is None: # noqa: E501
|
|
@@ -246,20 +246,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
246
246
|
|
|
247
247
|
@property
|
|
248
248
|
def cloud_id(self):
|
|
249
|
-
"""Gets the cloud_id of this
|
|
249
|
+
"""Gets the cloud_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
250
250
|
|
|
251
251
|
|
|
252
|
-
:return: The cloud_id of this
|
|
252
|
+
:return: The cloud_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
253
253
|
:rtype: str
|
|
254
254
|
"""
|
|
255
255
|
return self._cloud_id
|
|
256
256
|
|
|
257
257
|
@cloud_id.setter
|
|
258
258
|
def cloud_id(self, cloud_id):
|
|
259
|
-
"""Sets the cloud_id of this
|
|
259
|
+
"""Sets the cloud_id of this AggregatedInstanceUsageCSV.
|
|
260
260
|
|
|
261
261
|
|
|
262
|
-
:param cloud_id: The cloud_id of this
|
|
262
|
+
:param cloud_id: The cloud_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
263
263
|
:type: str
|
|
264
264
|
"""
|
|
265
265
|
if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
|
|
@@ -269,20 +269,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
269
269
|
|
|
270
270
|
@property
|
|
271
271
|
def cloud_name(self):
|
|
272
|
-
"""Gets the cloud_name of this
|
|
272
|
+
"""Gets the cloud_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
:return: The cloud_name of this
|
|
275
|
+
:return: The cloud_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
276
276
|
:rtype: str
|
|
277
277
|
"""
|
|
278
278
|
return self._cloud_name
|
|
279
279
|
|
|
280
280
|
@cloud_name.setter
|
|
281
281
|
def cloud_name(self, cloud_name):
|
|
282
|
-
"""Sets the cloud_name of this
|
|
282
|
+
"""Sets the cloud_name of this AggregatedInstanceUsageCSV.
|
|
283
283
|
|
|
284
284
|
|
|
285
|
-
:param cloud_name: The cloud_name of this
|
|
285
|
+
:param cloud_name: The cloud_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
286
286
|
:type: str
|
|
287
287
|
"""
|
|
288
288
|
if self.local_vars_configuration.client_side_validation and cloud_name is None: # noqa: E501
|
|
@@ -292,20 +292,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
292
292
|
|
|
293
293
|
@property
|
|
294
294
|
def project_id(self):
|
|
295
|
-
"""Gets the project_id of this
|
|
295
|
+
"""Gets the project_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
296
296
|
|
|
297
297
|
|
|
298
|
-
:return: The project_id of this
|
|
298
|
+
:return: The project_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
299
299
|
:rtype: str
|
|
300
300
|
"""
|
|
301
301
|
return self._project_id
|
|
302
302
|
|
|
303
303
|
@project_id.setter
|
|
304
304
|
def project_id(self, project_id):
|
|
305
|
-
"""Sets the project_id of this
|
|
305
|
+
"""Sets the project_id of this AggregatedInstanceUsageCSV.
|
|
306
306
|
|
|
307
307
|
|
|
308
|
-
:param project_id: The project_id of this
|
|
308
|
+
:param project_id: The project_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
309
309
|
:type: str
|
|
310
310
|
"""
|
|
311
311
|
if self.local_vars_configuration.client_side_validation and project_id is None: # noqa: E501
|
|
@@ -315,20 +315,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
315
315
|
|
|
316
316
|
@property
|
|
317
317
|
def project_name(self):
|
|
318
|
-
"""Gets the project_name of this
|
|
318
|
+
"""Gets the project_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
319
319
|
|
|
320
320
|
|
|
321
|
-
:return: The project_name of this
|
|
321
|
+
:return: The project_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
322
322
|
:rtype: str
|
|
323
323
|
"""
|
|
324
324
|
return self._project_name
|
|
325
325
|
|
|
326
326
|
@project_name.setter
|
|
327
327
|
def project_name(self, project_name):
|
|
328
|
-
"""Sets the project_name of this
|
|
328
|
+
"""Sets the project_name of this AggregatedInstanceUsageCSV.
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
:param project_name: The project_name of this
|
|
331
|
+
:param project_name: The project_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
332
332
|
:type: str
|
|
333
333
|
"""
|
|
334
334
|
if self.local_vars_configuration.client_side_validation and project_name is None: # noqa: E501
|
|
@@ -338,20 +338,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
338
338
|
|
|
339
339
|
@property
|
|
340
340
|
def user_id(self):
|
|
341
|
-
"""Gets the user_id of this
|
|
341
|
+
"""Gets the user_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
:return: The user_id of this
|
|
344
|
+
:return: The user_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
345
345
|
:rtype: str
|
|
346
346
|
"""
|
|
347
347
|
return self._user_id
|
|
348
348
|
|
|
349
349
|
@user_id.setter
|
|
350
350
|
def user_id(self, user_id):
|
|
351
|
-
"""Sets the user_id of this
|
|
351
|
+
"""Sets the user_id of this AggregatedInstanceUsageCSV.
|
|
352
352
|
|
|
353
353
|
|
|
354
|
-
:param user_id: The user_id of this
|
|
354
|
+
:param user_id: The user_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
355
355
|
:type: str
|
|
356
356
|
"""
|
|
357
357
|
if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501
|
|
@@ -361,20 +361,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
361
361
|
|
|
362
362
|
@property
|
|
363
363
|
def user_email(self):
|
|
364
|
-
"""Gets the user_email of this
|
|
364
|
+
"""Gets the user_email of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
365
365
|
|
|
366
366
|
|
|
367
|
-
:return: The user_email of this
|
|
367
|
+
:return: The user_email of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
368
368
|
:rtype: str
|
|
369
369
|
"""
|
|
370
370
|
return self._user_email
|
|
371
371
|
|
|
372
372
|
@user_email.setter
|
|
373
373
|
def user_email(self, user_email):
|
|
374
|
-
"""Sets the user_email of this
|
|
374
|
+
"""Sets the user_email of this AggregatedInstanceUsageCSV.
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
:param user_email: The user_email of this
|
|
377
|
+
:param user_email: The user_email of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
378
378
|
:type: str
|
|
379
379
|
"""
|
|
380
380
|
if self.local_vars_configuration.client_side_validation and user_email is None: # noqa: E501
|
|
@@ -384,20 +384,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
384
384
|
|
|
385
385
|
@property
|
|
386
386
|
def cluster_id(self):
|
|
387
|
-
"""Gets the cluster_id of this
|
|
387
|
+
"""Gets the cluster_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
388
388
|
|
|
389
389
|
|
|
390
|
-
:return: The cluster_id of this
|
|
390
|
+
:return: The cluster_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
391
391
|
:rtype: str
|
|
392
392
|
"""
|
|
393
393
|
return self._cluster_id
|
|
394
394
|
|
|
395
395
|
@cluster_id.setter
|
|
396
396
|
def cluster_id(self, cluster_id):
|
|
397
|
-
"""Sets the cluster_id of this
|
|
397
|
+
"""Sets the cluster_id of this AggregatedInstanceUsageCSV.
|
|
398
398
|
|
|
399
399
|
|
|
400
|
-
:param cluster_id: The cluster_id of this
|
|
400
|
+
:param cluster_id: The cluster_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
401
401
|
:type: str
|
|
402
402
|
"""
|
|
403
403
|
if self.local_vars_configuration.client_side_validation and cluster_id is None: # noqa: E501
|
|
@@ -407,20 +407,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
407
407
|
|
|
408
408
|
@property
|
|
409
409
|
def workspace_id(self):
|
|
410
|
-
"""Gets the workspace_id of this
|
|
410
|
+
"""Gets the workspace_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
411
411
|
|
|
412
412
|
|
|
413
|
-
:return: The workspace_id of this
|
|
413
|
+
:return: The workspace_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
414
414
|
:rtype: str
|
|
415
415
|
"""
|
|
416
416
|
return self._workspace_id
|
|
417
417
|
|
|
418
418
|
@workspace_id.setter
|
|
419
419
|
def workspace_id(self, workspace_id):
|
|
420
|
-
"""Sets the workspace_id of this
|
|
420
|
+
"""Sets the workspace_id of this AggregatedInstanceUsageCSV.
|
|
421
421
|
|
|
422
422
|
|
|
423
|
-
:param workspace_id: The workspace_id of this
|
|
423
|
+
:param workspace_id: The workspace_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
424
424
|
:type: str
|
|
425
425
|
"""
|
|
426
426
|
|
|
@@ -428,20 +428,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
428
428
|
|
|
429
429
|
@property
|
|
430
430
|
def job_id(self):
|
|
431
|
-
"""Gets the job_id of this
|
|
431
|
+
"""Gets the job_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
432
432
|
|
|
433
433
|
|
|
434
|
-
:return: The job_id of this
|
|
434
|
+
:return: The job_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
435
435
|
:rtype: str
|
|
436
436
|
"""
|
|
437
437
|
return self._job_id
|
|
438
438
|
|
|
439
439
|
@job_id.setter
|
|
440
440
|
def job_id(self, job_id):
|
|
441
|
-
"""Sets the job_id of this
|
|
441
|
+
"""Sets the job_id of this AggregatedInstanceUsageCSV.
|
|
442
442
|
|
|
443
443
|
|
|
444
|
-
:param job_id: The job_id of this
|
|
444
|
+
:param job_id: The job_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
445
445
|
:type: str
|
|
446
446
|
"""
|
|
447
447
|
|
|
@@ -449,20 +449,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
449
449
|
|
|
450
450
|
@property
|
|
451
451
|
def job_queue_id(self):
|
|
452
|
-
"""Gets the job_queue_id of this
|
|
452
|
+
"""Gets the job_queue_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
453
453
|
|
|
454
454
|
|
|
455
|
-
:return: The job_queue_id of this
|
|
455
|
+
:return: The job_queue_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
456
456
|
:rtype: str
|
|
457
457
|
"""
|
|
458
458
|
return self._job_queue_id
|
|
459
459
|
|
|
460
460
|
@job_queue_id.setter
|
|
461
461
|
def job_queue_id(self, job_queue_id):
|
|
462
|
-
"""Sets the job_queue_id of this
|
|
462
|
+
"""Sets the job_queue_id of this AggregatedInstanceUsageCSV.
|
|
463
463
|
|
|
464
464
|
|
|
465
|
-
:param job_queue_id: The job_queue_id of this
|
|
465
|
+
:param job_queue_id: The job_queue_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
466
466
|
:type: str
|
|
467
467
|
"""
|
|
468
468
|
|
|
@@ -470,20 +470,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
470
470
|
|
|
471
471
|
@property
|
|
472
472
|
def service_id(self):
|
|
473
|
-
"""Gets the service_id of this
|
|
473
|
+
"""Gets the service_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
474
474
|
|
|
475
475
|
|
|
476
|
-
:return: The service_id of this
|
|
476
|
+
:return: The service_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
477
477
|
:rtype: str
|
|
478
478
|
"""
|
|
479
479
|
return self._service_id
|
|
480
480
|
|
|
481
481
|
@service_id.setter
|
|
482
482
|
def service_id(self, service_id):
|
|
483
|
-
"""Sets the service_id of this
|
|
483
|
+
"""Sets the service_id of this AggregatedInstanceUsageCSV.
|
|
484
484
|
|
|
485
485
|
|
|
486
|
-
:param service_id: The service_id of this
|
|
486
|
+
:param service_id: The service_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
487
487
|
:type: str
|
|
488
488
|
"""
|
|
489
489
|
|
|
@@ -491,20 +491,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
491
491
|
|
|
492
492
|
@property
|
|
493
493
|
def instance_type(self):
|
|
494
|
-
"""Gets the instance_type of this
|
|
494
|
+
"""Gets the instance_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
495
495
|
|
|
496
496
|
|
|
497
|
-
:return: The instance_type of this
|
|
497
|
+
:return: The instance_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
498
498
|
:rtype: str
|
|
499
499
|
"""
|
|
500
500
|
return self._instance_type
|
|
501
501
|
|
|
502
502
|
@instance_type.setter
|
|
503
503
|
def instance_type(self, instance_type):
|
|
504
|
-
"""Sets the instance_type of this
|
|
504
|
+
"""Sets the instance_type of this AggregatedInstanceUsageCSV.
|
|
505
505
|
|
|
506
506
|
|
|
507
|
-
:param instance_type: The instance_type of this
|
|
507
|
+
:param instance_type: The instance_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
508
508
|
:type: str
|
|
509
509
|
"""
|
|
510
510
|
if self.local_vars_configuration.client_side_validation and instance_type is None: # noqa: E501
|
|
@@ -514,20 +514,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
514
514
|
|
|
515
515
|
@property
|
|
516
516
|
def instance_seconds(self):
|
|
517
|
-
"""Gets the instance_seconds of this
|
|
517
|
+
"""Gets the instance_seconds of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
518
518
|
|
|
519
519
|
|
|
520
|
-
:return: The instance_seconds of this
|
|
520
|
+
:return: The instance_seconds of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
521
521
|
:rtype: float
|
|
522
522
|
"""
|
|
523
523
|
return self._instance_seconds
|
|
524
524
|
|
|
525
525
|
@instance_seconds.setter
|
|
526
526
|
def instance_seconds(self, instance_seconds):
|
|
527
|
-
"""Sets the instance_seconds of this
|
|
527
|
+
"""Sets the instance_seconds of this AggregatedInstanceUsageCSV.
|
|
528
528
|
|
|
529
529
|
|
|
530
|
-
:param instance_seconds: The instance_seconds of this
|
|
530
|
+
:param instance_seconds: The instance_seconds of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
531
531
|
:type: float
|
|
532
532
|
"""
|
|
533
533
|
if self.local_vars_configuration.client_side_validation and instance_seconds is None: # noqa: E501
|
|
@@ -537,20 +537,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
537
537
|
|
|
538
538
|
@property
|
|
539
539
|
def cloud_provider(self):
|
|
540
|
-
"""Gets the cloud_provider of this
|
|
540
|
+
"""Gets the cloud_provider of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
541
541
|
|
|
542
542
|
|
|
543
|
-
:return: The cloud_provider of this
|
|
543
|
+
:return: The cloud_provider of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
544
544
|
:rtype: CloudProviders
|
|
545
545
|
"""
|
|
546
546
|
return self._cloud_provider
|
|
547
547
|
|
|
548
548
|
@cloud_provider.setter
|
|
549
549
|
def cloud_provider(self, cloud_provider):
|
|
550
|
-
"""Sets the cloud_provider of this
|
|
550
|
+
"""Sets the cloud_provider of this AggregatedInstanceUsageCSV.
|
|
551
551
|
|
|
552
552
|
|
|
553
|
-
:param cloud_provider: The cloud_provider of this
|
|
553
|
+
:param cloud_provider: The cloud_provider of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
554
554
|
:type: CloudProviders
|
|
555
555
|
"""
|
|
556
556
|
if self.local_vars_configuration.client_side_validation and cloud_provider is None: # noqa: E501
|
|
@@ -560,20 +560,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
560
560
|
|
|
561
561
|
@property
|
|
562
562
|
def anyscale_credits(self):
|
|
563
|
-
"""Gets the anyscale_credits of this
|
|
563
|
+
"""Gets the anyscale_credits of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
564
564
|
|
|
565
565
|
|
|
566
|
-
:return: The anyscale_credits of this
|
|
566
|
+
:return: The anyscale_credits of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
567
567
|
:rtype: float
|
|
568
568
|
"""
|
|
569
569
|
return self._anyscale_credits
|
|
570
570
|
|
|
571
571
|
@anyscale_credits.setter
|
|
572
572
|
def anyscale_credits(self, anyscale_credits):
|
|
573
|
-
"""Sets the anyscale_credits of this
|
|
573
|
+
"""Sets the anyscale_credits of this AggregatedInstanceUsageCSV.
|
|
574
574
|
|
|
575
575
|
|
|
576
|
-
:param anyscale_credits: The anyscale_credits of this
|
|
576
|
+
:param anyscale_credits: The anyscale_credits of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
577
577
|
:type: float
|
|
578
578
|
"""
|
|
579
579
|
if self.local_vars_configuration.client_side_validation and anyscale_credits is None: # noqa: E501
|
|
@@ -583,20 +583,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
583
583
|
|
|
584
584
|
@property
|
|
585
585
|
def compute_stack(self):
|
|
586
|
-
"""Gets the compute_stack of this
|
|
586
|
+
"""Gets the compute_stack of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
587
587
|
|
|
588
588
|
|
|
589
|
-
:return: The compute_stack of this
|
|
589
|
+
:return: The compute_stack of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
590
590
|
:rtype: str
|
|
591
591
|
"""
|
|
592
592
|
return self._compute_stack
|
|
593
593
|
|
|
594
594
|
@compute_stack.setter
|
|
595
595
|
def compute_stack(self, compute_stack):
|
|
596
|
-
"""Sets the compute_stack of this
|
|
596
|
+
"""Sets the compute_stack of this AggregatedInstanceUsageCSV.
|
|
597
597
|
|
|
598
598
|
|
|
599
|
-
:param compute_stack: The compute_stack of this
|
|
599
|
+
:param compute_stack: The compute_stack of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
600
600
|
:type: str
|
|
601
601
|
"""
|
|
602
602
|
|
|
@@ -604,20 +604,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
604
604
|
|
|
605
605
|
@property
|
|
606
606
|
def gpu_type(self):
|
|
607
|
-
"""Gets the gpu_type of this
|
|
607
|
+
"""Gets the gpu_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
608
608
|
|
|
609
609
|
|
|
610
|
-
:return: The gpu_type of this
|
|
610
|
+
:return: The gpu_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
611
611
|
:rtype: str
|
|
612
612
|
"""
|
|
613
613
|
return self._gpu_type
|
|
614
614
|
|
|
615
615
|
@gpu_type.setter
|
|
616
616
|
def gpu_type(self, gpu_type):
|
|
617
|
-
"""Sets the gpu_type of this
|
|
617
|
+
"""Sets the gpu_type of this AggregatedInstanceUsageCSV.
|
|
618
618
|
|
|
619
619
|
|
|
620
|
-
:param gpu_type: The gpu_type of this
|
|
620
|
+
:param gpu_type: The gpu_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
621
621
|
:type: str
|
|
622
622
|
"""
|
|
623
623
|
|
|
@@ -625,20 +625,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
625
625
|
|
|
626
626
|
@property
|
|
627
627
|
def memory_mib(self):
|
|
628
|
-
"""Gets the memory_mib of this
|
|
628
|
+
"""Gets the memory_mib of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
629
629
|
|
|
630
630
|
|
|
631
|
-
:return: The memory_mib of this
|
|
631
|
+
:return: The memory_mib of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
632
632
|
:rtype: int
|
|
633
633
|
"""
|
|
634
634
|
return self._memory_mib
|
|
635
635
|
|
|
636
636
|
@memory_mib.setter
|
|
637
637
|
def memory_mib(self, memory_mib):
|
|
638
|
-
"""Sets the memory_mib of this
|
|
638
|
+
"""Sets the memory_mib of this AggregatedInstanceUsageCSV.
|
|
639
639
|
|
|
640
640
|
|
|
641
|
-
:param memory_mib: The memory_mib of this
|
|
641
|
+
:param memory_mib: The memory_mib of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
642
642
|
:type: int
|
|
643
643
|
"""
|
|
644
644
|
|
|
@@ -646,20 +646,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
646
646
|
|
|
647
647
|
@property
|
|
648
648
|
def cpu_count(self):
|
|
649
|
-
"""Gets the cpu_count of this
|
|
649
|
+
"""Gets the cpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
650
650
|
|
|
651
651
|
|
|
652
|
-
:return: The cpu_count of this
|
|
652
|
+
:return: The cpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
653
653
|
:rtype: int
|
|
654
654
|
"""
|
|
655
655
|
return self._cpu_count
|
|
656
656
|
|
|
657
657
|
@cpu_count.setter
|
|
658
658
|
def cpu_count(self, cpu_count):
|
|
659
|
-
"""Sets the cpu_count of this
|
|
659
|
+
"""Sets the cpu_count of this AggregatedInstanceUsageCSV.
|
|
660
660
|
|
|
661
661
|
|
|
662
|
-
:param cpu_count: The cpu_count of this
|
|
662
|
+
:param cpu_count: The cpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
663
663
|
:type: int
|
|
664
664
|
"""
|
|
665
665
|
|
|
@@ -667,20 +667,20 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
667
667
|
|
|
668
668
|
@property
|
|
669
669
|
def gpu_count(self):
|
|
670
|
-
"""Gets the gpu_count of this
|
|
670
|
+
"""Gets the gpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
671
671
|
|
|
672
672
|
|
|
673
|
-
:return: The gpu_count of this
|
|
673
|
+
:return: The gpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
674
674
|
:rtype: int
|
|
675
675
|
"""
|
|
676
676
|
return self._gpu_count
|
|
677
677
|
|
|
678
678
|
@gpu_count.setter
|
|
679
679
|
def gpu_count(self, gpu_count):
|
|
680
|
-
"""Sets the gpu_count of this
|
|
680
|
+
"""Sets the gpu_count of this AggregatedInstanceUsageCSV.
|
|
681
681
|
|
|
682
682
|
|
|
683
|
-
:param gpu_count: The gpu_count of this
|
|
683
|
+
:param gpu_count: The gpu_count of this AggregatedInstanceUsageCSV. # noqa: E501
|
|
684
684
|
:type: int
|
|
685
685
|
"""
|
|
686
686
|
|
|
@@ -720,14 +720,14 @@ class AggregatedInstanceUsageWithCostModel(object):
|
|
|
720
720
|
|
|
721
721
|
def __eq__(self, other):
|
|
722
722
|
"""Returns true if both objects are equal"""
|
|
723
|
-
if not isinstance(other,
|
|
723
|
+
if not isinstance(other, AggregatedInstanceUsageCSV):
|
|
724
724
|
return False
|
|
725
725
|
|
|
726
726
|
return self.to_dict() == other.to_dict()
|
|
727
727
|
|
|
728
728
|
def __ne__(self, other):
|
|
729
729
|
"""Returns true if both objects are not equal"""
|
|
730
|
-
if not isinstance(other,
|
|
730
|
+
if not isinstance(other, AggregatedInstanceUsageCSV):
|
|
731
731
|
return True
|
|
732
732
|
|
|
733
733
|
return self.to_dict() != other.to_dict()
|