pulumi-alicloud 3.77.0a1746163013__py3-none-any.whl → 3.77.0a1746220593__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.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +72 -0
- pulumi_alicloud/_inputs.py +13 -0
- pulumi_alicloud/adb/db_cluster_lake_version.py +94 -0
- pulumi_alicloud/alb/_inputs.py +6 -3
- pulumi_alicloud/alb/outputs.py +4 -2
- pulumi_alicloud/apig/environment.py +2 -2
- pulumi_alicloud/apig/http_api.py +2 -2
- pulumi_alicloud/arms/grafana_workspace.py +56 -14
- pulumi_alicloud/cloudfirewall/instance_member.py +4 -4
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +2 -2
- pulumi_alicloud/cloudsso/_inputs.py +697 -7
- pulumi_alicloud/cloudsso/directory.py +345 -65
- pulumi_alicloud/cloudsso/outputs.py +557 -8
- pulumi_alicloud/config/outputs.py +8 -0
- pulumi_alicloud/cs/_inputs.py +18 -18
- pulumi_alicloud/cs/edge_kubernetes.py +136 -100
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +21 -1
- pulumi_alicloud/cs/kubernetes.py +118 -39
- pulumi_alicloud/cs/managed_kubernetes.py +125 -46
- pulumi_alicloud/cs/outputs.py +14 -14
- pulumi_alicloud/cs/serverless_kubernetes.py +66 -73
- pulumi_alicloud/ddos/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dns/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dts/job_monitor_rule.py +2 -2
- pulumi_alicloud/dts/synchronization_job.py +2 -2
- pulumi_alicloud/ecs/get_instance_types.py +4 -4
- pulumi_alicloud/ecs/instance.py +28 -28
- pulumi_alicloud/ecs/outputs.py +2 -2
- pulumi_alicloud/ecs/security_group_rule.py +32 -4
- pulumi_alicloud/eflo/__init__.py +3 -0
- pulumi_alicloud/eflo/_inputs.py +623 -0
- pulumi_alicloud/eflo/experiment_plan.py +573 -0
- pulumi_alicloud/eflo/experiment_plan_template.py +464 -0
- pulumi_alicloud/eflo/outputs.py +476 -0
- pulumi_alicloud/eflo/resource.py +388 -0
- pulumi_alicloud/ens/disk.py +120 -69
- pulumi_alicloud/ens/eip.py +45 -41
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/scheduled_preload_execution.py +479 -0
- pulumi_alicloud/esa/scheduled_preload_job.py +467 -0
- pulumi_alicloud/gwlb/listener.py +2 -2
- pulumi_alicloud/gwlb/load_balancer.py +2 -2
- pulumi_alicloud/gwlb/server_group.py +2 -2
- pulumi_alicloud/ims/__init__.py +2 -0
- pulumi_alicloud/ims/get_oidc_providers.py +216 -0
- pulumi_alicloud/ims/outputs.py +138 -0
- pulumi_alicloud/mongodb/__init__.py +2 -0
- pulumi_alicloud/mongodb/_inputs.py +154 -0
- pulumi_alicloud/mongodb/instance.py +7 -7
- pulumi_alicloud/mongodb/outputs.py +121 -0
- pulumi_alicloud/mongodb/public_network_address.py +275 -0
- pulumi_alicloud/mongodb/replica_set_role.py +533 -0
- pulumi_alicloud/nas/_inputs.py +252 -18
- pulumi_alicloud/nas/file_system.py +649 -264
- pulumi_alicloud/nas/outputs.py +198 -12
- pulumi_alicloud/nlb/server_group_server_attachment.py +4 -0
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/flow_pipeline.py +491 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +1 -0
- pulumi_alicloud/ram/get_role_policy_attachments.py +272 -0
- pulumi_alicloud/ram/outputs.py +63 -0
- pulumi_alicloud/ram/security_preference.py +496 -110
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/rds/instance.py +1 -1
- pulumi_alicloud/sae/application_scaling_rule.py +2 -2
- pulumi_alicloud/sae/ingress.py +2 -2
- pulumi_alicloud/schedulerx/app_group.py +2 -2
- pulumi_alicloud/schedulerx/job.py +2 -2
- pulumi_alicloud/selectdb/db_cluster.py +2 -0
- pulumi_alicloud/selectdb/db_instance.py +43 -13
- pulumi_alicloud/selectdb/get_db_clusters.py +2 -0
- pulumi_alicloud/selectdb/get_db_instances.py +2 -0
- pulumi_alicloud/selectdb/outputs.py +3 -3
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +295 -0
- pulumi_alicloud/sls/etl.py +516 -0
- pulumi_alicloud/sls/outputs.py +209 -0
- pulumi_alicloud/vpc/network.py +156 -88
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/RECORD +83 -71
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
|
|
18
|
+
__all__ = ['FlowPipelineArgs', 'FlowPipeline']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class FlowPipelineArgs:
|
|
22
|
+
def __init__(__self__, *,
|
|
23
|
+
manifest: pulumi.Input[builtins.str],
|
|
24
|
+
workspace_id: pulumi.Input[builtins.str]):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a FlowPipeline resource.
|
|
27
|
+
:param pulumi.Input[builtins.str] manifest: The pipeline definition. For more information, see the sample pipeline definition).
|
|
28
|
+
:param pulumi.Input[builtins.str] workspace_id: The ID of the workspace.
|
|
29
|
+
"""
|
|
30
|
+
pulumi.set(__self__, "manifest", manifest)
|
|
31
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
@pulumi.getter
|
|
35
|
+
def manifest(self) -> pulumi.Input[builtins.str]:
|
|
36
|
+
"""
|
|
37
|
+
The pipeline definition. For more information, see the sample pipeline definition).
|
|
38
|
+
"""
|
|
39
|
+
return pulumi.get(self, "manifest")
|
|
40
|
+
|
|
41
|
+
@manifest.setter
|
|
42
|
+
def manifest(self, value: pulumi.Input[builtins.str]):
|
|
43
|
+
pulumi.set(self, "manifest", value)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="workspaceId")
|
|
47
|
+
def workspace_id(self) -> pulumi.Input[builtins.str]:
|
|
48
|
+
"""
|
|
49
|
+
The ID of the workspace.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "workspace_id")
|
|
52
|
+
|
|
53
|
+
@workspace_id.setter
|
|
54
|
+
def workspace_id(self, value: pulumi.Input[builtins.str]):
|
|
55
|
+
pulumi.set(self, "workspace_id", value)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@pulumi.input_type
|
|
59
|
+
class _FlowPipelineState:
|
|
60
|
+
def __init__(__self__, *,
|
|
61
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
62
|
+
manifest: Optional[pulumi.Input[builtins.str]] = None,
|
|
63
|
+
workspace_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
64
|
+
"""
|
|
65
|
+
Input properties used for looking up and filtering FlowPipeline resources.
|
|
66
|
+
:param pulumi.Input[builtins.str] create_time: The creation time of the resource.
|
|
67
|
+
:param pulumi.Input[builtins.str] manifest: The pipeline definition. For more information, see the sample pipeline definition).
|
|
68
|
+
:param pulumi.Input[builtins.str] workspace_id: The ID of the workspace.
|
|
69
|
+
"""
|
|
70
|
+
if create_time is not None:
|
|
71
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
72
|
+
if manifest is not None:
|
|
73
|
+
pulumi.set(__self__, "manifest", manifest)
|
|
74
|
+
if workspace_id is not None:
|
|
75
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="createTime")
|
|
79
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
80
|
+
"""
|
|
81
|
+
The creation time of the resource.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "create_time")
|
|
84
|
+
|
|
85
|
+
@create_time.setter
|
|
86
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
87
|
+
pulumi.set(self, "create_time", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def manifest(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
92
|
+
"""
|
|
93
|
+
The pipeline definition. For more information, see the sample pipeline definition).
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "manifest")
|
|
96
|
+
|
|
97
|
+
@manifest.setter
|
|
98
|
+
def manifest(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
99
|
+
pulumi.set(self, "manifest", value)
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="workspaceId")
|
|
103
|
+
def workspace_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
104
|
+
"""
|
|
105
|
+
The ID of the workspace.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "workspace_id")
|
|
108
|
+
|
|
109
|
+
@workspace_id.setter
|
|
110
|
+
def workspace_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
111
|
+
pulumi.set(self, "workspace_id", value)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class FlowPipeline(pulumi.CustomResource):
|
|
115
|
+
|
|
116
|
+
pulumi_type = "alicloud:pai/flowPipeline:FlowPipeline"
|
|
117
|
+
|
|
118
|
+
@overload
|
|
119
|
+
def __init__(__self__,
|
|
120
|
+
resource_name: str,
|
|
121
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
122
|
+
manifest: Optional[pulumi.Input[builtins.str]] = None,
|
|
123
|
+
workspace_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
__props__=None):
|
|
125
|
+
"""
|
|
126
|
+
Provides a Pai Flow Pipeline resource.
|
|
127
|
+
|
|
128
|
+
For information about Pai Flow Pipeline and how to use it, see [What is Pipeline](https://www.alibabacloud.com/help/en/pai/developer-reference/api-paiflow-2021-02-02-createpipeline).
|
|
129
|
+
|
|
130
|
+
> **NOTE:** Available since v1.248.0.
|
|
131
|
+
|
|
132
|
+
## Example Usage
|
|
133
|
+
|
|
134
|
+
Basic Usage
|
|
135
|
+
|
|
136
|
+
```python
|
|
137
|
+
import pulumi
|
|
138
|
+
import pulumi_alicloud as alicloud
|
|
139
|
+
import pulumi_random as random
|
|
140
|
+
|
|
141
|
+
config = pulumi.Config()
|
|
142
|
+
name = config.get("name")
|
|
143
|
+
if name is None:
|
|
144
|
+
name = "terraform_example"
|
|
145
|
+
default = alicloud.get_account()
|
|
146
|
+
default_integer = random.index.Integer("default",
|
|
147
|
+
min=10000,
|
|
148
|
+
max=99999)
|
|
149
|
+
default_wj_qd1e = alicloud.pai.WorkspaceWorkspace("defaultWjQD1e",
|
|
150
|
+
description=name,
|
|
151
|
+
display_name=name,
|
|
152
|
+
workspace_name=name,
|
|
153
|
+
env_types=["dev"])
|
|
154
|
+
default_flow_pipeline = alicloud.pai.FlowPipeline("default",
|
|
155
|
+
workspace_id=default_wj_qd1e.id,
|
|
156
|
+
manifest=f\"\"\"apiVersion: "core/v1"
|
|
157
|
+
metadata:
|
|
158
|
+
provider: "{default.id}"
|
|
159
|
+
version: "v1"
|
|
160
|
+
identifier: "my_pipeline"
|
|
161
|
+
name: "source-transform"
|
|
162
|
+
uuid: "terraformuuid{default_integer["result"]}"
|
|
163
|
+
annotations: {{}}
|
|
164
|
+
labels: {{}}
|
|
165
|
+
spec:
|
|
166
|
+
inputs:
|
|
167
|
+
artifacts: []
|
|
168
|
+
parameters:
|
|
169
|
+
- name: "execution_maxcompute"
|
|
170
|
+
type: "Map"
|
|
171
|
+
value:
|
|
172
|
+
spec:
|
|
173
|
+
endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
|
|
174
|
+
odpsProject: "test_i****"
|
|
175
|
+
outputs:
|
|
176
|
+
artifacts: []
|
|
177
|
+
parameters: []
|
|
178
|
+
arguments:
|
|
179
|
+
artifacts: []
|
|
180
|
+
parameters: []
|
|
181
|
+
dependencies: []
|
|
182
|
+
initContainers: []
|
|
183
|
+
sideCarContainers: []
|
|
184
|
+
pipelines:
|
|
185
|
+
- apiVersion: "core/v1"
|
|
186
|
+
metadata:
|
|
187
|
+
provider: "pai"
|
|
188
|
+
version: "v1"
|
|
189
|
+
identifier: "data_source"
|
|
190
|
+
name: "data-source"
|
|
191
|
+
uuid: "2ftahdnzcod2rt6u9q"
|
|
192
|
+
displayName: "读数据表-1"
|
|
193
|
+
annotations: {{}}
|
|
194
|
+
labels: {{}}
|
|
195
|
+
spec:
|
|
196
|
+
inputs:
|
|
197
|
+
artifacts: []
|
|
198
|
+
parameters: []
|
|
199
|
+
outputs:
|
|
200
|
+
artifacts: []
|
|
201
|
+
parameters: []
|
|
202
|
+
arguments:
|
|
203
|
+
artifacts: []
|
|
204
|
+
parameters:
|
|
205
|
+
- name: "inputTableName"
|
|
206
|
+
value: "pai_online_project.wumai_data"
|
|
207
|
+
- name: "execution"
|
|
208
|
+
from: "{{{{inputs.parameters.execution_maxcompute}}}}"
|
|
209
|
+
dependencies: []
|
|
210
|
+
initContainers: []
|
|
211
|
+
sideCarContainers: []
|
|
212
|
+
pipelines: []
|
|
213
|
+
volumes: []
|
|
214
|
+
- apiVersion: "core/v1"
|
|
215
|
+
metadata:
|
|
216
|
+
provider: "pai"
|
|
217
|
+
version: "v1"
|
|
218
|
+
identifier: "type_transform"
|
|
219
|
+
name: "type-transform"
|
|
220
|
+
uuid: "gacnnnl4ksvbabfh6l"
|
|
221
|
+
displayName: "类型转换-1"
|
|
222
|
+
annotations: {{}}
|
|
223
|
+
labels: {{}}
|
|
224
|
+
spec:
|
|
225
|
+
inputs:
|
|
226
|
+
artifacts: []
|
|
227
|
+
parameters: []
|
|
228
|
+
outputs:
|
|
229
|
+
artifacts: []
|
|
230
|
+
parameters: []
|
|
231
|
+
arguments:
|
|
232
|
+
artifacts:
|
|
233
|
+
- name: "inputTable"
|
|
234
|
+
from: "{{{{pipelines.data_source.outputs.artifacts.outputTable}}}}"
|
|
235
|
+
parameters:
|
|
236
|
+
- name: "cols_to_double"
|
|
237
|
+
value: "time,hour,pm2,pm10,so2,co,no2"
|
|
238
|
+
- name: "execution"
|
|
239
|
+
from: "{{{{inputs.parameters.execution_maxcompute}}}}"
|
|
240
|
+
dependencies:
|
|
241
|
+
- "data_source"
|
|
242
|
+
initContainers: []
|
|
243
|
+
sideCarContainers: []
|
|
244
|
+
pipelines: []
|
|
245
|
+
volumes: []
|
|
246
|
+
volumes: []
|
|
247
|
+
\"\"\")
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Import
|
|
251
|
+
|
|
252
|
+
Pai Flow Pipeline can be imported using the id, e.g.
|
|
253
|
+
|
|
254
|
+
```sh
|
|
255
|
+
$ pulumi import alicloud:pai/flowPipeline:FlowPipeline example <id>
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
:param str resource_name: The name of the resource.
|
|
259
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
+
:param pulumi.Input[builtins.str] manifest: The pipeline definition. For more information, see the sample pipeline definition).
|
|
261
|
+
:param pulumi.Input[builtins.str] workspace_id: The ID of the workspace.
|
|
262
|
+
"""
|
|
263
|
+
...
|
|
264
|
+
@overload
|
|
265
|
+
def __init__(__self__,
|
|
266
|
+
resource_name: str,
|
|
267
|
+
args: FlowPipelineArgs,
|
|
268
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
269
|
+
"""
|
|
270
|
+
Provides a Pai Flow Pipeline resource.
|
|
271
|
+
|
|
272
|
+
For information about Pai Flow Pipeline and how to use it, see [What is Pipeline](https://www.alibabacloud.com/help/en/pai/developer-reference/api-paiflow-2021-02-02-createpipeline).
|
|
273
|
+
|
|
274
|
+
> **NOTE:** Available since v1.248.0.
|
|
275
|
+
|
|
276
|
+
## Example Usage
|
|
277
|
+
|
|
278
|
+
Basic Usage
|
|
279
|
+
|
|
280
|
+
```python
|
|
281
|
+
import pulumi
|
|
282
|
+
import pulumi_alicloud as alicloud
|
|
283
|
+
import pulumi_random as random
|
|
284
|
+
|
|
285
|
+
config = pulumi.Config()
|
|
286
|
+
name = config.get("name")
|
|
287
|
+
if name is None:
|
|
288
|
+
name = "terraform_example"
|
|
289
|
+
default = alicloud.get_account()
|
|
290
|
+
default_integer = random.index.Integer("default",
|
|
291
|
+
min=10000,
|
|
292
|
+
max=99999)
|
|
293
|
+
default_wj_qd1e = alicloud.pai.WorkspaceWorkspace("defaultWjQD1e",
|
|
294
|
+
description=name,
|
|
295
|
+
display_name=name,
|
|
296
|
+
workspace_name=name,
|
|
297
|
+
env_types=["dev"])
|
|
298
|
+
default_flow_pipeline = alicloud.pai.FlowPipeline("default",
|
|
299
|
+
workspace_id=default_wj_qd1e.id,
|
|
300
|
+
manifest=f\"\"\"apiVersion: "core/v1"
|
|
301
|
+
metadata:
|
|
302
|
+
provider: "{default.id}"
|
|
303
|
+
version: "v1"
|
|
304
|
+
identifier: "my_pipeline"
|
|
305
|
+
name: "source-transform"
|
|
306
|
+
uuid: "terraformuuid{default_integer["result"]}"
|
|
307
|
+
annotations: {{}}
|
|
308
|
+
labels: {{}}
|
|
309
|
+
spec:
|
|
310
|
+
inputs:
|
|
311
|
+
artifacts: []
|
|
312
|
+
parameters:
|
|
313
|
+
- name: "execution_maxcompute"
|
|
314
|
+
type: "Map"
|
|
315
|
+
value:
|
|
316
|
+
spec:
|
|
317
|
+
endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
|
|
318
|
+
odpsProject: "test_i****"
|
|
319
|
+
outputs:
|
|
320
|
+
artifacts: []
|
|
321
|
+
parameters: []
|
|
322
|
+
arguments:
|
|
323
|
+
artifacts: []
|
|
324
|
+
parameters: []
|
|
325
|
+
dependencies: []
|
|
326
|
+
initContainers: []
|
|
327
|
+
sideCarContainers: []
|
|
328
|
+
pipelines:
|
|
329
|
+
- apiVersion: "core/v1"
|
|
330
|
+
metadata:
|
|
331
|
+
provider: "pai"
|
|
332
|
+
version: "v1"
|
|
333
|
+
identifier: "data_source"
|
|
334
|
+
name: "data-source"
|
|
335
|
+
uuid: "2ftahdnzcod2rt6u9q"
|
|
336
|
+
displayName: "读数据表-1"
|
|
337
|
+
annotations: {{}}
|
|
338
|
+
labels: {{}}
|
|
339
|
+
spec:
|
|
340
|
+
inputs:
|
|
341
|
+
artifacts: []
|
|
342
|
+
parameters: []
|
|
343
|
+
outputs:
|
|
344
|
+
artifacts: []
|
|
345
|
+
parameters: []
|
|
346
|
+
arguments:
|
|
347
|
+
artifacts: []
|
|
348
|
+
parameters:
|
|
349
|
+
- name: "inputTableName"
|
|
350
|
+
value: "pai_online_project.wumai_data"
|
|
351
|
+
- name: "execution"
|
|
352
|
+
from: "{{{{inputs.parameters.execution_maxcompute}}}}"
|
|
353
|
+
dependencies: []
|
|
354
|
+
initContainers: []
|
|
355
|
+
sideCarContainers: []
|
|
356
|
+
pipelines: []
|
|
357
|
+
volumes: []
|
|
358
|
+
- apiVersion: "core/v1"
|
|
359
|
+
metadata:
|
|
360
|
+
provider: "pai"
|
|
361
|
+
version: "v1"
|
|
362
|
+
identifier: "type_transform"
|
|
363
|
+
name: "type-transform"
|
|
364
|
+
uuid: "gacnnnl4ksvbabfh6l"
|
|
365
|
+
displayName: "类型转换-1"
|
|
366
|
+
annotations: {{}}
|
|
367
|
+
labels: {{}}
|
|
368
|
+
spec:
|
|
369
|
+
inputs:
|
|
370
|
+
artifacts: []
|
|
371
|
+
parameters: []
|
|
372
|
+
outputs:
|
|
373
|
+
artifacts: []
|
|
374
|
+
parameters: []
|
|
375
|
+
arguments:
|
|
376
|
+
artifacts:
|
|
377
|
+
- name: "inputTable"
|
|
378
|
+
from: "{{{{pipelines.data_source.outputs.artifacts.outputTable}}}}"
|
|
379
|
+
parameters:
|
|
380
|
+
- name: "cols_to_double"
|
|
381
|
+
value: "time,hour,pm2,pm10,so2,co,no2"
|
|
382
|
+
- name: "execution"
|
|
383
|
+
from: "{{{{inputs.parameters.execution_maxcompute}}}}"
|
|
384
|
+
dependencies:
|
|
385
|
+
- "data_source"
|
|
386
|
+
initContainers: []
|
|
387
|
+
sideCarContainers: []
|
|
388
|
+
pipelines: []
|
|
389
|
+
volumes: []
|
|
390
|
+
volumes: []
|
|
391
|
+
\"\"\")
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Import
|
|
395
|
+
|
|
396
|
+
Pai Flow Pipeline can be imported using the id, e.g.
|
|
397
|
+
|
|
398
|
+
```sh
|
|
399
|
+
$ pulumi import alicloud:pai/flowPipeline:FlowPipeline example <id>
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
:param str resource_name: The name of the resource.
|
|
403
|
+
:param FlowPipelineArgs args: The arguments to use to populate this resource's properties.
|
|
404
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
405
|
+
"""
|
|
406
|
+
...
|
|
407
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
408
|
+
resource_args, opts = _utilities.get_resource_args_opts(FlowPipelineArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
409
|
+
if resource_args is not None:
|
|
410
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
411
|
+
else:
|
|
412
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
413
|
+
|
|
414
|
+
def _internal_init(__self__,
|
|
415
|
+
resource_name: str,
|
|
416
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
417
|
+
manifest: Optional[pulumi.Input[builtins.str]] = None,
|
|
418
|
+
workspace_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
419
|
+
__props__=None):
|
|
420
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
421
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
422
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
423
|
+
if opts.id is None:
|
|
424
|
+
if __props__ is not None:
|
|
425
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
426
|
+
__props__ = FlowPipelineArgs.__new__(FlowPipelineArgs)
|
|
427
|
+
|
|
428
|
+
if manifest is None and not opts.urn:
|
|
429
|
+
raise TypeError("Missing required property 'manifest'")
|
|
430
|
+
__props__.__dict__["manifest"] = manifest
|
|
431
|
+
if workspace_id is None and not opts.urn:
|
|
432
|
+
raise TypeError("Missing required property 'workspace_id'")
|
|
433
|
+
__props__.__dict__["workspace_id"] = workspace_id
|
|
434
|
+
__props__.__dict__["create_time"] = None
|
|
435
|
+
super(FlowPipeline, __self__).__init__(
|
|
436
|
+
'alicloud:pai/flowPipeline:FlowPipeline',
|
|
437
|
+
resource_name,
|
|
438
|
+
__props__,
|
|
439
|
+
opts)
|
|
440
|
+
|
|
441
|
+
@staticmethod
|
|
442
|
+
def get(resource_name: str,
|
|
443
|
+
id: pulumi.Input[str],
|
|
444
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
445
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
446
|
+
manifest: Optional[pulumi.Input[builtins.str]] = None,
|
|
447
|
+
workspace_id: Optional[pulumi.Input[builtins.str]] = None) -> 'FlowPipeline':
|
|
448
|
+
"""
|
|
449
|
+
Get an existing FlowPipeline resource's state with the given name, id, and optional extra
|
|
450
|
+
properties used to qualify the lookup.
|
|
451
|
+
|
|
452
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
453
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
454
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
455
|
+
:param pulumi.Input[builtins.str] create_time: The creation time of the resource.
|
|
456
|
+
:param pulumi.Input[builtins.str] manifest: The pipeline definition. For more information, see the sample pipeline definition).
|
|
457
|
+
:param pulumi.Input[builtins.str] workspace_id: The ID of the workspace.
|
|
458
|
+
"""
|
|
459
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
460
|
+
|
|
461
|
+
__props__ = _FlowPipelineState.__new__(_FlowPipelineState)
|
|
462
|
+
|
|
463
|
+
__props__.__dict__["create_time"] = create_time
|
|
464
|
+
__props__.__dict__["manifest"] = manifest
|
|
465
|
+
__props__.__dict__["workspace_id"] = workspace_id
|
|
466
|
+
return FlowPipeline(resource_name, opts=opts, __props__=__props__)
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
@pulumi.getter(name="createTime")
|
|
470
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
471
|
+
"""
|
|
472
|
+
The creation time of the resource.
|
|
473
|
+
"""
|
|
474
|
+
return pulumi.get(self, "create_time")
|
|
475
|
+
|
|
476
|
+
@property
|
|
477
|
+
@pulumi.getter
|
|
478
|
+
def manifest(self) -> pulumi.Output[builtins.str]:
|
|
479
|
+
"""
|
|
480
|
+
The pipeline definition. For more information, see the sample pipeline definition).
|
|
481
|
+
"""
|
|
482
|
+
return pulumi.get(self, "manifest")
|
|
483
|
+
|
|
484
|
+
@property
|
|
485
|
+
@pulumi.getter(name="workspaceId")
|
|
486
|
+
def workspace_id(self) -> pulumi.Output[builtins.str]:
|
|
487
|
+
"""
|
|
488
|
+
The ID of the workspace.
|
|
489
|
+
"""
|
|
490
|
+
return pulumi.get(self, "workspace_id")
|
|
491
|
+
|
pulumi_alicloud/ram/__init__.py
CHANGED
|
@@ -15,6 +15,7 @@ from .get_account_aliases import *
|
|
|
15
15
|
from .get_groups import *
|
|
16
16
|
from .get_policies import *
|
|
17
17
|
from .get_policy_document import *
|
|
18
|
+
from .get_role_policy_attachments import *
|
|
18
19
|
from .get_roles import *
|
|
19
20
|
from .get_saml_providers import *
|
|
20
21
|
from .get_system_policys import *
|