lightning-sdk 0.2.19__py3-none-any.whl → 0.2.21__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/deployment_api.py +7 -2
- lightning_sdk/api/license_api.py +28 -6
- lightning_sdk/api/llm_api.py +118 -26
- lightning_sdk/api/studio_api.py +5 -0
- lightning_sdk/cli/configure.py +34 -27
- lightning_sdk/cli/connect.py +2 -2
- lightning_sdk/cli/deploy/_auth.py +11 -19
- lightning_sdk/cli/entrypoint.py +20 -2
- lightning_sdk/deployment/deployment.py +17 -3
- lightning_sdk/lightning_cloud/login.py +2 -2
- lightning_sdk/lightning_cloud/openapi/__init__.py +2 -3
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +1 -5
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +11 -1
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +0 -85
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +2 -3
- lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +79 -443
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
- lightning_sdk/lightning_cloud/rest_client.py +13 -11
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
- lightning_sdk/llm/llm.py +52 -1
- lightning_sdk/pipeline/pipeline.py +1 -1
- lightning_sdk/services/license.py +78 -22
- lightning_sdk/services/utilities.py +15 -1
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/RECORD +59 -60
- lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21.dist-info}/top_level.txt +0 -0
|
@@ -49,8 +49,10 @@ class V1Message(object):
|
|
|
49
49
|
'created_at': 'datetime',
|
|
50
50
|
'executable': 'bool',
|
|
51
51
|
'id': 'str',
|
|
52
|
+
'internal_message': 'bool',
|
|
52
53
|
'metadata': 'dict(str, str)',
|
|
53
54
|
'model': 'str',
|
|
55
|
+
'parent_message_id': 'str',
|
|
54
56
|
'prompt_tokens': 'str',
|
|
55
57
|
'throughput': 'float'
|
|
56
58
|
}
|
|
@@ -64,13 +66,15 @@ class V1Message(object):
|
|
|
64
66
|
'created_at': 'createdAt',
|
|
65
67
|
'executable': 'executable',
|
|
66
68
|
'id': 'id',
|
|
69
|
+
'internal_message': 'internalMessage',
|
|
67
70
|
'metadata': 'metadata',
|
|
68
71
|
'model': 'model',
|
|
72
|
+
'parent_message_id': 'parentMessageId',
|
|
69
73
|
'prompt_tokens': 'promptTokens',
|
|
70
74
|
'throughput': 'throughput'
|
|
71
75
|
}
|
|
72
76
|
|
|
73
|
-
def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
|
|
77
|
+
def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, internal_message: 'bool' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, parent_message_id: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
|
|
74
78
|
"""V1Message - a model defined in Swagger""" # noqa: E501
|
|
75
79
|
self._assistant_id = None
|
|
76
80
|
self._author = None
|
|
@@ -80,8 +84,10 @@ class V1Message(object):
|
|
|
80
84
|
self._created_at = None
|
|
81
85
|
self._executable = None
|
|
82
86
|
self._id = None
|
|
87
|
+
self._internal_message = None
|
|
83
88
|
self._metadata = None
|
|
84
89
|
self._model = None
|
|
90
|
+
self._parent_message_id = None
|
|
85
91
|
self._prompt_tokens = None
|
|
86
92
|
self._throughput = None
|
|
87
93
|
self.discriminator = None
|
|
@@ -101,10 +107,14 @@ class V1Message(object):
|
|
|
101
107
|
self.executable = executable
|
|
102
108
|
if id is not None:
|
|
103
109
|
self.id = id
|
|
110
|
+
if internal_message is not None:
|
|
111
|
+
self.internal_message = internal_message
|
|
104
112
|
if metadata is not None:
|
|
105
113
|
self.metadata = metadata
|
|
106
114
|
if model is not None:
|
|
107
115
|
self.model = model
|
|
116
|
+
if parent_message_id is not None:
|
|
117
|
+
self.parent_message_id = parent_message_id
|
|
108
118
|
if prompt_tokens is not None:
|
|
109
119
|
self.prompt_tokens = prompt_tokens
|
|
110
120
|
if throughput is not None:
|
|
@@ -278,6 +288,27 @@ class V1Message(object):
|
|
|
278
288
|
|
|
279
289
|
self._id = id
|
|
280
290
|
|
|
291
|
+
@property
|
|
292
|
+
def internal_message(self) -> 'bool':
|
|
293
|
+
"""Gets the internal_message of this V1Message. # noqa: E501
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:return: The internal_message of this V1Message. # noqa: E501
|
|
297
|
+
:rtype: bool
|
|
298
|
+
"""
|
|
299
|
+
return self._internal_message
|
|
300
|
+
|
|
301
|
+
@internal_message.setter
|
|
302
|
+
def internal_message(self, internal_message: 'bool'):
|
|
303
|
+
"""Sets the internal_message of this V1Message.
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
:param internal_message: The internal_message of this V1Message. # noqa: E501
|
|
307
|
+
:type: bool
|
|
308
|
+
"""
|
|
309
|
+
|
|
310
|
+
self._internal_message = internal_message
|
|
311
|
+
|
|
281
312
|
@property
|
|
282
313
|
def metadata(self) -> 'dict(str, str)':
|
|
283
314
|
"""Gets the metadata of this V1Message. # noqa: E501
|
|
@@ -320,6 +351,27 @@ class V1Message(object):
|
|
|
320
351
|
|
|
321
352
|
self._model = model
|
|
322
353
|
|
|
354
|
+
@property
|
|
355
|
+
def parent_message_id(self) -> 'str':
|
|
356
|
+
"""Gets the parent_message_id of this V1Message. # noqa: E501
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
:return: The parent_message_id of this V1Message. # noqa: E501
|
|
360
|
+
:rtype: str
|
|
361
|
+
"""
|
|
362
|
+
return self._parent_message_id
|
|
363
|
+
|
|
364
|
+
@parent_message_id.setter
|
|
365
|
+
def parent_message_id(self, parent_message_id: 'str'):
|
|
366
|
+
"""Sets the parent_message_id of this V1Message.
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
:param parent_message_id: The parent_message_id of this V1Message. # noqa: E501
|
|
370
|
+
:type: str
|
|
371
|
+
"""
|
|
372
|
+
|
|
373
|
+
self._parent_message_id = parent_message_id
|
|
374
|
+
|
|
323
375
|
@property
|
|
324
376
|
def prompt_tokens(self) -> 'str':
|
|
325
377
|
"""Gets the prompt_tokens of this V1Message. # noqa: E501
|
|
@@ -40,6 +40,7 @@ class V1NotificationType(object):
|
|
|
40
40
|
UNSPECIFIED = "NOTIFICATION_TYPE_UNSPECIFIED"
|
|
41
41
|
LOW_FUNDS = "NOTIFICATION_TYPE_LOW_FUNDS"
|
|
42
42
|
LONG_WORKLOADS = "NOTIFICATION_TYPE_LONG_WORKLOADS"
|
|
43
|
+
DEPLOYMENT_ERROR = "NOTIFICATION_TYPE_DEPLOYMENT_ERROR"
|
|
43
44
|
"""
|
|
44
45
|
Attributes:
|
|
45
46
|
swagger_types (dict): The key is attribute name
|
|
@@ -73,12 +73,16 @@ class V1Organization(object):
|
|
|
73
73
|
'full_story_start_date': 'datetime',
|
|
74
74
|
'general_teamspace': 'bool',
|
|
75
75
|
'id': 'str',
|
|
76
|
+
'last_storage_overuse_notification_sent_at': 'datetime',
|
|
76
77
|
'location': 'str',
|
|
77
78
|
'name': 'str',
|
|
78
79
|
'preferred_cluster': 'str',
|
|
79
80
|
'preferred_deployment_provider': 'str',
|
|
80
81
|
'preferred_studio_provider': 'str',
|
|
81
82
|
'start_studios_on_spot_instance': 'bool',
|
|
83
|
+
'storage_overuse_bytes': 'str',
|
|
84
|
+
'storage_overuse_deletion_at': 'datetime',
|
|
85
|
+
'storage_overuse_notification_count': 'int',
|
|
82
86
|
'switch_to_default_machine_on_idle': 'bool',
|
|
83
87
|
'teamspace_default_credits': 'float',
|
|
84
88
|
'twitter_username': 'str',
|
|
@@ -119,12 +123,16 @@ class V1Organization(object):
|
|
|
119
123
|
'full_story_start_date': 'fullStoryStartDate',
|
|
120
124
|
'general_teamspace': 'generalTeamspace',
|
|
121
125
|
'id': 'id',
|
|
126
|
+
'last_storage_overuse_notification_sent_at': 'lastStorageOveruseNotificationSentAt',
|
|
122
127
|
'location': 'location',
|
|
123
128
|
'name': 'name',
|
|
124
129
|
'preferred_cluster': 'preferredCluster',
|
|
125
130
|
'preferred_deployment_provider': 'preferredDeploymentProvider',
|
|
126
131
|
'preferred_studio_provider': 'preferredStudioProvider',
|
|
127
132
|
'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
|
|
133
|
+
'storage_overuse_bytes': 'storageOveruseBytes',
|
|
134
|
+
'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
|
|
135
|
+
'storage_overuse_notification_count': 'storageOveruseNotificationCount',
|
|
128
136
|
'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle',
|
|
129
137
|
'teamspace_default_credits': 'teamspaceDefaultCredits',
|
|
130
138
|
'twitter_username': 'twitterUsername',
|
|
@@ -132,7 +140,7 @@ class V1Organization(object):
|
|
|
132
140
|
'workload_max_run_duration': 'workloadMaxRunDuration'
|
|
133
141
|
}
|
|
134
142
|
|
|
135
|
-
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
143
|
+
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
136
144
|
"""V1Organization - a model defined in Swagger""" # noqa: E501
|
|
137
145
|
self._alerts_config = None
|
|
138
146
|
self._allow_budgeting = None
|
|
@@ -166,12 +174,16 @@ class V1Organization(object):
|
|
|
166
174
|
self._full_story_start_date = None
|
|
167
175
|
self._general_teamspace = None
|
|
168
176
|
self._id = None
|
|
177
|
+
self._last_storage_overuse_notification_sent_at = None
|
|
169
178
|
self._location = None
|
|
170
179
|
self._name = None
|
|
171
180
|
self._preferred_cluster = None
|
|
172
181
|
self._preferred_deployment_provider = None
|
|
173
182
|
self._preferred_studio_provider = None
|
|
174
183
|
self._start_studios_on_spot_instance = None
|
|
184
|
+
self._storage_overuse_bytes = None
|
|
185
|
+
self._storage_overuse_deletion_at = None
|
|
186
|
+
self._storage_overuse_notification_count = None
|
|
175
187
|
self._switch_to_default_machine_on_idle = None
|
|
176
188
|
self._teamspace_default_credits = None
|
|
177
189
|
self._twitter_username = None
|
|
@@ -242,6 +254,8 @@ class V1Organization(object):
|
|
|
242
254
|
self.general_teamspace = general_teamspace
|
|
243
255
|
if id is not None:
|
|
244
256
|
self.id = id
|
|
257
|
+
if last_storage_overuse_notification_sent_at is not None:
|
|
258
|
+
self.last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
|
|
245
259
|
if location is not None:
|
|
246
260
|
self.location = location
|
|
247
261
|
if name is not None:
|
|
@@ -254,6 +268,12 @@ class V1Organization(object):
|
|
|
254
268
|
self.preferred_studio_provider = preferred_studio_provider
|
|
255
269
|
if start_studios_on_spot_instance is not None:
|
|
256
270
|
self.start_studios_on_spot_instance = start_studios_on_spot_instance
|
|
271
|
+
if storage_overuse_bytes is not None:
|
|
272
|
+
self.storage_overuse_bytes = storage_overuse_bytes
|
|
273
|
+
if storage_overuse_deletion_at is not None:
|
|
274
|
+
self.storage_overuse_deletion_at = storage_overuse_deletion_at
|
|
275
|
+
if storage_overuse_notification_count is not None:
|
|
276
|
+
self.storage_overuse_notification_count = storage_overuse_notification_count
|
|
257
277
|
if switch_to_default_machine_on_idle is not None:
|
|
258
278
|
self.switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
|
|
259
279
|
if teamspace_default_credits is not None:
|
|
@@ -939,6 +959,27 @@ class V1Organization(object):
|
|
|
939
959
|
|
|
940
960
|
self._id = id
|
|
941
961
|
|
|
962
|
+
@property
|
|
963
|
+
def last_storage_overuse_notification_sent_at(self) -> 'datetime':
|
|
964
|
+
"""Gets the last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
:return: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
|
|
968
|
+
:rtype: datetime
|
|
969
|
+
"""
|
|
970
|
+
return self._last_storage_overuse_notification_sent_at
|
|
971
|
+
|
|
972
|
+
@last_storage_overuse_notification_sent_at.setter
|
|
973
|
+
def last_storage_overuse_notification_sent_at(self, last_storage_overuse_notification_sent_at: 'datetime'):
|
|
974
|
+
"""Sets the last_storage_overuse_notification_sent_at of this V1Organization.
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
:param last_storage_overuse_notification_sent_at: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
|
|
978
|
+
:type: datetime
|
|
979
|
+
"""
|
|
980
|
+
|
|
981
|
+
self._last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
|
|
982
|
+
|
|
942
983
|
@property
|
|
943
984
|
def location(self) -> 'str':
|
|
944
985
|
"""Gets the location of this V1Organization. # noqa: E501
|
|
@@ -1065,6 +1106,69 @@ class V1Organization(object):
|
|
|
1065
1106
|
|
|
1066
1107
|
self._start_studios_on_spot_instance = start_studios_on_spot_instance
|
|
1067
1108
|
|
|
1109
|
+
@property
|
|
1110
|
+
def storage_overuse_bytes(self) -> 'str':
|
|
1111
|
+
"""Gets the storage_overuse_bytes of this V1Organization. # noqa: E501
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
:return: The storage_overuse_bytes of this V1Organization. # noqa: E501
|
|
1115
|
+
:rtype: str
|
|
1116
|
+
"""
|
|
1117
|
+
return self._storage_overuse_bytes
|
|
1118
|
+
|
|
1119
|
+
@storage_overuse_bytes.setter
|
|
1120
|
+
def storage_overuse_bytes(self, storage_overuse_bytes: 'str'):
|
|
1121
|
+
"""Sets the storage_overuse_bytes of this V1Organization.
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
:param storage_overuse_bytes: The storage_overuse_bytes of this V1Organization. # noqa: E501
|
|
1125
|
+
:type: str
|
|
1126
|
+
"""
|
|
1127
|
+
|
|
1128
|
+
self._storage_overuse_bytes = storage_overuse_bytes
|
|
1129
|
+
|
|
1130
|
+
@property
|
|
1131
|
+
def storage_overuse_deletion_at(self) -> 'datetime':
|
|
1132
|
+
"""Gets the storage_overuse_deletion_at of this V1Organization. # noqa: E501
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
:return: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
|
|
1136
|
+
:rtype: datetime
|
|
1137
|
+
"""
|
|
1138
|
+
return self._storage_overuse_deletion_at
|
|
1139
|
+
|
|
1140
|
+
@storage_overuse_deletion_at.setter
|
|
1141
|
+
def storage_overuse_deletion_at(self, storage_overuse_deletion_at: 'datetime'):
|
|
1142
|
+
"""Sets the storage_overuse_deletion_at of this V1Organization.
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
:param storage_overuse_deletion_at: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
|
|
1146
|
+
:type: datetime
|
|
1147
|
+
"""
|
|
1148
|
+
|
|
1149
|
+
self._storage_overuse_deletion_at = storage_overuse_deletion_at
|
|
1150
|
+
|
|
1151
|
+
@property
|
|
1152
|
+
def storage_overuse_notification_count(self) -> 'int':
|
|
1153
|
+
"""Gets the storage_overuse_notification_count of this V1Organization. # noqa: E501
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
:return: The storage_overuse_notification_count of this V1Organization. # noqa: E501
|
|
1157
|
+
:rtype: int
|
|
1158
|
+
"""
|
|
1159
|
+
return self._storage_overuse_notification_count
|
|
1160
|
+
|
|
1161
|
+
@storage_overuse_notification_count.setter
|
|
1162
|
+
def storage_overuse_notification_count(self, storage_overuse_notification_count: 'int'):
|
|
1163
|
+
"""Sets the storage_overuse_notification_count of this V1Organization.
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
:param storage_overuse_notification_count: The storage_overuse_notification_count of this V1Organization. # noqa: E501
|
|
1167
|
+
:type: int
|
|
1168
|
+
"""
|
|
1169
|
+
|
|
1170
|
+
self._storage_overuse_notification_count = storage_overuse_notification_count
|
|
1171
|
+
|
|
1068
1172
|
@property
|
|
1069
1173
|
def switch_to_default_machine_on_idle(self) -> 'bool':
|
|
1070
1174
|
"""Gets the switch_to_default_machine_on_idle of this V1Organization. # noqa: E501
|
|
@@ -44,12 +44,17 @@ class V1ProjectStorage(object):
|
|
|
44
44
|
'billable_bytes': 'str',
|
|
45
45
|
'cloudspace_storage_bytes': 'str',
|
|
46
46
|
'container_registry_storage_bytes': 'str',
|
|
47
|
+
'daily_read_bytes': 'str',
|
|
48
|
+
'daily_write_bytes': 'str',
|
|
47
49
|
'data_connection_storage_bytes': 'str',
|
|
48
50
|
'display_name': 'str',
|
|
51
|
+
'efs_folder_bytes': 'str',
|
|
49
52
|
'estimated_daily_cost': 'float',
|
|
53
|
+
'estimated_efs_cost': 'float',
|
|
50
54
|
'folder_storage_bytes': 'str',
|
|
51
55
|
'id': 'str',
|
|
52
56
|
'job_storage_bytes': 'str',
|
|
57
|
+
'model_storage_bytes': 'str',
|
|
53
58
|
'total_storage_bytes': 'str',
|
|
54
59
|
'upload_storage_bytes': 'str'
|
|
55
60
|
}
|
|
@@ -58,27 +63,37 @@ class V1ProjectStorage(object):
|
|
|
58
63
|
'billable_bytes': 'billableBytes',
|
|
59
64
|
'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
|
|
60
65
|
'container_registry_storage_bytes': 'containerRegistryStorageBytes',
|
|
66
|
+
'daily_read_bytes': 'dailyReadBytes',
|
|
67
|
+
'daily_write_bytes': 'dailyWriteBytes',
|
|
61
68
|
'data_connection_storage_bytes': 'dataConnectionStorageBytes',
|
|
62
69
|
'display_name': 'displayName',
|
|
70
|
+
'efs_folder_bytes': 'efsFolderBytes',
|
|
63
71
|
'estimated_daily_cost': 'estimatedDailyCost',
|
|
72
|
+
'estimated_efs_cost': 'estimatedEfsCost',
|
|
64
73
|
'folder_storage_bytes': 'folderStorageBytes',
|
|
65
74
|
'id': 'id',
|
|
66
75
|
'job_storage_bytes': 'jobStorageBytes',
|
|
76
|
+
'model_storage_bytes': 'modelStorageBytes',
|
|
67
77
|
'total_storage_bytes': 'totalStorageBytes',
|
|
68
78
|
'upload_storage_bytes': 'uploadStorageBytes'
|
|
69
79
|
}
|
|
70
80
|
|
|
71
|
-
def __init__(self, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, container_registry_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, display_name: 'str' =None, estimated_daily_cost: 'float' =None, folder_storage_bytes: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
|
|
81
|
+
def __init__(self, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, container_registry_storage_bytes: 'str' =None, daily_read_bytes: 'str' =None, daily_write_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, display_name: 'str' =None, efs_folder_bytes: 'str' =None, estimated_daily_cost: 'float' =None, estimated_efs_cost: 'float' =None, folder_storage_bytes: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
|
|
72
82
|
"""V1ProjectStorage - a model defined in Swagger""" # noqa: E501
|
|
73
83
|
self._billable_bytes = None
|
|
74
84
|
self._cloudspace_storage_bytes = None
|
|
75
85
|
self._container_registry_storage_bytes = None
|
|
86
|
+
self._daily_read_bytes = None
|
|
87
|
+
self._daily_write_bytes = None
|
|
76
88
|
self._data_connection_storage_bytes = None
|
|
77
89
|
self._display_name = None
|
|
90
|
+
self._efs_folder_bytes = None
|
|
78
91
|
self._estimated_daily_cost = None
|
|
92
|
+
self._estimated_efs_cost = None
|
|
79
93
|
self._folder_storage_bytes = None
|
|
80
94
|
self._id = None
|
|
81
95
|
self._job_storage_bytes = None
|
|
96
|
+
self._model_storage_bytes = None
|
|
82
97
|
self._total_storage_bytes = None
|
|
83
98
|
self._upload_storage_bytes = None
|
|
84
99
|
self.discriminator = None
|
|
@@ -88,18 +103,28 @@ class V1ProjectStorage(object):
|
|
|
88
103
|
self.cloudspace_storage_bytes = cloudspace_storage_bytes
|
|
89
104
|
if container_registry_storage_bytes is not None:
|
|
90
105
|
self.container_registry_storage_bytes = container_registry_storage_bytes
|
|
106
|
+
if daily_read_bytes is not None:
|
|
107
|
+
self.daily_read_bytes = daily_read_bytes
|
|
108
|
+
if daily_write_bytes is not None:
|
|
109
|
+
self.daily_write_bytes = daily_write_bytes
|
|
91
110
|
if data_connection_storage_bytes is not None:
|
|
92
111
|
self.data_connection_storage_bytes = data_connection_storage_bytes
|
|
93
112
|
if display_name is not None:
|
|
94
113
|
self.display_name = display_name
|
|
114
|
+
if efs_folder_bytes is not None:
|
|
115
|
+
self.efs_folder_bytes = efs_folder_bytes
|
|
95
116
|
if estimated_daily_cost is not None:
|
|
96
117
|
self.estimated_daily_cost = estimated_daily_cost
|
|
118
|
+
if estimated_efs_cost is not None:
|
|
119
|
+
self.estimated_efs_cost = estimated_efs_cost
|
|
97
120
|
if folder_storage_bytes is not None:
|
|
98
121
|
self.folder_storage_bytes = folder_storage_bytes
|
|
99
122
|
if id is not None:
|
|
100
123
|
self.id = id
|
|
101
124
|
if job_storage_bytes is not None:
|
|
102
125
|
self.job_storage_bytes = job_storage_bytes
|
|
126
|
+
if model_storage_bytes is not None:
|
|
127
|
+
self.model_storage_bytes = model_storage_bytes
|
|
103
128
|
if total_storage_bytes is not None:
|
|
104
129
|
self.total_storage_bytes = total_storage_bytes
|
|
105
130
|
if upload_storage_bytes is not None:
|
|
@@ -168,6 +193,48 @@ class V1ProjectStorage(object):
|
|
|
168
193
|
|
|
169
194
|
self._container_registry_storage_bytes = container_registry_storage_bytes
|
|
170
195
|
|
|
196
|
+
@property
|
|
197
|
+
def daily_read_bytes(self) -> 'str':
|
|
198
|
+
"""Gets the daily_read_bytes of this V1ProjectStorage. # noqa: E501
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:return: The daily_read_bytes of this V1ProjectStorage. # noqa: E501
|
|
202
|
+
:rtype: str
|
|
203
|
+
"""
|
|
204
|
+
return self._daily_read_bytes
|
|
205
|
+
|
|
206
|
+
@daily_read_bytes.setter
|
|
207
|
+
def daily_read_bytes(self, daily_read_bytes: 'str'):
|
|
208
|
+
"""Sets the daily_read_bytes of this V1ProjectStorage.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
:param daily_read_bytes: The daily_read_bytes of this V1ProjectStorage. # noqa: E501
|
|
212
|
+
:type: str
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
self._daily_read_bytes = daily_read_bytes
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def daily_write_bytes(self) -> 'str':
|
|
219
|
+
"""Gets the daily_write_bytes of this V1ProjectStorage. # noqa: E501
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
:return: The daily_write_bytes of this V1ProjectStorage. # noqa: E501
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._daily_write_bytes
|
|
226
|
+
|
|
227
|
+
@daily_write_bytes.setter
|
|
228
|
+
def daily_write_bytes(self, daily_write_bytes: 'str'):
|
|
229
|
+
"""Sets the daily_write_bytes of this V1ProjectStorage.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:param daily_write_bytes: The daily_write_bytes of this V1ProjectStorage. # noqa: E501
|
|
233
|
+
:type: str
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
self._daily_write_bytes = daily_write_bytes
|
|
237
|
+
|
|
171
238
|
@property
|
|
172
239
|
def data_connection_storage_bytes(self) -> 'str':
|
|
173
240
|
"""Gets the data_connection_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
@@ -210,6 +277,27 @@ class V1ProjectStorage(object):
|
|
|
210
277
|
|
|
211
278
|
self._display_name = display_name
|
|
212
279
|
|
|
280
|
+
@property
|
|
281
|
+
def efs_folder_bytes(self) -> 'str':
|
|
282
|
+
"""Gets the efs_folder_bytes of this V1ProjectStorage. # noqa: E501
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:return: The efs_folder_bytes of this V1ProjectStorage. # noqa: E501
|
|
286
|
+
:rtype: str
|
|
287
|
+
"""
|
|
288
|
+
return self._efs_folder_bytes
|
|
289
|
+
|
|
290
|
+
@efs_folder_bytes.setter
|
|
291
|
+
def efs_folder_bytes(self, efs_folder_bytes: 'str'):
|
|
292
|
+
"""Sets the efs_folder_bytes of this V1ProjectStorage.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:param efs_folder_bytes: The efs_folder_bytes of this V1ProjectStorage. # noqa: E501
|
|
296
|
+
:type: str
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
self._efs_folder_bytes = efs_folder_bytes
|
|
300
|
+
|
|
213
301
|
@property
|
|
214
302
|
def estimated_daily_cost(self) -> 'float':
|
|
215
303
|
"""Gets the estimated_daily_cost of this V1ProjectStorage. # noqa: E501
|
|
@@ -231,6 +319,27 @@ class V1ProjectStorage(object):
|
|
|
231
319
|
|
|
232
320
|
self._estimated_daily_cost = estimated_daily_cost
|
|
233
321
|
|
|
322
|
+
@property
|
|
323
|
+
def estimated_efs_cost(self) -> 'float':
|
|
324
|
+
"""Gets the estimated_efs_cost of this V1ProjectStorage. # noqa: E501
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:return: The estimated_efs_cost of this V1ProjectStorage. # noqa: E501
|
|
328
|
+
:rtype: float
|
|
329
|
+
"""
|
|
330
|
+
return self._estimated_efs_cost
|
|
331
|
+
|
|
332
|
+
@estimated_efs_cost.setter
|
|
333
|
+
def estimated_efs_cost(self, estimated_efs_cost: 'float'):
|
|
334
|
+
"""Sets the estimated_efs_cost of this V1ProjectStorage.
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
:param estimated_efs_cost: The estimated_efs_cost of this V1ProjectStorage. # noqa: E501
|
|
338
|
+
:type: float
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
self._estimated_efs_cost = estimated_efs_cost
|
|
342
|
+
|
|
234
343
|
@property
|
|
235
344
|
def folder_storage_bytes(self) -> 'str':
|
|
236
345
|
"""Gets the folder_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
@@ -294,6 +403,27 @@ class V1ProjectStorage(object):
|
|
|
294
403
|
|
|
295
404
|
self._job_storage_bytes = job_storage_bytes
|
|
296
405
|
|
|
406
|
+
@property
|
|
407
|
+
def model_storage_bytes(self) -> 'str':
|
|
408
|
+
"""Gets the model_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
:return: The model_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
414
|
+
return self._model_storage_bytes
|
|
415
|
+
|
|
416
|
+
@model_storage_bytes.setter
|
|
417
|
+
def model_storage_bytes(self, model_storage_bytes: 'str'):
|
|
418
|
+
"""Sets the model_storage_bytes of this V1ProjectStorage.
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
:param model_storage_bytes: The model_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
422
|
+
:type: str
|
|
423
|
+
"""
|
|
424
|
+
|
|
425
|
+
self._model_storage_bytes = model_storage_bytes
|
|
426
|
+
|
|
297
427
|
@property
|
|
298
428
|
def total_storage_bytes(self) -> 'str':
|
|
299
429
|
"""Gets the total_storage_bytes of this V1ProjectStorage. # noqa: E501
|
|
@@ -46,6 +46,7 @@ class V1RoutingTelemetry(object):
|
|
|
46
46
|
'method': 'str',
|
|
47
47
|
'path': 'str',
|
|
48
48
|
'received_at': 'datetime',
|
|
49
|
+
'resource_id': 'str',
|
|
49
50
|
'status_code': 'int'
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -55,16 +56,18 @@ class V1RoutingTelemetry(object):
|
|
|
55
56
|
'method': 'method',
|
|
56
57
|
'path': 'path',
|
|
57
58
|
'received_at': 'receivedAt',
|
|
59
|
+
'resource_id': 'resourceId',
|
|
58
60
|
'status_code': 'statusCode'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, duration: 'float' =None, id: 'str' =None, method: 'str' =None, path: 'str' =None, received_at: 'datetime' =None, status_code: 'int' =None): # noqa: E501
|
|
63
|
+
def __init__(self, duration: 'float' =None, id: 'str' =None, method: 'str' =None, path: 'str' =None, received_at: 'datetime' =None, resource_id: 'str' =None, status_code: 'int' =None): # noqa: E501
|
|
62
64
|
"""V1RoutingTelemetry - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
self._duration = None
|
|
64
66
|
self._id = None
|
|
65
67
|
self._method = None
|
|
66
68
|
self._path = None
|
|
67
69
|
self._received_at = None
|
|
70
|
+
self._resource_id = None
|
|
68
71
|
self._status_code = None
|
|
69
72
|
self.discriminator = None
|
|
70
73
|
if duration is not None:
|
|
@@ -77,6 +80,8 @@ class V1RoutingTelemetry(object):
|
|
|
77
80
|
self.path = path
|
|
78
81
|
if received_at is not None:
|
|
79
82
|
self.received_at = received_at
|
|
83
|
+
if resource_id is not None:
|
|
84
|
+
self.resource_id = resource_id
|
|
80
85
|
if status_code is not None:
|
|
81
86
|
self.status_code = status_code
|
|
82
87
|
|
|
@@ -185,6 +190,27 @@ class V1RoutingTelemetry(object):
|
|
|
185
190
|
|
|
186
191
|
self._received_at = received_at
|
|
187
192
|
|
|
193
|
+
@property
|
|
194
|
+
def resource_id(self) -> 'str':
|
|
195
|
+
"""Gets the resource_id of this V1RoutingTelemetry. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The resource_id of this V1RoutingTelemetry. # noqa: E501
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._resource_id
|
|
202
|
+
|
|
203
|
+
@resource_id.setter
|
|
204
|
+
def resource_id(self, resource_id: 'str'):
|
|
205
|
+
"""Sets the resource_id of this V1RoutingTelemetry.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param resource_id: The resource_id of this V1RoutingTelemetry. # noqa: E501
|
|
209
|
+
:type: str
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._resource_id = resource_id
|
|
213
|
+
|
|
188
214
|
@property
|
|
189
215
|
def status_code(self) -> 'int':
|
|
190
216
|
"""Gets the status_code of this V1RoutingTelemetry. # noqa: E501
|
|
@@ -46,6 +46,7 @@ class V1StorageAsset(object):
|
|
|
46
46
|
'id': 'str',
|
|
47
47
|
'name': 'str',
|
|
48
48
|
'storage_bytes': 'str',
|
|
49
|
+
'sub_type': 'str',
|
|
49
50
|
'type': 'V1StorageAssetType'
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -55,16 +56,18 @@ class V1StorageAsset(object):
|
|
|
55
56
|
'id': 'id',
|
|
56
57
|
'name': 'name',
|
|
57
58
|
'storage_bytes': 'storageBytes',
|
|
59
|
+
'sub_type': 'subType',
|
|
58
60
|
'type': 'type'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, created_at: 'datetime' =None, created_by: 'str' =None, id: 'str' =None, name: 'str' =None, storage_bytes: 'str' =None, type: 'V1StorageAssetType' =None): # noqa: E501
|
|
63
|
+
def __init__(self, created_at: 'datetime' =None, created_by: 'str' =None, id: 'str' =None, name: 'str' =None, storage_bytes: 'str' =None, sub_type: 'str' =None, type: 'V1StorageAssetType' =None): # noqa: E501
|
|
62
64
|
"""V1StorageAsset - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
self._created_at = None
|
|
64
66
|
self._created_by = None
|
|
65
67
|
self._id = None
|
|
66
68
|
self._name = None
|
|
67
69
|
self._storage_bytes = None
|
|
70
|
+
self._sub_type = None
|
|
68
71
|
self._type = None
|
|
69
72
|
self.discriminator = None
|
|
70
73
|
if created_at is not None:
|
|
@@ -77,6 +80,8 @@ class V1StorageAsset(object):
|
|
|
77
80
|
self.name = name
|
|
78
81
|
if storage_bytes is not None:
|
|
79
82
|
self.storage_bytes = storage_bytes
|
|
83
|
+
if sub_type is not None:
|
|
84
|
+
self.sub_type = sub_type
|
|
80
85
|
if type is not None:
|
|
81
86
|
self.type = type
|
|
82
87
|
|
|
@@ -185,6 +190,27 @@ class V1StorageAsset(object):
|
|
|
185
190
|
|
|
186
191
|
self._storage_bytes = storage_bytes
|
|
187
192
|
|
|
193
|
+
@property
|
|
194
|
+
def sub_type(self) -> 'str':
|
|
195
|
+
"""Gets the sub_type of this V1StorageAsset. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The sub_type of this V1StorageAsset. # noqa: E501
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._sub_type
|
|
202
|
+
|
|
203
|
+
@sub_type.setter
|
|
204
|
+
def sub_type(self, sub_type: 'str'):
|
|
205
|
+
"""Sets the sub_type of this V1StorageAsset.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param sub_type: The sub_type of this V1StorageAsset. # noqa: E501
|
|
209
|
+
:type: str
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._sub_type = sub_type
|
|
213
|
+
|
|
188
214
|
@property
|
|
189
215
|
def type(self) -> 'V1StorageAssetType':
|
|
190
216
|
"""Gets the type of this V1StorageAsset. # noqa: E501
|