pulumi-alicloud 3.69.0__py3-none-any.whl → 3.69.0a1733203178__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 +0 -56
- pulumi_alicloud/adb/db_cluster.py +0 -7
- pulumi_alicloud/arms/__init__.py +0 -2
- pulumi_alicloud/arms/_inputs.py +4 -42
- pulumi_alicloud/arms/dispatch_rule.py +0 -4
- pulumi_alicloud/arms/get_dispatch_rules.py +6 -99
- pulumi_alicloud/arms/outputs.py +13 -154
- pulumi_alicloud/cfg/rule.py +4 -4
- pulumi_alicloud/cs/autoscaling_config.py +0 -51
- pulumi_alicloud/dataworks/__init__.py +0 -4
- pulumi_alicloud/dataworks/outputs.py +0 -44
- pulumi_alicloud/dataworks/project.py +140 -294
- pulumi_alicloud/ecs/__init__.py +0 -1
- pulumi_alicloud/ecs/_inputs.py +0 -34
- pulumi_alicloud/ecs/disk.py +14 -156
- pulumi_alicloud/ecs/ecs_disk.py +97 -308
- pulumi_alicloud/ecs/ecs_key_pair.py +49 -77
- pulumi_alicloud/ecs/instance.py +0 -145
- pulumi_alicloud/ecs/key_pair.py +7 -27
- pulumi_alicloud/ecs/outputs.py +0 -37
- pulumi_alicloud/oss/__init__.py +0 -1
- pulumi_alicloud/oss/_inputs.py +0 -1750
- pulumi_alicloud/oss/outputs.py +0 -1338
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/polardb/get_clusters.py +1 -1
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +30 -63
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/slb/attachment.py +6 -2
- pulumi_alicloud/sls/__init__.py +0 -1
- pulumi_alicloud/sls/_inputs.py +0 -484
- pulumi_alicloud/sls/outputs.py +0 -346
- pulumi_alicloud/vpc/network.py +7 -7
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/RECORD +38 -47
- pulumi_alicloud/arms/alert_robot.py +0 -421
- pulumi_alicloud/arms/get_alert_robots.py +0 -230
- pulumi_alicloud/dataworks/_inputs.py +0 -95
- pulumi_alicloud/dataworks/data_source.py +0 -686
- pulumi_alicloud/dataworks/data_source_shared_rule.py +0 -378
- pulumi_alicloud/dataworks/project_member.py +0 -380
- pulumi_alicloud/ecs/image_pipeline_execution.py +0 -245
- pulumi_alicloud/oss/bucket_website.py +0 -416
- pulumi_alicloud/sls/oss_export_sink.py +0 -428
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/top_level.txt +0 -0
|
@@ -1,380 +0,0 @@
|
|
|
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 copy
|
|
6
|
-
import warnings
|
|
7
|
-
import sys
|
|
8
|
-
import pulumi
|
|
9
|
-
import pulumi.runtime
|
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
-
from .. import _utilities
|
|
16
|
-
from . import outputs
|
|
17
|
-
from ._inputs import *
|
|
18
|
-
|
|
19
|
-
__all__ = ['ProjectMemberArgs', 'ProjectMember']
|
|
20
|
-
|
|
21
|
-
@pulumi.input_type
|
|
22
|
-
class ProjectMemberArgs:
|
|
23
|
-
def __init__(__self__, *,
|
|
24
|
-
project_id: pulumi.Input[int],
|
|
25
|
-
user_id: pulumi.Input[str],
|
|
26
|
-
roles: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]] = None):
|
|
27
|
-
"""
|
|
28
|
-
The set of arguments for constructing a ProjectMember resource.
|
|
29
|
-
:param pulumi.Input[int] project_id: Project ID
|
|
30
|
-
:param pulumi.Input[str] user_id: The user ID of the member.
|
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]] roles: List of roles owned by members. See `roles` below.
|
|
32
|
-
"""
|
|
33
|
-
pulumi.set(__self__, "project_id", project_id)
|
|
34
|
-
pulumi.set(__self__, "user_id", user_id)
|
|
35
|
-
if roles is not None:
|
|
36
|
-
pulumi.set(__self__, "roles", roles)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
@pulumi.getter(name="projectId")
|
|
40
|
-
def project_id(self) -> pulumi.Input[int]:
|
|
41
|
-
"""
|
|
42
|
-
Project ID
|
|
43
|
-
"""
|
|
44
|
-
return pulumi.get(self, "project_id")
|
|
45
|
-
|
|
46
|
-
@project_id.setter
|
|
47
|
-
def project_id(self, value: pulumi.Input[int]):
|
|
48
|
-
pulumi.set(self, "project_id", value)
|
|
49
|
-
|
|
50
|
-
@property
|
|
51
|
-
@pulumi.getter(name="userId")
|
|
52
|
-
def user_id(self) -> pulumi.Input[str]:
|
|
53
|
-
"""
|
|
54
|
-
The user ID of the member.
|
|
55
|
-
"""
|
|
56
|
-
return pulumi.get(self, "user_id")
|
|
57
|
-
|
|
58
|
-
@user_id.setter
|
|
59
|
-
def user_id(self, value: pulumi.Input[str]):
|
|
60
|
-
pulumi.set(self, "user_id", value)
|
|
61
|
-
|
|
62
|
-
@property
|
|
63
|
-
@pulumi.getter
|
|
64
|
-
def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]]:
|
|
65
|
-
"""
|
|
66
|
-
List of roles owned by members. See `roles` below.
|
|
67
|
-
"""
|
|
68
|
-
return pulumi.get(self, "roles")
|
|
69
|
-
|
|
70
|
-
@roles.setter
|
|
71
|
-
def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]]):
|
|
72
|
-
pulumi.set(self, "roles", value)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@pulumi.input_type
|
|
76
|
-
class _ProjectMemberState:
|
|
77
|
-
def __init__(__self__, *,
|
|
78
|
-
project_id: Optional[pulumi.Input[int]] = None,
|
|
79
|
-
roles: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]] = None,
|
|
80
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
81
|
-
user_id: Optional[pulumi.Input[str]] = None):
|
|
82
|
-
"""
|
|
83
|
-
Input properties used for looking up and filtering ProjectMember resources.
|
|
84
|
-
:param pulumi.Input[int] project_id: Project ID
|
|
85
|
-
:param pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]] roles: List of roles owned by members. See `roles` below.
|
|
86
|
-
:param pulumi.Input[str] status: The status of the user in project
|
|
87
|
-
:param pulumi.Input[str] user_id: The user ID of the member.
|
|
88
|
-
"""
|
|
89
|
-
if project_id is not None:
|
|
90
|
-
pulumi.set(__self__, "project_id", project_id)
|
|
91
|
-
if roles is not None:
|
|
92
|
-
pulumi.set(__self__, "roles", roles)
|
|
93
|
-
if status is not None:
|
|
94
|
-
pulumi.set(__self__, "status", status)
|
|
95
|
-
if user_id is not None:
|
|
96
|
-
pulumi.set(__self__, "user_id", user_id)
|
|
97
|
-
|
|
98
|
-
@property
|
|
99
|
-
@pulumi.getter(name="projectId")
|
|
100
|
-
def project_id(self) -> Optional[pulumi.Input[int]]:
|
|
101
|
-
"""
|
|
102
|
-
Project ID
|
|
103
|
-
"""
|
|
104
|
-
return pulumi.get(self, "project_id")
|
|
105
|
-
|
|
106
|
-
@project_id.setter
|
|
107
|
-
def project_id(self, value: Optional[pulumi.Input[int]]):
|
|
108
|
-
pulumi.set(self, "project_id", value)
|
|
109
|
-
|
|
110
|
-
@property
|
|
111
|
-
@pulumi.getter
|
|
112
|
-
def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]]:
|
|
113
|
-
"""
|
|
114
|
-
List of roles owned by members. See `roles` below.
|
|
115
|
-
"""
|
|
116
|
-
return pulumi.get(self, "roles")
|
|
117
|
-
|
|
118
|
-
@roles.setter
|
|
119
|
-
def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectMemberRoleArgs']]]]):
|
|
120
|
-
pulumi.set(self, "roles", value)
|
|
121
|
-
|
|
122
|
-
@property
|
|
123
|
-
@pulumi.getter
|
|
124
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
-
"""
|
|
126
|
-
The status of the user in project
|
|
127
|
-
"""
|
|
128
|
-
return pulumi.get(self, "status")
|
|
129
|
-
|
|
130
|
-
@status.setter
|
|
131
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
-
pulumi.set(self, "status", value)
|
|
133
|
-
|
|
134
|
-
@property
|
|
135
|
-
@pulumi.getter(name="userId")
|
|
136
|
-
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
-
"""
|
|
138
|
-
The user ID of the member.
|
|
139
|
-
"""
|
|
140
|
-
return pulumi.get(self, "user_id")
|
|
141
|
-
|
|
142
|
-
@user_id.setter
|
|
143
|
-
def user_id(self, value: Optional[pulumi.Input[str]]):
|
|
144
|
-
pulumi.set(self, "user_id", value)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
class ProjectMember(pulumi.CustomResource):
|
|
148
|
-
@overload
|
|
149
|
-
def __init__(__self__,
|
|
150
|
-
resource_name: str,
|
|
151
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
152
|
-
project_id: Optional[pulumi.Input[int]] = None,
|
|
153
|
-
roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectMemberRoleArgs', 'ProjectMemberRoleArgsDict']]]]] = None,
|
|
154
|
-
user_id: Optional[pulumi.Input[str]] = None,
|
|
155
|
-
__props__=None):
|
|
156
|
-
"""
|
|
157
|
-
Provides a Data Works Project Member resource.
|
|
158
|
-
|
|
159
|
-
For information about Data Works Project Member and how to use it, see [What is Project Member](https://www.alibabacloud.com/help/en/).
|
|
160
|
-
|
|
161
|
-
> **NOTE:** Available since v1.237.0.
|
|
162
|
-
|
|
163
|
-
## Example Usage
|
|
164
|
-
|
|
165
|
-
Basic Usage
|
|
166
|
-
|
|
167
|
-
```python
|
|
168
|
-
import pulumi
|
|
169
|
-
import pulumi_alicloud as alicloud
|
|
170
|
-
import pulumi_random as random
|
|
171
|
-
|
|
172
|
-
config = pulumi.Config()
|
|
173
|
-
admin_code = config.get("adminCode")
|
|
174
|
-
if admin_code is None:
|
|
175
|
-
admin_code = "role_project_admin"
|
|
176
|
-
name = config.get("name")
|
|
177
|
-
if name is None:
|
|
178
|
-
name = "tf_example"
|
|
179
|
-
randint = random.index.Integer("randint",
|
|
180
|
-
max=999,
|
|
181
|
-
min=1)
|
|
182
|
-
default_kc_tr_b2 = alicloud.ram.User("defaultKCTrB2",
|
|
183
|
-
display_name=f"{name}{randint['id']}",
|
|
184
|
-
name=f"{name}{randint['id']}")
|
|
185
|
-
default = alicloud.resourcemanager.get_resource_groups()
|
|
186
|
-
default_qe_rfv_u = alicloud.dataworks.Project("defaultQeRfvU",
|
|
187
|
-
status="Available",
|
|
188
|
-
description="tf_desc",
|
|
189
|
-
project_name=f"{name}{randint['id']}",
|
|
190
|
-
pai_task_enabled=False,
|
|
191
|
-
display_name="tf_new_api_display",
|
|
192
|
-
dev_role_disabled=True,
|
|
193
|
-
dev_environment_enabled=False,
|
|
194
|
-
resource_group_id=default.ids[0])
|
|
195
|
-
default_project_member = alicloud.dataworks.ProjectMember("default",
|
|
196
|
-
user_id=default_kc_tr_b2.id,
|
|
197
|
-
project_id=default_co_mnk8["id"],
|
|
198
|
-
roles=[{
|
|
199
|
-
"code": admin_code,
|
|
200
|
-
}])
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
## Import
|
|
204
|
-
|
|
205
|
-
Data Works Project Member can be imported using the id, e.g.
|
|
206
|
-
|
|
207
|
-
```sh
|
|
208
|
-
$ pulumi import alicloud:dataworks/projectMember:ProjectMember example <project_id>:<user_id>
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
:param str resource_name: The name of the resource.
|
|
212
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
213
|
-
:param pulumi.Input[int] project_id: Project ID
|
|
214
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectMemberRoleArgs', 'ProjectMemberRoleArgsDict']]]] roles: List of roles owned by members. See `roles` below.
|
|
215
|
-
:param pulumi.Input[str] user_id: The user ID of the member.
|
|
216
|
-
"""
|
|
217
|
-
...
|
|
218
|
-
@overload
|
|
219
|
-
def __init__(__self__,
|
|
220
|
-
resource_name: str,
|
|
221
|
-
args: ProjectMemberArgs,
|
|
222
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
223
|
-
"""
|
|
224
|
-
Provides a Data Works Project Member resource.
|
|
225
|
-
|
|
226
|
-
For information about Data Works Project Member and how to use it, see [What is Project Member](https://www.alibabacloud.com/help/en/).
|
|
227
|
-
|
|
228
|
-
> **NOTE:** Available since v1.237.0.
|
|
229
|
-
|
|
230
|
-
## Example Usage
|
|
231
|
-
|
|
232
|
-
Basic Usage
|
|
233
|
-
|
|
234
|
-
```python
|
|
235
|
-
import pulumi
|
|
236
|
-
import pulumi_alicloud as alicloud
|
|
237
|
-
import pulumi_random as random
|
|
238
|
-
|
|
239
|
-
config = pulumi.Config()
|
|
240
|
-
admin_code = config.get("adminCode")
|
|
241
|
-
if admin_code is None:
|
|
242
|
-
admin_code = "role_project_admin"
|
|
243
|
-
name = config.get("name")
|
|
244
|
-
if name is None:
|
|
245
|
-
name = "tf_example"
|
|
246
|
-
randint = random.index.Integer("randint",
|
|
247
|
-
max=999,
|
|
248
|
-
min=1)
|
|
249
|
-
default_kc_tr_b2 = alicloud.ram.User("defaultKCTrB2",
|
|
250
|
-
display_name=f"{name}{randint['id']}",
|
|
251
|
-
name=f"{name}{randint['id']}")
|
|
252
|
-
default = alicloud.resourcemanager.get_resource_groups()
|
|
253
|
-
default_qe_rfv_u = alicloud.dataworks.Project("defaultQeRfvU",
|
|
254
|
-
status="Available",
|
|
255
|
-
description="tf_desc",
|
|
256
|
-
project_name=f"{name}{randint['id']}",
|
|
257
|
-
pai_task_enabled=False,
|
|
258
|
-
display_name="tf_new_api_display",
|
|
259
|
-
dev_role_disabled=True,
|
|
260
|
-
dev_environment_enabled=False,
|
|
261
|
-
resource_group_id=default.ids[0])
|
|
262
|
-
default_project_member = alicloud.dataworks.ProjectMember("default",
|
|
263
|
-
user_id=default_kc_tr_b2.id,
|
|
264
|
-
project_id=default_co_mnk8["id"],
|
|
265
|
-
roles=[{
|
|
266
|
-
"code": admin_code,
|
|
267
|
-
}])
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
## Import
|
|
271
|
-
|
|
272
|
-
Data Works Project Member can be imported using the id, e.g.
|
|
273
|
-
|
|
274
|
-
```sh
|
|
275
|
-
$ pulumi import alicloud:dataworks/projectMember:ProjectMember example <project_id>:<user_id>
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
:param str resource_name: The name of the resource.
|
|
279
|
-
:param ProjectMemberArgs args: The arguments to use to populate this resource's properties.
|
|
280
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
281
|
-
"""
|
|
282
|
-
...
|
|
283
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
284
|
-
resource_args, opts = _utilities.get_resource_args_opts(ProjectMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
285
|
-
if resource_args is not None:
|
|
286
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
287
|
-
else:
|
|
288
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
289
|
-
|
|
290
|
-
def _internal_init(__self__,
|
|
291
|
-
resource_name: str,
|
|
292
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
|
-
project_id: Optional[pulumi.Input[int]] = None,
|
|
294
|
-
roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectMemberRoleArgs', 'ProjectMemberRoleArgsDict']]]]] = None,
|
|
295
|
-
user_id: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
__props__=None):
|
|
297
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
298
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
299
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
300
|
-
if opts.id is None:
|
|
301
|
-
if __props__ is not None:
|
|
302
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
303
|
-
__props__ = ProjectMemberArgs.__new__(ProjectMemberArgs)
|
|
304
|
-
|
|
305
|
-
if project_id is None and not opts.urn:
|
|
306
|
-
raise TypeError("Missing required property 'project_id'")
|
|
307
|
-
__props__.__dict__["project_id"] = project_id
|
|
308
|
-
__props__.__dict__["roles"] = roles
|
|
309
|
-
if user_id is None and not opts.urn:
|
|
310
|
-
raise TypeError("Missing required property 'user_id'")
|
|
311
|
-
__props__.__dict__["user_id"] = user_id
|
|
312
|
-
__props__.__dict__["status"] = None
|
|
313
|
-
super(ProjectMember, __self__).__init__(
|
|
314
|
-
'alicloud:dataworks/projectMember:ProjectMember',
|
|
315
|
-
resource_name,
|
|
316
|
-
__props__,
|
|
317
|
-
opts)
|
|
318
|
-
|
|
319
|
-
@staticmethod
|
|
320
|
-
def get(resource_name: str,
|
|
321
|
-
id: pulumi.Input[str],
|
|
322
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
323
|
-
project_id: Optional[pulumi.Input[int]] = None,
|
|
324
|
-
roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectMemberRoleArgs', 'ProjectMemberRoleArgsDict']]]]] = None,
|
|
325
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
326
|
-
user_id: Optional[pulumi.Input[str]] = None) -> 'ProjectMember':
|
|
327
|
-
"""
|
|
328
|
-
Get an existing ProjectMember resource's state with the given name, id, and optional extra
|
|
329
|
-
properties used to qualify the lookup.
|
|
330
|
-
|
|
331
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
332
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
333
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
334
|
-
:param pulumi.Input[int] project_id: Project ID
|
|
335
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectMemberRoleArgs', 'ProjectMemberRoleArgsDict']]]] roles: List of roles owned by members. See `roles` below.
|
|
336
|
-
:param pulumi.Input[str] status: The status of the user in project
|
|
337
|
-
:param pulumi.Input[str] user_id: The user ID of the member.
|
|
338
|
-
"""
|
|
339
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
340
|
-
|
|
341
|
-
__props__ = _ProjectMemberState.__new__(_ProjectMemberState)
|
|
342
|
-
|
|
343
|
-
__props__.__dict__["project_id"] = project_id
|
|
344
|
-
__props__.__dict__["roles"] = roles
|
|
345
|
-
__props__.__dict__["status"] = status
|
|
346
|
-
__props__.__dict__["user_id"] = user_id
|
|
347
|
-
return ProjectMember(resource_name, opts=opts, __props__=__props__)
|
|
348
|
-
|
|
349
|
-
@property
|
|
350
|
-
@pulumi.getter(name="projectId")
|
|
351
|
-
def project_id(self) -> pulumi.Output[int]:
|
|
352
|
-
"""
|
|
353
|
-
Project ID
|
|
354
|
-
"""
|
|
355
|
-
return pulumi.get(self, "project_id")
|
|
356
|
-
|
|
357
|
-
@property
|
|
358
|
-
@pulumi.getter
|
|
359
|
-
def roles(self) -> pulumi.Output[Optional[Sequence['outputs.ProjectMemberRole']]]:
|
|
360
|
-
"""
|
|
361
|
-
List of roles owned by members. See `roles` below.
|
|
362
|
-
"""
|
|
363
|
-
return pulumi.get(self, "roles")
|
|
364
|
-
|
|
365
|
-
@property
|
|
366
|
-
@pulumi.getter
|
|
367
|
-
def status(self) -> pulumi.Output[str]:
|
|
368
|
-
"""
|
|
369
|
-
The status of the user in project
|
|
370
|
-
"""
|
|
371
|
-
return pulumi.get(self, "status")
|
|
372
|
-
|
|
373
|
-
@property
|
|
374
|
-
@pulumi.getter(name="userId")
|
|
375
|
-
def user_id(self) -> pulumi.Output[str]:
|
|
376
|
-
"""
|
|
377
|
-
The user ID of the member.
|
|
378
|
-
"""
|
|
379
|
-
return pulumi.get(self, "user_id")
|
|
380
|
-
|
|
@@ -1,245 +0,0 @@
|
|
|
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 copy
|
|
6
|
-
import warnings
|
|
7
|
-
import sys
|
|
8
|
-
import pulumi
|
|
9
|
-
import pulumi.runtime
|
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
-
from .. import _utilities
|
|
16
|
-
|
|
17
|
-
__all__ = ['ImagePipelineExecutionArgs', 'ImagePipelineExecution']
|
|
18
|
-
|
|
19
|
-
@pulumi.input_type
|
|
20
|
-
class ImagePipelineExecutionArgs:
|
|
21
|
-
def __init__(__self__, *,
|
|
22
|
-
image_pipeline_id: pulumi.Input[str],
|
|
23
|
-
status: Optional[pulumi.Input[str]] = None):
|
|
24
|
-
"""
|
|
25
|
-
The set of arguments for constructing a ImagePipelineExecution resource.
|
|
26
|
-
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
27
|
-
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
28
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
29
|
-
"""
|
|
30
|
-
pulumi.set(__self__, "image_pipeline_id", image_pipeline_id)
|
|
31
|
-
if status is not None:
|
|
32
|
-
pulumi.set(__self__, "status", status)
|
|
33
|
-
|
|
34
|
-
@property
|
|
35
|
-
@pulumi.getter(name="imagePipelineId")
|
|
36
|
-
def image_pipeline_id(self) -> pulumi.Input[str]:
|
|
37
|
-
"""
|
|
38
|
-
The ID of the image template.
|
|
39
|
-
"""
|
|
40
|
-
return pulumi.get(self, "image_pipeline_id")
|
|
41
|
-
|
|
42
|
-
@image_pipeline_id.setter
|
|
43
|
-
def image_pipeline_id(self, value: pulumi.Input[str]):
|
|
44
|
-
pulumi.set(self, "image_pipeline_id", value)
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter
|
|
48
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
49
|
-
"""
|
|
50
|
-
The status of the image build task. Valid values:
|
|
51
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
52
|
-
"""
|
|
53
|
-
return pulumi.get(self, "status")
|
|
54
|
-
|
|
55
|
-
@status.setter
|
|
56
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
57
|
-
pulumi.set(self, "status", value)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
@pulumi.input_type
|
|
61
|
-
class _ImagePipelineExecutionState:
|
|
62
|
-
def __init__(__self__, *,
|
|
63
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
64
|
-
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
65
|
-
status: Optional[pulumi.Input[str]] = None):
|
|
66
|
-
"""
|
|
67
|
-
Input properties used for looking up and filtering ImagePipelineExecution resources.
|
|
68
|
-
:param pulumi.Input[str] create_time: The time when the image build task was created.
|
|
69
|
-
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
70
|
-
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
71
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
72
|
-
"""
|
|
73
|
-
if create_time is not None:
|
|
74
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
75
|
-
if image_pipeline_id is not None:
|
|
76
|
-
pulumi.set(__self__, "image_pipeline_id", image_pipeline_id)
|
|
77
|
-
if status is not None:
|
|
78
|
-
pulumi.set(__self__, "status", status)
|
|
79
|
-
|
|
80
|
-
@property
|
|
81
|
-
@pulumi.getter(name="createTime")
|
|
82
|
-
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
83
|
-
"""
|
|
84
|
-
The time when the image build task was created.
|
|
85
|
-
"""
|
|
86
|
-
return pulumi.get(self, "create_time")
|
|
87
|
-
|
|
88
|
-
@create_time.setter
|
|
89
|
-
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
90
|
-
pulumi.set(self, "create_time", value)
|
|
91
|
-
|
|
92
|
-
@property
|
|
93
|
-
@pulumi.getter(name="imagePipelineId")
|
|
94
|
-
def image_pipeline_id(self) -> Optional[pulumi.Input[str]]:
|
|
95
|
-
"""
|
|
96
|
-
The ID of the image template.
|
|
97
|
-
"""
|
|
98
|
-
return pulumi.get(self, "image_pipeline_id")
|
|
99
|
-
|
|
100
|
-
@image_pipeline_id.setter
|
|
101
|
-
def image_pipeline_id(self, value: Optional[pulumi.Input[str]]):
|
|
102
|
-
pulumi.set(self, "image_pipeline_id", value)
|
|
103
|
-
|
|
104
|
-
@property
|
|
105
|
-
@pulumi.getter
|
|
106
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
-
"""
|
|
108
|
-
The status of the image build task. Valid values:
|
|
109
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
110
|
-
"""
|
|
111
|
-
return pulumi.get(self, "status")
|
|
112
|
-
|
|
113
|
-
@status.setter
|
|
114
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
-
pulumi.set(self, "status", value)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
class ImagePipelineExecution(pulumi.CustomResource):
|
|
119
|
-
@overload
|
|
120
|
-
def __init__(__self__,
|
|
121
|
-
resource_name: str,
|
|
122
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
123
|
-
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
124
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
125
|
-
__props__=None):
|
|
126
|
-
"""
|
|
127
|
-
## Import
|
|
128
|
-
|
|
129
|
-
ECS Image Pipeline Execution can be imported using the id, e.g.
|
|
130
|
-
|
|
131
|
-
```sh
|
|
132
|
-
$ pulumi import alicloud:ecs/imagePipelineExecution:ImagePipelineExecution example <id>
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
:param str resource_name: The name of the resource.
|
|
136
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
137
|
-
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
138
|
-
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
139
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
140
|
-
"""
|
|
141
|
-
...
|
|
142
|
-
@overload
|
|
143
|
-
def __init__(__self__,
|
|
144
|
-
resource_name: str,
|
|
145
|
-
args: ImagePipelineExecutionArgs,
|
|
146
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
147
|
-
"""
|
|
148
|
-
## Import
|
|
149
|
-
|
|
150
|
-
ECS Image Pipeline Execution can be imported using the id, e.g.
|
|
151
|
-
|
|
152
|
-
```sh
|
|
153
|
-
$ pulumi import alicloud:ecs/imagePipelineExecution:ImagePipelineExecution example <id>
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
:param str resource_name: The name of the resource.
|
|
157
|
-
:param ImagePipelineExecutionArgs args: The arguments to use to populate this resource's properties.
|
|
158
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
-
"""
|
|
160
|
-
...
|
|
161
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
162
|
-
resource_args, opts = _utilities.get_resource_args_opts(ImagePipelineExecutionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
163
|
-
if resource_args is not None:
|
|
164
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
165
|
-
else:
|
|
166
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
167
|
-
|
|
168
|
-
def _internal_init(__self__,
|
|
169
|
-
resource_name: str,
|
|
170
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
|
-
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
172
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
173
|
-
__props__=None):
|
|
174
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
175
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
176
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
177
|
-
if opts.id is None:
|
|
178
|
-
if __props__ is not None:
|
|
179
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
180
|
-
__props__ = ImagePipelineExecutionArgs.__new__(ImagePipelineExecutionArgs)
|
|
181
|
-
|
|
182
|
-
if image_pipeline_id is None and not opts.urn:
|
|
183
|
-
raise TypeError("Missing required property 'image_pipeline_id'")
|
|
184
|
-
__props__.__dict__["image_pipeline_id"] = image_pipeline_id
|
|
185
|
-
__props__.__dict__["status"] = status
|
|
186
|
-
__props__.__dict__["create_time"] = None
|
|
187
|
-
super(ImagePipelineExecution, __self__).__init__(
|
|
188
|
-
'alicloud:ecs/imagePipelineExecution:ImagePipelineExecution',
|
|
189
|
-
resource_name,
|
|
190
|
-
__props__,
|
|
191
|
-
opts)
|
|
192
|
-
|
|
193
|
-
@staticmethod
|
|
194
|
-
def get(resource_name: str,
|
|
195
|
-
id: pulumi.Input[str],
|
|
196
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
199
|
-
status: Optional[pulumi.Input[str]] = None) -> 'ImagePipelineExecution':
|
|
200
|
-
"""
|
|
201
|
-
Get an existing ImagePipelineExecution resource's state with the given name, id, and optional extra
|
|
202
|
-
properties used to qualify the lookup.
|
|
203
|
-
|
|
204
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
205
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
206
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
207
|
-
:param pulumi.Input[str] create_time: The time when the image build task was created.
|
|
208
|
-
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
209
|
-
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
210
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
211
|
-
"""
|
|
212
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
213
|
-
|
|
214
|
-
__props__ = _ImagePipelineExecutionState.__new__(_ImagePipelineExecutionState)
|
|
215
|
-
|
|
216
|
-
__props__.__dict__["create_time"] = create_time
|
|
217
|
-
__props__.__dict__["image_pipeline_id"] = image_pipeline_id
|
|
218
|
-
__props__.__dict__["status"] = status
|
|
219
|
-
return ImagePipelineExecution(resource_name, opts=opts, __props__=__props__)
|
|
220
|
-
|
|
221
|
-
@property
|
|
222
|
-
@pulumi.getter(name="createTime")
|
|
223
|
-
def create_time(self) -> pulumi.Output[str]:
|
|
224
|
-
"""
|
|
225
|
-
The time when the image build task was created.
|
|
226
|
-
"""
|
|
227
|
-
return pulumi.get(self, "create_time")
|
|
228
|
-
|
|
229
|
-
@property
|
|
230
|
-
@pulumi.getter(name="imagePipelineId")
|
|
231
|
-
def image_pipeline_id(self) -> pulumi.Output[str]:
|
|
232
|
-
"""
|
|
233
|
-
The ID of the image template.
|
|
234
|
-
"""
|
|
235
|
-
return pulumi.get(self, "image_pipeline_id")
|
|
236
|
-
|
|
237
|
-
@property
|
|
238
|
-
@pulumi.getter
|
|
239
|
-
def status(self) -> pulumi.Output[str]:
|
|
240
|
-
"""
|
|
241
|
-
The status of the image build task. Valid values:
|
|
242
|
-
- CANCELLED: canceled. The build process has been canceled.
|
|
243
|
-
"""
|
|
244
|
-
return pulumi.get(self, "status")
|
|
245
|
-
|