pulumi-alicloud 3.69.0a1733375908__py3-none-any.whl → 3.69.0a1733740345__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 +56 -0
- pulumi_alicloud/adb/db_cluster.py +7 -0
- pulumi_alicloud/arms/__init__.py +2 -0
- pulumi_alicloud/arms/_inputs.py +42 -4
- pulumi_alicloud/arms/alert_robot.py +421 -0
- pulumi_alicloud/arms/dispatch_rule.py +4 -0
- pulumi_alicloud/arms/get_alert_robots.py +230 -0
- pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
- pulumi_alicloud/arms/outputs.py +154 -13
- pulumi_alicloud/cfg/rule.py +4 -4
- pulumi_alicloud/cs/autoscaling_config.py +51 -0
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +95 -0
- pulumi_alicloud/dataworks/data_source.py +686 -0
- pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
- pulumi_alicloud/dataworks/outputs.py +44 -0
- pulumi_alicloud/dataworks/project.py +294 -140
- pulumi_alicloud/dataworks/project_member.py +380 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +34 -0
- pulumi_alicloud/ecs/disk.py +156 -14
- pulumi_alicloud/ecs/ecs_disk.py +308 -97
- pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
- pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
- pulumi_alicloud/ecs/instance.py +145 -0
- pulumi_alicloud/ecs/key_pair.py +27 -7
- pulumi_alicloud/ecs/outputs.py +37 -0
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +1750 -0
- pulumi_alicloud/oss/bucket_website.py +416 -0
- pulumi_alicloud/oss/outputs.py +1338 -0
- 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 +63 -30
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/slb/attachment.py +2 -6
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +484 -0
- pulumi_alicloud/sls/oss_export_sink.py +428 -0
- pulumi_alicloud/sls/outputs.py +346 -0
- pulumi_alicloud/vpc/network.py +7 -7
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,380 @@
|
|
|
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
|
+
|
pulumi_alicloud/ecs/__init__.py
CHANGED
pulumi_alicloud/ecs/_inputs.py
CHANGED
|
@@ -43,6 +43,8 @@ __all__ = [
|
|
|
43
43
|
'ImageImportDiskDeviceMappingArgsDict',
|
|
44
44
|
'InstanceDataDiskArgs',
|
|
45
45
|
'InstanceDataDiskArgsDict',
|
|
46
|
+
'InstanceImageOptionsArgs',
|
|
47
|
+
'InstanceImageOptionsArgsDict',
|
|
46
48
|
'InstanceMaintenanceTimeArgs',
|
|
47
49
|
'InstanceMaintenanceTimeArgsDict',
|
|
48
50
|
'InstanceNetworkInterfacesArgs',
|
|
@@ -1817,6 +1819,38 @@ class InstanceDataDiskArgs:
|
|
|
1817
1819
|
pulumi.set(self, "snapshot_id", value)
|
|
1818
1820
|
|
|
1819
1821
|
|
|
1822
|
+
if not MYPY:
|
|
1823
|
+
class InstanceImageOptionsArgsDict(TypedDict):
|
|
1824
|
+
login_as_non_root: NotRequired[pulumi.Input[bool]]
|
|
1825
|
+
"""
|
|
1826
|
+
Whether to allow the instance logging in with the ecs-user user.
|
|
1827
|
+
"""
|
|
1828
|
+
elif False:
|
|
1829
|
+
InstanceImageOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
1830
|
+
|
|
1831
|
+
@pulumi.input_type
|
|
1832
|
+
class InstanceImageOptionsArgs:
|
|
1833
|
+
def __init__(__self__, *,
|
|
1834
|
+
login_as_non_root: Optional[pulumi.Input[bool]] = None):
|
|
1835
|
+
"""
|
|
1836
|
+
:param pulumi.Input[bool] login_as_non_root: Whether to allow the instance logging in with the ecs-user user.
|
|
1837
|
+
"""
|
|
1838
|
+
if login_as_non_root is not None:
|
|
1839
|
+
pulumi.set(__self__, "login_as_non_root", login_as_non_root)
|
|
1840
|
+
|
|
1841
|
+
@property
|
|
1842
|
+
@pulumi.getter(name="loginAsNonRoot")
|
|
1843
|
+
def login_as_non_root(self) -> Optional[pulumi.Input[bool]]:
|
|
1844
|
+
"""
|
|
1845
|
+
Whether to allow the instance logging in with the ecs-user user.
|
|
1846
|
+
"""
|
|
1847
|
+
return pulumi.get(self, "login_as_non_root")
|
|
1848
|
+
|
|
1849
|
+
@login_as_non_root.setter
|
|
1850
|
+
def login_as_non_root(self, value: Optional[pulumi.Input[bool]]):
|
|
1851
|
+
pulumi.set(self, "login_as_non_root", value)
|
|
1852
|
+
|
|
1853
|
+
|
|
1820
1854
|
if not MYPY:
|
|
1821
1855
|
class InstanceMaintenanceTimeArgsDict(TypedDict):
|
|
1822
1856
|
end_time: NotRequired[pulumi.Input[str]]
|