lightning-sdk 0.2.5__py3-none-any.whl → 0.2.6__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 (40) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/cli/serve.py +29 -9
  3. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
  4. lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +9 -9
  5. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +105 -0
  6. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +15 -3
  7. lightning_sdk/lightning_cloud/openapi/models/__init__.py +8 -0
  8. lightning_sdk/lightning_cloud/openapi/models/environmenttemplates_id_body.py +27 -1
  9. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +27 -1
  10. lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +27 -1
  11. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
  12. lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +175 -0
  13. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  14. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +123 -0
  15. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +131 -1
  17. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
  19. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +27 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +55 -3
  21. lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +1 -29
  22. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
  25. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  26. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert.py +175 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +105 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +79 -79
  31. lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +29 -29
  32. lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +1 -27
  33. lightning_sdk/lightning_cloud/rest_client.py +44 -42
  34. lightning_sdk/serve.py +5 -3
  35. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/METADATA +1 -1
  36. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/RECORD +40 -32
  37. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/LICENSE +0 -0
  38. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/WHEEL +0 -0
  39. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/entry_points.txt +0 -0
  40. {lightning_sdk-0.2.5.dist-info → lightning_sdk-0.2.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,105 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1ServerAlertType(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ """
38
+ allowed enum values
39
+ """
40
+ INTERNAL = "SERVER_ALERT_TYPE_INTERNAL"
41
+ APT_RESTORE = "SERVER_ALERT_TYPE_APT_RESTORE"
42
+ CONDA_RESTORE = "SERVER_ALERT_TYPE_CONDA_RESTORE"
43
+ SETTINGS_RESTORE = "SERVER_ALERT_TYPE_SETTINGS_RESTORE"
44
+ """
45
+ Attributes:
46
+ swagger_types (dict): The key is attribute name
47
+ and the value is attribute type.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ """
51
+ swagger_types = {
52
+ }
53
+
54
+ attribute_map = {
55
+ }
56
+
57
+ def __init__(self): # noqa: E501
58
+ """V1ServerAlertType - a model defined in Swagger""" # noqa: E501
59
+ self.discriminator = None
60
+
61
+ def to_dict(self) -> dict:
62
+ """Returns the model properties as a dict"""
63
+ result = {}
64
+
65
+ for attr, _ in six.iteritems(self.swagger_types):
66
+ value = getattr(self, attr)
67
+ if isinstance(value, list):
68
+ result[attr] = list(map(
69
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
70
+ value
71
+ ))
72
+ elif hasattr(value, "to_dict"):
73
+ result[attr] = value.to_dict()
74
+ elif isinstance(value, dict):
75
+ result[attr] = dict(map(
76
+ lambda item: (item[0], item[1].to_dict())
77
+ if hasattr(item[1], "to_dict") else item,
78
+ value.items()
79
+ ))
80
+ else:
81
+ result[attr] = value
82
+ if issubclass(V1ServerAlertType, dict):
83
+ for key, value in self.items():
84
+ result[key] = value
85
+
86
+ return result
87
+
88
+ def to_str(self) -> str:
89
+ """Returns the string representation of the model"""
90
+ return pprint.pformat(self.to_dict())
91
+
92
+ def __repr__(self) -> str:
93
+ """For `print` and `pprint`"""
94
+ return self.to_str()
95
+
96
+ def __eq__(self, other: 'V1ServerAlertType') -> bool:
97
+ """Returns true if both objects are equal"""
98
+ if not isinstance(other, V1ServerAlertType):
99
+ return False
100
+
101
+ return self.__dict__ == other.__dict__
102
+
103
+ def __ne__(self, other: 'V1ServerAlertType') -> bool:
104
+ """Returns true if both objects are not equal"""
105
+ return not self == other
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1SubnetSpec(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_types (dict): The key is attribute name
39
+ and the value is attribute type.
40
+ attribute_map (dict): The key is attribute name
41
+ and the value is json key in definition.
42
+ """
43
+ swagger_types = {
44
+ 'cidr_range': 'str',
45
+ 'region': 'str'
46
+ }
47
+
48
+ attribute_map = {
49
+ 'cidr_range': 'cidrRange',
50
+ 'region': 'region'
51
+ }
52
+
53
+ def __init__(self, cidr_range: 'str' =None, region: 'str' =None): # noqa: E501
54
+ """V1SubnetSpec - a model defined in Swagger""" # noqa: E501
55
+ self._cidr_range = None
56
+ self._region = None
57
+ self.discriminator = None
58
+ if cidr_range is not None:
59
+ self.cidr_range = cidr_range
60
+ if region is not None:
61
+ self.region = region
62
+
63
+ @property
64
+ def cidr_range(self) -> 'str':
65
+ """Gets the cidr_range of this V1SubnetSpec. # noqa: E501
66
+
67
+
68
+ :return: The cidr_range of this V1SubnetSpec. # noqa: E501
69
+ :rtype: str
70
+ """
71
+ return self._cidr_range
72
+
73
+ @cidr_range.setter
74
+ def cidr_range(self, cidr_range: 'str'):
75
+ """Sets the cidr_range of this V1SubnetSpec.
76
+
77
+
78
+ :param cidr_range: The cidr_range of this V1SubnetSpec. # noqa: E501
79
+ :type: str
80
+ """
81
+
82
+ self._cidr_range = cidr_range
83
+
84
+ @property
85
+ def region(self) -> 'str':
86
+ """Gets the region of this V1SubnetSpec. # noqa: E501
87
+
88
+
89
+ :return: The region of this V1SubnetSpec. # noqa: E501
90
+ :rtype: str
91
+ """
92
+ return self._region
93
+
94
+ @region.setter
95
+ def region(self, region: 'str'):
96
+ """Sets the region of this V1SubnetSpec.
97
+
98
+
99
+ :param region: The region of this V1SubnetSpec. # noqa: E501
100
+ :type: str
101
+ """
102
+
103
+ self._region = region
104
+
105
+ def to_dict(self) -> dict:
106
+ """Returns the model properties as a dict"""
107
+ result = {}
108
+
109
+ for attr, _ in six.iteritems(self.swagger_types):
110
+ value = getattr(self, attr)
111
+ if isinstance(value, list):
112
+ result[attr] = list(map(
113
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
114
+ value
115
+ ))
116
+ elif hasattr(value, "to_dict"):
117
+ result[attr] = value.to_dict()
118
+ elif isinstance(value, dict):
119
+ result[attr] = dict(map(
120
+ lambda item: (item[0], item[1].to_dict())
121
+ if hasattr(item[1], "to_dict") else item,
122
+ value.items()
123
+ ))
124
+ else:
125
+ result[attr] = value
126
+ if issubclass(V1SubnetSpec, dict):
127
+ for key, value in self.items():
128
+ result[key] = value
129
+
130
+ return result
131
+
132
+ def to_str(self) -> str:
133
+ """Returns the string representation of the model"""
134
+ return pprint.pformat(self.to_dict())
135
+
136
+ def __repr__(self) -> str:
137
+ """For `print` and `pprint`"""
138
+ return self.to_str()
139
+
140
+ def __eq__(self, other: 'V1SubnetSpec') -> bool:
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, V1SubnetSpec):
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other: 'V1SubnetSpec') -> bool:
148
+ """Returns true if both objects are not equal"""
149
+ return not self == other
@@ -73,9 +73,9 @@ class V1UserFeatures(object):
73
73
  'fair_share': 'bool',
74
74
  'featured_studios_admin': 'bool',
75
75
  'filestore': 'bool',
76
+ 'inactive_notify_delete': 'bool',
76
77
  'instant_capacity_reservation': 'bool',
77
78
  'job_artifacts_v2': 'bool',
78
- 'jobs_v2': 'bool',
79
79
  'lambda_labs': 'bool',
80
80
  'landing_studios': 'bool',
81
81
  'lit_logger': 'bool',
@@ -84,10 +84,10 @@ class V1UserFeatures(object):
84
84
  'mmt_strategy_selector': 'bool',
85
85
  'multicloud_saas': 'bool',
86
86
  'multiple_studio_versions': 'bool',
87
+ 'org_admin_alerts': 'bool',
87
88
  'org_level_member_permissions': 'bool',
88
89
  'pipelines': 'bool',
89
90
  'plugin_distributed': 'bool',
90
- 'plugin_fiftyone': 'bool',
91
91
  'plugin_inference': 'bool',
92
92
  'plugin_label_studio': 'bool',
93
93
  'plugin_langflow': 'bool',
@@ -109,11 +109,11 @@ class V1UserFeatures(object):
109
109
  'show_dev_admin': 'bool',
110
110
  'slurm': 'bool',
111
111
  'slurm_machine_selector': 'bool',
112
- 'snapshotter_service': 'bool',
113
112
  'stop_ide_container_on_shutdown': 'bool',
114
113
  'studio_config': 'bool',
115
114
  'studio_on_stop': 'bool',
116
115
  'studio_version_visibility': 'bool',
116
+ 'studios_dashboard': 'bool',
117
117
  'teamspace_storage_tab': 'bool',
118
118
  'trainium2': 'bool',
119
119
  'use_rclone_mounts_only': 'bool',
@@ -153,9 +153,9 @@ class V1UserFeatures(object):
153
153
  'fair_share': 'fairShare',
154
154
  'featured_studios_admin': 'featuredStudiosAdmin',
155
155
  'filestore': 'filestore',
156
+ 'inactive_notify_delete': 'inactiveNotifyDelete',
156
157
  'instant_capacity_reservation': 'instantCapacityReservation',
157
158
  'job_artifacts_v2': 'jobArtifactsV2',
158
- 'jobs_v2': 'jobsV2',
159
159
  'lambda_labs': 'lambdaLabs',
160
160
  'landing_studios': 'landingStudios',
161
161
  'lit_logger': 'litLogger',
@@ -164,10 +164,10 @@ class V1UserFeatures(object):
164
164
  'mmt_strategy_selector': 'mmtStrategySelector',
165
165
  'multicloud_saas': 'multicloudSaas',
166
166
  'multiple_studio_versions': 'multipleStudioVersions',
167
+ 'org_admin_alerts': 'orgAdminAlerts',
167
168
  'org_level_member_permissions': 'orgLevelMemberPermissions',
168
169
  'pipelines': 'pipelines',
169
170
  'plugin_distributed': 'pluginDistributed',
170
- 'plugin_fiftyone': 'pluginFiftyone',
171
171
  'plugin_inference': 'pluginInference',
172
172
  'plugin_label_studio': 'pluginLabelStudio',
173
173
  'plugin_langflow': 'pluginLangflow',
@@ -189,18 +189,18 @@ class V1UserFeatures(object):
189
189
  'show_dev_admin': 'showDevAdmin',
190
190
  'slurm': 'slurm',
191
191
  'slurm_machine_selector': 'slurmMachineSelector',
192
- 'snapshotter_service': 'snapshotterService',
193
192
  'stop_ide_container_on_shutdown': 'stopIdeContainerOnShutdown',
194
193
  'studio_config': 'studioConfig',
195
194
  'studio_on_stop': 'studioOnStop',
196
195
  'studio_version_visibility': 'studioVersionVisibility',
196
+ 'studios_dashboard': 'studiosDashboard',
197
197
  'teamspace_storage_tab': 'teamspaceStorageTab',
198
198
  'trainium2': 'trainium2',
199
199
  'use_rclone_mounts_only': 'useRcloneMountsOnly',
200
200
  'vultr': 'vultr'
201
201
  }
202
202
 
203
- def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, b2c_experience: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_reservations: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, jobs_v2: 'bool' =None, lambda_labs: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, org_level_member_permissions: 'bool' =None, pipelines: 'bool' =None, plugin_distributed: 'bool' =None, plugin_fiftyone: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, snapshotter_service: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, studio_version_visibility: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, use_rclone_mounts_only: 'bool' =None, vultr: 'bool' =None): # noqa: E501
203
+ def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, b2c_experience: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_reservations: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, inactive_notify_delete: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, org_admin_alerts: 'bool' =None, org_level_member_permissions: 'bool' =None, pipelines: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, use_rclone_mounts_only: 'bool' =None, vultr: 'bool' =None): # noqa: E501
204
204
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
205
205
  self._affiliate_links = None
206
206
  self._agents_v2 = None
@@ -234,9 +234,9 @@ class V1UserFeatures(object):
234
234
  self._fair_share = None
235
235
  self._featured_studios_admin = None
236
236
  self._filestore = None
237
+ self._inactive_notify_delete = None
237
238
  self._instant_capacity_reservation = None
238
239
  self._job_artifacts_v2 = None
239
- self._jobs_v2 = None
240
240
  self._lambda_labs = None
241
241
  self._landing_studios = None
242
242
  self._lit_logger = None
@@ -245,10 +245,10 @@ class V1UserFeatures(object):
245
245
  self._mmt_strategy_selector = None
246
246
  self._multicloud_saas = None
247
247
  self._multiple_studio_versions = None
248
+ self._org_admin_alerts = None
248
249
  self._org_level_member_permissions = None
249
250
  self._pipelines = None
250
251
  self._plugin_distributed = None
251
- self._plugin_fiftyone = None
252
252
  self._plugin_inference = None
253
253
  self._plugin_label_studio = None
254
254
  self._plugin_langflow = None
@@ -270,11 +270,11 @@ class V1UserFeatures(object):
270
270
  self._show_dev_admin = None
271
271
  self._slurm = None
272
272
  self._slurm_machine_selector = None
273
- self._snapshotter_service = None
274
273
  self._stop_ide_container_on_shutdown = None
275
274
  self._studio_config = None
276
275
  self._studio_on_stop = None
277
276
  self._studio_version_visibility = None
277
+ self._studios_dashboard = None
278
278
  self._teamspace_storage_tab = None
279
279
  self._trainium2 = None
280
280
  self._use_rclone_mounts_only = None
@@ -344,12 +344,12 @@ class V1UserFeatures(object):
344
344
  self.featured_studios_admin = featured_studios_admin
345
345
  if filestore is not None:
346
346
  self.filestore = filestore
347
+ if inactive_notify_delete is not None:
348
+ self.inactive_notify_delete = inactive_notify_delete
347
349
  if instant_capacity_reservation is not None:
348
350
  self.instant_capacity_reservation = instant_capacity_reservation
349
351
  if job_artifacts_v2 is not None:
350
352
  self.job_artifacts_v2 = job_artifacts_v2
351
- if jobs_v2 is not None:
352
- self.jobs_v2 = jobs_v2
353
353
  if lambda_labs is not None:
354
354
  self.lambda_labs = lambda_labs
355
355
  if landing_studios is not None:
@@ -366,14 +366,14 @@ class V1UserFeatures(object):
366
366
  self.multicloud_saas = multicloud_saas
367
367
  if multiple_studio_versions is not None:
368
368
  self.multiple_studio_versions = multiple_studio_versions
369
+ if org_admin_alerts is not None:
370
+ self.org_admin_alerts = org_admin_alerts
369
371
  if org_level_member_permissions is not None:
370
372
  self.org_level_member_permissions = org_level_member_permissions
371
373
  if pipelines is not None:
372
374
  self.pipelines = pipelines
373
375
  if plugin_distributed is not None:
374
376
  self.plugin_distributed = plugin_distributed
375
- if plugin_fiftyone is not None:
376
- self.plugin_fiftyone = plugin_fiftyone
377
377
  if plugin_inference is not None:
378
378
  self.plugin_inference = plugin_inference
379
379
  if plugin_label_studio is not None:
@@ -416,8 +416,6 @@ class V1UserFeatures(object):
416
416
  self.slurm = slurm
417
417
  if slurm_machine_selector is not None:
418
418
  self.slurm_machine_selector = slurm_machine_selector
419
- if snapshotter_service is not None:
420
- self.snapshotter_service = snapshotter_service
421
419
  if stop_ide_container_on_shutdown is not None:
422
420
  self.stop_ide_container_on_shutdown = stop_ide_container_on_shutdown
423
421
  if studio_config is not None:
@@ -426,6 +424,8 @@ class V1UserFeatures(object):
426
424
  self.studio_on_stop = studio_on_stop
427
425
  if studio_version_visibility is not None:
428
426
  self.studio_version_visibility = studio_version_visibility
427
+ if studios_dashboard is not None:
428
+ self.studios_dashboard = studios_dashboard
429
429
  if teamspace_storage_tab is not None:
430
430
  self.teamspace_storage_tab = teamspace_storage_tab
431
431
  if trainium2 is not None:
@@ -1107,6 +1107,27 @@ class V1UserFeatures(object):
1107
1107
 
1108
1108
  self._filestore = filestore
1109
1109
 
1110
+ @property
1111
+ def inactive_notify_delete(self) -> 'bool':
1112
+ """Gets the inactive_notify_delete of this V1UserFeatures. # noqa: E501
1113
+
1114
+
1115
+ :return: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1116
+ :rtype: bool
1117
+ """
1118
+ return self._inactive_notify_delete
1119
+
1120
+ @inactive_notify_delete.setter
1121
+ def inactive_notify_delete(self, inactive_notify_delete: 'bool'):
1122
+ """Sets the inactive_notify_delete of this V1UserFeatures.
1123
+
1124
+
1125
+ :param inactive_notify_delete: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1126
+ :type: bool
1127
+ """
1128
+
1129
+ self._inactive_notify_delete = inactive_notify_delete
1130
+
1110
1131
  @property
1111
1132
  def instant_capacity_reservation(self) -> 'bool':
1112
1133
  """Gets the instant_capacity_reservation of this V1UserFeatures. # noqa: E501
@@ -1149,27 +1170,6 @@ class V1UserFeatures(object):
1149
1170
 
1150
1171
  self._job_artifacts_v2 = job_artifacts_v2
1151
1172
 
1152
- @property
1153
- def jobs_v2(self) -> 'bool':
1154
- """Gets the jobs_v2 of this V1UserFeatures. # noqa: E501
1155
-
1156
-
1157
- :return: The jobs_v2 of this V1UserFeatures. # noqa: E501
1158
- :rtype: bool
1159
- """
1160
- return self._jobs_v2
1161
-
1162
- @jobs_v2.setter
1163
- def jobs_v2(self, jobs_v2: 'bool'):
1164
- """Sets the jobs_v2 of this V1UserFeatures.
1165
-
1166
-
1167
- :param jobs_v2: The jobs_v2 of this V1UserFeatures. # noqa: E501
1168
- :type: bool
1169
- """
1170
-
1171
- self._jobs_v2 = jobs_v2
1172
-
1173
1173
  @property
1174
1174
  def lambda_labs(self) -> 'bool':
1175
1175
  """Gets the lambda_labs of this V1UserFeatures. # noqa: E501
@@ -1338,6 +1338,27 @@ class V1UserFeatures(object):
1338
1338
 
1339
1339
  self._multiple_studio_versions = multiple_studio_versions
1340
1340
 
1341
+ @property
1342
+ def org_admin_alerts(self) -> 'bool':
1343
+ """Gets the org_admin_alerts of this V1UserFeatures. # noqa: E501
1344
+
1345
+
1346
+ :return: The org_admin_alerts of this V1UserFeatures. # noqa: E501
1347
+ :rtype: bool
1348
+ """
1349
+ return self._org_admin_alerts
1350
+
1351
+ @org_admin_alerts.setter
1352
+ def org_admin_alerts(self, org_admin_alerts: 'bool'):
1353
+ """Sets the org_admin_alerts of this V1UserFeatures.
1354
+
1355
+
1356
+ :param org_admin_alerts: The org_admin_alerts of this V1UserFeatures. # noqa: E501
1357
+ :type: bool
1358
+ """
1359
+
1360
+ self._org_admin_alerts = org_admin_alerts
1361
+
1341
1362
  @property
1342
1363
  def org_level_member_permissions(self) -> 'bool':
1343
1364
  """Gets the org_level_member_permissions of this V1UserFeatures. # noqa: E501
@@ -1401,27 +1422,6 @@ class V1UserFeatures(object):
1401
1422
 
1402
1423
  self._plugin_distributed = plugin_distributed
1403
1424
 
1404
- @property
1405
- def plugin_fiftyone(self) -> 'bool':
1406
- """Gets the plugin_fiftyone of this V1UserFeatures. # noqa: E501
1407
-
1408
-
1409
- :return: The plugin_fiftyone of this V1UserFeatures. # noqa: E501
1410
- :rtype: bool
1411
- """
1412
- return self._plugin_fiftyone
1413
-
1414
- @plugin_fiftyone.setter
1415
- def plugin_fiftyone(self, plugin_fiftyone: 'bool'):
1416
- """Sets the plugin_fiftyone of this V1UserFeatures.
1417
-
1418
-
1419
- :param plugin_fiftyone: The plugin_fiftyone of this V1UserFeatures. # noqa: E501
1420
- :type: bool
1421
- """
1422
-
1423
- self._plugin_fiftyone = plugin_fiftyone
1424
-
1425
1425
  @property
1426
1426
  def plugin_inference(self) -> 'bool':
1427
1427
  """Gets the plugin_inference of this V1UserFeatures. # noqa: E501
@@ -1863,27 +1863,6 @@ class V1UserFeatures(object):
1863
1863
 
1864
1864
  self._slurm_machine_selector = slurm_machine_selector
1865
1865
 
1866
- @property
1867
- def snapshotter_service(self) -> 'bool':
1868
- """Gets the snapshotter_service of this V1UserFeatures. # noqa: E501
1869
-
1870
-
1871
- :return: The snapshotter_service of this V1UserFeatures. # noqa: E501
1872
- :rtype: bool
1873
- """
1874
- return self._snapshotter_service
1875
-
1876
- @snapshotter_service.setter
1877
- def snapshotter_service(self, snapshotter_service: 'bool'):
1878
- """Sets the snapshotter_service of this V1UserFeatures.
1879
-
1880
-
1881
- :param snapshotter_service: The snapshotter_service of this V1UserFeatures. # noqa: E501
1882
- :type: bool
1883
- """
1884
-
1885
- self._snapshotter_service = snapshotter_service
1886
-
1887
1866
  @property
1888
1867
  def stop_ide_container_on_shutdown(self) -> 'bool':
1889
1868
  """Gets the stop_ide_container_on_shutdown of this V1UserFeatures. # noqa: E501
@@ -1968,6 +1947,27 @@ class V1UserFeatures(object):
1968
1947
 
1969
1948
  self._studio_version_visibility = studio_version_visibility
1970
1949
 
1950
+ @property
1951
+ def studios_dashboard(self) -> 'bool':
1952
+ """Gets the studios_dashboard of this V1UserFeatures. # noqa: E501
1953
+
1954
+
1955
+ :return: The studios_dashboard of this V1UserFeatures. # noqa: E501
1956
+ :rtype: bool
1957
+ """
1958
+ return self._studios_dashboard
1959
+
1960
+ @studios_dashboard.setter
1961
+ def studios_dashboard(self, studios_dashboard: 'bool'):
1962
+ """Sets the studios_dashboard of this V1UserFeatures.
1963
+
1964
+
1965
+ :param studios_dashboard: The studios_dashboard of this V1UserFeatures. # noqa: E501
1966
+ :type: bool
1967
+ """
1968
+
1969
+ self._studios_dashboard = studios_dashboard
1970
+
1971
1971
  @property
1972
1972
  def teamspace_storage_tab(self) -> 'bool':
1973
1973
  """Gets the teamspace_storage_tab of this V1UserFeatures. # noqa: E501
@@ -42,33 +42,33 @@ class V1VoltageParkDirectV1(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'credentials_secret_id': 'str',
45
- 'parent_cluster_id': 'str',
46
45
  'primary_region': 'str',
47
- 'regions': 'list[str]'
46
+ 'regions': 'list[str]',
47
+ 'reserved_instance_ids': 'list[str]'
48
48
  }
49
49
 
50
50
  attribute_map = {
51
51
  'credentials_secret_id': 'credentialsSecretId',
52
- 'parent_cluster_id': 'parentClusterId',
53
52
  'primary_region': 'primaryRegion',
54
- 'regions': 'regions'
53
+ 'regions': 'regions',
54
+ 'reserved_instance_ids': 'reservedInstanceIds'
55
55
  }
56
56
 
57
- def __init__(self, credentials_secret_id: 'str' =None, parent_cluster_id: 'str' =None, primary_region: 'str' =None, regions: 'list[str]' =None): # noqa: E501
57
+ def __init__(self, credentials_secret_id: 'str' =None, primary_region: 'str' =None, regions: 'list[str]' =None, reserved_instance_ids: 'list[str]' =None): # noqa: E501
58
58
  """V1VoltageParkDirectV1 - a model defined in Swagger""" # noqa: E501
59
59
  self._credentials_secret_id = None
60
- self._parent_cluster_id = None
61
60
  self._primary_region = None
62
61
  self._regions = None
62
+ self._reserved_instance_ids = None
63
63
  self.discriminator = None
64
64
  if credentials_secret_id is not None:
65
65
  self.credentials_secret_id = credentials_secret_id
66
- if parent_cluster_id is not None:
67
- self.parent_cluster_id = parent_cluster_id
68
66
  if primary_region is not None:
69
67
  self.primary_region = primary_region
70
68
  if regions is not None:
71
69
  self.regions = regions
70
+ if reserved_instance_ids is not None:
71
+ self.reserved_instance_ids = reserved_instance_ids
72
72
 
73
73
  @property
74
74
  def credentials_secret_id(self) -> 'str':
@@ -93,27 +93,6 @@ class V1VoltageParkDirectV1(object):
93
93
 
94
94
  self._credentials_secret_id = credentials_secret_id
95
95
 
96
- @property
97
- def parent_cluster_id(self) -> 'str':
98
- """Gets the parent_cluster_id of this V1VoltageParkDirectV1. # noqa: E501
99
-
100
-
101
- :return: The parent_cluster_id of this V1VoltageParkDirectV1. # noqa: E501
102
- :rtype: str
103
- """
104
- return self._parent_cluster_id
105
-
106
- @parent_cluster_id.setter
107
- def parent_cluster_id(self, parent_cluster_id: 'str'):
108
- """Sets the parent_cluster_id of this V1VoltageParkDirectV1.
109
-
110
-
111
- :param parent_cluster_id: The parent_cluster_id of this V1VoltageParkDirectV1. # noqa: E501
112
- :type: str
113
- """
114
-
115
- self._parent_cluster_id = parent_cluster_id
116
-
117
96
  @property
118
97
  def primary_region(self) -> 'str':
119
98
  """Gets the primary_region of this V1VoltageParkDirectV1. # noqa: E501
@@ -156,6 +135,27 @@ class V1VoltageParkDirectV1(object):
156
135
 
157
136
  self._regions = regions
158
137
 
138
+ @property
139
+ def reserved_instance_ids(self) -> 'list[str]':
140
+ """Gets the reserved_instance_ids of this V1VoltageParkDirectV1. # noqa: E501
141
+
142
+
143
+ :return: The reserved_instance_ids of this V1VoltageParkDirectV1. # noqa: E501
144
+ :rtype: list[str]
145
+ """
146
+ return self._reserved_instance_ids
147
+
148
+ @reserved_instance_ids.setter
149
+ def reserved_instance_ids(self, reserved_instance_ids: 'list[str]'):
150
+ """Sets the reserved_instance_ids of this V1VoltageParkDirectV1.
151
+
152
+
153
+ :param reserved_instance_ids: The reserved_instance_ids of this V1VoltageParkDirectV1. # noqa: E501
154
+ :type: list[str]
155
+ """
156
+
157
+ self._reserved_instance_ids = reserved_instance_ids
158
+
159
159
  def to_dict(self) -> dict:
160
160
  """Returns the model properties as a dict"""
161
161
  result = {}