lightning-sdk 0.2.19__py3-none-any.whl → 0.2.21rc0__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 (55) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/license_api.py +28 -6
  3. lightning_sdk/api/llm_api.py +53 -1
  4. lightning_sdk/api/studio_api.py +5 -0
  5. lightning_sdk/cli/deploy/_auth.py +11 -19
  6. lightning_sdk/cli/entrypoint.py +20 -2
  7. lightning_sdk/lightning_cloud/login.py +2 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +2 -3
  9. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +11 -1
  10. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
  11. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +0 -85
  12. lightning_sdk/lightning_cloud/openapi/models/__init__.py +2 -3
  13. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  14. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
  15. lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
  16. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  17. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +53 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +53 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +105 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +79 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
  26. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +105 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +105 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +131 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +27 -1
  35. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -27
  39. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +79 -365
  40. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
  41. lightning_sdk/lightning_cloud/rest_client.py +13 -11
  42. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
  43. lightning_sdk/llm/__init__.py +2 -1
  44. lightning_sdk/llm/asyncllm.py +48 -0
  45. lightning_sdk/services/license.py +78 -22
  46. lightning_sdk/services/utilities.py +15 -1
  47. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/METADATA +1 -1
  48. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/RECORD +52 -52
  49. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
  50. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +0 -201
  51. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
  52. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/LICENSE +0 -0
  53. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/WHEEL +0 -0
  54. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/entry_points.txt +0 -0
  55. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/top_level.txt +0 -0
@@ -43,45 +43,65 @@ class V1CreateCloudSpaceEnvironmentTemplateRequest(object):
43
43
  swagger_types = {
44
44
  'allowed_machines': 'list[str]',
45
45
  'default_machine': 'str',
46
+ 'description': 'str',
46
47
  'environment_type': 'V1CloudSpaceEnvironmentType',
48
+ 'icon': 'str',
49
+ 'initial_setup_script_text': 'str',
47
50
  'machine_image_version': 'str',
48
51
  'name': 'str',
49
52
  'org_id': 'str',
53
+ 'plugins': 'list[str]',
50
54
  'setup_script_text': 'str'
51
55
  }
52
56
 
53
57
  attribute_map = {
54
58
  'allowed_machines': 'allowedMachines',
55
59
  'default_machine': 'defaultMachine',
60
+ 'description': 'description',
56
61
  'environment_type': 'environmentType',
62
+ 'icon': 'icon',
63
+ 'initial_setup_script_text': 'initialSetupScriptText',
57
64
  'machine_image_version': 'machineImageVersion',
58
65
  'name': 'name',
59
66
  'org_id': 'orgId',
67
+ 'plugins': 'plugins',
60
68
  'setup_script_text': 'setupScriptText'
61
69
  }
62
70
 
63
- def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, machine_image_version: 'str' =None, name: 'str' =None, org_id: 'str' =None, setup_script_text: 'str' =None): # noqa: E501
71
+ def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, description: 'str' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, icon: 'str' =None, initial_setup_script_text: 'str' =None, machine_image_version: 'str' =None, name: 'str' =None, org_id: 'str' =None, plugins: 'list[str]' =None, setup_script_text: 'str' =None): # noqa: E501
64
72
  """V1CreateCloudSpaceEnvironmentTemplateRequest - a model defined in Swagger""" # noqa: E501
65
73
  self._allowed_machines = None
66
74
  self._default_machine = None
75
+ self._description = None
67
76
  self._environment_type = None
77
+ self._icon = None
78
+ self._initial_setup_script_text = None
68
79
  self._machine_image_version = None
69
80
  self._name = None
70
81
  self._org_id = None
82
+ self._plugins = None
71
83
  self._setup_script_text = None
72
84
  self.discriminator = None
73
85
  if allowed_machines is not None:
74
86
  self.allowed_machines = allowed_machines
75
87
  if default_machine is not None:
76
88
  self.default_machine = default_machine
89
+ if description is not None:
90
+ self.description = description
77
91
  if environment_type is not None:
78
92
  self.environment_type = environment_type
93
+ if icon is not None:
94
+ self.icon = icon
95
+ if initial_setup_script_text is not None:
96
+ self.initial_setup_script_text = initial_setup_script_text
79
97
  if machine_image_version is not None:
80
98
  self.machine_image_version = machine_image_version
81
99
  if name is not None:
82
100
  self.name = name
83
101
  if org_id is not None:
84
102
  self.org_id = org_id
103
+ if plugins is not None:
104
+ self.plugins = plugins
85
105
  if setup_script_text is not None:
86
106
  self.setup_script_text = setup_script_text
87
107
 
@@ -127,6 +147,27 @@ class V1CreateCloudSpaceEnvironmentTemplateRequest(object):
127
147
 
128
148
  self._default_machine = default_machine
129
149
 
150
+ @property
151
+ def description(self) -> 'str':
152
+ """Gets the description of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
153
+
154
+
155
+ :return: The description of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
156
+ :rtype: str
157
+ """
158
+ return self._description
159
+
160
+ @description.setter
161
+ def description(self, description: 'str'):
162
+ """Sets the description of this V1CreateCloudSpaceEnvironmentTemplateRequest.
163
+
164
+
165
+ :param description: The description of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
166
+ :type: str
167
+ """
168
+
169
+ self._description = description
170
+
130
171
  @property
131
172
  def environment_type(self) -> 'V1CloudSpaceEnvironmentType':
132
173
  """Gets the environment_type of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
@@ -148,6 +189,48 @@ class V1CreateCloudSpaceEnvironmentTemplateRequest(object):
148
189
 
149
190
  self._environment_type = environment_type
150
191
 
192
+ @property
193
+ def icon(self) -> 'str':
194
+ """Gets the icon of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
195
+
196
+
197
+ :return: The icon of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
198
+ :rtype: str
199
+ """
200
+ return self._icon
201
+
202
+ @icon.setter
203
+ def icon(self, icon: 'str'):
204
+ """Sets the icon of this V1CreateCloudSpaceEnvironmentTemplateRequest.
205
+
206
+
207
+ :param icon: The icon of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
208
+ :type: str
209
+ """
210
+
211
+ self._icon = icon
212
+
213
+ @property
214
+ def initial_setup_script_text(self) -> 'str':
215
+ """Gets the initial_setup_script_text of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
216
+
217
+
218
+ :return: The initial_setup_script_text of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
219
+ :rtype: str
220
+ """
221
+ return self._initial_setup_script_text
222
+
223
+ @initial_setup_script_text.setter
224
+ def initial_setup_script_text(self, initial_setup_script_text: 'str'):
225
+ """Sets the initial_setup_script_text of this V1CreateCloudSpaceEnvironmentTemplateRequest.
226
+
227
+
228
+ :param initial_setup_script_text: The initial_setup_script_text of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
229
+ :type: str
230
+ """
231
+
232
+ self._initial_setup_script_text = initial_setup_script_text
233
+
151
234
  @property
152
235
  def machine_image_version(self) -> 'str':
153
236
  """Gets the machine_image_version of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
@@ -211,6 +294,27 @@ class V1CreateCloudSpaceEnvironmentTemplateRequest(object):
211
294
 
212
295
  self._org_id = org_id
213
296
 
297
+ @property
298
+ def plugins(self) -> 'list[str]':
299
+ """Gets the plugins of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
300
+
301
+
302
+ :return: The plugins of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
303
+ :rtype: list[str]
304
+ """
305
+ return self._plugins
306
+
307
+ @plugins.setter
308
+ def plugins(self, plugins: 'list[str]'):
309
+ """Sets the plugins of this V1CreateCloudSpaceEnvironmentTemplateRequest.
310
+
311
+
312
+ :param plugins: The plugins of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
313
+ :type: list[str]
314
+ """
315
+
316
+ self._plugins = plugins
317
+
214
318
  @property
215
319
  def setup_script_text(self) -> 'str':
216
320
  """Gets the setup_script_text of this V1CreateCloudSpaceEnvironmentTemplateRequest. # noqa: E501
@@ -41,6 +41,9 @@ class V1CreateProjectRequest(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'allow_credits_auto_replenish': 'bool',
45
+ 'auto_replenish_amount': 'float',
46
+ 'auto_replenish_threshold': 'float',
44
47
  'default_machine_image_version': 'str',
45
48
  'default_machine_type': 'str',
46
49
  'description': 'str',
@@ -52,6 +55,9 @@ class V1CreateProjectRequest(object):
52
55
  }
53
56
 
54
57
  attribute_map = {
58
+ 'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
59
+ 'auto_replenish_amount': 'autoReplenishAmount',
60
+ 'auto_replenish_threshold': 'autoReplenishThreshold',
55
61
  'default_machine_image_version': 'defaultMachineImageVersion',
56
62
  'default_machine_type': 'defaultMachineType',
57
63
  'description': 'description',
@@ -62,8 +68,11 @@ class V1CreateProjectRequest(object):
62
68
  'quotas': 'quotas'
63
69
  }
64
70
 
65
- def __init__(self, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, organization_id: 'str' =None, preferred_cluster: 'str' =None, quotas: 'V1Quotas' =None): # noqa: E501
71
+ def __init__(self, allow_credits_auto_replenish: 'bool' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, organization_id: 'str' =None, preferred_cluster: 'str' =None, quotas: 'V1Quotas' =None): # noqa: E501
66
72
  """V1CreateProjectRequest - a model defined in Swagger""" # noqa: E501
73
+ self._allow_credits_auto_replenish = None
74
+ self._auto_replenish_amount = None
75
+ self._auto_replenish_threshold = None
67
76
  self._default_machine_image_version = None
68
77
  self._default_machine_type = None
69
78
  self._description = None
@@ -73,6 +82,12 @@ class V1CreateProjectRequest(object):
73
82
  self._preferred_cluster = None
74
83
  self._quotas = None
75
84
  self.discriminator = None
85
+ if allow_credits_auto_replenish is not None:
86
+ self.allow_credits_auto_replenish = allow_credits_auto_replenish
87
+ if auto_replenish_amount is not None:
88
+ self.auto_replenish_amount = auto_replenish_amount
89
+ if auto_replenish_threshold is not None:
90
+ self.auto_replenish_threshold = auto_replenish_threshold
76
91
  if default_machine_image_version is not None:
77
92
  self.default_machine_image_version = default_machine_image_version
78
93
  if default_machine_type is not None:
@@ -90,6 +105,69 @@ class V1CreateProjectRequest(object):
90
105
  if quotas is not None:
91
106
  self.quotas = quotas
92
107
 
108
+ @property
109
+ def allow_credits_auto_replenish(self) -> 'bool':
110
+ """Gets the allow_credits_auto_replenish of this V1CreateProjectRequest. # noqa: E501
111
+
112
+
113
+ :return: The allow_credits_auto_replenish of this V1CreateProjectRequest. # noqa: E501
114
+ :rtype: bool
115
+ """
116
+ return self._allow_credits_auto_replenish
117
+
118
+ @allow_credits_auto_replenish.setter
119
+ def allow_credits_auto_replenish(self, allow_credits_auto_replenish: 'bool'):
120
+ """Sets the allow_credits_auto_replenish of this V1CreateProjectRequest.
121
+
122
+
123
+ :param allow_credits_auto_replenish: The allow_credits_auto_replenish of this V1CreateProjectRequest. # noqa: E501
124
+ :type: bool
125
+ """
126
+
127
+ self._allow_credits_auto_replenish = allow_credits_auto_replenish
128
+
129
+ @property
130
+ def auto_replenish_amount(self) -> 'float':
131
+ """Gets the auto_replenish_amount of this V1CreateProjectRequest. # noqa: E501
132
+
133
+
134
+ :return: The auto_replenish_amount of this V1CreateProjectRequest. # noqa: E501
135
+ :rtype: float
136
+ """
137
+ return self._auto_replenish_amount
138
+
139
+ @auto_replenish_amount.setter
140
+ def auto_replenish_amount(self, auto_replenish_amount: 'float'):
141
+ """Sets the auto_replenish_amount of this V1CreateProjectRequest.
142
+
143
+
144
+ :param auto_replenish_amount: The auto_replenish_amount of this V1CreateProjectRequest. # noqa: E501
145
+ :type: float
146
+ """
147
+
148
+ self._auto_replenish_amount = auto_replenish_amount
149
+
150
+ @property
151
+ def auto_replenish_threshold(self) -> 'float':
152
+ """Gets the auto_replenish_threshold of this V1CreateProjectRequest. # noqa: E501
153
+
154
+
155
+ :return: The auto_replenish_threshold of this V1CreateProjectRequest. # noqa: E501
156
+ :rtype: float
157
+ """
158
+ return self._auto_replenish_threshold
159
+
160
+ @auto_replenish_threshold.setter
161
+ def auto_replenish_threshold(self, auto_replenish_threshold: 'float'):
162
+ """Sets the auto_replenish_threshold of this V1CreateProjectRequest.
163
+
164
+
165
+ :param auto_replenish_threshold: The auto_replenish_threshold of this V1CreateProjectRequest. # noqa: E501
166
+ :type: float
167
+ """
168
+
169
+ self._auto_replenish_threshold = auto_replenish_threshold
170
+
93
171
  @property
94
172
  def default_machine_image_version(self) -> 'str':
95
173
  """Gets the default_machine_image_version of this V1CreateProjectRequest. # noqa: E501
@@ -53,6 +53,7 @@ class V1DataConnection(object):
53
53
  'gcs_folder': 'V1GCSFolderDataConnection',
54
54
  'id': 'str',
55
55
  'index': 'V1Index',
56
+ 'is_billable_folder': 'bool',
56
57
  'is_cache': 'bool',
57
58
  'is_managed': 'bool',
58
59
  'lock_out': 'bool',
@@ -64,6 +65,8 @@ class V1DataConnection(object):
64
65
  's3_folder': 'V1S3FolderDataConnection',
65
66
  'snowflake': 'V1SnowflakeDataConnection',
66
67
  'state': 'V1DataConnectionState',
68
+ 'total_daily_read_bytes': 'str',
69
+ 'total_daily_write_bytes': 'str',
67
70
  'total_size_bytes': 'str',
68
71
  'type': 'str',
69
72
  'updated_at': 'datetime',
@@ -84,6 +87,7 @@ class V1DataConnection(object):
84
87
  'gcs_folder': 'gcsFolder',
85
88
  'id': 'id',
86
89
  'index': 'index',
90
+ 'is_billable_folder': 'isBillableFolder',
87
91
  'is_cache': 'isCache',
88
92
  'is_managed': 'isManaged',
89
93
  'lock_out': 'lockOut',
@@ -95,6 +99,8 @@ class V1DataConnection(object):
95
99
  's3_folder': 's3Folder',
96
100
  'snowflake': 'snowflake',
97
101
  'state': 'state',
102
+ 'total_daily_read_bytes': 'totalDailyReadBytes',
103
+ 'total_daily_write_bytes': 'totalDailyWriteBytes',
98
104
  'total_size_bytes': 'totalSizeBytes',
99
105
  'type': 'type',
100
106
  'updated_at': 'updatedAt',
@@ -102,7 +108,7 @@ class V1DataConnection(object):
102
108
  'writable': 'writable'
103
109
  }
104
110
 
105
- def __init__(self, access_cluster_ids: 'list[str]' =None, accessible: 'bool' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, efs: 'V1EfsConfig' =None, error: 'str' =None, filestore: 'V1FilestoreDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, index: 'V1Index' =None, is_cache: 'bool' =None, is_managed: 'bool' =None, lock_out: 'bool' =None, name: 'str' =None, number_of_files: 'str' =None, project_id: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, state: 'V1DataConnectionState' =None, total_size_bytes: 'str' =None, type: 'str' =None, updated_at: 'datetime' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
111
+ def __init__(self, access_cluster_ids: 'list[str]' =None, accessible: 'bool' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, efs: 'V1EfsConfig' =None, error: 'str' =None, filestore: 'V1FilestoreDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, index: 'V1Index' =None, is_billable_folder: 'bool' =None, is_cache: 'bool' =None, is_managed: 'bool' =None, lock_out: 'bool' =None, name: 'str' =None, number_of_files: 'str' =None, project_id: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, state: 'V1DataConnectionState' =None, total_daily_read_bytes: 'str' =None, total_daily_write_bytes: 'str' =None, total_size_bytes: 'str' =None, type: 'str' =None, updated_at: 'datetime' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
106
112
  """V1DataConnection - a model defined in Swagger""" # noqa: E501
107
113
  self._access_cluster_ids = None
108
114
  self._accessible = None
@@ -116,6 +122,7 @@ class V1DataConnection(object):
116
122
  self._gcs_folder = None
117
123
  self._id = None
118
124
  self._index = None
125
+ self._is_billable_folder = None
119
126
  self._is_cache = None
120
127
  self._is_managed = None
121
128
  self._lock_out = None
@@ -127,6 +134,8 @@ class V1DataConnection(object):
127
134
  self._s3_folder = None
128
135
  self._snowflake = None
129
136
  self._state = None
137
+ self._total_daily_read_bytes = None
138
+ self._total_daily_write_bytes = None
130
139
  self._total_size_bytes = None
131
140
  self._type = None
132
141
  self._updated_at = None
@@ -157,6 +166,8 @@ class V1DataConnection(object):
157
166
  self.id = id
158
167
  if index is not None:
159
168
  self.index = index
169
+ if is_billable_folder is not None:
170
+ self.is_billable_folder = is_billable_folder
160
171
  if is_cache is not None:
161
172
  self.is_cache = is_cache
162
173
  if is_managed is not None:
@@ -179,6 +190,10 @@ class V1DataConnection(object):
179
190
  self.snowflake = snowflake
180
191
  if state is not None:
181
192
  self.state = state
193
+ if total_daily_read_bytes is not None:
194
+ self.total_daily_read_bytes = total_daily_read_bytes
195
+ if total_daily_write_bytes is not None:
196
+ self.total_daily_write_bytes = total_daily_write_bytes
182
197
  if total_size_bytes is not None:
183
198
  self.total_size_bytes = total_size_bytes
184
199
  if type is not None:
@@ -442,6 +457,27 @@ class V1DataConnection(object):
442
457
 
443
458
  self._index = index
444
459
 
460
+ @property
461
+ def is_billable_folder(self) -> 'bool':
462
+ """Gets the is_billable_folder of this V1DataConnection. # noqa: E501
463
+
464
+
465
+ :return: The is_billable_folder of this V1DataConnection. # noqa: E501
466
+ :rtype: bool
467
+ """
468
+ return self._is_billable_folder
469
+
470
+ @is_billable_folder.setter
471
+ def is_billable_folder(self, is_billable_folder: 'bool'):
472
+ """Sets the is_billable_folder of this V1DataConnection.
473
+
474
+
475
+ :param is_billable_folder: The is_billable_folder of this V1DataConnection. # noqa: E501
476
+ :type: bool
477
+ """
478
+
479
+ self._is_billable_folder = is_billable_folder
480
+
445
481
  @property
446
482
  def is_cache(self) -> 'bool':
447
483
  """Gets the is_cache of this V1DataConnection. # noqa: E501
@@ -673,6 +709,48 @@ class V1DataConnection(object):
673
709
 
674
710
  self._state = state
675
711
 
712
+ @property
713
+ def total_daily_read_bytes(self) -> 'str':
714
+ """Gets the total_daily_read_bytes of this V1DataConnection. # noqa: E501
715
+
716
+
717
+ :return: The total_daily_read_bytes of this V1DataConnection. # noqa: E501
718
+ :rtype: str
719
+ """
720
+ return self._total_daily_read_bytes
721
+
722
+ @total_daily_read_bytes.setter
723
+ def total_daily_read_bytes(self, total_daily_read_bytes: 'str'):
724
+ """Sets the total_daily_read_bytes of this V1DataConnection.
725
+
726
+
727
+ :param total_daily_read_bytes: The total_daily_read_bytes of this V1DataConnection. # noqa: E501
728
+ :type: str
729
+ """
730
+
731
+ self._total_daily_read_bytes = total_daily_read_bytes
732
+
733
+ @property
734
+ def total_daily_write_bytes(self) -> 'str':
735
+ """Gets the total_daily_write_bytes of this V1DataConnection. # noqa: E501
736
+
737
+
738
+ :return: The total_daily_write_bytes of this V1DataConnection. # noqa: E501
739
+ :rtype: str
740
+ """
741
+ return self._total_daily_write_bytes
742
+
743
+ @total_daily_write_bytes.setter
744
+ def total_daily_write_bytes(self, total_daily_write_bytes: 'str'):
745
+ """Sets the total_daily_write_bytes of this V1DataConnection.
746
+
747
+
748
+ :param total_daily_write_bytes: The total_daily_write_bytes of this V1DataConnection. # noqa: E501
749
+ :type: str
750
+ """
751
+
752
+ self._total_daily_write_bytes = total_daily_write_bytes
753
+
676
754
  @property
677
755
  def total_size_bytes(self) -> 'str':
678
756
  """Gets the total_size_bytes of this V1DataConnection. # noqa: E501
@@ -47,6 +47,7 @@ class V1DeploymentAlertingPolicyType(object):
47
47
  STATUSCODES1XX = "StatusCodes1xx"
48
48
  THROUGHPUT = "Throughput"
49
49
  LATENCYQ95 = "LatencyQ95"
50
+ DEPLOYMENTSUSPENDED = "DeploymentSuspended"
50
51
  """
51
52
  Attributes:
52
53
  swagger_types (dict): The key is attribute name
@@ -43,6 +43,7 @@ class V1GetOrganizationStorageMetadataResponse(object):
43
43
  swagger_types = {
44
44
  'account_limit_bytes': 'str',
45
45
  'estimated_daily_cost': 'float',
46
+ 'estimated_daily_efs_cost': 'float',
46
47
  'id': 'str',
47
48
  'project_metadata': 'list[V1ProjectStorage]',
48
49
  'total_billable_bytes': 'str',
@@ -50,7 +51,9 @@ class V1GetOrganizationStorageMetadataResponse(object):
50
51
  'total_container_registry_storage_bytes': 'str',
51
52
  'total_data_connection_storage_bytes': 'str',
52
53
  'total_folder_storage_bytes': 'str',
54
+ 'total_free_storage_bytes': 'str',
53
55
  'total_job_storage_bytes': 'str',
56
+ 'total_model_storage_bytes': 'str',
54
57
  'total_storage_bytes': 'str',
55
58
  'total_upload_storage_bytes': 'str'
56
59
  }
@@ -58,6 +61,7 @@ class V1GetOrganizationStorageMetadataResponse(object):
58
61
  attribute_map = {
59
62
  'account_limit_bytes': 'accountLimitBytes',
60
63
  'estimated_daily_cost': 'estimatedDailyCost',
64
+ 'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
61
65
  'id': 'id',
62
66
  'project_metadata': 'projectMetadata',
63
67
  'total_billable_bytes': 'totalBillableBytes',
@@ -65,15 +69,18 @@ class V1GetOrganizationStorageMetadataResponse(object):
65
69
  'total_container_registry_storage_bytes': 'totalContainerRegistryStorageBytes',
66
70
  'total_data_connection_storage_bytes': 'totalDataConnectionStorageBytes',
67
71
  'total_folder_storage_bytes': 'totalFolderStorageBytes',
72
+ 'total_free_storage_bytes': 'totalFreeStorageBytes',
68
73
  'total_job_storage_bytes': 'totalJobStorageBytes',
74
+ 'total_model_storage_bytes': 'totalModelStorageBytes',
69
75
  'total_storage_bytes': 'totalStorageBytes',
70
76
  'total_upload_storage_bytes': 'totalUploadStorageBytes'
71
77
  }
72
78
 
73
- def __init__(self, account_limit_bytes: 'str' =None, estimated_daily_cost: 'float' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_container_registry_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_folder_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
79
+ def __init__(self, account_limit_bytes: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_container_registry_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_folder_storage_bytes: 'str' =None, total_free_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
74
80
  """V1GetOrganizationStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
75
81
  self._account_limit_bytes = None
76
82
  self._estimated_daily_cost = None
83
+ self._estimated_daily_efs_cost = None
77
84
  self._id = None
78
85
  self._project_metadata = None
79
86
  self._total_billable_bytes = None
@@ -81,7 +88,9 @@ class V1GetOrganizationStorageMetadataResponse(object):
81
88
  self._total_container_registry_storage_bytes = None
82
89
  self._total_data_connection_storage_bytes = None
83
90
  self._total_folder_storage_bytes = None
91
+ self._total_free_storage_bytes = None
84
92
  self._total_job_storage_bytes = None
93
+ self._total_model_storage_bytes = None
85
94
  self._total_storage_bytes = None
86
95
  self._total_upload_storage_bytes = None
87
96
  self.discriminator = None
@@ -89,6 +98,8 @@ class V1GetOrganizationStorageMetadataResponse(object):
89
98
  self.account_limit_bytes = account_limit_bytes
90
99
  if estimated_daily_cost is not None:
91
100
  self.estimated_daily_cost = estimated_daily_cost
101
+ if estimated_daily_efs_cost is not None:
102
+ self.estimated_daily_efs_cost = estimated_daily_efs_cost
92
103
  if id is not None:
93
104
  self.id = id
94
105
  if project_metadata is not None:
@@ -103,8 +114,12 @@ class V1GetOrganizationStorageMetadataResponse(object):
103
114
  self.total_data_connection_storage_bytes = total_data_connection_storage_bytes
104
115
  if total_folder_storage_bytes is not None:
105
116
  self.total_folder_storage_bytes = total_folder_storage_bytes
117
+ if total_free_storage_bytes is not None:
118
+ self.total_free_storage_bytes = total_free_storage_bytes
106
119
  if total_job_storage_bytes is not None:
107
120
  self.total_job_storage_bytes = total_job_storage_bytes
121
+ if total_model_storage_bytes is not None:
122
+ self.total_model_storage_bytes = total_model_storage_bytes
108
123
  if total_storage_bytes is not None:
109
124
  self.total_storage_bytes = total_storage_bytes
110
125
  if total_upload_storage_bytes is not None:
@@ -152,6 +167,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
152
167
 
153
168
  self._estimated_daily_cost = estimated_daily_cost
154
169
 
170
+ @property
171
+ def estimated_daily_efs_cost(self) -> 'float':
172
+ """Gets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
173
+
174
+
175
+ :return: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
176
+ :rtype: float
177
+ """
178
+ return self._estimated_daily_efs_cost
179
+
180
+ @estimated_daily_efs_cost.setter
181
+ def estimated_daily_efs_cost(self, estimated_daily_efs_cost: 'float'):
182
+ """Sets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse.
183
+
184
+
185
+ :param estimated_daily_efs_cost: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
186
+ :type: float
187
+ """
188
+
189
+ self._estimated_daily_efs_cost = estimated_daily_efs_cost
190
+
155
191
  @property
156
192
  def id(self) -> 'str':
157
193
  """Gets the id of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
@@ -299,6 +335,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
299
335
 
300
336
  self._total_folder_storage_bytes = total_folder_storage_bytes
301
337
 
338
+ @property
339
+ def total_free_storage_bytes(self) -> 'str':
340
+ """Gets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
341
+
342
+
343
+ :return: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
344
+ :rtype: str
345
+ """
346
+ return self._total_free_storage_bytes
347
+
348
+ @total_free_storage_bytes.setter
349
+ def total_free_storage_bytes(self, total_free_storage_bytes: 'str'):
350
+ """Sets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
351
+
352
+
353
+ :param total_free_storage_bytes: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
354
+ :type: str
355
+ """
356
+
357
+ self._total_free_storage_bytes = total_free_storage_bytes
358
+
302
359
  @property
303
360
  def total_job_storage_bytes(self) -> 'str':
304
361
  """Gets the total_job_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
@@ -320,6 +377,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
320
377
 
321
378
  self._total_job_storage_bytes = total_job_storage_bytes
322
379
 
380
+ @property
381
+ def total_model_storage_bytes(self) -> 'str':
382
+ """Gets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
383
+
384
+
385
+ :return: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
386
+ :rtype: str
387
+ """
388
+ return self._total_model_storage_bytes
389
+
390
+ @total_model_storage_bytes.setter
391
+ def total_model_storage_bytes(self, total_model_storage_bytes: 'str'):
392
+ """Sets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
393
+
394
+
395
+ :param total_model_storage_bytes: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
396
+ :type: str
397
+ """
398
+
399
+ self._total_model_storage_bytes = total_model_storage_bytes
400
+
323
401
  @property
324
402
  def total_storage_bytes(self) -> 'str':
325
403
  """Gets the total_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501