lightning-sdk 0.2.18__py3-none-any.whl → 0.2.20__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.
Files changed (68) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/api/license_api.py +28 -6
  4. lightning_sdk/cli/deploy/_auth.py +11 -19
  5. lightning_sdk/cli/entrypoint.py +20 -2
  6. lightning_sdk/deployment/deployment.py +2 -0
  7. lightning_sdk/lightning_cloud/login.py +2 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +10 -2
  9. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  10. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  11. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  12. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -2
  14. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  15. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  16. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
  18. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  19. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  20. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  21. lightning_sdk/lightning_cloud/openapi/models/update.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +383 -0
  24. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +157 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +237 -3
  37. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +53 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +261 -157
  44. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +53 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +199 -17
  49. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  50. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +4 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  53. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  54. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +105 -27
  55. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +249 -145
  56. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
  57. lightning_sdk/lightning_cloud/rest_client.py +13 -11
  58. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
  59. lightning_sdk/serve.py +1 -0
  60. lightning_sdk/services/license.py +148 -27
  61. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/METADATA +1 -1
  62. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/RECORD +66 -58
  63. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
  64. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
  65. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/LICENSE +0 -0
  66. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/WHEEL +0 -0
  67. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/entry_points.txt +0 -0
  68. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/top_level.txt +0 -0
@@ -44,8 +44,10 @@ class V1Project(object):
44
44
  'abac_enabled': 'bool',
45
45
  'created_at': 'datetime',
46
46
  'creator_id': 'str',
47
+ 'current_storage_bytes': 'str',
47
48
  'description': 'str',
48
49
  'display_name': 'str',
50
+ 'free_storage_bytes': 'str',
49
51
  'id': 'str',
50
52
  'is_default': 'bool',
51
53
  'lock_out_uploads': 'bool',
@@ -64,8 +66,10 @@ class V1Project(object):
64
66
  'abac_enabled': 'abacEnabled',
65
67
  'created_at': 'createdAt',
66
68
  'creator_id': 'creatorId',
69
+ 'current_storage_bytes': 'currentStorageBytes',
67
70
  'description': 'description',
68
71
  'display_name': 'displayName',
72
+ 'free_storage_bytes': 'freeStorageBytes',
69
73
  'id': 'id',
70
74
  'is_default': 'isDefault',
71
75
  'lock_out_uploads': 'lockOutUploads',
@@ -80,13 +84,15 @@ class V1Project(object):
80
84
  'updated_at': 'updatedAt'
81
85
  }
82
86
 
83
- def __init__(self, abac_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, description: 'str' =None, display_name: 'str' =None, id: 'str' =None, is_default: 'bool' =None, lock_out_uploads: 'bool' =None, name: 'str' =None, number_of_files_uploads: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, private: 'bool' =None, project_settings: 'V1ProjectSettings' =None, quotas: 'V1Quotas' =None, total_size_uploads_bytes: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
87
+ def __init__(self, abac_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_storage_bytes: 'str' =None, id: 'str' =None, is_default: 'bool' =None, lock_out_uploads: 'bool' =None, name: 'str' =None, number_of_files_uploads: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, private: 'bool' =None, project_settings: 'V1ProjectSettings' =None, quotas: 'V1Quotas' =None, total_size_uploads_bytes: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
84
88
  """V1Project - a model defined in Swagger""" # noqa: E501
85
89
  self._abac_enabled = None
86
90
  self._created_at = None
87
91
  self._creator_id = None
92
+ self._current_storage_bytes = None
88
93
  self._description = None
89
94
  self._display_name = None
95
+ self._free_storage_bytes = None
90
96
  self._id = None
91
97
  self._is_default = None
92
98
  self._lock_out_uploads = None
@@ -106,10 +112,14 @@ class V1Project(object):
106
112
  self.created_at = created_at
107
113
  if creator_id is not None:
108
114
  self.creator_id = creator_id
115
+ if current_storage_bytes is not None:
116
+ self.current_storage_bytes = current_storage_bytes
109
117
  if description is not None:
110
118
  self.description = description
111
119
  if display_name is not None:
112
120
  self.display_name = display_name
121
+ if free_storage_bytes is not None:
122
+ self.free_storage_bytes = free_storage_bytes
113
123
  if id is not None:
114
124
  self.id = id
115
125
  if is_default is not None:
@@ -198,6 +208,27 @@ class V1Project(object):
198
208
 
199
209
  self._creator_id = creator_id
200
210
 
211
+ @property
212
+ def current_storage_bytes(self) -> 'str':
213
+ """Gets the current_storage_bytes of this V1Project. # noqa: E501
214
+
215
+
216
+ :return: The current_storage_bytes of this V1Project. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._current_storage_bytes
220
+
221
+ @current_storage_bytes.setter
222
+ def current_storage_bytes(self, current_storage_bytes: 'str'):
223
+ """Sets the current_storage_bytes of this V1Project.
224
+
225
+
226
+ :param current_storage_bytes: The current_storage_bytes of this V1Project. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._current_storage_bytes = current_storage_bytes
231
+
201
232
  @property
202
233
  def description(self) -> 'str':
203
234
  """Gets the description of this V1Project. # noqa: E501
@@ -240,6 +271,27 @@ class V1Project(object):
240
271
 
241
272
  self._display_name = display_name
242
273
 
274
+ @property
275
+ def free_storage_bytes(self) -> 'str':
276
+ """Gets the free_storage_bytes of this V1Project. # noqa: E501
277
+
278
+
279
+ :return: The free_storage_bytes of this V1Project. # noqa: E501
280
+ :rtype: str
281
+ """
282
+ return self._free_storage_bytes
283
+
284
+ @free_storage_bytes.setter
285
+ def free_storage_bytes(self, free_storage_bytes: 'str'):
286
+ """Sets the free_storage_bytes of this V1Project.
287
+
288
+
289
+ :param free_storage_bytes: The free_storage_bytes of this V1Project. # noqa: E501
290
+ :type: str
291
+ """
292
+
293
+ self._free_storage_bytes = free_storage_bytes
294
+
243
295
  @property
244
296
  def id(self) -> 'str':
245
297
  """Gets the id of this V1Project. # noqa: E501
@@ -52,6 +52,7 @@ class V1ProjectMembership(object):
52
52
  'email': 'str',
53
53
  'first_name': 'str',
54
54
  'free_credits_enabled': 'bool',
55
+ 'free_storage_bytes': 'str',
55
56
  'inactive': 'bool',
56
57
  'is_default': 'bool',
57
58
  'job_count': 'str',
@@ -83,6 +84,7 @@ class V1ProjectMembership(object):
83
84
  'email': 'email',
84
85
  'first_name': 'firstName',
85
86
  'free_credits_enabled': 'freeCreditsEnabled',
87
+ 'free_storage_bytes': 'freeStorageBytes',
86
88
  'inactive': 'inactive',
87
89
  'is_default': 'isDefault',
88
90
  'job_count': 'jobCount',
@@ -102,7 +104,7 @@ class V1ProjectMembership(object):
102
104
  'username': 'username'
103
105
  }
104
106
 
105
- def __init__(self, avatar_url: 'str' =None, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, email: 'str' =None, first_name: 'str' =None, free_credits_enabled: 'bool' =None, inactive: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, job_title: 'str' =None, last_name: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, organization: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None, username: 'str' =None): # noqa: E501
107
+ def __init__(self, avatar_url: 'str' =None, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, email: 'str' =None, first_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, inactive: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, job_title: 'str' =None, last_name: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, organization: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None, username: 'str' =None): # noqa: E501
106
108
  """V1ProjectMembership - a model defined in Swagger""" # noqa: E501
107
109
  self._avatar_url = None
108
110
  self._balance = None
@@ -115,6 +117,7 @@ class V1ProjectMembership(object):
115
117
  self._email = None
116
118
  self._first_name = None
117
119
  self._free_credits_enabled = None
120
+ self._free_storage_bytes = None
118
121
  self._inactive = None
119
122
  self._is_default = None
120
123
  self._job_count = None
@@ -155,6 +158,8 @@ class V1ProjectMembership(object):
155
158
  self.first_name = first_name
156
159
  if free_credits_enabled is not None:
157
160
  self.free_credits_enabled = free_credits_enabled
161
+ if free_storage_bytes is not None:
162
+ self.free_storage_bytes = free_storage_bytes
158
163
  if inactive is not None:
159
164
  self.inactive = inactive
160
165
  if is_default is not None:
@@ -421,6 +426,27 @@ class V1ProjectMembership(object):
421
426
 
422
427
  self._free_credits_enabled = free_credits_enabled
423
428
 
429
+ @property
430
+ def free_storage_bytes(self) -> 'str':
431
+ """Gets the free_storage_bytes of this V1ProjectMembership. # noqa: E501
432
+
433
+
434
+ :return: The free_storage_bytes of this V1ProjectMembership. # noqa: E501
435
+ :rtype: str
436
+ """
437
+ return self._free_storage_bytes
438
+
439
+ @free_storage_bytes.setter
440
+ def free_storage_bytes(self, free_storage_bytes: 'str'):
441
+ """Sets the free_storage_bytes of this V1ProjectMembership.
442
+
443
+
444
+ :param free_storage_bytes: The free_storage_bytes of this V1ProjectMembership. # noqa: E501
445
+ :type: str
446
+ """
447
+
448
+ self._free_storage_bytes = free_storage_bytes
449
+
424
450
  @property
425
451
  def inactive(self) -> 'bool':
426
452
  """Gets the inactive of this V1ProjectMembership. # noqa: E501
@@ -42,12 +42,15 @@ class V1ProjectSettings(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'allow_aws_saas': 'bool',
45
+ 'allow_credits_auto_replenish': 'bool',
45
46
  'allow_dgx_saas': 'bool',
46
47
  'allow_external_project_duplication': 'bool',
47
48
  'allow_gcp_saas': 'bool',
48
49
  'allow_lambda_saas': 'bool',
49
50
  'allow_lightning_saas': 'bool',
50
51
  'allow_vultr_saas': 'bool',
52
+ 'auto_replenish_amount': 'float',
53
+ 'auto_replenish_threshold': 'float',
51
54
  'auto_switch_machine': 'bool',
52
55
  'default_machine_image_version': 'str',
53
56
  'default_machine_type': 'str',
@@ -61,12 +64,15 @@ class V1ProjectSettings(object):
61
64
 
62
65
  attribute_map = {
63
66
  'allow_aws_saas': 'allowAwsSaas',
67
+ 'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
64
68
  'allow_dgx_saas': 'allowDgxSaas',
65
69
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
66
70
  'allow_gcp_saas': 'allowGcpSaas',
67
71
  'allow_lambda_saas': 'allowLambdaSaas',
68
72
  'allow_lightning_saas': 'allowLightningSaas',
69
73
  'allow_vultr_saas': 'allowVultrSaas',
74
+ 'auto_replenish_amount': 'autoReplenishAmount',
75
+ 'auto_replenish_threshold': 'autoReplenishThreshold',
70
76
  'auto_switch_machine': 'autoSwitchMachine',
71
77
  'default_machine_image_version': 'defaultMachineImageVersion',
72
78
  'default_machine_type': 'defaultMachineType',
@@ -78,15 +84,18 @@ class V1ProjectSettings(object):
78
84
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
79
85
  }
80
86
 
81
- def __init__(self, allow_aws_saas: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_switch_machine: 'bool' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
87
+ def __init__(self, allow_aws_saas: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
82
88
  """V1ProjectSettings - a model defined in Swagger""" # noqa: E501
83
89
  self._allow_aws_saas = None
90
+ self._allow_credits_auto_replenish = None
84
91
  self._allow_dgx_saas = None
85
92
  self._allow_external_project_duplication = None
86
93
  self._allow_gcp_saas = None
87
94
  self._allow_lambda_saas = None
88
95
  self._allow_lightning_saas = None
89
96
  self._allow_vultr_saas = None
97
+ self._auto_replenish_amount = None
98
+ self._auto_replenish_threshold = None
90
99
  self._auto_switch_machine = None
91
100
  self._default_machine_image_version = None
92
101
  self._default_machine_type = None
@@ -99,6 +108,8 @@ class V1ProjectSettings(object):
99
108
  self.discriminator = None
100
109
  if allow_aws_saas is not None:
101
110
  self.allow_aws_saas = allow_aws_saas
111
+ if allow_credits_auto_replenish is not None:
112
+ self.allow_credits_auto_replenish = allow_credits_auto_replenish
102
113
  if allow_dgx_saas is not None:
103
114
  self.allow_dgx_saas = allow_dgx_saas
104
115
  if allow_external_project_duplication is not None:
@@ -111,6 +122,10 @@ class V1ProjectSettings(object):
111
122
  self.allow_lightning_saas = allow_lightning_saas
112
123
  if allow_vultr_saas is not None:
113
124
  self.allow_vultr_saas = allow_vultr_saas
125
+ if auto_replenish_amount is not None:
126
+ self.auto_replenish_amount = auto_replenish_amount
127
+ if auto_replenish_threshold is not None:
128
+ self.auto_replenish_threshold = auto_replenish_threshold
114
129
  if auto_switch_machine is not None:
115
130
  self.auto_switch_machine = auto_switch_machine
116
131
  if default_machine_image_version is not None:
@@ -151,6 +166,27 @@ class V1ProjectSettings(object):
151
166
 
152
167
  self._allow_aws_saas = allow_aws_saas
153
168
 
169
+ @property
170
+ def allow_credits_auto_replenish(self) -> 'bool':
171
+ """Gets the allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
172
+
173
+
174
+ :return: The allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
175
+ :rtype: bool
176
+ """
177
+ return self._allow_credits_auto_replenish
178
+
179
+ @allow_credits_auto_replenish.setter
180
+ def allow_credits_auto_replenish(self, allow_credits_auto_replenish: 'bool'):
181
+ """Sets the allow_credits_auto_replenish of this V1ProjectSettings.
182
+
183
+
184
+ :param allow_credits_auto_replenish: The allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
185
+ :type: bool
186
+ """
187
+
188
+ self._allow_credits_auto_replenish = allow_credits_auto_replenish
189
+
154
190
  @property
155
191
  def allow_dgx_saas(self) -> 'bool':
156
192
  """Gets the allow_dgx_saas of this V1ProjectSettings. # noqa: E501
@@ -279,6 +315,48 @@ class V1ProjectSettings(object):
279
315
 
280
316
  self._allow_vultr_saas = allow_vultr_saas
281
317
 
318
+ @property
319
+ def auto_replenish_amount(self) -> 'float':
320
+ """Gets the auto_replenish_amount of this V1ProjectSettings. # noqa: E501
321
+
322
+
323
+ :return: The auto_replenish_amount of this V1ProjectSettings. # noqa: E501
324
+ :rtype: float
325
+ """
326
+ return self._auto_replenish_amount
327
+
328
+ @auto_replenish_amount.setter
329
+ def auto_replenish_amount(self, auto_replenish_amount: 'float'):
330
+ """Sets the auto_replenish_amount of this V1ProjectSettings.
331
+
332
+
333
+ :param auto_replenish_amount: The auto_replenish_amount of this V1ProjectSettings. # noqa: E501
334
+ :type: float
335
+ """
336
+
337
+ self._auto_replenish_amount = auto_replenish_amount
338
+
339
+ @property
340
+ def auto_replenish_threshold(self) -> 'float':
341
+ """Gets the auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
342
+
343
+
344
+ :return: The auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
345
+ :rtype: float
346
+ """
347
+ return self._auto_replenish_threshold
348
+
349
+ @auto_replenish_threshold.setter
350
+ def auto_replenish_threshold(self, auto_replenish_threshold: 'float'):
351
+ """Sets the auto_replenish_threshold of this V1ProjectSettings.
352
+
353
+
354
+ :param auto_replenish_threshold: The auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
355
+ :type: float
356
+ """
357
+
358
+ self._auto_replenish_threshold = auto_replenish_threshold
359
+
282
360
  @property
283
361
  def auto_switch_machine(self) -> 'bool':
284
362
  """Gets the auto_switch_machine of this V1ProjectSettings. # noqa: E501
@@ -43,11 +43,18 @@ class V1ProjectStorage(object):
43
43
  swagger_types = {
44
44
  'billable_bytes': 'str',
45
45
  'cloudspace_storage_bytes': 'str',
46
+ 'container_registry_storage_bytes': 'str',
47
+ 'daily_read_bytes': 'str',
48
+ 'daily_write_bytes': 'str',
46
49
  'data_connection_storage_bytes': 'str',
47
50
  'display_name': 'str',
51
+ 'efs_folder_bytes': 'str',
52
+ 'estimated_daily_cost': 'float',
53
+ 'estimated_efs_cost': 'float',
54
+ 'folder_storage_bytes': 'str',
48
55
  'id': 'str',
49
56
  'job_storage_bytes': 'str',
50
- 'total_billed_per_day': 'float',
57
+ 'model_storage_bytes': 'str',
51
58
  'total_storage_bytes': 'str',
52
59
  'upload_storage_bytes': 'str'
53
60
  }
@@ -55,24 +62,38 @@ class V1ProjectStorage(object):
55
62
  attribute_map = {
56
63
  'billable_bytes': 'billableBytes',
57
64
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
65
+ 'container_registry_storage_bytes': 'containerRegistryStorageBytes',
66
+ 'daily_read_bytes': 'dailyReadBytes',
67
+ 'daily_write_bytes': 'dailyWriteBytes',
58
68
  'data_connection_storage_bytes': 'dataConnectionStorageBytes',
59
69
  'display_name': 'displayName',
70
+ 'efs_folder_bytes': 'efsFolderBytes',
71
+ 'estimated_daily_cost': 'estimatedDailyCost',
72
+ 'estimated_efs_cost': 'estimatedEfsCost',
73
+ 'folder_storage_bytes': 'folderStorageBytes',
60
74
  'id': 'id',
61
75
  'job_storage_bytes': 'jobStorageBytes',
62
- 'total_billed_per_day': 'totalBilledPerDay',
76
+ 'model_storage_bytes': 'modelStorageBytes',
63
77
  'total_storage_bytes': 'totalStorageBytes',
64
78
  'upload_storage_bytes': 'uploadStorageBytes'
65
79
  }
66
80
 
67
- def __init__(self, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, display_name: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, total_billed_per_day: 'float' =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
68
82
  """V1ProjectStorage - a model defined in Swagger""" # noqa: E501
69
83
  self._billable_bytes = None
70
84
  self._cloudspace_storage_bytes = None
85
+ self._container_registry_storage_bytes = None
86
+ self._daily_read_bytes = None
87
+ self._daily_write_bytes = None
71
88
  self._data_connection_storage_bytes = None
72
89
  self._display_name = None
90
+ self._efs_folder_bytes = None
91
+ self._estimated_daily_cost = None
92
+ self._estimated_efs_cost = None
93
+ self._folder_storage_bytes = None
73
94
  self._id = None
74
95
  self._job_storage_bytes = None
75
- self._total_billed_per_day = None
96
+ self._model_storage_bytes = None
76
97
  self._total_storage_bytes = None
77
98
  self._upload_storage_bytes = None
78
99
  self.discriminator = None
@@ -80,16 +101,30 @@ class V1ProjectStorage(object):
80
101
  self.billable_bytes = billable_bytes
81
102
  if cloudspace_storage_bytes is not None:
82
103
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
104
+ if container_registry_storage_bytes is not None:
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
83
110
  if data_connection_storage_bytes is not None:
84
111
  self.data_connection_storage_bytes = data_connection_storage_bytes
85
112
  if display_name is not None:
86
113
  self.display_name = display_name
114
+ if efs_folder_bytes is not None:
115
+ self.efs_folder_bytes = efs_folder_bytes
116
+ if estimated_daily_cost is not None:
117
+ self.estimated_daily_cost = estimated_daily_cost
118
+ if estimated_efs_cost is not None:
119
+ self.estimated_efs_cost = estimated_efs_cost
120
+ if folder_storage_bytes is not None:
121
+ self.folder_storage_bytes = folder_storage_bytes
87
122
  if id is not None:
88
123
  self.id = id
89
124
  if job_storage_bytes is not None:
90
125
  self.job_storage_bytes = job_storage_bytes
91
- if total_billed_per_day is not None:
92
- self.total_billed_per_day = total_billed_per_day
126
+ if model_storage_bytes is not None:
127
+ self.model_storage_bytes = model_storage_bytes
93
128
  if total_storage_bytes is not None:
94
129
  self.total_storage_bytes = total_storage_bytes
95
130
  if upload_storage_bytes is not None:
@@ -137,6 +172,69 @@ class V1ProjectStorage(object):
137
172
 
138
173
  self._cloudspace_storage_bytes = cloudspace_storage_bytes
139
174
 
175
+ @property
176
+ def container_registry_storage_bytes(self) -> 'str':
177
+ """Gets the container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
178
+
179
+
180
+ :return: The container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
181
+ :rtype: str
182
+ """
183
+ return self._container_registry_storage_bytes
184
+
185
+ @container_registry_storage_bytes.setter
186
+ def container_registry_storage_bytes(self, container_registry_storage_bytes: 'str'):
187
+ """Sets the container_registry_storage_bytes of this V1ProjectStorage.
188
+
189
+
190
+ :param container_registry_storage_bytes: The container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
191
+ :type: str
192
+ """
193
+
194
+ self._container_registry_storage_bytes = container_registry_storage_bytes
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
+
140
238
  @property
141
239
  def data_connection_storage_bytes(self) -> 'str':
142
240
  """Gets the data_connection_storage_bytes of this V1ProjectStorage. # noqa: E501
@@ -179,6 +277,90 @@ class V1ProjectStorage(object):
179
277
 
180
278
  self._display_name = display_name
181
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
+
301
+ @property
302
+ def estimated_daily_cost(self) -> 'float':
303
+ """Gets the estimated_daily_cost of this V1ProjectStorage. # noqa: E501
304
+
305
+
306
+ :return: The estimated_daily_cost of this V1ProjectStorage. # noqa: E501
307
+ :rtype: float
308
+ """
309
+ return self._estimated_daily_cost
310
+
311
+ @estimated_daily_cost.setter
312
+ def estimated_daily_cost(self, estimated_daily_cost: 'float'):
313
+ """Sets the estimated_daily_cost of this V1ProjectStorage.
314
+
315
+
316
+ :param estimated_daily_cost: The estimated_daily_cost of this V1ProjectStorage. # noqa: E501
317
+ :type: float
318
+ """
319
+
320
+ self._estimated_daily_cost = estimated_daily_cost
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
+
343
+ @property
344
+ def folder_storage_bytes(self) -> 'str':
345
+ """Gets the folder_storage_bytes of this V1ProjectStorage. # noqa: E501
346
+
347
+
348
+ :return: The folder_storage_bytes of this V1ProjectStorage. # noqa: E501
349
+ :rtype: str
350
+ """
351
+ return self._folder_storage_bytes
352
+
353
+ @folder_storage_bytes.setter
354
+ def folder_storage_bytes(self, folder_storage_bytes: 'str'):
355
+ """Sets the folder_storage_bytes of this V1ProjectStorage.
356
+
357
+
358
+ :param folder_storage_bytes: The folder_storage_bytes of this V1ProjectStorage. # noqa: E501
359
+ :type: str
360
+ """
361
+
362
+ self._folder_storage_bytes = folder_storage_bytes
363
+
182
364
  @property
183
365
  def id(self) -> 'str':
184
366
  """Gets the id of this V1ProjectStorage. # noqa: E501
@@ -222,25 +404,25 @@ class V1ProjectStorage(object):
222
404
  self._job_storage_bytes = job_storage_bytes
223
405
 
224
406
  @property
225
- def total_billed_per_day(self) -> 'float':
226
- """Gets the total_billed_per_day of this V1ProjectStorage. # noqa: E501
407
+ def model_storage_bytes(self) -> 'str':
408
+ """Gets the model_storage_bytes of this V1ProjectStorage. # noqa: E501
227
409
 
228
410
 
229
- :return: The total_billed_per_day of this V1ProjectStorage. # noqa: E501
230
- :rtype: float
411
+ :return: The model_storage_bytes of this V1ProjectStorage. # noqa: E501
412
+ :rtype: str
231
413
  """
232
- return self._total_billed_per_day
414
+ return self._model_storage_bytes
233
415
 
234
- @total_billed_per_day.setter
235
- def total_billed_per_day(self, total_billed_per_day: 'float'):
236
- """Sets the total_billed_per_day of this V1ProjectStorage.
416
+ @model_storage_bytes.setter
417
+ def model_storage_bytes(self, model_storage_bytes: 'str'):
418
+ """Sets the model_storage_bytes of this V1ProjectStorage.
237
419
 
238
420
 
239
- :param total_billed_per_day: The total_billed_per_day of this V1ProjectStorage. # noqa: E501
240
- :type: float
421
+ :param model_storage_bytes: The model_storage_bytes of this V1ProjectStorage. # noqa: E501
422
+ :type: str
241
423
  """
242
424
 
243
- self._total_billed_per_day = total_billed_per_day
425
+ self._model_storage_bytes = model_storage_bytes
244
426
 
245
427
  @property
246
428
  def total_storage_bytes(self) -> 'str':
@@ -76,6 +76,7 @@ class V1RuleResource(object):
76
76
  LITLOGGER = "litLogger"
77
77
  PIPELINE = "pipeline"
78
78
  CLOUDSPACEENVIRONMENTTEMPLATE = "cloudSpaceEnvironmentTemplate"
79
+ ORGSTORAGE = "orgStorage"
79
80
  """
80
81
  Attributes:
81
82
  swagger_types (dict): The key is attribute name