anyscale 0.26.52__py3-none-any.whl → 0.26.54__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.
- anyscale/_private/anyscale_client/anyscale_client.py +26 -26
- anyscale/_private/anyscale_client/common.py +5 -5
- anyscale/_private/anyscale_client/fake_anyscale_client.py +6 -6
- anyscale/_private/docgen/__main__.py +8 -8
- anyscale/_private/docgen/generator.py +48 -10
- anyscale/_private/docgen/models.md +2 -2
- anyscale/_private/sdk/__init__.py +124 -1
- anyscale/_private/workload/workload_config.py +4 -6
- anyscale/_private/workload/workload_sdk.py +9 -11
- anyscale/client/README.md +14 -13
- anyscale/client/openapi_client/__init__.py +4 -4
- anyscale/client/openapi_client/api/default_api.py +395 -325
- anyscale/client/openapi_client/models/__init__.py +4 -4
- anyscale/client/openapi_client/models/aws_config.py +2 -2
- anyscale/client/openapi_client/models/baseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_request.py +31 -3
- anyscale/client/openapi_client/models/cloud_deployment.py +37 -36
- anyscale/client/openapi_client/models/create_resource_notification.py +31 -3
- anyscale/client/openapi_client/models/{decorated_cloud_deployment.py → decorated_cloud_resource.py} +124 -96
- anyscale/client/openapi_client/models/{clouddeployment_list_response.py → decoratedcloudresource_list_response.py} +15 -15
- anyscale/client/openapi_client/models/{clouddeployment_response.py → decoratedcloudresource_response.py} +11 -11
- anyscale/client/openapi_client/models/file_storage.py +4 -4
- anyscale/client/openapi_client/models/gcp_config.py +2 -2
- anyscale/client/openapi_client/models/ha_job_error_types.py +9 -2
- anyscale/client/openapi_client/models/object_storage.py +2 -2
- anyscale/client/openapi_client/models/{decoratedclouddeployment_response.py → presigned_url_response.py} +24 -22
- anyscale/client/openapi_client/models/production_job_event.py +31 -3
- anyscale/client/openapi_client/models/resource_alert_event_type.py +2 -1
- anyscale/client/openapi_client/models/resource_notification.py +29 -1
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/workload_info.py +31 -3
- anyscale/client/openapi_client/models/workload_state_info.py +29 -1
- anyscale/cloud/models.py +39 -42
- anyscale/commands/cloud_commands.py +25 -23
- anyscale/commands/command_examples.py +10 -10
- anyscale/commands/exec_commands.py +12 -1
- anyscale/commands/list_commands.py +42 -12
- anyscale/commands/project_commands.py +23 -10
- anyscale/commands/schedule_commands.py +22 -11
- anyscale/commands/service_commands.py +11 -6
- anyscale/commands/util.py +94 -1
- anyscale/commands/workspace_commands.py +92 -38
- anyscale/compute_config/__init__.py +1 -1
- anyscale/compute_config/_private/compute_config_sdk.py +8 -11
- anyscale/compute_config/commands.py +3 -3
- anyscale/compute_config/models.py +30 -30
- anyscale/controllers/cloud_controller.py +306 -300
- anyscale/controllers/kubernetes_verifier.py +1 -1
- anyscale/job/_private/job_sdk.py +12 -12
- anyscale/job/models.py +1 -1
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +76 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace/commands.py +114 -23
- anyscale/workspace/models.py +3 -5
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/METADATA +1 -1
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/RECORD +64 -64
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/WHEEL +0 -0
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.52.dist-info → anyscale-0.26.54.dist-info}/top_level.txt +0 -0
anyscale/client/openapi_client/models/{decorated_cloud_deployment.py → decorated_cloud_resource.py}
RENAMED
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class DecoratedCloudResource(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,6 +33,7 @@ class DecoratedCloudDeployment(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
+
'cloud_resource_id': 'str',
|
36
37
|
'cloud_deployment_id': 'str',
|
37
38
|
'name': 'str',
|
38
39
|
'provider': 'CloudProviders',
|
@@ -44,12 +45,13 @@ class DecoratedCloudDeployment(object):
|
|
44
45
|
'aws_config': 'AWSConfig',
|
45
46
|
'gcp_config': 'GCPConfig',
|
46
47
|
'kubernetes_config': 'KubernetesConfig',
|
47
|
-
'operator_status': 'OperatorStatus',
|
48
48
|
'created_at': 'datetime',
|
49
|
-
'is_default': 'bool'
|
49
|
+
'is_default': 'bool',
|
50
|
+
'operator_status': 'OperatorStatus'
|
50
51
|
}
|
51
52
|
|
52
53
|
attribute_map = {
|
54
|
+
'cloud_resource_id': 'cloud_resource_id',
|
53
55
|
'cloud_deployment_id': 'cloud_deployment_id',
|
54
56
|
'name': 'name',
|
55
57
|
'provider': 'provider',
|
@@ -61,17 +63,18 @@ class DecoratedCloudDeployment(object):
|
|
61
63
|
'aws_config': 'aws_config',
|
62
64
|
'gcp_config': 'gcp_config',
|
63
65
|
'kubernetes_config': 'kubernetes_config',
|
64
|
-
'operator_status': 'operator_status',
|
65
66
|
'created_at': 'created_at',
|
66
|
-
'is_default': 'is_default'
|
67
|
+
'is_default': 'is_default',
|
68
|
+
'operator_status': 'operator_status'
|
67
69
|
}
|
68
70
|
|
69
|
-
def __init__(self, cloud_deployment_id=None, name=None, provider=None, compute_stack=None, region=None, networking_mode=None, object_storage=None, file_storage=None, aws_config=None, gcp_config=None, kubernetes_config=None,
|
70
|
-
"""
|
71
|
+
def __init__(self, cloud_resource_id=None, cloud_deployment_id=None, name=None, provider=None, compute_stack=None, region=None, networking_mode=None, object_storage=None, file_storage=None, aws_config=None, gcp_config=None, kubernetes_config=None, created_at=None, is_default=False, operator_status=None, local_vars_configuration=None): # noqa: E501
|
72
|
+
"""DecoratedCloudResource - a model defined in OpenAPI""" # noqa: E501
|
71
73
|
if local_vars_configuration is None:
|
72
74
|
local_vars_configuration = Configuration()
|
73
75
|
self.local_vars_configuration = local_vars_configuration
|
74
76
|
|
77
|
+
self._cloud_resource_id = None
|
75
78
|
self._cloud_deployment_id = None
|
76
79
|
self._name = None
|
77
80
|
self._provider = None
|
@@ -83,11 +86,13 @@ class DecoratedCloudDeployment(object):
|
|
83
86
|
self._aws_config = None
|
84
87
|
self._gcp_config = None
|
85
88
|
self._kubernetes_config = None
|
86
|
-
self._operator_status = None
|
87
89
|
self._created_at = None
|
88
90
|
self._is_default = None
|
91
|
+
self._operator_status = None
|
89
92
|
self.discriminator = None
|
90
93
|
|
94
|
+
if cloud_resource_id is not None:
|
95
|
+
self.cloud_resource_id = cloud_resource_id
|
91
96
|
if cloud_deployment_id is not None:
|
92
97
|
self.cloud_deployment_id = cloud_deployment_id
|
93
98
|
if name is not None:
|
@@ -104,30 +109,53 @@ class DecoratedCloudDeployment(object):
|
|
104
109
|
self.aws_config = aws_config
|
105
110
|
self.gcp_config = gcp_config
|
106
111
|
self.kubernetes_config = kubernetes_config
|
107
|
-
self.operator_status = operator_status
|
108
112
|
if created_at is not None:
|
109
113
|
self.created_at = created_at
|
110
114
|
if is_default is not None:
|
111
115
|
self.is_default = is_default
|
116
|
+
self.operator_status = operator_status
|
117
|
+
|
118
|
+
@property
|
119
|
+
def cloud_resource_id(self):
|
120
|
+
"""Gets the cloud_resource_id of this DecoratedCloudResource. # noqa: E501
|
121
|
+
|
122
|
+
Unique identifier for this cloud resource. # noqa: E501
|
123
|
+
|
124
|
+
:return: The cloud_resource_id of this DecoratedCloudResource. # noqa: E501
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._cloud_resource_id
|
128
|
+
|
129
|
+
@cloud_resource_id.setter
|
130
|
+
def cloud_resource_id(self, cloud_resource_id):
|
131
|
+
"""Sets the cloud_resource_id of this DecoratedCloudResource.
|
132
|
+
|
133
|
+
Unique identifier for this cloud resource. # noqa: E501
|
134
|
+
|
135
|
+
:param cloud_resource_id: The cloud_resource_id of this DecoratedCloudResource. # noqa: E501
|
136
|
+
:type: str
|
137
|
+
"""
|
138
|
+
|
139
|
+
self._cloud_resource_id = cloud_resource_id
|
112
140
|
|
113
141
|
@property
|
114
142
|
def cloud_deployment_id(self):
|
115
|
-
"""Gets the cloud_deployment_id of this
|
143
|
+
"""Gets the cloud_deployment_id of this DecoratedCloudResource. # noqa: E501
|
116
144
|
|
117
|
-
|
145
|
+
DEPRECATED. Use cloud_resource_id instead. # noqa: E501
|
118
146
|
|
119
|
-
:return: The cloud_deployment_id of this
|
147
|
+
:return: The cloud_deployment_id of this DecoratedCloudResource. # noqa: E501
|
120
148
|
:rtype: str
|
121
149
|
"""
|
122
150
|
return self._cloud_deployment_id
|
123
151
|
|
124
152
|
@cloud_deployment_id.setter
|
125
153
|
def cloud_deployment_id(self, cloud_deployment_id):
|
126
|
-
"""Sets the cloud_deployment_id of this
|
154
|
+
"""Sets the cloud_deployment_id of this DecoratedCloudResource.
|
127
155
|
|
128
|
-
|
156
|
+
DEPRECATED. Use cloud_resource_id instead. # noqa: E501
|
129
157
|
|
130
|
-
:param cloud_deployment_id: The cloud_deployment_id of this
|
158
|
+
:param cloud_deployment_id: The cloud_deployment_id of this DecoratedCloudResource. # noqa: E501
|
131
159
|
:type: str
|
132
160
|
"""
|
133
161
|
|
@@ -135,22 +163,22 @@ class DecoratedCloudDeployment(object):
|
|
135
163
|
|
136
164
|
@property
|
137
165
|
def name(self):
|
138
|
-
"""Gets the name of this
|
166
|
+
"""Gets the name of this DecoratedCloudResource. # noqa: E501
|
139
167
|
|
140
|
-
The name of this
|
168
|
+
The name of this cloud resource. # noqa: E501
|
141
169
|
|
142
|
-
:return: The name of this
|
170
|
+
:return: The name of this DecoratedCloudResource. # noqa: E501
|
143
171
|
:rtype: str
|
144
172
|
"""
|
145
173
|
return self._name
|
146
174
|
|
147
175
|
@name.setter
|
148
176
|
def name(self, name):
|
149
|
-
"""Sets the name of this
|
177
|
+
"""Sets the name of this DecoratedCloudResource.
|
150
178
|
|
151
|
-
The name of this
|
179
|
+
The name of this cloud resource. # noqa: E501
|
152
180
|
|
153
|
-
:param name: The name of this
|
181
|
+
:param name: The name of this DecoratedCloudResource. # noqa: E501
|
154
182
|
:type: str
|
155
183
|
"""
|
156
184
|
|
@@ -158,22 +186,22 @@ class DecoratedCloudDeployment(object):
|
|
158
186
|
|
159
187
|
@property
|
160
188
|
def provider(self):
|
161
|
-
"""Gets the provider of this
|
189
|
+
"""Gets the provider of this DecoratedCloudResource. # noqa: E501
|
162
190
|
|
163
191
|
The cloud provider type (AWS, GCP, AZURE, or GENERIC). # noqa: E501
|
164
192
|
|
165
|
-
:return: The provider of this
|
193
|
+
:return: The provider of this DecoratedCloudResource. # noqa: E501
|
166
194
|
:rtype: CloudProviders
|
167
195
|
"""
|
168
196
|
return self._provider
|
169
197
|
|
170
198
|
@provider.setter
|
171
199
|
def provider(self, provider):
|
172
|
-
"""Sets the provider of this
|
200
|
+
"""Sets the provider of this DecoratedCloudResource.
|
173
201
|
|
174
202
|
The cloud provider type (AWS, GCP, AZURE, or GENERIC). # noqa: E501
|
175
203
|
|
176
|
-
:param provider: The provider of this
|
204
|
+
:param provider: The provider of this DecoratedCloudResource. # noqa: E501
|
177
205
|
:type: CloudProviders
|
178
206
|
"""
|
179
207
|
if self.local_vars_configuration.client_side_validation and provider is None: # noqa: E501
|
@@ -183,22 +211,22 @@ class DecoratedCloudDeployment(object):
|
|
183
211
|
|
184
212
|
@property
|
185
213
|
def compute_stack(self):
|
186
|
-
"""Gets the compute_stack of this
|
214
|
+
"""Gets the compute_stack of this DecoratedCloudResource. # noqa: E501
|
187
215
|
|
188
216
|
The compute stack (VM or K8S). # noqa: E501
|
189
217
|
|
190
|
-
:return: The compute_stack of this
|
218
|
+
:return: The compute_stack of this DecoratedCloudResource. # noqa: E501
|
191
219
|
:rtype: ComputeStack
|
192
220
|
"""
|
193
221
|
return self._compute_stack
|
194
222
|
|
195
223
|
@compute_stack.setter
|
196
224
|
def compute_stack(self, compute_stack):
|
197
|
-
"""Sets the compute_stack of this
|
225
|
+
"""Sets the compute_stack of this DecoratedCloudResource.
|
198
226
|
|
199
227
|
The compute stack (VM or K8S). # noqa: E501
|
200
228
|
|
201
|
-
:param compute_stack: The compute_stack of this
|
229
|
+
:param compute_stack: The compute_stack of this DecoratedCloudResource. # noqa: E501
|
202
230
|
:type: ComputeStack
|
203
231
|
"""
|
204
232
|
|
@@ -206,22 +234,22 @@ class DecoratedCloudDeployment(object):
|
|
206
234
|
|
207
235
|
@property
|
208
236
|
def region(self):
|
209
|
-
"""Gets the region of this
|
237
|
+
"""Gets the region of this DecoratedCloudResource. # noqa: E501
|
210
238
|
|
211
|
-
The region
|
239
|
+
The region (e.g., us-west-2). # noqa: E501
|
212
240
|
|
213
|
-
:return: The region of this
|
241
|
+
:return: The region of this DecoratedCloudResource. # noqa: E501
|
214
242
|
:rtype: str
|
215
243
|
"""
|
216
244
|
return self._region
|
217
245
|
|
218
246
|
@region.setter
|
219
247
|
def region(self, region):
|
220
|
-
"""Sets the region of this
|
248
|
+
"""Sets the region of this DecoratedCloudResource.
|
221
249
|
|
222
|
-
The region
|
250
|
+
The region (e.g., us-west-2). # noqa: E501
|
223
251
|
|
224
|
-
:param region: The region of this
|
252
|
+
:param region: The region of this DecoratedCloudResource. # noqa: E501
|
225
253
|
:type: str
|
226
254
|
"""
|
227
255
|
|
@@ -229,22 +257,22 @@ class DecoratedCloudDeployment(object):
|
|
229
257
|
|
230
258
|
@property
|
231
259
|
def networking_mode(self):
|
232
|
-
"""Gets the networking_mode of this
|
260
|
+
"""Gets the networking_mode of this DecoratedCloudResource. # noqa: E501
|
233
261
|
|
234
262
|
Whether to use public or private networking. # noqa: E501
|
235
263
|
|
236
|
-
:return: The networking_mode of this
|
264
|
+
:return: The networking_mode of this DecoratedCloudResource. # noqa: E501
|
237
265
|
:rtype: NetworkingMode
|
238
266
|
"""
|
239
267
|
return self._networking_mode
|
240
268
|
|
241
269
|
@networking_mode.setter
|
242
270
|
def networking_mode(self, networking_mode):
|
243
|
-
"""Sets the networking_mode of this
|
271
|
+
"""Sets the networking_mode of this DecoratedCloudResource.
|
244
272
|
|
245
273
|
Whether to use public or private networking. # noqa: E501
|
246
274
|
|
247
|
-
:param networking_mode: The networking_mode of this
|
275
|
+
:param networking_mode: The networking_mode of this DecoratedCloudResource. # noqa: E501
|
248
276
|
:type: NetworkingMode
|
249
277
|
"""
|
250
278
|
|
@@ -252,22 +280,22 @@ class DecoratedCloudDeployment(object):
|
|
252
280
|
|
253
281
|
@property
|
254
282
|
def object_storage(self):
|
255
|
-
"""Gets the object_storage of this
|
283
|
+
"""Gets the object_storage of this DecoratedCloudResource. # noqa: E501
|
256
284
|
|
257
285
|
Object storage configuration. # noqa: E501
|
258
286
|
|
259
|
-
:return: The object_storage of this
|
287
|
+
:return: The object_storage of this DecoratedCloudResource. # noqa: E501
|
260
288
|
:rtype: ObjectStorage
|
261
289
|
"""
|
262
290
|
return self._object_storage
|
263
291
|
|
264
292
|
@object_storage.setter
|
265
293
|
def object_storage(self, object_storage):
|
266
|
-
"""Sets the object_storage of this
|
294
|
+
"""Sets the object_storage of this DecoratedCloudResource.
|
267
295
|
|
268
296
|
Object storage configuration. # noqa: E501
|
269
297
|
|
270
|
-
:param object_storage: The object_storage of this
|
298
|
+
:param object_storage: The object_storage of this DecoratedCloudResource. # noqa: E501
|
271
299
|
:type: ObjectStorage
|
272
300
|
"""
|
273
301
|
|
@@ -275,22 +303,22 @@ class DecoratedCloudDeployment(object):
|
|
275
303
|
|
276
304
|
@property
|
277
305
|
def file_storage(self):
|
278
|
-
"""Gets the file_storage of this
|
306
|
+
"""Gets the file_storage of this DecoratedCloudResource. # noqa: E501
|
279
307
|
|
280
308
|
File storage configuration. # noqa: E501
|
281
309
|
|
282
|
-
:return: The file_storage of this
|
310
|
+
:return: The file_storage of this DecoratedCloudResource. # noqa: E501
|
283
311
|
:rtype: FileStorage
|
284
312
|
"""
|
285
313
|
return self._file_storage
|
286
314
|
|
287
315
|
@file_storage.setter
|
288
316
|
def file_storage(self, file_storage):
|
289
|
-
"""Sets the file_storage of this
|
317
|
+
"""Sets the file_storage of this DecoratedCloudResource.
|
290
318
|
|
291
319
|
File storage configuration. # noqa: E501
|
292
320
|
|
293
|
-
:param file_storage: The file_storage of this
|
321
|
+
:param file_storage: The file_storage of this DecoratedCloudResource. # noqa: E501
|
294
322
|
:type: FileStorage
|
295
323
|
"""
|
296
324
|
|
@@ -298,22 +326,22 @@ class DecoratedCloudDeployment(object):
|
|
298
326
|
|
299
327
|
@property
|
300
328
|
def aws_config(self):
|
301
|
-
"""Gets the aws_config of this
|
329
|
+
"""Gets the aws_config of this DecoratedCloudResource. # noqa: E501
|
302
330
|
|
303
331
|
AWS provider-specific configurations. # noqa: E501
|
304
332
|
|
305
|
-
:return: The aws_config of this
|
333
|
+
:return: The aws_config of this DecoratedCloudResource. # noqa: E501
|
306
334
|
:rtype: AWSConfig
|
307
335
|
"""
|
308
336
|
return self._aws_config
|
309
337
|
|
310
338
|
@aws_config.setter
|
311
339
|
def aws_config(self, aws_config):
|
312
|
-
"""Sets the aws_config of this
|
340
|
+
"""Sets the aws_config of this DecoratedCloudResource.
|
313
341
|
|
314
342
|
AWS provider-specific configurations. # noqa: E501
|
315
343
|
|
316
|
-
:param aws_config: The aws_config of this
|
344
|
+
:param aws_config: The aws_config of this DecoratedCloudResource. # noqa: E501
|
317
345
|
:type: AWSConfig
|
318
346
|
"""
|
319
347
|
|
@@ -321,22 +349,22 @@ class DecoratedCloudDeployment(object):
|
|
321
349
|
|
322
350
|
@property
|
323
351
|
def gcp_config(self):
|
324
|
-
"""Gets the gcp_config of this
|
352
|
+
"""Gets the gcp_config of this DecoratedCloudResource. # noqa: E501
|
325
353
|
|
326
354
|
GCP provider-specific configurations. # noqa: E501
|
327
355
|
|
328
|
-
:return: The gcp_config of this
|
356
|
+
:return: The gcp_config of this DecoratedCloudResource. # noqa: E501
|
329
357
|
:rtype: GCPConfig
|
330
358
|
"""
|
331
359
|
return self._gcp_config
|
332
360
|
|
333
361
|
@gcp_config.setter
|
334
362
|
def gcp_config(self, gcp_config):
|
335
|
-
"""Sets the gcp_config of this
|
363
|
+
"""Sets the gcp_config of this DecoratedCloudResource.
|
336
364
|
|
337
365
|
GCP provider-specific configurations. # noqa: E501
|
338
366
|
|
339
|
-
:param gcp_config: The gcp_config of this
|
367
|
+
:param gcp_config: The gcp_config of this DecoratedCloudResource. # noqa: E501
|
340
368
|
:type: GCPConfig
|
341
369
|
"""
|
342
370
|
|
@@ -344,68 +372,45 @@ class DecoratedCloudDeployment(object):
|
|
344
372
|
|
345
373
|
@property
|
346
374
|
def kubernetes_config(self):
|
347
|
-
"""Gets the kubernetes_config of this
|
375
|
+
"""Gets the kubernetes_config of this DecoratedCloudResource. # noqa: E501
|
348
376
|
|
349
377
|
Kubernetes stack configurations. # noqa: E501
|
350
378
|
|
351
|
-
:return: The kubernetes_config of this
|
379
|
+
:return: The kubernetes_config of this DecoratedCloudResource. # noqa: E501
|
352
380
|
:rtype: KubernetesConfig
|
353
381
|
"""
|
354
382
|
return self._kubernetes_config
|
355
383
|
|
356
384
|
@kubernetes_config.setter
|
357
385
|
def kubernetes_config(self, kubernetes_config):
|
358
|
-
"""Sets the kubernetes_config of this
|
386
|
+
"""Sets the kubernetes_config of this DecoratedCloudResource.
|
359
387
|
|
360
388
|
Kubernetes stack configurations. # noqa: E501
|
361
389
|
|
362
|
-
:param kubernetes_config: The kubernetes_config of this
|
390
|
+
:param kubernetes_config: The kubernetes_config of this DecoratedCloudResource. # noqa: E501
|
363
391
|
:type: KubernetesConfig
|
364
392
|
"""
|
365
393
|
|
366
394
|
self._kubernetes_config = kubernetes_config
|
367
395
|
|
368
|
-
@property
|
369
|
-
def operator_status(self):
|
370
|
-
"""Gets the operator_status of this DecoratedCloudDeployment. # noqa: E501
|
371
|
-
|
372
|
-
Status of the Anyscale operator (only for K8s deployments). # noqa: E501
|
373
|
-
|
374
|
-
:return: The operator_status of this DecoratedCloudDeployment. # noqa: E501
|
375
|
-
:rtype: OperatorStatus
|
376
|
-
"""
|
377
|
-
return self._operator_status
|
378
|
-
|
379
|
-
@operator_status.setter
|
380
|
-
def operator_status(self, operator_status):
|
381
|
-
"""Sets the operator_status of this DecoratedCloudDeployment.
|
382
|
-
|
383
|
-
Status of the Anyscale operator (only for K8s deployments). # noqa: E501
|
384
|
-
|
385
|
-
:param operator_status: The operator_status of this DecoratedCloudDeployment. # noqa: E501
|
386
|
-
:type: OperatorStatus
|
387
|
-
"""
|
388
|
-
|
389
|
-
self._operator_status = operator_status
|
390
|
-
|
391
396
|
@property
|
392
397
|
def created_at(self):
|
393
|
-
"""Gets the created_at of this
|
398
|
+
"""Gets the created_at of this DecoratedCloudResource. # noqa: E501
|
394
399
|
|
395
|
-
The timestamp when the cloud
|
400
|
+
The timestamp when the cloud resource was created. # noqa: E501
|
396
401
|
|
397
|
-
:return: The created_at of this
|
402
|
+
:return: The created_at of this DecoratedCloudResource. # noqa: E501
|
398
403
|
:rtype: datetime
|
399
404
|
"""
|
400
405
|
return self._created_at
|
401
406
|
|
402
407
|
@created_at.setter
|
403
408
|
def created_at(self, created_at):
|
404
|
-
"""Sets the created_at of this
|
409
|
+
"""Sets the created_at of this DecoratedCloudResource.
|
405
410
|
|
406
|
-
The timestamp when the cloud
|
411
|
+
The timestamp when the cloud resource was created. # noqa: E501
|
407
412
|
|
408
|
-
:param created_at: The created_at of this
|
413
|
+
:param created_at: The created_at of this DecoratedCloudResource. # noqa: E501
|
409
414
|
:type: datetime
|
410
415
|
"""
|
411
416
|
|
@@ -413,27 +418,50 @@ class DecoratedCloudDeployment(object):
|
|
413
418
|
|
414
419
|
@property
|
415
420
|
def is_default(self):
|
416
|
-
"""Gets the is_default of this
|
421
|
+
"""Gets the is_default of this DecoratedCloudResource. # noqa: E501
|
417
422
|
|
418
|
-
Whether this cloud
|
423
|
+
Whether this cloud resource is the default cloud resource for the cloud. # noqa: E501
|
419
424
|
|
420
|
-
:return: The is_default of this
|
425
|
+
:return: The is_default of this DecoratedCloudResource. # noqa: E501
|
421
426
|
:rtype: bool
|
422
427
|
"""
|
423
428
|
return self._is_default
|
424
429
|
|
425
430
|
@is_default.setter
|
426
431
|
def is_default(self, is_default):
|
427
|
-
"""Sets the is_default of this
|
432
|
+
"""Sets the is_default of this DecoratedCloudResource.
|
428
433
|
|
429
|
-
Whether this cloud
|
434
|
+
Whether this cloud resource is the default cloud resource for the cloud. # noqa: E501
|
430
435
|
|
431
|
-
:param is_default: The is_default of this
|
436
|
+
:param is_default: The is_default of this DecoratedCloudResource. # noqa: E501
|
432
437
|
:type: bool
|
433
438
|
"""
|
434
439
|
|
435
440
|
self._is_default = is_default
|
436
441
|
|
442
|
+
@property
|
443
|
+
def operator_status(self):
|
444
|
+
"""Gets the operator_status of this DecoratedCloudResource. # noqa: E501
|
445
|
+
|
446
|
+
Status of the Anyscale Operator (only for Kubernetes resources). # noqa: E501
|
447
|
+
|
448
|
+
:return: The operator_status of this DecoratedCloudResource. # noqa: E501
|
449
|
+
:rtype: OperatorStatus
|
450
|
+
"""
|
451
|
+
return self._operator_status
|
452
|
+
|
453
|
+
@operator_status.setter
|
454
|
+
def operator_status(self, operator_status):
|
455
|
+
"""Sets the operator_status of this DecoratedCloudResource.
|
456
|
+
|
457
|
+
Status of the Anyscale Operator (only for Kubernetes resources). # noqa: E501
|
458
|
+
|
459
|
+
:param operator_status: The operator_status of this DecoratedCloudResource. # noqa: E501
|
460
|
+
:type: OperatorStatus
|
461
|
+
"""
|
462
|
+
|
463
|
+
self._operator_status = operator_status
|
464
|
+
|
437
465
|
def to_dict(self):
|
438
466
|
"""Returns the model properties as a dict"""
|
439
467
|
result = {}
|
@@ -468,14 +496,14 @@ class DecoratedCloudDeployment(object):
|
|
468
496
|
|
469
497
|
def __eq__(self, other):
|
470
498
|
"""Returns true if both objects are equal"""
|
471
|
-
if not isinstance(other,
|
499
|
+
if not isinstance(other, DecoratedCloudResource):
|
472
500
|
return False
|
473
501
|
|
474
502
|
return self.to_dict() == other.to_dict()
|
475
503
|
|
476
504
|
def __ne__(self, other):
|
477
505
|
"""Returns true if both objects are not equal"""
|
478
|
-
if not isinstance(other,
|
506
|
+
if not isinstance(other, DecoratedCloudResource):
|
479
507
|
return True
|
480
508
|
|
481
509
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class DecoratedcloudresourceListResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,7 +33,7 @@ class ClouddeploymentListResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'results': 'list[
|
36
|
+
'results': 'list[DecoratedCloudResource]',
|
37
37
|
'metadata': 'ListResponseMetadata'
|
38
38
|
}
|
39
39
|
|
@@ -43,7 +43,7 @@ class ClouddeploymentListResponse(object):
|
|
43
43
|
}
|
44
44
|
|
45
45
|
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""
|
46
|
+
"""DecoratedcloudresourceListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
47
|
if local_vars_configuration is None:
|
48
48
|
local_vars_configuration = Configuration()
|
49
49
|
self.local_vars_configuration = local_vars_configuration
|
@@ -58,21 +58,21 @@ class ClouddeploymentListResponse(object):
|
|
58
58
|
|
59
59
|
@property
|
60
60
|
def results(self):
|
61
|
-
"""Gets the results of this
|
61
|
+
"""Gets the results of this DecoratedcloudresourceListResponse. # noqa: E501
|
62
62
|
|
63
63
|
|
64
|
-
:return: The results of this
|
65
|
-
:rtype: list[
|
64
|
+
:return: The results of this DecoratedcloudresourceListResponse. # noqa: E501
|
65
|
+
:rtype: list[DecoratedCloudResource]
|
66
66
|
"""
|
67
67
|
return self._results
|
68
68
|
|
69
69
|
@results.setter
|
70
70
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
71
|
+
"""Sets the results of this DecoratedcloudresourceListResponse.
|
72
72
|
|
73
73
|
|
74
|
-
:param results: The results of this
|
75
|
-
:type: list[
|
74
|
+
:param results: The results of this DecoratedcloudresourceListResponse. # noqa: E501
|
75
|
+
:type: list[DecoratedCloudResource]
|
76
76
|
"""
|
77
77
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
78
|
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
@@ -81,20 +81,20 @@ class ClouddeploymentListResponse(object):
|
|
81
81
|
|
82
82
|
@property
|
83
83
|
def metadata(self):
|
84
|
-
"""Gets the metadata of this
|
84
|
+
"""Gets the metadata of this DecoratedcloudresourceListResponse. # noqa: E501
|
85
85
|
|
86
86
|
|
87
|
-
:return: The metadata of this
|
87
|
+
:return: The metadata of this DecoratedcloudresourceListResponse. # noqa: E501
|
88
88
|
:rtype: ListResponseMetadata
|
89
89
|
"""
|
90
90
|
return self._metadata
|
91
91
|
|
92
92
|
@metadata.setter
|
93
93
|
def metadata(self, metadata):
|
94
|
-
"""Sets the metadata of this
|
94
|
+
"""Sets the metadata of this DecoratedcloudresourceListResponse.
|
95
95
|
|
96
96
|
|
97
|
-
:param metadata: The metadata of this
|
97
|
+
:param metadata: The metadata of this DecoratedcloudresourceListResponse. # noqa: E501
|
98
98
|
:type: ListResponseMetadata
|
99
99
|
"""
|
100
100
|
|
@@ -134,14 +134,14 @@ class ClouddeploymentListResponse(object):
|
|
134
134
|
|
135
135
|
def __eq__(self, other):
|
136
136
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
137
|
+
if not isinstance(other, DecoratedcloudresourceListResponse):
|
138
138
|
return False
|
139
139
|
|
140
140
|
return self.to_dict() == other.to_dict()
|
141
141
|
|
142
142
|
def __ne__(self, other):
|
143
143
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
144
|
+
if not isinstance(other, DecoratedcloudresourceListResponse):
|
145
145
|
return True
|
146
146
|
|
147
147
|
return self.to_dict() != other.to_dict()
|