lightning-sdk 2026.1.22__py3-none-any.whl → 2026.1.27__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 (58) hide show
  1. lightning_sdk/__version__.py +1 -1
  2. lightning_sdk/api/studio_api.py +7 -14
  3. lightning_sdk/api/teamspace_api.py +155 -48
  4. lightning_sdk/api/utils.py +8 -0
  5. lightning_sdk/cli/cp/__init__.py +14 -11
  6. lightning_sdk/cli/cp/teamspace_uploads.py +93 -0
  7. lightning_sdk/cli/legacy/download.py +29 -98
  8. lightning_sdk/cli/legacy/upload.py +24 -31
  9. lightning_sdk/cli/studio/cp.py +8 -5
  10. lightning_sdk/cli/studio/ls.py +1 -1
  11. lightning_sdk/cli/studio/rm.py +1 -1
  12. lightning_sdk/cli/utils/{studio_filesystem.py → filesystem.py} +43 -5
  13. lightning_sdk/exceptions.py +27 -0
  14. lightning_sdk/lightning_cloud/openapi/__init__.py +14 -12
  15. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  16. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +5 -1
  17. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +163 -466
  18. lightning_sdk/lightning_cloud/openapi/api/container_registry_service_api.py +456 -0
  19. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +5 -1
  20. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +11 -11
  21. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +113 -0
  22. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +113 -0
  23. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
  24. lightning_sdk/lightning_cloud/openapi/models/__init__.py +13 -12
  25. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_integration.py → container_registry_config_ecr.py} +49 -23
  26. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_status.py → container_registry_provider.py} +14 -10
  27. lightning_sdk/lightning_cloud/openapi/models/container_registry_service_create_container_registry_body.py +201 -0
  28. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config_input.py → container_registry_service_refresh_container_registry_credentials_body.py} +21 -21
  29. lightning_sdk/lightning_cloud/openapi/models/jobs_service_duplicate_deployment_body.py +175 -0
  30. lightning_sdk/lightning_cloud/openapi/models/organizations_service_update_org_role_body.py +175 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry.py +63 -89
  35. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_add_container_registry_body.py → v1_container_registry_config.py} +16 -16
  36. lightning_sdk/lightning_cloud/openapi/models/{v1_validate_container_registry_response.py → v1_container_registry_scopes.py} +39 -39
  37. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_validate_container_registry_body.py → v1_create_container_registry_response.py} +6 -6
  38. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_refresh_container_registry_credentials_body.py → v1_delete_org_cluster_capacity_reservation_response.py} +6 -6
  39. lightning_sdk/lightning_cloud/openapi/models/v1_describe_org_cluster_capacity_reservation_response.py +201 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +79 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +1 -27
  43. lightning_sdk/lightning_cloud/openapi/models/v1_list_container_registries_response.py +6 -6
  44. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config.py → v1_mithril_direct_v1.py} +51 -51
  45. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_container_registry_credentials_response.py +1 -27
  46. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -53
  47. lightning_sdk/lightning_cloud/openapi/rest.py +2 -2
  48. lightning_sdk/teamspace.py +28 -7
  49. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/METADATA +1 -1
  50. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/RECORD +55 -52
  51. lightning_sdk/lightning_cloud/openapi/models/v1_add_container_registry_response.py +0 -123
  52. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_info.py +0 -281
  53. lightning_sdk/lightning_cloud/openapi/models/v1_ecr_registry_details.py +0 -201
  54. /lightning_sdk/lightning_cloud/openapi/models/{v1_list_filesystem_mmts_response.py → v1_list_filesystem_mm_ts_response.py} +0 -0
  55. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/LICENSE +0 -0
  56. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/WHEEL +0 -0
  57. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/entry_points.txt +0 -0
  58. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,201 @@
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 V1DescribeOrgClusterCapacityReservationResponse(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
+ 'id': 'str',
45
+ 'num_instances': 'int',
46
+ 'num_instances_available': 'int',
47
+ 'state': 'str'
48
+ }
49
+
50
+ attribute_map = {
51
+ 'id': 'id',
52
+ 'num_instances': 'numInstances',
53
+ 'num_instances_available': 'numInstancesAvailable',
54
+ 'state': 'state'
55
+ }
56
+
57
+ def __init__(self, id: 'str' =None, num_instances: 'int' =None, num_instances_available: 'int' =None, state: 'str' =None): # noqa: E501
58
+ """V1DescribeOrgClusterCapacityReservationResponse - a model defined in Swagger""" # noqa: E501
59
+ self._id = None
60
+ self._num_instances = None
61
+ self._num_instances_available = None
62
+ self._state = None
63
+ self.discriminator = None
64
+ if id is not None:
65
+ self.id = id
66
+ if num_instances is not None:
67
+ self.num_instances = num_instances
68
+ if num_instances_available is not None:
69
+ self.num_instances_available = num_instances_available
70
+ if state is not None:
71
+ self.state = state
72
+
73
+ @property
74
+ def id(self) -> 'str':
75
+ """Gets the id of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
76
+
77
+
78
+ :return: The id of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
79
+ :rtype: str
80
+ """
81
+ return self._id
82
+
83
+ @id.setter
84
+ def id(self, id: 'str'):
85
+ """Sets the id of this V1DescribeOrgClusterCapacityReservationResponse.
86
+
87
+
88
+ :param id: The id of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
89
+ :type: str
90
+ """
91
+
92
+ self._id = id
93
+
94
+ @property
95
+ def num_instances(self) -> 'int':
96
+ """Gets the num_instances of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
97
+
98
+
99
+ :return: The num_instances of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
100
+ :rtype: int
101
+ """
102
+ return self._num_instances
103
+
104
+ @num_instances.setter
105
+ def num_instances(self, num_instances: 'int'):
106
+ """Sets the num_instances of this V1DescribeOrgClusterCapacityReservationResponse.
107
+
108
+
109
+ :param num_instances: The num_instances of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
110
+ :type: int
111
+ """
112
+
113
+ self._num_instances = num_instances
114
+
115
+ @property
116
+ def num_instances_available(self) -> 'int':
117
+ """Gets the num_instances_available of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
118
+
119
+
120
+ :return: The num_instances_available of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
121
+ :rtype: int
122
+ """
123
+ return self._num_instances_available
124
+
125
+ @num_instances_available.setter
126
+ def num_instances_available(self, num_instances_available: 'int'):
127
+ """Sets the num_instances_available of this V1DescribeOrgClusterCapacityReservationResponse.
128
+
129
+
130
+ :param num_instances_available: The num_instances_available of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
131
+ :type: int
132
+ """
133
+
134
+ self._num_instances_available = num_instances_available
135
+
136
+ @property
137
+ def state(self) -> 'str':
138
+ """Gets the state of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
139
+
140
+
141
+ :return: The state of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
142
+ :rtype: str
143
+ """
144
+ return self._state
145
+
146
+ @state.setter
147
+ def state(self, state: 'str'):
148
+ """Sets the state of this V1DescribeOrgClusterCapacityReservationResponse.
149
+
150
+
151
+ :param state: The state of this V1DescribeOrgClusterCapacityReservationResponse. # noqa: E501
152
+ :type: str
153
+ """
154
+
155
+ self._state = state
156
+
157
+ def to_dict(self) -> dict:
158
+ """Returns the model properties as a dict"""
159
+ result = {}
160
+
161
+ for attr, _ in six.iteritems(self.swagger_types):
162
+ value = getattr(self, attr)
163
+ if isinstance(value, list):
164
+ result[attr] = list(map(
165
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
166
+ value
167
+ ))
168
+ elif hasattr(value, "to_dict"):
169
+ result[attr] = value.to_dict()
170
+ elif isinstance(value, dict):
171
+ result[attr] = dict(map(
172
+ lambda item: (item[0], item[1].to_dict())
173
+ if hasattr(item[1], "to_dict") else item,
174
+ value.items()
175
+ ))
176
+ else:
177
+ result[attr] = value
178
+ if issubclass(V1DescribeOrgClusterCapacityReservationResponse, dict):
179
+ for key, value in self.items():
180
+ result[key] = value
181
+
182
+ return result
183
+
184
+ def to_str(self) -> str:
185
+ """Returns the string representation of the model"""
186
+ return pprint.pformat(self.to_dict())
187
+
188
+ def __repr__(self) -> str:
189
+ """For `print` and `pprint`"""
190
+ return self.to_str()
191
+
192
+ def __eq__(self, other: 'V1DescribeOrgClusterCapacityReservationResponse') -> bool:
193
+ """Returns true if both objects are equal"""
194
+ if not isinstance(other, V1DescribeOrgClusterCapacityReservationResponse):
195
+ return False
196
+
197
+ return self.__dict__ == other.__dict__
198
+
199
+ def __ne__(self, other: 'V1DescribeOrgClusterCapacityReservationResponse') -> bool:
200
+ """Returns true if both objects are not equal"""
201
+ return not self == other
@@ -42,8 +42,11 @@ class V1GenericJobSpec(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'image': 'str',
45
+ 'instance_type': 'str',
45
46
  'lock_out': 'bool',
46
47
  'managed': 'bool',
48
+ 'num_instances': 'int',
49
+ 'reserved': 'bool',
47
50
  'service_id': 'str',
48
51
  'spot': 'bool',
49
52
  'template_id': 'str'
@@ -51,28 +54,40 @@ class V1GenericJobSpec(object):
51
54
 
52
55
  attribute_map = {
53
56
  'image': 'image',
57
+ 'instance_type': 'instanceType',
54
58
  'lock_out': 'lockOut',
55
59
  'managed': 'managed',
60
+ 'num_instances': 'numInstances',
61
+ 'reserved': 'reserved',
56
62
  'service_id': 'serviceId',
57
63
  'spot': 'spot',
58
64
  'template_id': 'templateId'
59
65
  }
60
66
 
61
- def __init__(self, image: 'str' =None, lock_out: 'bool' =None, managed: 'bool' =None, service_id: 'str' =None, spot: 'bool' =None, template_id: 'str' =None): # noqa: E501
67
+ def __init__(self, image: 'str' =None, instance_type: 'str' =None, lock_out: 'bool' =None, managed: 'bool' =None, num_instances: 'int' =None, reserved: 'bool' =None, service_id: 'str' =None, spot: 'bool' =None, template_id: 'str' =None): # noqa: E501
62
68
  """V1GenericJobSpec - a model defined in Swagger""" # noqa: E501
63
69
  self._image = None
70
+ self._instance_type = None
64
71
  self._lock_out = None
65
72
  self._managed = None
73
+ self._num_instances = None
74
+ self._reserved = None
66
75
  self._service_id = None
67
76
  self._spot = None
68
77
  self._template_id = None
69
78
  self.discriminator = None
70
79
  if image is not None:
71
80
  self.image = image
81
+ if instance_type is not None:
82
+ self.instance_type = instance_type
72
83
  if lock_out is not None:
73
84
  self.lock_out = lock_out
74
85
  if managed is not None:
75
86
  self.managed = managed
87
+ if num_instances is not None:
88
+ self.num_instances = num_instances
89
+ if reserved is not None:
90
+ self.reserved = reserved
76
91
  if service_id is not None:
77
92
  self.service_id = service_id
78
93
  if spot is not None:
@@ -101,6 +116,27 @@ class V1GenericJobSpec(object):
101
116
 
102
117
  self._image = image
103
118
 
119
+ @property
120
+ def instance_type(self) -> 'str':
121
+ """Gets the instance_type of this V1GenericJobSpec. # noqa: E501
122
+
123
+
124
+ :return: The instance_type of this V1GenericJobSpec. # noqa: E501
125
+ :rtype: str
126
+ """
127
+ return self._instance_type
128
+
129
+ @instance_type.setter
130
+ def instance_type(self, instance_type: 'str'):
131
+ """Sets the instance_type of this V1GenericJobSpec.
132
+
133
+
134
+ :param instance_type: The instance_type of this V1GenericJobSpec. # noqa: E501
135
+ :type: str
136
+ """
137
+
138
+ self._instance_type = instance_type
139
+
104
140
  @property
105
141
  def lock_out(self) -> 'bool':
106
142
  """Gets the lock_out of this V1GenericJobSpec. # noqa: E501
@@ -143,6 +179,48 @@ class V1GenericJobSpec(object):
143
179
 
144
180
  self._managed = managed
145
181
 
182
+ @property
183
+ def num_instances(self) -> 'int':
184
+ """Gets the num_instances of this V1GenericJobSpec. # noqa: E501
185
+
186
+
187
+ :return: The num_instances of this V1GenericJobSpec. # noqa: E501
188
+ :rtype: int
189
+ """
190
+ return self._num_instances
191
+
192
+ @num_instances.setter
193
+ def num_instances(self, num_instances: 'int'):
194
+ """Sets the num_instances of this V1GenericJobSpec.
195
+
196
+
197
+ :param num_instances: The num_instances of this V1GenericJobSpec. # noqa: E501
198
+ :type: int
199
+ """
200
+
201
+ self._num_instances = num_instances
202
+
203
+ @property
204
+ def reserved(self) -> 'bool':
205
+ """Gets the reserved of this V1GenericJobSpec. # noqa: E501
206
+
207
+
208
+ :return: The reserved of this V1GenericJobSpec. # noqa: E501
209
+ :rtype: bool
210
+ """
211
+ return self._reserved
212
+
213
+ @reserved.setter
214
+ def reserved(self, reserved: 'bool'):
215
+ """Sets the reserved of this V1GenericJobSpec.
216
+
217
+
218
+ :param reserved: The reserved of this V1GenericJobSpec. # noqa: E501
219
+ :type: bool
220
+ """
221
+
222
+ self._reserved = reserved
223
+
146
224
  @property
147
225
  def service_id(self) -> 'str':
148
226
  """Gets the service_id of this V1GenericJobSpec. # noqa: E501
@@ -41,6 +41,7 @@ class V1Job(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'capacity_reservation_id': 'str',
44
45
  'created_at': 'datetime',
45
46
  'deleted_at': 'datetime',
46
47
  'deployment_id': 'str',
@@ -77,6 +78,7 @@ class V1Job(object):
77
78
  }
78
79
 
79
80
  attribute_map = {
81
+ 'capacity_reservation_id': 'capacityReservationId',
80
82
  'created_at': 'createdAt',
81
83
  'deleted_at': 'deletedAt',
82
84
  'deployment_id': 'deploymentId',
@@ -112,8 +114,9 @@ class V1Job(object):
112
114
  'visibility': 'visibility'
113
115
  }
114
116
 
115
- def __init__(self, created_at: 'datetime' =None, deleted_at: 'datetime' =None, deployment_id: 'str' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, interruption_notice_received: 'bool' =None, interruption_notice_received_at: 'datetime' =None, is_healthy: 'bool' =None, message: 'str' =None, multi_machine_job_id: 'str' =None, name: 'str' =None, overprovisioned: 'bool' =None, pipeline_id: 'str' =None, private_ip_address: 'str' =None, project_id: 'str' =None, public_ip_address: 'str' =None, ready_at: 'datetime' =None, release_id: 'str' =None, restart_count: 'int' =None, restart_timings: 'list[V1RestartTiming]' =None, server_error: 'str' =None, spec: 'V1JobSpec' =None, started_at: 'datetime' =None, state: 'str' =None, stopped_at: 'datetime' =None, timings: 'dict(str, V1JobTiming)' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None, user_logs_started_at: 'datetime' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
117
+ def __init__(self, capacity_reservation_id: 'str' =None, created_at: 'datetime' =None, deleted_at: 'datetime' =None, deployment_id: 'str' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, interruption_notice_received: 'bool' =None, interruption_notice_received_at: 'datetime' =None, is_healthy: 'bool' =None, message: 'str' =None, multi_machine_job_id: 'str' =None, name: 'str' =None, overprovisioned: 'bool' =None, pipeline_id: 'str' =None, private_ip_address: 'str' =None, project_id: 'str' =None, public_ip_address: 'str' =None, ready_at: 'datetime' =None, release_id: 'str' =None, restart_count: 'int' =None, restart_timings: 'list[V1RestartTiming]' =None, server_error: 'str' =None, spec: 'V1JobSpec' =None, started_at: 'datetime' =None, state: 'str' =None, stopped_at: 'datetime' =None, timings: 'dict(str, V1JobTiming)' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None, user_logs_started_at: 'datetime' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
116
118
  """V1Job - a model defined in Swagger""" # noqa: E501
119
+ self._capacity_reservation_id = None
117
120
  self._created_at = None
118
121
  self._deleted_at = None
119
122
  self._deployment_id = None
@@ -148,6 +151,8 @@ class V1Job(object):
148
151
  self._user_logs_started_at = None
149
152
  self._visibility = None
150
153
  self.discriminator = None
154
+ if capacity_reservation_id is not None:
155
+ self.capacity_reservation_id = capacity_reservation_id
151
156
  if created_at is not None:
152
157
  self.created_at = created_at
153
158
  if deleted_at is not None:
@@ -215,6 +220,27 @@ class V1Job(object):
215
220
  if visibility is not None:
216
221
  self.visibility = visibility
217
222
 
223
+ @property
224
+ def capacity_reservation_id(self) -> 'str':
225
+ """Gets the capacity_reservation_id of this V1Job. # noqa: E501
226
+
227
+
228
+ :return: The capacity_reservation_id of this V1Job. # noqa: E501
229
+ :rtype: str
230
+ """
231
+ return self._capacity_reservation_id
232
+
233
+ @capacity_reservation_id.setter
234
+ def capacity_reservation_id(self, capacity_reservation_id: 'str'):
235
+ """Sets the capacity_reservation_id of this V1Job.
236
+
237
+
238
+ :param capacity_reservation_id: The capacity_reservation_id of this V1Job. # noqa: E501
239
+ :type: str
240
+ """
241
+
242
+ self._capacity_reservation_id = capacity_reservation_id
243
+
218
244
  @property
219
245
  def created_at(self) -> 'datetime':
220
246
  """Gets the created_at of this V1Job. # noqa: E501
@@ -43,7 +43,6 @@ class V1KubernetesDirectV1(object):
43
43
  swagger_types = {
44
44
  'automate_agent_installation': 'bool',
45
45
  'aws': 'V1KubernetesAWSConfig',
46
- 'container_registry_integration': 'V1ContainerRegistryIntegration',
47
46
  'grafana_dashboard_url': 'str',
48
47
  'grafana_namespace': 'str',
49
48
  'grafana_service_name': 'str',
@@ -63,7 +62,6 @@ class V1KubernetesDirectV1(object):
63
62
  attribute_map = {
64
63
  'automate_agent_installation': 'automateAgentInstallation',
65
64
  'aws': 'aws',
66
- 'container_registry_integration': 'containerRegistryIntegration',
67
65
  'grafana_dashboard_url': 'grafanaDashboardUrl',
68
66
  'grafana_namespace': 'grafanaNamespace',
69
67
  'grafana_service_name': 'grafanaServiceName',
@@ -80,11 +78,10 @@ class V1KubernetesDirectV1(object):
80
78
  'skip_user_label_injection': 'skipUserLabelInjection'
81
79
  }
82
80
 
83
- def __init__(self, automate_agent_installation: 'bool' =None, aws: 'V1KubernetesAWSConfig' =None, container_registry_integration: 'V1ContainerRegistryIntegration' =None, grafana_dashboard_url: 'str' =None, grafana_namespace: 'str' =None, grafana_service_name: 'str' =None, grafana_service_port: 'str' =None, incident_alert_notifications: 'list[V1K8sIncidentSetting]' =None, incident_auto_cordon: 'list[V1K8sIncidentSetting]' =None, incident_historical_scan_complete: 'bool' =None, incident_slack_notifiers: 'list[V1SlackNotifier]' =None, kubeconfig: 'str' =None, kubeconfig_elevated: 'str' =None, kubevirt_config: 'V1KubevirtConfig' =None, prometheus_url: 'str' =None, settings: 'V1KubernetesDirectSettingsV1' =None, skip_user_label_injection: 'bool' =None): # noqa: E501
81
+ def __init__(self, automate_agent_installation: 'bool' =None, aws: 'V1KubernetesAWSConfig' =None, grafana_dashboard_url: 'str' =None, grafana_namespace: 'str' =None, grafana_service_name: 'str' =None, grafana_service_port: 'str' =None, incident_alert_notifications: 'list[V1K8sIncidentSetting]' =None, incident_auto_cordon: 'list[V1K8sIncidentSetting]' =None, incident_historical_scan_complete: 'bool' =None, incident_slack_notifiers: 'list[V1SlackNotifier]' =None, kubeconfig: 'str' =None, kubeconfig_elevated: 'str' =None, kubevirt_config: 'V1KubevirtConfig' =None, prometheus_url: 'str' =None, settings: 'V1KubernetesDirectSettingsV1' =None, skip_user_label_injection: 'bool' =None): # noqa: E501
84
82
  """V1KubernetesDirectV1 - a model defined in Swagger""" # noqa: E501
85
83
  self._automate_agent_installation = None
86
84
  self._aws = None
87
- self._container_registry_integration = None
88
85
  self._grafana_dashboard_url = None
89
86
  self._grafana_namespace = None
90
87
  self._grafana_service_name = None
@@ -104,8 +101,6 @@ class V1KubernetesDirectV1(object):
104
101
  self.automate_agent_installation = automate_agent_installation
105
102
  if aws is not None:
106
103
  self.aws = aws
107
- if container_registry_integration is not None:
108
- self.container_registry_integration = container_registry_integration
109
104
  if grafana_dashboard_url is not None:
110
105
  self.grafana_dashboard_url = grafana_dashboard_url
111
106
  if grafana_namespace is not None:
@@ -177,27 +172,6 @@ class V1KubernetesDirectV1(object):
177
172
 
178
173
  self._aws = aws
179
174
 
180
- @property
181
- def container_registry_integration(self) -> 'V1ContainerRegistryIntegration':
182
- """Gets the container_registry_integration of this V1KubernetesDirectV1. # noqa: E501
183
-
184
-
185
- :return: The container_registry_integration of this V1KubernetesDirectV1. # noqa: E501
186
- :rtype: V1ContainerRegistryIntegration
187
- """
188
- return self._container_registry_integration
189
-
190
- @container_registry_integration.setter
191
- def container_registry_integration(self, container_registry_integration: 'V1ContainerRegistryIntegration'):
192
- """Sets the container_registry_integration of this V1KubernetesDirectV1.
193
-
194
-
195
- :param container_registry_integration: The container_registry_integration of this V1KubernetesDirectV1. # noqa: E501
196
- :type: V1ContainerRegistryIntegration
197
- """
198
-
199
- self._container_registry_integration = container_registry_integration
200
-
201
175
  @property
202
176
  def grafana_dashboard_url(self) -> 'str':
203
177
  """Gets the grafana_dashboard_url of this V1KubernetesDirectV1. # noqa: E501
@@ -41,14 +41,14 @@ class V1ListContainerRegistriesResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'registries': 'list[V1ContainerRegistryInfo]'
44
+ 'registries': 'list[V1ContainerRegistry]'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
48
  'registries': 'registries'
49
49
  }
50
50
 
51
- def __init__(self, registries: 'list[V1ContainerRegistryInfo]' =None): # noqa: E501
51
+ def __init__(self, registries: 'list[V1ContainerRegistry]' =None): # noqa: E501
52
52
  """V1ListContainerRegistriesResponse - a model defined in Swagger""" # noqa: E501
53
53
  self._registries = None
54
54
  self.discriminator = None
@@ -56,22 +56,22 @@ class V1ListContainerRegistriesResponse(object):
56
56
  self.registries = registries
57
57
 
58
58
  @property
59
- def registries(self) -> 'list[V1ContainerRegistryInfo]':
59
+ def registries(self) -> 'list[V1ContainerRegistry]':
60
60
  """Gets the registries of this V1ListContainerRegistriesResponse. # noqa: E501
61
61
 
62
62
 
63
63
  :return: The registries of this V1ListContainerRegistriesResponse. # noqa: E501
64
- :rtype: list[V1ContainerRegistryInfo]
64
+ :rtype: list[V1ContainerRegistry]
65
65
  """
66
66
  return self._registries
67
67
 
68
68
  @registries.setter
69
- def registries(self, registries: 'list[V1ContainerRegistryInfo]'):
69
+ def registries(self, registries: 'list[V1ContainerRegistry]'):
70
70
  """Sets the registries of this V1ListContainerRegistriesResponse.
71
71
 
72
72
 
73
73
  :param registries: The registries of this V1ListContainerRegistriesResponse. # noqa: E501
74
- :type: list[V1ContainerRegistryInfo]
74
+ :type: list[V1ContainerRegistry]
75
75
  """
76
76
 
77
77
  self._registries = registries