anyscale 0.26.27__py3-none-any.whl → 0.26.28__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/docgen/models.md +1 -0
- anyscale/client/openapi_client/models/cloud.py +31 -3
- anyscale/client/openapi_client/models/cloud_with_cloud_resource.py +29 -1
- anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py +29 -1
- anyscale/client/openapi_client/models/dataset_metrics.py +2 -3
- anyscale/client/openapi_client/models/operator_metrics.py +2 -3
- anyscale/cloud/models.py +13 -0
- anyscale/controllers/cloud_controller.py +0 -1
- anyscale/formatters/clouds_formatter.py +8 -0
- anyscale/sdk/anyscale_client/models/cloud.py +31 -3
- anyscale/version.py +1 -1
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/METADATA +1 -1
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/RECORD +18 -18
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/LICENSE +0 -0
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/NOTICE +0 -0
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/WHEEL +0 -0
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.27.dist-info → anyscale-0.26.28.dist-info}/top_level.txt +0 -0
@@ -178,6 +178,7 @@ Name | Type | Description | Notes
|
|
178
178
|
**is_default** | **bool** | Whether this cloud is the default cloud. | [default to null]
|
179
179
|
**customer_aggregated_logs_config_id** | **str** | the id of the customer aggregated logs config associated with this cloud. | [default to null]
|
180
180
|
**additional_instance_types** | [**List[UXInstance]**](#uxinstance) | the list of instance types supported in the UI and through API (SDK/CLI). | [optional] [default to null]
|
181
|
+
**is_aggregated_logs_enabled** | **bool** | Whether the aggregated logs are enabled for this cloud. | [optional] [default to null]
|
181
182
|
|
182
183
|
## CloudConfig
|
183
184
|
|
@@ -57,7 +57,8 @@ class Cloud(object):
|
|
57
57
|
'version': 'CloudVersion',
|
58
58
|
'is_default': 'bool',
|
59
59
|
'customer_aggregated_logs_config_id': 'str',
|
60
|
-
'additional_instance_types': 'list[UXInstance]'
|
60
|
+
'additional_instance_types': 'list[UXInstance]',
|
61
|
+
'is_aggregated_logs_enabled': 'bool'
|
61
62
|
}
|
62
63
|
|
63
64
|
attribute_map = {
|
@@ -85,10 +86,11 @@ class Cloud(object):
|
|
85
86
|
'version': 'version',
|
86
87
|
'is_default': 'is_default',
|
87
88
|
'customer_aggregated_logs_config_id': 'customer_aggregated_logs_config_id',
|
88
|
-
'additional_instance_types': 'additional_instance_types'
|
89
|
+
'additional_instance_types': 'additional_instance_types',
|
90
|
+
'is_aggregated_logs_enabled': 'is_aggregated_logs_enabled'
|
89
91
|
}
|
90
92
|
|
91
|
-
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, local_vars_configuration=None): # noqa: E501
|
93
|
+
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, is_aggregated_logs_enabled=None, local_vars_configuration=None): # noqa: E501
|
92
94
|
"""Cloud - a model defined in OpenAPI""" # noqa: E501
|
93
95
|
if local_vars_configuration is None:
|
94
96
|
local_vars_configuration = Configuration()
|
@@ -119,6 +121,7 @@ class Cloud(object):
|
|
119
121
|
self._is_default = None
|
120
122
|
self._customer_aggregated_logs_config_id = None
|
121
123
|
self._additional_instance_types = None
|
124
|
+
self._is_aggregated_logs_enabled = None
|
122
125
|
self.discriminator = None
|
123
126
|
|
124
127
|
self.name = name
|
@@ -161,6 +164,8 @@ class Cloud(object):
|
|
161
164
|
self.customer_aggregated_logs_config_id = customer_aggregated_logs_config_id
|
162
165
|
if additional_instance_types is not None:
|
163
166
|
self.additional_instance_types = additional_instance_types
|
167
|
+
if is_aggregated_logs_enabled is not None:
|
168
|
+
self.is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
164
169
|
|
165
170
|
@property
|
166
171
|
def name(self):
|
@@ -755,6 +760,29 @@ class Cloud(object):
|
|
755
760
|
|
756
761
|
self._additional_instance_types = additional_instance_types
|
757
762
|
|
763
|
+
@property
|
764
|
+
def is_aggregated_logs_enabled(self):
|
765
|
+
"""Gets the is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
766
|
+
|
767
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
768
|
+
|
769
|
+
:return: The is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
770
|
+
:rtype: bool
|
771
|
+
"""
|
772
|
+
return self._is_aggregated_logs_enabled
|
773
|
+
|
774
|
+
@is_aggregated_logs_enabled.setter
|
775
|
+
def is_aggregated_logs_enabled(self, is_aggregated_logs_enabled):
|
776
|
+
"""Sets the is_aggregated_logs_enabled of this Cloud.
|
777
|
+
|
778
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
779
|
+
|
780
|
+
:param is_aggregated_logs_enabled: The is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
781
|
+
:type: bool
|
782
|
+
"""
|
783
|
+
|
784
|
+
self._is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
785
|
+
|
758
786
|
def to_dict(self):
|
759
787
|
"""Returns the model properties as a dict"""
|
760
788
|
result = {}
|
@@ -58,6 +58,7 @@ class CloudWithCloudResource(object):
|
|
58
58
|
'is_default': 'bool',
|
59
59
|
'customer_aggregated_logs_config_id': 'str',
|
60
60
|
'additional_instance_types': 'list[UXInstance]',
|
61
|
+
'is_aggregated_logs_enabled': 'bool',
|
61
62
|
'cloud_resource': 'CloudResource'
|
62
63
|
}
|
63
64
|
|
@@ -87,10 +88,11 @@ class CloudWithCloudResource(object):
|
|
87
88
|
'is_default': 'is_default',
|
88
89
|
'customer_aggregated_logs_config_id': 'customer_aggregated_logs_config_id',
|
89
90
|
'additional_instance_types': 'additional_instance_types',
|
91
|
+
'is_aggregated_logs_enabled': 'is_aggregated_logs_enabled',
|
90
92
|
'cloud_resource': 'cloud_resource'
|
91
93
|
}
|
92
94
|
|
93
|
-
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, cloud_resource=None, local_vars_configuration=None): # noqa: E501
|
95
|
+
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, is_aggregated_logs_enabled=None, cloud_resource=None, local_vars_configuration=None): # noqa: E501
|
94
96
|
"""CloudWithCloudResource - a model defined in OpenAPI""" # noqa: E501
|
95
97
|
if local_vars_configuration is None:
|
96
98
|
local_vars_configuration = Configuration()
|
@@ -121,6 +123,7 @@ class CloudWithCloudResource(object):
|
|
121
123
|
self._is_default = None
|
122
124
|
self._customer_aggregated_logs_config_id = None
|
123
125
|
self._additional_instance_types = None
|
126
|
+
self._is_aggregated_logs_enabled = None
|
124
127
|
self._cloud_resource = None
|
125
128
|
self.discriminator = None
|
126
129
|
|
@@ -164,6 +167,8 @@ class CloudWithCloudResource(object):
|
|
164
167
|
self.customer_aggregated_logs_config_id = customer_aggregated_logs_config_id
|
165
168
|
if additional_instance_types is not None:
|
166
169
|
self.additional_instance_types = additional_instance_types
|
170
|
+
if is_aggregated_logs_enabled is not None:
|
171
|
+
self.is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
167
172
|
if cloud_resource is not None:
|
168
173
|
self.cloud_resource = cloud_resource
|
169
174
|
|
@@ -760,6 +765,29 @@ class CloudWithCloudResource(object):
|
|
760
765
|
|
761
766
|
self._additional_instance_types = additional_instance_types
|
762
767
|
|
768
|
+
@property
|
769
|
+
def is_aggregated_logs_enabled(self):
|
770
|
+
"""Gets the is_aggregated_logs_enabled of this CloudWithCloudResource. # noqa: E501
|
771
|
+
|
772
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
773
|
+
|
774
|
+
:return: The is_aggregated_logs_enabled of this CloudWithCloudResource. # noqa: E501
|
775
|
+
:rtype: bool
|
776
|
+
"""
|
777
|
+
return self._is_aggregated_logs_enabled
|
778
|
+
|
779
|
+
@is_aggregated_logs_enabled.setter
|
780
|
+
def is_aggregated_logs_enabled(self, is_aggregated_logs_enabled):
|
781
|
+
"""Sets the is_aggregated_logs_enabled of this CloudWithCloudResource.
|
782
|
+
|
783
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
784
|
+
|
785
|
+
:param is_aggregated_logs_enabled: The is_aggregated_logs_enabled of this CloudWithCloudResource. # noqa: E501
|
786
|
+
:type: bool
|
787
|
+
"""
|
788
|
+
|
789
|
+
self._is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
790
|
+
|
763
791
|
@property
|
764
792
|
def cloud_resource(self):
|
765
793
|
"""Gets the cloud_resource of this CloudWithCloudResource. # noqa: E501
|
@@ -58,6 +58,7 @@ class CloudWithCloudResourceGCP(object):
|
|
58
58
|
'is_default': 'bool',
|
59
59
|
'customer_aggregated_logs_config_id': 'str',
|
60
60
|
'additional_instance_types': 'list[UXInstance]',
|
61
|
+
'is_aggregated_logs_enabled': 'bool',
|
61
62
|
'cloud_resource': 'CloudResourceGCP'
|
62
63
|
}
|
63
64
|
|
@@ -87,10 +88,11 @@ class CloudWithCloudResourceGCP(object):
|
|
87
88
|
'is_default': 'is_default',
|
88
89
|
'customer_aggregated_logs_config_id': 'customer_aggregated_logs_config_id',
|
89
90
|
'additional_instance_types': 'additional_instance_types',
|
91
|
+
'is_aggregated_logs_enabled': 'is_aggregated_logs_enabled',
|
90
92
|
'cloud_resource': 'cloud_resource'
|
91
93
|
}
|
92
94
|
|
93
|
-
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, cloud_resource=None, local_vars_configuration=None): # noqa: E501
|
95
|
+
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, is_aggregated_logs_enabled=None, cloud_resource=None, local_vars_configuration=None): # noqa: E501
|
94
96
|
"""CloudWithCloudResourceGCP - a model defined in OpenAPI""" # noqa: E501
|
95
97
|
if local_vars_configuration is None:
|
96
98
|
local_vars_configuration = Configuration()
|
@@ -121,6 +123,7 @@ class CloudWithCloudResourceGCP(object):
|
|
121
123
|
self._is_default = None
|
122
124
|
self._customer_aggregated_logs_config_id = None
|
123
125
|
self._additional_instance_types = None
|
126
|
+
self._is_aggregated_logs_enabled = None
|
124
127
|
self._cloud_resource = None
|
125
128
|
self.discriminator = None
|
126
129
|
|
@@ -164,6 +167,8 @@ class CloudWithCloudResourceGCP(object):
|
|
164
167
|
self.customer_aggregated_logs_config_id = customer_aggregated_logs_config_id
|
165
168
|
if additional_instance_types is not None:
|
166
169
|
self.additional_instance_types = additional_instance_types
|
170
|
+
if is_aggregated_logs_enabled is not None:
|
171
|
+
self.is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
167
172
|
if cloud_resource is not None:
|
168
173
|
self.cloud_resource = cloud_resource
|
169
174
|
|
@@ -760,6 +765,29 @@ class CloudWithCloudResourceGCP(object):
|
|
760
765
|
|
761
766
|
self._additional_instance_types = additional_instance_types
|
762
767
|
|
768
|
+
@property
|
769
|
+
def is_aggregated_logs_enabled(self):
|
770
|
+
"""Gets the is_aggregated_logs_enabled of this CloudWithCloudResourceGCP. # noqa: E501
|
771
|
+
|
772
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
773
|
+
|
774
|
+
:return: The is_aggregated_logs_enabled of this CloudWithCloudResourceGCP. # noqa: E501
|
775
|
+
:rtype: bool
|
776
|
+
"""
|
777
|
+
return self._is_aggregated_logs_enabled
|
778
|
+
|
779
|
+
@is_aggregated_logs_enabled.setter
|
780
|
+
def is_aggregated_logs_enabled(self, is_aggregated_logs_enabled):
|
781
|
+
"""Sets the is_aggregated_logs_enabled of this CloudWithCloudResourceGCP.
|
782
|
+
|
783
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
784
|
+
|
785
|
+
:param is_aggregated_logs_enabled: The is_aggregated_logs_enabled of this CloudWithCloudResourceGCP. # noqa: E501
|
786
|
+
:type: bool
|
787
|
+
"""
|
788
|
+
|
789
|
+
self._is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
790
|
+
|
763
791
|
@property
|
764
792
|
def cloud_resource(self):
|
765
793
|
"""Gets the cloud_resource of this CloudWithCloudResourceGCP. # noqa: E501
|
@@ -85,7 +85,8 @@ class DatasetMetrics(object):
|
|
85
85
|
self.session_name = session_name
|
86
86
|
self.state = state
|
87
87
|
self.progress = progress
|
88
|
-
|
88
|
+
if total is not None:
|
89
|
+
self.total = total
|
89
90
|
self.start_time = start_time
|
90
91
|
if end_time is not None:
|
91
92
|
self.end_time = end_time
|
@@ -248,8 +249,6 @@ class DatasetMetrics(object):
|
|
248
249
|
:param total: The total of this DatasetMetrics. # noqa: E501
|
249
250
|
:type: int
|
250
251
|
"""
|
251
|
-
if self.local_vars_configuration.client_side_validation and total is None: # noqa: E501
|
252
|
-
raise ValueError("Invalid value for `total`, must not be `None`") # noqa: E501
|
253
252
|
|
254
253
|
self._total = total
|
255
254
|
|
@@ -74,7 +74,8 @@ class OperatorMetrics(object):
|
|
74
74
|
self.name = name
|
75
75
|
self.state = state
|
76
76
|
self.progress = progress
|
77
|
-
|
77
|
+
if total is not None:
|
78
|
+
self.total = total
|
78
79
|
self.start_time = start_time
|
79
80
|
if end_time is not None:
|
80
81
|
self.end_time = end_time
|
@@ -190,8 +191,6 @@ class OperatorMetrics(object):
|
|
190
191
|
:param total: The total of this OperatorMetrics. # noqa: E501
|
191
192
|
:type: int
|
192
193
|
"""
|
193
|
-
if self.local_vars_configuration.client_side_validation and total is None: # noqa: E501
|
194
|
-
raise ValueError("Invalid value for `total`, must not be `None`") # noqa: E501
|
195
194
|
|
196
195
|
self._total = total
|
197
196
|
|
anyscale/cloud/models.py
CHANGED
@@ -158,6 +158,10 @@ cloud = Cloud(
|
|
158
158
|
is_default: Optional[bool] = field(
|
159
159
|
default=None, metadata={"docstring": "Whether this is the default cloud."}
|
160
160
|
)
|
161
|
+
is_aggregated_logs_enabled: Optional[bool] = field(
|
162
|
+
default=None,
|
163
|
+
metadata={"docstring": "Whether aggregated logs are enabled for this cloud."},
|
164
|
+
)
|
161
165
|
|
162
166
|
def _validate_name(self, name: str) -> str:
|
163
167
|
if not isinstance(name, str) or not name.strip():
|
@@ -207,3 +211,12 @@ cloud = Cloud(
|
|
207
211
|
raise TypeError("'compute_stack' must be a ComputeStack.")
|
208
212
|
|
209
213
|
return compute_stack
|
214
|
+
|
215
|
+
def _validate_is_aggregated_logs_enabled(
|
216
|
+
self, is_aggregated_logs_enabled: Optional[bool]
|
217
|
+
) -> Optional[bool]:
|
218
|
+
if is_aggregated_logs_enabled is not None and not isinstance(
|
219
|
+
is_aggregated_logs_enabled, bool
|
220
|
+
):
|
221
|
+
raise TypeError("is_aggregated_logs_enabled must be a bool")
|
222
|
+
return is_aggregated_logs_enabled
|
@@ -197,7 +197,6 @@ class CloudController(BaseController):
|
|
197
197
|
]
|
198
198
|
else:
|
199
199
|
clouds = self.api_client.list_clouds_api_v2_clouds_get().results
|
200
|
-
|
201
200
|
clouds_output = clouds[:max_items]
|
202
201
|
output = clouds_formatter.format_clouds_output(
|
203
202
|
clouds=clouds_output, json_format=False
|
@@ -20,6 +20,8 @@ def format_clouds_output(clouds: List[Cloud], json_format: bool) -> str:
|
|
20
20
|
def format_clouds_output_json(clouds: List[Cloud]) -> str:
|
21
21
|
cloud_jsons = []
|
22
22
|
for cloud in clouds:
|
23
|
+
# Check if log ingestion is enabled based on is_aggregated_logs_enabled field
|
24
|
+
log_ingestion_enabled = getattr(cloud, "is_aggregated_logs_enabled", False)
|
23
25
|
cloud_jsons.append(
|
24
26
|
{
|
25
27
|
"id": cloud.id,
|
@@ -29,6 +31,7 @@ def format_clouds_output_json(clouds: List[Cloud]) -> str:
|
|
29
31
|
"added_date": cloud.created_at.strftime("%m/%d/%Y"),
|
30
32
|
"default": cloud.is_default,
|
31
33
|
"credentials": cloud.credentials,
|
34
|
+
"log_ingestion": "enabled" if log_ingestion_enabled else "disabled",
|
32
35
|
}
|
33
36
|
)
|
34
37
|
return json.dumps(cloud_jsons)
|
@@ -37,6 +40,9 @@ def format_clouds_output_json(clouds: List[Cloud]) -> str:
|
|
37
40
|
def format_clouds_output_table(clouds: List[Cloud]) -> str:
|
38
41
|
table_rows = []
|
39
42
|
for cloud in clouds:
|
43
|
+
# Check if log ingestion is enabled based on is_aggregated_logs_enabled field
|
44
|
+
log_ingestion_enabled = getattr(cloud, "is_aggregated_logs_enabled", False)
|
45
|
+
log_ingestion_status = "enabled" if log_ingestion_enabled else "disabled"
|
40
46
|
table_rows.append(
|
41
47
|
[
|
42
48
|
cloud.id,
|
@@ -46,6 +52,7 @@ def format_clouds_output_table(clouds: List[Cloud]) -> str:
|
|
46
52
|
cloud.created_at.strftime("%m/%d/%Y"),
|
47
53
|
cloud.is_default,
|
48
54
|
cloud.credentials,
|
55
|
+
log_ingestion_status,
|
49
56
|
]
|
50
57
|
)
|
51
58
|
table = tabulate.tabulate(
|
@@ -58,6 +65,7 @@ def format_clouds_output_table(clouds: List[Cloud]) -> str:
|
|
58
65
|
"ADDED DATE",
|
59
66
|
"DEFAULT",
|
60
67
|
"CREDENTIALS",
|
68
|
+
"LOG INGESTION",
|
61
69
|
],
|
62
70
|
tablefmt="plain",
|
63
71
|
)
|
@@ -57,7 +57,8 @@ class Cloud(object):
|
|
57
57
|
'version': 'CloudVersion',
|
58
58
|
'is_default': 'bool',
|
59
59
|
'customer_aggregated_logs_config_id': 'str',
|
60
|
-
'additional_instance_types': 'list[UXInstance]'
|
60
|
+
'additional_instance_types': 'list[UXInstance]',
|
61
|
+
'is_aggregated_logs_enabled': 'bool'
|
61
62
|
}
|
62
63
|
|
63
64
|
attribute_map = {
|
@@ -85,10 +86,11 @@ class Cloud(object):
|
|
85
86
|
'version': 'version',
|
86
87
|
'is_default': 'is_default',
|
87
88
|
'customer_aggregated_logs_config_id': 'customer_aggregated_logs_config_id',
|
88
|
-
'additional_instance_types': 'additional_instance_types'
|
89
|
+
'additional_instance_types': 'additional_instance_types',
|
90
|
+
'is_aggregated_logs_enabled': 'is_aggregated_logs_enabled'
|
89
91
|
}
|
90
92
|
|
91
|
-
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, local_vars_configuration=None): # noqa: E501
|
93
|
+
def __init__(self, name=None, provider=None, compute_stack=None, region=None, credentials=None, config=None, is_k8s=False, is_aioa=False, availability_zones=None, is_bring_your_own_resource=None, is_private_cloud=False, cluster_management_stack_version=None, is_private_service_cloud=None, auto_add_user=False, external_id=None, id=None, type=None, creator_id=None, created_at=None, status=None, state=None, version=None, is_default=None, customer_aggregated_logs_config_id=None, additional_instance_types=None, is_aggregated_logs_enabled=None, local_vars_configuration=None): # noqa: E501
|
92
94
|
"""Cloud - a model defined in OpenAPI""" # noqa: E501
|
93
95
|
if local_vars_configuration is None:
|
94
96
|
local_vars_configuration = Configuration()
|
@@ -119,6 +121,7 @@ class Cloud(object):
|
|
119
121
|
self._is_default = None
|
120
122
|
self._customer_aggregated_logs_config_id = None
|
121
123
|
self._additional_instance_types = None
|
124
|
+
self._is_aggregated_logs_enabled = None
|
122
125
|
self.discriminator = None
|
123
126
|
|
124
127
|
self.name = name
|
@@ -161,6 +164,8 @@ class Cloud(object):
|
|
161
164
|
self.customer_aggregated_logs_config_id = customer_aggregated_logs_config_id
|
162
165
|
if additional_instance_types is not None:
|
163
166
|
self.additional_instance_types = additional_instance_types
|
167
|
+
if is_aggregated_logs_enabled is not None:
|
168
|
+
self.is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
164
169
|
|
165
170
|
@property
|
166
171
|
def name(self):
|
@@ -755,6 +760,29 @@ class Cloud(object):
|
|
755
760
|
|
756
761
|
self._additional_instance_types = additional_instance_types
|
757
762
|
|
763
|
+
@property
|
764
|
+
def is_aggregated_logs_enabled(self):
|
765
|
+
"""Gets the is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
766
|
+
|
767
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
768
|
+
|
769
|
+
:return: The is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
770
|
+
:rtype: bool
|
771
|
+
"""
|
772
|
+
return self._is_aggregated_logs_enabled
|
773
|
+
|
774
|
+
@is_aggregated_logs_enabled.setter
|
775
|
+
def is_aggregated_logs_enabled(self, is_aggregated_logs_enabled):
|
776
|
+
"""Sets the is_aggregated_logs_enabled of this Cloud.
|
777
|
+
|
778
|
+
Whether the aggregated logs are enabled for this cloud. # noqa: E501
|
779
|
+
|
780
|
+
:param is_aggregated_logs_enabled: The is_aggregated_logs_enabled of this Cloud. # noqa: E501
|
781
|
+
:type: bool
|
782
|
+
"""
|
783
|
+
|
784
|
+
self._is_aggregated_logs_enabled = is_aggregated_logs_enabled
|
785
|
+
|
758
786
|
def to_dict(self):
|
759
787
|
"""Returns the model properties as a dict"""
|
760
788
|
result = {}
|
anyscale/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.26.
|
1
|
+
__version__ = "0.26.28"
|
@@ -27,7 +27,7 @@ anyscale/scripts.py,sha256=2LWIBxPHRhFG8m0La7xJXM2xKOQIG3SvlQobS4op2b0,5624
|
|
27
27
|
anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
|
28
28
|
anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
|
29
29
|
anyscale/util.py,sha256=14AHIhl4c4hKAW4gLZIvy5w56-zDjcPmrdWqazsvnHU,41860
|
30
|
-
anyscale/version.py,sha256=
|
30
|
+
anyscale/version.py,sha256=N6xLTsYJvQQWthTqY4_AmO2dxUZ2zzXZ8i6KITzSBUY,24
|
31
31
|
anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
|
32
32
|
anyscale/_private/anyscale_client/README.md,sha256=gk8obk7kqg6VWoUHcqDMwJULh35tYKEZFC0UF_dixGA,718
|
33
33
|
anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
|
@@ -39,7 +39,7 @@ anyscale/_private/docgen/__main__.py,sha256=W91EVEx6nhSApY03T_VypdVo1dL2GOEGi9Sg
|
|
39
39
|
anyscale/_private/docgen/api.md,sha256=4SbFnIzpQYcH-aBs0cu15BsVxiNxxnY8-Zb5Dqh4Oxw,30971
|
40
40
|
anyscale/_private/docgen/generator.py,sha256=jAOaprAeU659glRDBATAkAQeYC1nDU14jgdobcILS1s,21737
|
41
41
|
anyscale/_private/docgen/generator_legacy.py,sha256=pss_6ONF55XhARrKGcREDmg0J5plWact6USgb5Tr5mM,3002
|
42
|
-
anyscale/_private/docgen/models.md,sha256
|
42
|
+
anyscale/_private/docgen/models.md,sha256=-0zxGl2t6EnHsLyNKQ-BpcFTy18Ch-sH5qrv7TtBrYo,292491
|
43
43
|
anyscale/_private/models/__init__.py,sha256=ZrkdHhJZNeCYiogsHc_po8m7vaVdxEjkNGixNeYdlgs,125
|
44
44
|
anyscale/_private/models/image_uri.py,sha256=CMzHc-MNTBsBXvX0G73bjkiznCbm95DYQusgXJ8drm8,3971
|
45
45
|
anyscale/_private/models/model_base.py,sha256=GJLA4JC0yHT554ctMYS_1es-YoTHQH9oqRHr28vV4R0,11354
|
@@ -174,7 +174,7 @@ anyscale/client/openapi_client/models/change_password_params.py,sha256=ijzzLRmBX
|
|
174
174
|
anyscale/client/openapi_client/models/cleanup_leaked_grafana_dashboard_response.py,sha256=_1-lZVl_YJs1dBrsmdrlJxBRJEp1Cjfw6XCXLLUcBng,7444
|
175
175
|
anyscale/client/openapi_client/models/cleanupleakedgrafanadashboardresponse_response.py,sha256=Kfqg8BJimHrI2moHpqhS77uL5ZoT7_ZRny6UHX0q05I,3825
|
176
176
|
anyscale/client/openapi_client/models/clone_experimental_workspace.py,sha256=0J1Fbsczg3XNmEiKtItJwyL3QpEVZzbBmfmTgIrYmck,4534
|
177
|
-
anyscale/client/openapi_client/models/cloud.py,sha256=
|
177
|
+
anyscale/client/openapi_client/models/cloud.py,sha256=Z47Q9oPEiYJfJLVaBl48GA7NoMMu2YJ2yRPCBmJ84u8,27793
|
178
178
|
anyscale/client/openapi_client/models/cloud_analytics_event.py,sha256=eK28GVInJF6mBP9-YZ1NqyhNJIZWXCjPdbuPxDdHyDg,11435
|
179
179
|
anyscale/client/openapi_client/models/cloud_analytics_event_cloud_provider_error.py,sha256=kKFQYOf7cqE3RGnsQ-0yP3fAmf0Ji5EFJHVMkj30uTU,5027
|
180
180
|
anyscale/client/openapi_client/models/cloud_analytics_event_cloud_resource.py,sha256=6hWXOqM7FAuxF0eB94LiKbkmzi2TVuFWccrNfYgZRNw,3866
|
@@ -217,8 +217,8 @@ anyscale/client/openapi_client/models/cloud_type.py,sha256=oExTTGSwlZSRnMv5nnHtm
|
|
217
217
|
anyscale/client/openapi_client/models/cloud_types.py,sha256=i7ci-DsCg-H3mHmGUk68MytUBaGIvrPPLwIU3VMNA_w,2824
|
218
218
|
anyscale/client/openapi_client/models/cloud_version.py,sha256=2AFG73VNZN_kAl3loOtCl1jYX1JesFEpAJxBsnK5JwE,2802
|
219
219
|
anyscale/client/openapi_client/models/cloud_waitlist_status.py,sha256=e7QUyFM6_CrZ1hTONmYBNpBR4_fN54wxhdsom4F_KtU,2959
|
220
|
-
anyscale/client/openapi_client/models/cloud_with_cloud_resource.py,sha256=
|
221
|
-
anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py,sha256=
|
220
|
+
anyscale/client/openapi_client/models/cloud_with_cloud_resource.py,sha256=E05vmRG34ohHEReAx_pifhonanr-485o6gn_5HC_I2M,30588
|
221
|
+
anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py,sha256=5eQdD_FdXKjJFgMPHOm2QTHylJk0u7cCj9eI0F4I0ZM,30941
|
222
222
|
anyscale/client/openapi_client/models/cloudcollaborator_list_response.py,sha256=pXHb16324ty5-42cz6H_V7gDSGOOt4URzgmDKAtif5o,4452
|
223
223
|
anyscale/client/openapi_client/models/clouddatabucketpresigneduploadinfo_response.py,sha256=Oqayf777CsQTa5mU0AEsu_54VNDYL7kpxgn5Icn8jOg,3792
|
224
224
|
anyscale/client/openapi_client/models/clouddatabucketpresignedurlresponse_response.py,sha256=dNN9ed8MqR0wA45kniuFPPBTiMx_fdoVlarg5lS9oGw,3803
|
@@ -300,7 +300,7 @@ anyscale/client/openapi_client/models/dataset_dag.py,sha256=_8wixt-pAWipBz8MQ20C
|
|
300
300
|
anyscale/client/openapi_client/models/dataset_dag_response.py,sha256=KgPE8GwwuensHjvi820Z8xd2_k-SUzgKGj0fPgcaFrM,3588
|
301
301
|
anyscale/client/openapi_client/models/dataset_jobs.py,sha256=1gt2IE0gyNiLQMDlCoswSowzNF_MnZy5VxuWn2p7Oys,3463
|
302
302
|
anyscale/client/openapi_client/models/dataset_list_response.py,sha256=w9_Ynt3MjLlCuqEu5NIHNt3_fWxm7-Xrj6Qd2fd1vOg,4522
|
303
|
-
anyscale/client/openapi_client/models/dataset_metrics.py,sha256=
|
303
|
+
anyscale/client/openapi_client/models/dataset_metrics.py,sha256=FvzHtwM3pdnW6TMjlEpQZtPybXHXYZWAKFneFU2zh1Y,11452
|
304
304
|
anyscale/client/openapi_client/models/dataset_state.py,sha256=fmP97VHXvrTuwEm8lQhSnarE6dXMzcF5bYBK6XDCKpc,2898
|
305
305
|
anyscale/client/openapi_client/models/dataset_upload.py,sha256=rOHyuUSC_14OlJU2I3d14K8SxD0sY-reNiYDsdKM8ec,4361
|
306
306
|
anyscale/client/openapi_client/models/datasetupload_response.py,sha256=0c090SMm7H---lZkx9lPHAimah54Nk1hdwJK7pd82Mg,3561
|
@@ -493,7 +493,7 @@ anyscale/client/openapi_client/models/notification_channel_webhook_config.py,sha
|
|
493
493
|
anyscale/client/openapi_client/models/object_storage.py,sha256=dO0KqwsA0uv7lvIqWlsqPqnXRFaQBkgNJKXdJr5RuBM,5597
|
494
494
|
anyscale/client/openapi_client/models/operator_branch.py,sha256=_wl7vipkkcgd_fn2TG6VZp5Z7zme7kVtp6xXimdNBPg,4232
|
495
495
|
anyscale/client/openapi_client/models/operator_id.py,sha256=D1gfzRMkSIl5svx9CuRdyd_WdsBwS135D6mjAUuReVg,3359
|
496
|
-
anyscale/client/openapi_client/models/operator_metrics.py,sha256=
|
496
|
+
anyscale/client/openapi_client/models/operator_metrics.py,sha256=MErimDgIJ4gcEDBsTN3PeV-jKBJ6VeDW_SnUER-jxJQ,8755
|
497
497
|
anyscale/client/openapi_client/models/organization.py,sha256=denL5QGkErdMLQkEkGWCIxLt-Wv1EWc5u7REMOTKqrw,17320
|
498
498
|
anyscale/client/openapi_client/models/organization_collaborator.py,sha256=b1EWH9jTsPKPv5aotAnf052kC_v4YQ2FVyIcJ28g5pM,8034
|
499
499
|
anyscale/client/openapi_client/models/organization_configuration.py,sha256=ut6TmxbRFp9dQjQQHJL10vV1DRsZPFtFa3sCiPU2Ae8,8754
|
@@ -707,7 +707,7 @@ anyscale/client/openapi_client/models/write_project.py,sha256=48Jym8VDE57cZXTnVH
|
|
707
707
|
anyscale/client/openapi_client/models/write_support_request.py,sha256=pFOalGDQi9FCDjeJV7ccBpq6iRq1Sub4NBfcUVfCglE,3614
|
708
708
|
anyscale/cloud/__init__.py,sha256=HiLCXsvdt2P3E3pq9Qn4bOO58x4XLpSx1-LAe5Nx-wA,3892
|
709
709
|
anyscale/cloud/commands.py,sha256=ycNOpjoevX60rhUQwK1FVxhm8XLhgcClCqeYuYX9xwU,2988
|
710
|
-
anyscale/cloud/models.py,sha256=
|
710
|
+
anyscale/cloud/models.py,sha256=t1Z5RZX8WZQD6gSEj2iwSVl-fhM9QkbfjA3DjSqGG10,7696
|
711
711
|
anyscale/cloud/_private/cloud_sdk.py,sha256=xCoAVomOfo75YWZzHMm9TDeL8UUx79Gn1DeEf6l73bY,2789
|
712
712
|
anyscale/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
713
713
|
anyscale/commands/aggregated_instance_usage_commands.py,sha256=TRP1X3hdIWbKg9V20VtazlDXsYAeV--M0DH3-Z5tnj4,2293
|
@@ -760,7 +760,7 @@ anyscale/connect_utils/start_interactive_session.py,sha256=DbuIK2wuWofmbwJ9MLbsb
|
|
760
760
|
anyscale/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
761
761
|
anyscale/controllers/auth_controller.py,sha256=hDY2sPvUP8pvh8PnlDYH5rCHjQes2v3b_KBVjMbrzeE,5127
|
762
762
|
anyscale/controllers/base_controller.py,sha256=1QFJoScFUV7YTzpKarhwPOc1SvI-xqX3TZmwxKonW6I,1998
|
763
|
-
anyscale/controllers/cloud_controller.py,sha256=
|
763
|
+
anyscale/controllers/cloud_controller.py,sha256=BlF_sF-6xFHdWZtboz84m2R4FZWc-weHLJtNIQutiGk,177090
|
764
764
|
anyscale/controllers/cloud_functional_verification_controller.py,sha256=YsEfdHT9hPtxy_3a5Q62UlRXW0iFJ1lVS4IZ_NHoemE,33399
|
765
765
|
anyscale/controllers/cluster_controller.py,sha256=Sb5wVjrjpycg5iqmENAVtZ4iy9Kr6kM97_ck-KH85LM,28745
|
766
766
|
anyscale/controllers/cluster_env_controller.py,sha256=JalGzcmnFtMHefYL5U6ijMY3nX6W6BsMEfZSMtgBvtU,8048
|
@@ -780,7 +780,7 @@ anyscale/controllers/workspace_controller.py,sha256=LNjLMxQ29vBvYiVVLUWVl3AXTHlR
|
|
780
780
|
anyscale/controllers/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
781
781
|
anyscale/controllers/llm/models_controller.py,sha256=IXI9-1LpUPMSuPEChBcZCEagvJHh52R3djfyk5JY1xU,5690
|
782
782
|
anyscale/formatters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
783
|
-
anyscale/formatters/clouds_formatter.py,sha256=
|
783
|
+
anyscale/formatters/clouds_formatter.py,sha256=q2EtzTvhhlQAOPsaYQrt9E5qimc0x-1tuU_2Nk2a5Ws,2214
|
784
784
|
anyscale/formatters/common_formatter.py,sha256=3FoLEIOnW58sT1iUX1qk_8l9ocR1UP67eagk3VEvYyA,526
|
785
785
|
anyscale/image/__init__.py,sha256=0d-h15Xk2xCcmrpW_PliHeKmyHKOhvizQHJ4bRN-fpE,2212
|
786
786
|
anyscale/image/commands.py,sha256=m9ud8iCUFjNH8qThLBkDPtTtz0EqX9tSIvOAD_ZvkAc,3392
|
@@ -840,7 +840,7 @@ anyscale/sdk/anyscale_client/models/baseimagesenum.py,sha256=Jk33ARD51SCLUIg5GbJ
|
|
840
840
|
anyscale/sdk/anyscale_client/models/build.py,sha256=xiHlZqdnn-jAcbsLp735tjXG4f9TX49ADYqkbL39zLQ,20306
|
841
841
|
anyscale/sdk/anyscale_client/models/build_response.py,sha256=lC_GmJ5eYUMSAC_g7VwmdvNSN6k_TfzCpRw3kK6GQMQ,3471
|
842
842
|
anyscale/sdk/anyscale_client/models/build_status.py,sha256=4L-hAKlhaOUy41MV1sXIq7Ls7u8CMkWMB5NsKD4wXJ0,3015
|
843
|
-
anyscale/sdk/anyscale_client/models/cloud.py,sha256=
|
843
|
+
anyscale/sdk/anyscale_client/models/cloud.py,sha256=uNZ2s8JrC-0CCeF7_zj4DSrT0egcJucQupHSBJMXc48,27791
|
844
844
|
anyscale/sdk/anyscale_client/models/cloud_config.py,sha256=koZOTPKLpjHmC5UukNYDOTkhal566xNWbYPzptJ03Wc,7505
|
845
845
|
anyscale/sdk/anyscale_client/models/cloud_deployment_compute_config.py,sha256=H4yD-6LgUA9raBneT2Q7ICoDoQVbliw56A55-mDrmJs,11122
|
846
846
|
anyscale/sdk/anyscale_client/models/cloud_deployment_selector.py,sha256=_17xZcTWoy_MOKv9-tl5mpY5v8lk7dzmn7beExOD6vA,6148
|
@@ -1073,10 +1073,10 @@ anyscale/workspace/__init__.py,sha256=Innbm5ZhCyADEVBiYSo_vbpKwUNcMzVSAfxIGKOYe6
|
|
1073
1073
|
anyscale/workspace/commands.py,sha256=b1sqNseoPj-1VXznqQOLe0V_a663bOTvJX-TaOMJa1Y,14590
|
1074
1074
|
anyscale/workspace/models.py,sha256=HBvM9ybOdJjqQeViQ30C36gdKT_AwH_JHPoL-DTkESo,9841
|
1075
1075
|
anyscale/workspace/_private/workspace_sdk.py,sha256=2CMeYfJt0UtIFCocDn1ukw1iI5esKHdopLe6duEs-qE,27599
|
1076
|
-
anyscale-0.26.
|
1077
|
-
anyscale-0.26.
|
1078
|
-
anyscale-0.26.
|
1079
|
-
anyscale-0.26.
|
1080
|
-
anyscale-0.26.
|
1081
|
-
anyscale-0.26.
|
1082
|
-
anyscale-0.26.
|
1076
|
+
anyscale-0.26.28.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
|
1077
|
+
anyscale-0.26.28.dist-info/METADATA,sha256=j5aRRGIMazcYSu1WxCdb9-DuKO91I5dEXGxG_23n0qM,3160
|
1078
|
+
anyscale-0.26.28.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
|
1079
|
+
anyscale-0.26.28.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
1080
|
+
anyscale-0.26.28.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
|
1081
|
+
anyscale-0.26.28.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
|
1082
|
+
anyscale-0.26.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|