ros-cdk-dashvector 1.9.0__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.
- ros_cdk_dashvector/__init__.py +674 -0
- ros_cdk_dashvector/_jsii/__init__.py +27 -0
- ros_cdk_dashvector/_jsii/ros-cdk-dashvector@1.9.0.jsii.tgz +0 -0
- ros_cdk_dashvector/py.typed +1 -0
- ros_cdk_dashvector-1.9.0.dist-info/LICENSE +73 -0
- ros_cdk_dashvector-1.9.0.dist-info/METADATA +37 -0
- ros_cdk_dashvector-1.9.0.dist-info/NOTICE +2 -0
- ros_cdk_dashvector-1.9.0.dist-info/RECORD +10 -0
- ros_cdk_dashvector-1.9.0.dist-info/WHEEL +5 -0
- ros_cdk_dashvector-1.9.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
'''
|
|
2
|
+
## Aliyun ROS DASHVECTOR Construct Library
|
|
3
|
+
|
|
4
|
+
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import * as DASHVECTOR from '@alicloud/ros-cdk-dashvector';
|
|
8
|
+
```
|
|
9
|
+
'''
|
|
10
|
+
import abc
|
|
11
|
+
import builtins
|
|
12
|
+
import datetime
|
|
13
|
+
import enum
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
import jsii
|
|
17
|
+
import publication
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
from typeguard import check_type
|
|
21
|
+
|
|
22
|
+
from ._jsii import *
|
|
23
|
+
|
|
24
|
+
import ros_cdk_core as _ros_cdk_core_7adfd82f
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@jsii.data_type(
|
|
28
|
+
jsii_type="@alicloud/ros-cdk-dashvector.ClusterProps",
|
|
29
|
+
jsii_struct_bases=[],
|
|
30
|
+
name_mapping={
|
|
31
|
+
"cluster_name": "clusterName",
|
|
32
|
+
"cluster_type": "clusterType",
|
|
33
|
+
"replica_count": "replicaCount",
|
|
34
|
+
"ignore_existing": "ignoreExisting",
|
|
35
|
+
},
|
|
36
|
+
)
|
|
37
|
+
class ClusterProps:
|
|
38
|
+
def __init__(
|
|
39
|
+
self,
|
|
40
|
+
*,
|
|
41
|
+
cluster_name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
42
|
+
cluster_type: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
43
|
+
replica_count: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
44
|
+
ignore_existing: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
45
|
+
) -> None:
|
|
46
|
+
'''Properties for defining a ``Cluster``.
|
|
47
|
+
|
|
48
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dashvector-cluster
|
|
49
|
+
|
|
50
|
+
:param cluster_name: Property clusterName: The name of cluster.
|
|
51
|
+
:param cluster_type: Property clusterType: The type of cluster.
|
|
52
|
+
:param replica_count: Property replicaCount: The number of replicas.
|
|
53
|
+
:param ignore_existing: Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.
|
|
54
|
+
'''
|
|
55
|
+
if __debug__:
|
|
56
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cced0f88f0db6033618783bd72e99c970f12930fb8ed0fdb7dec31442bbe51d8)
|
|
57
|
+
check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
|
|
58
|
+
check_type(argname="argument cluster_type", value=cluster_type, expected_type=type_hints["cluster_type"])
|
|
59
|
+
check_type(argname="argument replica_count", value=replica_count, expected_type=type_hints["replica_count"])
|
|
60
|
+
check_type(argname="argument ignore_existing", value=ignore_existing, expected_type=type_hints["ignore_existing"])
|
|
61
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
62
|
+
"cluster_name": cluster_name,
|
|
63
|
+
"cluster_type": cluster_type,
|
|
64
|
+
"replica_count": replica_count,
|
|
65
|
+
}
|
|
66
|
+
if ignore_existing is not None:
|
|
67
|
+
self._values["ignore_existing"] = ignore_existing
|
|
68
|
+
|
|
69
|
+
@builtins.property
|
|
70
|
+
def cluster_name(
|
|
71
|
+
self,
|
|
72
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
73
|
+
'''Property clusterName: The name of cluster.'''
|
|
74
|
+
result = self._values.get("cluster_name")
|
|
75
|
+
assert result is not None, "Required property 'cluster_name' is missing"
|
|
76
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
77
|
+
|
|
78
|
+
@builtins.property
|
|
79
|
+
def cluster_type(
|
|
80
|
+
self,
|
|
81
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
82
|
+
'''Property clusterType: The type of cluster.'''
|
|
83
|
+
result = self._values.get("cluster_type")
|
|
84
|
+
assert result is not None, "Required property 'cluster_type' is missing"
|
|
85
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
86
|
+
|
|
87
|
+
@builtins.property
|
|
88
|
+
def replica_count(
|
|
89
|
+
self,
|
|
90
|
+
) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
91
|
+
'''Property replicaCount: The number of replicas.'''
|
|
92
|
+
result = self._values.get("replica_count")
|
|
93
|
+
assert result is not None, "Required property 'replica_count' is missing"
|
|
94
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
95
|
+
|
|
96
|
+
@builtins.property
|
|
97
|
+
def ignore_existing(
|
|
98
|
+
self,
|
|
99
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
100
|
+
'''Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.'''
|
|
101
|
+
result = self._values.get("ignore_existing")
|
|
102
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
103
|
+
|
|
104
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
105
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
106
|
+
|
|
107
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
108
|
+
return not (rhs == self)
|
|
109
|
+
|
|
110
|
+
def __repr__(self) -> str:
|
|
111
|
+
return "ClusterProps(%s)" % ", ".join(
|
|
112
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-dashvector.ICluster")
|
|
117
|
+
class ICluster(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
118
|
+
'''Represents a ``Cluster``.'''
|
|
119
|
+
|
|
120
|
+
@builtins.property
|
|
121
|
+
@jsii.member(jsii_name="attrClusterName")
|
|
122
|
+
def attr_cluster_name(
|
|
123
|
+
self,
|
|
124
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
125
|
+
'''Attribute ClusterName: The name of the cluster.'''
|
|
126
|
+
...
|
|
127
|
+
|
|
128
|
+
@builtins.property
|
|
129
|
+
@jsii.member(jsii_name="attrEndpoint")
|
|
130
|
+
def attr_endpoint(
|
|
131
|
+
self,
|
|
132
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
133
|
+
'''Attribute Endpoint: The endpoint of the cluster.'''
|
|
134
|
+
...
|
|
135
|
+
|
|
136
|
+
@builtins.property
|
|
137
|
+
@jsii.member(jsii_name="attrInstanceId")
|
|
138
|
+
def attr_instance_id(
|
|
139
|
+
self,
|
|
140
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
141
|
+
'''Attribute InstanceId: The ID of the cluster.'''
|
|
142
|
+
...
|
|
143
|
+
|
|
144
|
+
@builtins.property
|
|
145
|
+
@jsii.member(jsii_name="props")
|
|
146
|
+
def props(self) -> ClusterProps:
|
|
147
|
+
...
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class _IClusterProxy(
|
|
151
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
152
|
+
):
|
|
153
|
+
'''Represents a ``Cluster``.'''
|
|
154
|
+
|
|
155
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-dashvector.ICluster"
|
|
156
|
+
|
|
157
|
+
@builtins.property
|
|
158
|
+
@jsii.member(jsii_name="attrClusterName")
|
|
159
|
+
def attr_cluster_name(
|
|
160
|
+
self,
|
|
161
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
162
|
+
'''Attribute ClusterName: The name of the cluster.'''
|
|
163
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrClusterName"))
|
|
164
|
+
|
|
165
|
+
@builtins.property
|
|
166
|
+
@jsii.member(jsii_name="attrEndpoint")
|
|
167
|
+
def attr_endpoint(
|
|
168
|
+
self,
|
|
169
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
170
|
+
'''Attribute Endpoint: The endpoint of the cluster.'''
|
|
171
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrEndpoint"))
|
|
172
|
+
|
|
173
|
+
@builtins.property
|
|
174
|
+
@jsii.member(jsii_name="attrInstanceId")
|
|
175
|
+
def attr_instance_id(
|
|
176
|
+
self,
|
|
177
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
178
|
+
'''Attribute InstanceId: The ID of the cluster.'''
|
|
179
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrInstanceId"))
|
|
180
|
+
|
|
181
|
+
@builtins.property
|
|
182
|
+
@jsii.member(jsii_name="props")
|
|
183
|
+
def props(self) -> ClusterProps:
|
|
184
|
+
return typing.cast(ClusterProps, jsii.get(self, "props"))
|
|
185
|
+
|
|
186
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
187
|
+
typing.cast(typing.Any, ICluster).__jsii_proxy_class__ = lambda : _IClusterProxy
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class RosCluster(
|
|
191
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
192
|
+
metaclass=jsii.JSIIMeta,
|
|
193
|
+
jsii_type="@alicloud/ros-cdk-dashvector.RosCluster",
|
|
194
|
+
):
|
|
195
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::DashVector::Cluster``, which is used to create a DashVector cluster.
|
|
196
|
+
|
|
197
|
+
:Note:
|
|
198
|
+
|
|
199
|
+
This class does not contain additional functions, so it is recommended to use the ``Cluster`` class instead of this class for a more convenient development experience.
|
|
200
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dashvector-cluster
|
|
201
|
+
'''
|
|
202
|
+
|
|
203
|
+
def __init__(
|
|
204
|
+
self,
|
|
205
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
206
|
+
id: builtins.str,
|
|
207
|
+
props: typing.Union["RosClusterProps", typing.Dict[builtins.str, typing.Any]],
|
|
208
|
+
enable_resource_property_constraint: builtins.bool,
|
|
209
|
+
) -> None:
|
|
210
|
+
'''
|
|
211
|
+
:param scope: - scope in which this resource is defined.
|
|
212
|
+
:param id: - scoped id of the resource.
|
|
213
|
+
:param props: - resource properties.
|
|
214
|
+
:param enable_resource_property_constraint: -
|
|
215
|
+
'''
|
|
216
|
+
if __debug__:
|
|
217
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f8ab9d43aeda85aed98537e6668b35ad998f501c87de507dd28237e9a7aefcd1)
|
|
218
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
219
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
220
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
221
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
222
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
223
|
+
|
|
224
|
+
@jsii.member(jsii_name="renderProperties")
|
|
225
|
+
def _render_properties(
|
|
226
|
+
self,
|
|
227
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
228
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
229
|
+
'''
|
|
230
|
+
:param props: -
|
|
231
|
+
'''
|
|
232
|
+
if __debug__:
|
|
233
|
+
type_hints = typing.get_type_hints(_typecheckingstub__08d878a516c373be552be69799e301a5483ec2a24b48d78157ebc385eaede4c4)
|
|
234
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
235
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
236
|
+
|
|
237
|
+
@jsii.python.classproperty
|
|
238
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
239
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
240
|
+
'''The resource type name for this resource class.'''
|
|
241
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
242
|
+
|
|
243
|
+
@builtins.property
|
|
244
|
+
@jsii.member(jsii_name="attrClusterName")
|
|
245
|
+
def attr_cluster_name(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
246
|
+
'''
|
|
247
|
+
:Attribute: ClusterName: The name of the cluster.
|
|
248
|
+
'''
|
|
249
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrClusterName"))
|
|
250
|
+
|
|
251
|
+
@builtins.property
|
|
252
|
+
@jsii.member(jsii_name="attrEndpoint")
|
|
253
|
+
def attr_endpoint(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
254
|
+
'''
|
|
255
|
+
:Attribute: Endpoint: The endpoint of the cluster.
|
|
256
|
+
'''
|
|
257
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrEndpoint"))
|
|
258
|
+
|
|
259
|
+
@builtins.property
|
|
260
|
+
@jsii.member(jsii_name="attrInstanceId")
|
|
261
|
+
def attr_instance_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
262
|
+
'''
|
|
263
|
+
:Attribute: InstanceId: The ID of the cluster.
|
|
264
|
+
'''
|
|
265
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrInstanceId"))
|
|
266
|
+
|
|
267
|
+
@builtins.property
|
|
268
|
+
@jsii.member(jsii_name="rosProperties")
|
|
269
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
270
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
271
|
+
|
|
272
|
+
@builtins.property
|
|
273
|
+
@jsii.member(jsii_name="clusterName")
|
|
274
|
+
def cluster_name(
|
|
275
|
+
self,
|
|
276
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
277
|
+
'''
|
|
278
|
+
:Property: clusterName: The name of cluster.
|
|
279
|
+
'''
|
|
280
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "clusterName"))
|
|
281
|
+
|
|
282
|
+
@cluster_name.setter
|
|
283
|
+
def cluster_name(
|
|
284
|
+
self,
|
|
285
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
286
|
+
) -> None:
|
|
287
|
+
if __debug__:
|
|
288
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50ee46252c32f144ac0f0ceec7ab408d4c1d8d1b8e79c2636115c34e6409c080)
|
|
289
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
290
|
+
jsii.set(self, "clusterName", value)
|
|
291
|
+
|
|
292
|
+
@builtins.property
|
|
293
|
+
@jsii.member(jsii_name="clusterType")
|
|
294
|
+
def cluster_type(
|
|
295
|
+
self,
|
|
296
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
297
|
+
'''
|
|
298
|
+
:Property: clusterType: The type of cluster.
|
|
299
|
+
'''
|
|
300
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "clusterType"))
|
|
301
|
+
|
|
302
|
+
@cluster_type.setter
|
|
303
|
+
def cluster_type(
|
|
304
|
+
self,
|
|
305
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
306
|
+
) -> None:
|
|
307
|
+
if __debug__:
|
|
308
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4dc46291db2d155d3152a83171b1c7c086adf8ce559903f475038090e050740c)
|
|
309
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
310
|
+
jsii.set(self, "clusterType", value)
|
|
311
|
+
|
|
312
|
+
@builtins.property
|
|
313
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
314
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
315
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
316
|
+
|
|
317
|
+
@enable_resource_property_constraint.setter
|
|
318
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
319
|
+
if __debug__:
|
|
320
|
+
type_hints = typing.get_type_hints(_typecheckingstub__53022ebcc3bdcb51bdb6f9e5a47b500b622a01d59d6e4205b05979b84e10a4df)
|
|
321
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
322
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
323
|
+
|
|
324
|
+
@builtins.property
|
|
325
|
+
@jsii.member(jsii_name="replicaCount")
|
|
326
|
+
def replica_count(
|
|
327
|
+
self,
|
|
328
|
+
) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
329
|
+
'''
|
|
330
|
+
:Property: replicaCount: The number of replicas.
|
|
331
|
+
'''
|
|
332
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "replicaCount"))
|
|
333
|
+
|
|
334
|
+
@replica_count.setter
|
|
335
|
+
def replica_count(
|
|
336
|
+
self,
|
|
337
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
338
|
+
) -> None:
|
|
339
|
+
if __debug__:
|
|
340
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5f42cb0b445d12cd3a9de7a1871c035c8e49e17808077d2fd20c6cc455ac69fb)
|
|
341
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
342
|
+
jsii.set(self, "replicaCount", value)
|
|
343
|
+
|
|
344
|
+
@builtins.property
|
|
345
|
+
@jsii.member(jsii_name="ignoreExisting")
|
|
346
|
+
def ignore_existing(
|
|
347
|
+
self,
|
|
348
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
349
|
+
'''
|
|
350
|
+
:Property:
|
|
351
|
+
|
|
352
|
+
ignoreExisting: Whether to ignore existing dash vector cluster
|
|
353
|
+
False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it.
|
|
354
|
+
True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored.
|
|
355
|
+
If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.
|
|
356
|
+
'''
|
|
357
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "ignoreExisting"))
|
|
358
|
+
|
|
359
|
+
@ignore_existing.setter
|
|
360
|
+
def ignore_existing(
|
|
361
|
+
self,
|
|
362
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
363
|
+
) -> None:
|
|
364
|
+
if __debug__:
|
|
365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9da22bd4557d2a53dfe57136a57bc1b9499eb9306368ab5e3039325a14138863)
|
|
366
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
367
|
+
jsii.set(self, "ignoreExisting", value)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
@jsii.data_type(
|
|
371
|
+
jsii_type="@alicloud/ros-cdk-dashvector.RosClusterProps",
|
|
372
|
+
jsii_struct_bases=[],
|
|
373
|
+
name_mapping={
|
|
374
|
+
"cluster_name": "clusterName",
|
|
375
|
+
"cluster_type": "clusterType",
|
|
376
|
+
"replica_count": "replicaCount",
|
|
377
|
+
"ignore_existing": "ignoreExisting",
|
|
378
|
+
},
|
|
379
|
+
)
|
|
380
|
+
class RosClusterProps:
|
|
381
|
+
def __init__(
|
|
382
|
+
self,
|
|
383
|
+
*,
|
|
384
|
+
cluster_name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
385
|
+
cluster_type: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
386
|
+
replica_count: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
387
|
+
ignore_existing: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
388
|
+
) -> None:
|
|
389
|
+
'''Properties for defining a ``RosCluster``.
|
|
390
|
+
|
|
391
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dashvector-cluster
|
|
392
|
+
|
|
393
|
+
:param cluster_name:
|
|
394
|
+
:param cluster_type:
|
|
395
|
+
:param replica_count:
|
|
396
|
+
:param ignore_existing:
|
|
397
|
+
'''
|
|
398
|
+
if __debug__:
|
|
399
|
+
type_hints = typing.get_type_hints(_typecheckingstub__04c504500138a0eb80cdd924b93b3be826e65bc796cba96c56964a2e1aaf623b)
|
|
400
|
+
check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
|
|
401
|
+
check_type(argname="argument cluster_type", value=cluster_type, expected_type=type_hints["cluster_type"])
|
|
402
|
+
check_type(argname="argument replica_count", value=replica_count, expected_type=type_hints["replica_count"])
|
|
403
|
+
check_type(argname="argument ignore_existing", value=ignore_existing, expected_type=type_hints["ignore_existing"])
|
|
404
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
405
|
+
"cluster_name": cluster_name,
|
|
406
|
+
"cluster_type": cluster_type,
|
|
407
|
+
"replica_count": replica_count,
|
|
408
|
+
}
|
|
409
|
+
if ignore_existing is not None:
|
|
410
|
+
self._values["ignore_existing"] = ignore_existing
|
|
411
|
+
|
|
412
|
+
@builtins.property
|
|
413
|
+
def cluster_name(
|
|
414
|
+
self,
|
|
415
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
416
|
+
'''
|
|
417
|
+
:Property: clusterName: The name of cluster.
|
|
418
|
+
'''
|
|
419
|
+
result = self._values.get("cluster_name")
|
|
420
|
+
assert result is not None, "Required property 'cluster_name' is missing"
|
|
421
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
422
|
+
|
|
423
|
+
@builtins.property
|
|
424
|
+
def cluster_type(
|
|
425
|
+
self,
|
|
426
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
427
|
+
'''
|
|
428
|
+
:Property: clusterType: The type of cluster.
|
|
429
|
+
'''
|
|
430
|
+
result = self._values.get("cluster_type")
|
|
431
|
+
assert result is not None, "Required property 'cluster_type' is missing"
|
|
432
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
433
|
+
|
|
434
|
+
@builtins.property
|
|
435
|
+
def replica_count(
|
|
436
|
+
self,
|
|
437
|
+
) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
438
|
+
'''
|
|
439
|
+
:Property: replicaCount: The number of replicas.
|
|
440
|
+
'''
|
|
441
|
+
result = self._values.get("replica_count")
|
|
442
|
+
assert result is not None, "Required property 'replica_count' is missing"
|
|
443
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
444
|
+
|
|
445
|
+
@builtins.property
|
|
446
|
+
def ignore_existing(
|
|
447
|
+
self,
|
|
448
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
449
|
+
'''
|
|
450
|
+
:Property:
|
|
451
|
+
|
|
452
|
+
ignoreExisting: Whether to ignore existing dash vector cluster
|
|
453
|
+
False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it.
|
|
454
|
+
True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored.
|
|
455
|
+
If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.
|
|
456
|
+
'''
|
|
457
|
+
result = self._values.get("ignore_existing")
|
|
458
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
459
|
+
|
|
460
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
461
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
462
|
+
|
|
463
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
464
|
+
return not (rhs == self)
|
|
465
|
+
|
|
466
|
+
def __repr__(self) -> str:
|
|
467
|
+
return "RosClusterProps(%s)" % ", ".join(
|
|
468
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
469
|
+
)
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
@jsii.implements(ICluster)
|
|
473
|
+
class Cluster(
|
|
474
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
475
|
+
metaclass=jsii.JSIIMeta,
|
|
476
|
+
jsii_type="@alicloud/ros-cdk-dashvector.Cluster",
|
|
477
|
+
):
|
|
478
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::DashVector::Cluster``, which is used to create a DashVector cluster.
|
|
479
|
+
|
|
480
|
+
:Note:
|
|
481
|
+
|
|
482
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosCluster``for a more convenient development experience.
|
|
483
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dashvector-cluster
|
|
484
|
+
'''
|
|
485
|
+
|
|
486
|
+
def __init__(
|
|
487
|
+
self,
|
|
488
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
489
|
+
id: builtins.str,
|
|
490
|
+
props: typing.Union[ClusterProps, typing.Dict[builtins.str, typing.Any]],
|
|
491
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
492
|
+
) -> None:
|
|
493
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
494
|
+
|
|
495
|
+
:param scope: -
|
|
496
|
+
:param id: -
|
|
497
|
+
:param props: -
|
|
498
|
+
:param enable_resource_property_constraint: -
|
|
499
|
+
'''
|
|
500
|
+
if __debug__:
|
|
501
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1091086f334f885da062bc9861f27e54f66337fd677c6751a1cb20d2ba4887b)
|
|
502
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
503
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
504
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
505
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
506
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
507
|
+
|
|
508
|
+
@builtins.property
|
|
509
|
+
@jsii.member(jsii_name="attrClusterName")
|
|
510
|
+
def attr_cluster_name(
|
|
511
|
+
self,
|
|
512
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
513
|
+
'''Attribute ClusterName: The name of the cluster.'''
|
|
514
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrClusterName"))
|
|
515
|
+
|
|
516
|
+
@builtins.property
|
|
517
|
+
@jsii.member(jsii_name="attrEndpoint")
|
|
518
|
+
def attr_endpoint(
|
|
519
|
+
self,
|
|
520
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
521
|
+
'''Attribute Endpoint: The endpoint of the cluster.'''
|
|
522
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrEndpoint"))
|
|
523
|
+
|
|
524
|
+
@builtins.property
|
|
525
|
+
@jsii.member(jsii_name="attrInstanceId")
|
|
526
|
+
def attr_instance_id(
|
|
527
|
+
self,
|
|
528
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
529
|
+
'''Attribute InstanceId: The ID of the cluster.'''
|
|
530
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrInstanceId"))
|
|
531
|
+
|
|
532
|
+
@builtins.property
|
|
533
|
+
@jsii.member(jsii_name="props")
|
|
534
|
+
def props(self) -> ClusterProps:
|
|
535
|
+
return typing.cast(ClusterProps, jsii.get(self, "props"))
|
|
536
|
+
|
|
537
|
+
@builtins.property
|
|
538
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
539
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
540
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
541
|
+
|
|
542
|
+
@_enable_resource_property_constraint.setter
|
|
543
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
544
|
+
if __debug__:
|
|
545
|
+
type_hints = typing.get_type_hints(_typecheckingstub__613db48e03e802cdd9d28018ffbd2a153101d8938fde32ddc3e7bd8b26cce583)
|
|
546
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
547
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
548
|
+
|
|
549
|
+
@builtins.property
|
|
550
|
+
@jsii.member(jsii_name="id")
|
|
551
|
+
def _id(self) -> builtins.str:
|
|
552
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
553
|
+
|
|
554
|
+
@_id.setter
|
|
555
|
+
def _id(self, value: builtins.str) -> None:
|
|
556
|
+
if __debug__:
|
|
557
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b16713c756b8da2603f9f18c8beef38634eb5761d2a5abb437fade3d7f0b82c2)
|
|
558
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
559
|
+
jsii.set(self, "id", value)
|
|
560
|
+
|
|
561
|
+
@builtins.property
|
|
562
|
+
@jsii.member(jsii_name="scope")
|
|
563
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
564
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
565
|
+
|
|
566
|
+
@_scope.setter
|
|
567
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
568
|
+
if __debug__:
|
|
569
|
+
type_hints = typing.get_type_hints(_typecheckingstub__273906f6467a20fd15c98f96d23b56419944fa64990889c5ba16d76d4985bda6)
|
|
570
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
571
|
+
jsii.set(self, "scope", value)
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
__all__ = [
|
|
575
|
+
"Cluster",
|
|
576
|
+
"ClusterProps",
|
|
577
|
+
"ICluster",
|
|
578
|
+
"RosCluster",
|
|
579
|
+
"RosClusterProps",
|
|
580
|
+
]
|
|
581
|
+
|
|
582
|
+
publication.publish()
|
|
583
|
+
|
|
584
|
+
def _typecheckingstub__cced0f88f0db6033618783bd72e99c970f12930fb8ed0fdb7dec31442bbe51d8(
|
|
585
|
+
*,
|
|
586
|
+
cluster_name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
587
|
+
cluster_type: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
588
|
+
replica_count: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
589
|
+
ignore_existing: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
590
|
+
) -> None:
|
|
591
|
+
"""Type checking stubs"""
|
|
592
|
+
pass
|
|
593
|
+
|
|
594
|
+
def _typecheckingstub__f8ab9d43aeda85aed98537e6668b35ad998f501c87de507dd28237e9a7aefcd1(
|
|
595
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
596
|
+
id: builtins.str,
|
|
597
|
+
props: typing.Union[RosClusterProps, typing.Dict[builtins.str, typing.Any]],
|
|
598
|
+
enable_resource_property_constraint: builtins.bool,
|
|
599
|
+
) -> None:
|
|
600
|
+
"""Type checking stubs"""
|
|
601
|
+
pass
|
|
602
|
+
|
|
603
|
+
def _typecheckingstub__08d878a516c373be552be69799e301a5483ec2a24b48d78157ebc385eaede4c4(
|
|
604
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
605
|
+
) -> None:
|
|
606
|
+
"""Type checking stubs"""
|
|
607
|
+
pass
|
|
608
|
+
|
|
609
|
+
def _typecheckingstub__50ee46252c32f144ac0f0ceec7ab408d4c1d8d1b8e79c2636115c34e6409c080(
|
|
610
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
611
|
+
) -> None:
|
|
612
|
+
"""Type checking stubs"""
|
|
613
|
+
pass
|
|
614
|
+
|
|
615
|
+
def _typecheckingstub__4dc46291db2d155d3152a83171b1c7c086adf8ce559903f475038090e050740c(
|
|
616
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
617
|
+
) -> None:
|
|
618
|
+
"""Type checking stubs"""
|
|
619
|
+
pass
|
|
620
|
+
|
|
621
|
+
def _typecheckingstub__53022ebcc3bdcb51bdb6f9e5a47b500b622a01d59d6e4205b05979b84e10a4df(
|
|
622
|
+
value: builtins.bool,
|
|
623
|
+
) -> None:
|
|
624
|
+
"""Type checking stubs"""
|
|
625
|
+
pass
|
|
626
|
+
|
|
627
|
+
def _typecheckingstub__5f42cb0b445d12cd3a9de7a1871c035c8e49e17808077d2fd20c6cc455ac69fb(
|
|
628
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
629
|
+
) -> None:
|
|
630
|
+
"""Type checking stubs"""
|
|
631
|
+
pass
|
|
632
|
+
|
|
633
|
+
def _typecheckingstub__9da22bd4557d2a53dfe57136a57bc1b9499eb9306368ab5e3039325a14138863(
|
|
634
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
635
|
+
) -> None:
|
|
636
|
+
"""Type checking stubs"""
|
|
637
|
+
pass
|
|
638
|
+
|
|
639
|
+
def _typecheckingstub__04c504500138a0eb80cdd924b93b3be826e65bc796cba96c56964a2e1aaf623b(
|
|
640
|
+
*,
|
|
641
|
+
cluster_name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
642
|
+
cluster_type: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
643
|
+
replica_count: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
644
|
+
ignore_existing: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
645
|
+
) -> None:
|
|
646
|
+
"""Type checking stubs"""
|
|
647
|
+
pass
|
|
648
|
+
|
|
649
|
+
def _typecheckingstub__b1091086f334f885da062bc9861f27e54f66337fd677c6751a1cb20d2ba4887b(
|
|
650
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
651
|
+
id: builtins.str,
|
|
652
|
+
props: typing.Union[ClusterProps, typing.Dict[builtins.str, typing.Any]],
|
|
653
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
654
|
+
) -> None:
|
|
655
|
+
"""Type checking stubs"""
|
|
656
|
+
pass
|
|
657
|
+
|
|
658
|
+
def _typecheckingstub__613db48e03e802cdd9d28018ffbd2a153101d8938fde32ddc3e7bd8b26cce583(
|
|
659
|
+
value: builtins.bool,
|
|
660
|
+
) -> None:
|
|
661
|
+
"""Type checking stubs"""
|
|
662
|
+
pass
|
|
663
|
+
|
|
664
|
+
def _typecheckingstub__b16713c756b8da2603f9f18c8beef38634eb5761d2a5abb437fade3d7f0b82c2(
|
|
665
|
+
value: builtins.str,
|
|
666
|
+
) -> None:
|
|
667
|
+
"""Type checking stubs"""
|
|
668
|
+
pass
|
|
669
|
+
|
|
670
|
+
def _typecheckingstub__273906f6467a20fd15c98f96d23b56419944fa64990889c5ba16d76d4985bda6(
|
|
671
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
672
|
+
) -> None:
|
|
673
|
+
"""Type checking stubs"""
|
|
674
|
+
pass
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import abc
|
|
2
|
+
import builtins
|
|
3
|
+
import datetime
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
|
|
7
|
+
import jsii
|
|
8
|
+
import publication
|
|
9
|
+
import typing_extensions
|
|
10
|
+
|
|
11
|
+
from typeguard import check_type
|
|
12
|
+
|
|
13
|
+
import constructs._jsii
|
|
14
|
+
import ros_cdk_core._jsii
|
|
15
|
+
|
|
16
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
17
|
+
"@alicloud/ros-cdk-dashvector",
|
|
18
|
+
"1.9.0",
|
|
19
|
+
__name__[0:-6],
|
|
20
|
+
"ros-cdk-dashvector@1.9.0.jsii.tgz",
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"__jsii_assembly__",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
publication.publish()
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
10
|
+
|
|
11
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
12
|
+
|
|
13
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
14
|
+
|
|
15
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
16
|
+
|
|
17
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
18
|
+
|
|
19
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
20
|
+
|
|
21
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
22
|
+
|
|
23
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
24
|
+
|
|
25
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
26
|
+
|
|
27
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
28
|
+
|
|
29
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
30
|
+
|
|
31
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
32
|
+
|
|
33
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
34
|
+
|
|
35
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
36
|
+
|
|
37
|
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
38
|
+
|
|
39
|
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
40
|
+
|
|
41
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
42
|
+
|
|
43
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
+
|
|
45
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
46
|
+
|
|
47
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
+
|
|
49
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
+
|
|
51
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
+
|
|
53
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
+
|
|
55
|
+
END OF TERMS AND CONDITIONS
|
|
56
|
+
|
|
57
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
58
|
+
|
|
59
|
+
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
60
|
+
|
|
61
|
+
Copyright [yyyy] [name of copyright owner]
|
|
62
|
+
|
|
63
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
64
|
+
you may not use this file except in compliance with the License.
|
|
65
|
+
You may obtain a copy of the License at
|
|
66
|
+
|
|
67
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
68
|
+
|
|
69
|
+
Unless required by applicable law or agreed to in writing, software
|
|
70
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
71
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
72
|
+
See the License for the specific language governing permissions and
|
|
73
|
+
limitations under the License.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ros-cdk-dashvector
|
|
3
|
+
Version: 1.9.0
|
|
4
|
+
Summary: Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
|
|
5
|
+
Home-page: https://github.com/aliyun/Resource-Orchestration-Service-Cloud-Development-Kit.git
|
|
6
|
+
Author: ROS Development Team
|
|
7
|
+
License: Apache-2.0
|
|
8
|
+
Project-URL: Source, https://github.com/aliyun/Resource-Orchestration-Service-Cloud-Development-Kit.git
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: JavaScript
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Typing :: Typed
|
|
19
|
+
Classifier: License :: OSI Approved
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Requires-Python: ~=3.7
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: NOTICE
|
|
25
|
+
Requires-Dist: constructs (<4.0.0,>=3.0.4)
|
|
26
|
+
Requires-Dist: jsii (<=1.85.0,>1.12.0)
|
|
27
|
+
Requires-Dist: publication (>=0.0.3)
|
|
28
|
+
Requires-Dist: ros-cdk-core (<2.0.0,>=1.7.0)
|
|
29
|
+
Requires-Dist: typeguard (~=2.13.3)
|
|
30
|
+
|
|
31
|
+
## Aliyun ROS DASHVECTOR Construct Library
|
|
32
|
+
|
|
33
|
+
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
import * as DASHVECTOR from '@alicloud/ros-cdk-dashvector';
|
|
37
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
ros_cdk_dashvector/__init__.py,sha256=WmGZMVXrrwtm_9FAOumWrzalKU-qklyvWyEa13VKZMw,29441
|
|
2
|
+
ros_cdk_dashvector/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
ros_cdk_dashvector/_jsii/__init__.py,sha256=IUDgsz6wf5_uNXVZnd65pJwWP18P7AWPTqSqTn5fTCg,431
|
|
4
|
+
ros_cdk_dashvector/_jsii/ros-cdk-dashvector@1.9.0.jsii.tgz,sha256=frXRpn2Fq6hprDEazoeXtnMRiQJkcrztpFV8eUUu9h8,32823
|
|
5
|
+
ros_cdk_dashvector-1.9.0.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
|
|
6
|
+
ros_cdk_dashvector-1.9.0.dist-info/METADATA,sha256=fOcotBFnX1NVqPWMIZ6uhaqctWTCd7racYGDwcOK19Q,1475
|
|
7
|
+
ros_cdk_dashvector-1.9.0.dist-info/NOTICE,sha256=2QphLC5EbcXMxwWTewMxg9-WTM-FRkvUc5DpqpFapkA,121
|
|
8
|
+
ros_cdk_dashvector-1.9.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
9
|
+
ros_cdk_dashvector-1.9.0.dist-info/top_level.txt,sha256=oXzYN8Ru8qfm9bou5nVuxe8dxxEXuttics60HtMK-88,19
|
|
10
|
+
ros_cdk_dashvector-1.9.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ros_cdk_dashvector
|