pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.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.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (123) hide show
  1. pulumi_alicloud/__init__.py +139 -0
  2. pulumi_alicloud/alb/__init__.py +2 -0
  3. pulumi_alicloud/alb/_inputs.py +913 -250
  4. pulumi_alicloud/alb/a_script.py +116 -98
  5. pulumi_alicloud/alb/get_server_groups.py +55 -25
  6. pulumi_alicloud/alb/listener.py +269 -174
  7. pulumi_alicloud/alb/load_balancer.py +239 -118
  8. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
  9. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  10. pulumi_alicloud/alb/outputs.py +720 -222
  11. pulumi_alicloud/alb/server_group.py +532 -122
  12. pulumi_alicloud/alikafka/instance.py +188 -70
  13. pulumi_alicloud/amqp/instance.py +77 -28
  14. pulumi_alicloud/bastionhost/_inputs.py +40 -38
  15. pulumi_alicloud/bastionhost/get_instances.py +6 -22
  16. pulumi_alicloud/bastionhost/outputs.py +60 -49
  17. pulumi_alicloud/cen/_inputs.py +34 -0
  18. pulumi_alicloud/cen/instance_grant.py +4 -0
  19. pulumi_alicloud/cen/outputs.py +37 -0
  20. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  21. pulumi_alicloud/cloudcontrol/__init__.py +12 -0
  22. pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
  23. pulumi_alicloud/cloudcontrol/get_products.py +187 -0
  24. pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
  25. pulumi_alicloud/cloudcontrol/outputs.py +688 -0
  26. pulumi_alicloud/cloudcontrol/resource.py +407 -0
  27. pulumi_alicloud/cms/_inputs.py +21 -15
  28. pulumi_alicloud/cms/alarm.py +7 -7
  29. pulumi_alicloud/cms/outputs.py +14 -10
  30. pulumi_alicloud/cs/_inputs.py +349 -1
  31. pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
  32. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
  33. pulumi_alicloud/cs/kubernetes.py +29 -29
  34. pulumi_alicloud/cs/managed_kubernetes.py +137 -47
  35. pulumi_alicloud/cs/node_pool.py +77 -2
  36. pulumi_alicloud/cs/outputs.py +265 -1
  37. pulumi_alicloud/dataworks/__init__.py +4 -0
  38. pulumi_alicloud/dataworks/_inputs.py +1534 -0
  39. pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
  40. pulumi_alicloud/dataworks/di_job.py +1005 -0
  41. pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
  42. pulumi_alicloud/dataworks/network.py +331 -0
  43. pulumi_alicloud/dataworks/outputs.py +1247 -0
  44. pulumi_alicloud/dcdn/waf_rule.py +14 -14
  45. pulumi_alicloud/dfs/file_system.py +62 -23
  46. pulumi_alicloud/dfs/mount_point.py +48 -22
  47. pulumi_alicloud/dns/get_alidns_domains.py +7 -2
  48. pulumi_alicloud/dns/outputs.py +8 -0
  49. pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
  50. pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
  51. pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
  52. pulumi_alicloud/ecs/instance.py +7 -7
  53. pulumi_alicloud/ecs/launch_template.py +88 -0
  54. pulumi_alicloud/esa/__init__.py +3 -0
  55. pulumi_alicloud/esa/_inputs.py +81 -0
  56. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  57. pulumi_alicloud/esa/list.py +361 -0
  58. pulumi_alicloud/esa/outputs.py +48 -0
  59. pulumi_alicloud/esa/page.py +376 -0
  60. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  61. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  62. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  63. pulumi_alicloud/ess/outputs.py +357 -17
  64. pulumi_alicloud/eventbridge/get_service.py +2 -6
  65. pulumi_alicloud/fc/_inputs.py +75 -75
  66. pulumi_alicloud/fc/custom_domain.py +2 -2
  67. pulumi_alicloud/fc/function.py +32 -4
  68. pulumi_alicloud/fc/outputs.py +50 -50
  69. pulumi_alicloud/fc/v2_function.py +20 -0
  70. pulumi_alicloud/fc/v3_function.py +53 -6
  71. pulumi_alicloud/hbr/__init__.py +1 -0
  72. pulumi_alicloud/hbr/cross_account.py +338 -0
  73. pulumi_alicloud/ims/oidc_provider.py +28 -0
  74. pulumi_alicloud/kms/__init__.py +1 -0
  75. pulumi_alicloud/kms/get_instances.py +160 -0
  76. pulumi_alicloud/kms/instance.py +0 -60
  77. pulumi_alicloud/kms/outputs.py +19 -0
  78. pulumi_alicloud/log/resource_record.py +42 -26
  79. pulumi_alicloud/maxcompute/__init__.py +5 -0
  80. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  81. pulumi_alicloud/maxcompute/outputs.py +486 -28
  82. pulumi_alicloud/maxcompute/project.py +63 -31
  83. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  84. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  85. pulumi_alicloud/maxcompute/role.py +423 -0
  86. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  87. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  88. pulumi_alicloud/message/service_queue.py +106 -59
  89. pulumi_alicloud/message/service_topic.py +182 -37
  90. pulumi_alicloud/mongodb/account.py +138 -163
  91. pulumi_alicloud/oos/secret_parameter.py +84 -9
  92. pulumi_alicloud/oss/bucket.py +1 -1
  93. pulumi_alicloud/oss/bucket_policy.py +2 -4
  94. pulumi_alicloud/oss/bucket_referer.py +2 -4
  95. pulumi_alicloud/oss/get_buckets.py +16 -2
  96. pulumi_alicloud/oss/outputs.py +18 -17
  97. pulumi_alicloud/pulumi-plugin.json +1 -1
  98. pulumi_alicloud/rds/instance.py +68 -0
  99. pulumi_alicloud/sae/application.py +84 -7
  100. pulumi_alicloud/sls/collection_policy.py +2 -2
  101. pulumi_alicloud/vpc/__init__.py +6 -0
  102. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
  103. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
  104. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
  105. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
  106. pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
  107. pulumi_alicloud/vpc/get_networks.py +3 -0
  108. pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
  109. pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
  110. pulumi_alicloud/vpc/ipam_service.py +144 -0
  111. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  112. pulumi_alicloud/vpc/nat_gateway.py +145 -7
  113. pulumi_alicloud/vpc/outputs.py +777 -0
  114. pulumi_alicloud/vpc/snat_entry.py +107 -48
  115. pulumi_alicloud/vpn/_inputs.py +96 -72
  116. pulumi_alicloud/vpn/connection.py +24 -28
  117. pulumi_alicloud/vpn/outputs.py +64 -48
  118. pulumi_alicloud/yundun/_inputs.py +26 -24
  119. pulumi_alicloud/yundun/outputs.py +37 -22
  120. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
  121. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +123 -95
  122. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
  123. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,368 @@
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__ = ['RoleUserAttachmentArgs', 'RoleUserAttachment']
18
+
19
+ @pulumi.input_type
20
+ class RoleUserAttachmentArgs:
21
+ def __init__(__self__, *,
22
+ project_name: pulumi.Input[str],
23
+ role_name: pulumi.Input[str],
24
+ user: Optional[pulumi.Input[str]] = None):
25
+ """
26
+ The set of arguments for constructing a RoleUserAttachment resource.
27
+ :param pulumi.Input[str] project_name: Project Name
28
+ :param pulumi.Input[str] role_name: Role Name, Valid Values: super_administrator, admin, Custom Role
29
+
30
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
31
+ :param pulumi.Input[str] user: Supported input: Alibaba Cloud account, RAM user, and RAM role
32
+
33
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
34
+ """
35
+ pulumi.set(__self__, "project_name", project_name)
36
+ pulumi.set(__self__, "role_name", role_name)
37
+ if user is not None:
38
+ pulumi.set(__self__, "user", user)
39
+
40
+ @property
41
+ @pulumi.getter(name="projectName")
42
+ def project_name(self) -> pulumi.Input[str]:
43
+ """
44
+ Project Name
45
+ """
46
+ return pulumi.get(self, "project_name")
47
+
48
+ @project_name.setter
49
+ def project_name(self, value: pulumi.Input[str]):
50
+ pulumi.set(self, "project_name", value)
51
+
52
+ @property
53
+ @pulumi.getter(name="roleName")
54
+ def role_name(self) -> pulumi.Input[str]:
55
+ """
56
+ Role Name, Valid Values: super_administrator, admin, Custom Role
57
+
58
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
59
+ """
60
+ return pulumi.get(self, "role_name")
61
+
62
+ @role_name.setter
63
+ def role_name(self, value: pulumi.Input[str]):
64
+ pulumi.set(self, "role_name", value)
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def user(self) -> Optional[pulumi.Input[str]]:
69
+ """
70
+ Supported input: Alibaba Cloud account, RAM user, and RAM role
71
+
72
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
73
+ """
74
+ return pulumi.get(self, "user")
75
+
76
+ @user.setter
77
+ def user(self, value: Optional[pulumi.Input[str]]):
78
+ pulumi.set(self, "user", value)
79
+
80
+
81
+ @pulumi.input_type
82
+ class _RoleUserAttachmentState:
83
+ def __init__(__self__, *,
84
+ project_name: Optional[pulumi.Input[str]] = None,
85
+ role_name: Optional[pulumi.Input[str]] = None,
86
+ user: Optional[pulumi.Input[str]] = None):
87
+ """
88
+ Input properties used for looking up and filtering RoleUserAttachment resources.
89
+ :param pulumi.Input[str] project_name: Project Name
90
+ :param pulumi.Input[str] role_name: Role Name, Valid Values: super_administrator, admin, Custom Role
91
+
92
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
93
+ :param pulumi.Input[str] user: Supported input: Alibaba Cloud account, RAM user, and RAM role
94
+
95
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
96
+ """
97
+ if project_name is not None:
98
+ pulumi.set(__self__, "project_name", project_name)
99
+ if role_name is not None:
100
+ pulumi.set(__self__, "role_name", role_name)
101
+ if user is not None:
102
+ pulumi.set(__self__, "user", user)
103
+
104
+ @property
105
+ @pulumi.getter(name="projectName")
106
+ def project_name(self) -> Optional[pulumi.Input[str]]:
107
+ """
108
+ Project Name
109
+ """
110
+ return pulumi.get(self, "project_name")
111
+
112
+ @project_name.setter
113
+ def project_name(self, value: Optional[pulumi.Input[str]]):
114
+ pulumi.set(self, "project_name", value)
115
+
116
+ @property
117
+ @pulumi.getter(name="roleName")
118
+ def role_name(self) -> Optional[pulumi.Input[str]]:
119
+ """
120
+ Role Name, Valid Values: super_administrator, admin, Custom Role
121
+
122
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
123
+ """
124
+ return pulumi.get(self, "role_name")
125
+
126
+ @role_name.setter
127
+ def role_name(self, value: Optional[pulumi.Input[str]]):
128
+ pulumi.set(self, "role_name", value)
129
+
130
+ @property
131
+ @pulumi.getter
132
+ def user(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ Supported input: Alibaba Cloud account, RAM user, and RAM role
135
+
136
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
137
+ """
138
+ return pulumi.get(self, "user")
139
+
140
+ @user.setter
141
+ def user(self, value: Optional[pulumi.Input[str]]):
142
+ pulumi.set(self, "user", value)
143
+
144
+
145
+ class RoleUserAttachment(pulumi.CustomResource):
146
+ @overload
147
+ def __init__(__self__,
148
+ resource_name: str,
149
+ opts: Optional[pulumi.ResourceOptions] = None,
150
+ project_name: Optional[pulumi.Input[str]] = None,
151
+ role_name: Optional[pulumi.Input[str]] = None,
152
+ user: Optional[pulumi.Input[str]] = None,
153
+ __props__=None):
154
+ """
155
+ Provides a Max Compute Role User Attachment resource.
156
+
157
+ Resources associated with a user and a project-level role.
158
+
159
+ For information about Max Compute Role User Attachment and how to use it, see [What is Role User Attachment](https://www.alibabacloud.com/help/en/).
160
+
161
+ > **NOTE:** Available since v1.242.0.
162
+
163
+ ## Example Usage
164
+
165
+ Basic Usage
166
+
167
+ ```python
168
+ import pulumi
169
+ import pulumi_alicloud as alicloud
170
+
171
+ config = pulumi.Config()
172
+ name = config.get("name")
173
+ if name is None:
174
+ name = "terraform-example"
175
+ aliyun_user = config.get("aliyunUser")
176
+ if aliyun_user is None:
177
+ aliyun_user = "ALIYUN$openapiautomation@test.aliyunid.com"
178
+ ram_user = config.get("ramUser")
179
+ if ram_user is None:
180
+ ram_user = "RAM$openapiautomation@test.aliyunid.com:tf-example"
181
+ ram_role = config.get("ramRole")
182
+ if ram_role is None:
183
+ ram_role = "RAM$openapiautomation@test.aliyunid.com:role/terraform-no-ak-assumerole-no-deleting"
184
+ role_name = config.get("roleName")
185
+ if role_name is None:
186
+ role_name = "role_project_admin"
187
+ project_name = config.get("projectName")
188
+ if project_name is None:
189
+ project_name = "default_project_669886c"
190
+ default = alicloud.maxcompute.RoleUserAttachment("default",
191
+ role_name=role_name,
192
+ user=ram_role,
193
+ project_name=project_name)
194
+ ```
195
+
196
+ ## Import
197
+
198
+ Max Compute Role User Attachment can be imported using the id, e.g.
199
+
200
+ ```sh
201
+ $ pulumi import alicloud:maxcompute/roleUserAttachment:RoleUserAttachment example <project_name>-<role_name>-<user>
202
+ ```
203
+
204
+ :param str resource_name: The name of the resource.
205
+ :param pulumi.ResourceOptions opts: Options for the resource.
206
+ :param pulumi.Input[str] project_name: Project Name
207
+ :param pulumi.Input[str] role_name: Role Name, Valid Values: super_administrator, admin, Custom Role
208
+
209
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
210
+ :param pulumi.Input[str] user: Supported input: Alibaba Cloud account, RAM user, and RAM role
211
+
212
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
213
+ """
214
+ ...
215
+ @overload
216
+ def __init__(__self__,
217
+ resource_name: str,
218
+ args: RoleUserAttachmentArgs,
219
+ opts: Optional[pulumi.ResourceOptions] = None):
220
+ """
221
+ Provides a Max Compute Role User Attachment resource.
222
+
223
+ Resources associated with a user and a project-level role.
224
+
225
+ For information about Max Compute Role User Attachment and how to use it, see [What is Role User Attachment](https://www.alibabacloud.com/help/en/).
226
+
227
+ > **NOTE:** Available since v1.242.0.
228
+
229
+ ## Example Usage
230
+
231
+ Basic Usage
232
+
233
+ ```python
234
+ import pulumi
235
+ import pulumi_alicloud as alicloud
236
+
237
+ config = pulumi.Config()
238
+ name = config.get("name")
239
+ if name is None:
240
+ name = "terraform-example"
241
+ aliyun_user = config.get("aliyunUser")
242
+ if aliyun_user is None:
243
+ aliyun_user = "ALIYUN$openapiautomation@test.aliyunid.com"
244
+ ram_user = config.get("ramUser")
245
+ if ram_user is None:
246
+ ram_user = "RAM$openapiautomation@test.aliyunid.com:tf-example"
247
+ ram_role = config.get("ramRole")
248
+ if ram_role is None:
249
+ ram_role = "RAM$openapiautomation@test.aliyunid.com:role/terraform-no-ak-assumerole-no-deleting"
250
+ role_name = config.get("roleName")
251
+ if role_name is None:
252
+ role_name = "role_project_admin"
253
+ project_name = config.get("projectName")
254
+ if project_name is None:
255
+ project_name = "default_project_669886c"
256
+ default = alicloud.maxcompute.RoleUserAttachment("default",
257
+ role_name=role_name,
258
+ user=ram_role,
259
+ project_name=project_name)
260
+ ```
261
+
262
+ ## Import
263
+
264
+ Max Compute Role User Attachment can be imported using the id, e.g.
265
+
266
+ ```sh
267
+ $ pulumi import alicloud:maxcompute/roleUserAttachment:RoleUserAttachment example <project_name>-<role_name>-<user>
268
+ ```
269
+
270
+ :param str resource_name: The name of the resource.
271
+ :param RoleUserAttachmentArgs args: The arguments to use to populate this resource's properties.
272
+ :param pulumi.ResourceOptions opts: Options for the resource.
273
+ """
274
+ ...
275
+ def __init__(__self__, resource_name: str, *args, **kwargs):
276
+ resource_args, opts = _utilities.get_resource_args_opts(RoleUserAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
277
+ if resource_args is not None:
278
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
279
+ else:
280
+ __self__._internal_init(resource_name, *args, **kwargs)
281
+
282
+ def _internal_init(__self__,
283
+ resource_name: str,
284
+ opts: Optional[pulumi.ResourceOptions] = None,
285
+ project_name: Optional[pulumi.Input[str]] = None,
286
+ role_name: Optional[pulumi.Input[str]] = None,
287
+ user: Optional[pulumi.Input[str]] = None,
288
+ __props__=None):
289
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
290
+ if not isinstance(opts, pulumi.ResourceOptions):
291
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
292
+ if opts.id is None:
293
+ if __props__ is not None:
294
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
295
+ __props__ = RoleUserAttachmentArgs.__new__(RoleUserAttachmentArgs)
296
+
297
+ if project_name is None and not opts.urn:
298
+ raise TypeError("Missing required property 'project_name'")
299
+ __props__.__dict__["project_name"] = project_name
300
+ if role_name is None and not opts.urn:
301
+ raise TypeError("Missing required property 'role_name'")
302
+ __props__.__dict__["role_name"] = role_name
303
+ __props__.__dict__["user"] = user
304
+ super(RoleUserAttachment, __self__).__init__(
305
+ 'alicloud:maxcompute/roleUserAttachment:RoleUserAttachment',
306
+ resource_name,
307
+ __props__,
308
+ opts)
309
+
310
+ @staticmethod
311
+ def get(resource_name: str,
312
+ id: pulumi.Input[str],
313
+ opts: Optional[pulumi.ResourceOptions] = None,
314
+ project_name: Optional[pulumi.Input[str]] = None,
315
+ role_name: Optional[pulumi.Input[str]] = None,
316
+ user: Optional[pulumi.Input[str]] = None) -> 'RoleUserAttachment':
317
+ """
318
+ Get an existing RoleUserAttachment resource's state with the given name, id, and optional extra
319
+ properties used to qualify the lookup.
320
+
321
+ :param str resource_name: The unique name of the resulting resource.
322
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
323
+ :param pulumi.ResourceOptions opts: Options for the resource.
324
+ :param pulumi.Input[str] project_name: Project Name
325
+ :param pulumi.Input[str] role_name: Role Name, Valid Values: super_administrator, admin, Custom Role
326
+
327
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
328
+ :param pulumi.Input[str] user: Supported input: Alibaba Cloud account, RAM user, and RAM role
329
+
330
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
331
+ """
332
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
333
+
334
+ __props__ = _RoleUserAttachmentState.__new__(_RoleUserAttachmentState)
335
+
336
+ __props__.__dict__["project_name"] = project_name
337
+ __props__.__dict__["role_name"] = role_name
338
+ __props__.__dict__["user"] = user
339
+ return RoleUserAttachment(resource_name, opts=opts, __props__=__props__)
340
+
341
+ @property
342
+ @pulumi.getter(name="projectName")
343
+ def project_name(self) -> pulumi.Output[str]:
344
+ """
345
+ Project Name
346
+ """
347
+ return pulumi.get(self, "project_name")
348
+
349
+ @property
350
+ @pulumi.getter(name="roleName")
351
+ def role_name(self) -> pulumi.Output[str]:
352
+ """
353
+ Role Name, Valid Values: super_administrator, admin, Custom Role
354
+
355
+ > **NOTE:** -- super_administrator: the built-in management role of MaxCompute. The Super Administrator of the project has the permission to operate all resources in the project and the management permission. Project owners or users with the Super_Administrator role can assign the Super_Administrator role to other users. -- admin: the built-in management role of MaxCompute, which has the permission to operate all resources in the project and some basic management permissions. Project owners can assign the Admin role to other users. -- Custom role: a role that is not built-in to MaxCompute and needs to be customized. You can refer to the role (starting with role_) definition in DataWorks.
356
+ """
357
+ return pulumi.get(self, "role_name")
358
+
359
+ @property
360
+ @pulumi.getter
361
+ def user(self) -> pulumi.Output[str]:
362
+ """
363
+ Supported input: Alibaba Cloud account, RAM user, and RAM role
364
+
365
+ > **NOTE:** -- Alibaba Cloud account: the account registered on the Alibaba Cloud official website. - RAM User: a user created by an Alibaba Cloud account to assist the Alibaba Cloud account to complete data processing. -- RAM role: a RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key and needs to be played by a trusted entity user for normal use.
366
+ """
367
+ return pulumi.get(self, "user")
368
+
@@ -0,0 +1,287 @@
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__ = ['TunnelQuotaTimerArgs', 'TunnelQuotaTimer']
20
+
21
+ @pulumi.input_type
22
+ class TunnelQuotaTimerArgs:
23
+ def __init__(__self__, *,
24
+ nickname: pulumi.Input[str],
25
+ quota_timers: Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]] = None,
26
+ time_zone: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a TunnelQuotaTimer resource.
29
+ :param pulumi.Input[str] nickname: The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
30
+ :param pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]] quota_timers: Time-Sharing configuration
31
+
32
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
33
+ See `quota_timer` below.
34
+ :param pulumi.Input[str] time_zone: Time zone, reference: Asia/Shanghai
35
+ In general, the system will automatically generate the time zone according to the region without configuration.
36
+ """
37
+ pulumi.set(__self__, "nickname", nickname)
38
+ if quota_timers is not None:
39
+ pulumi.set(__self__, "quota_timers", quota_timers)
40
+ if time_zone is not None:
41
+ pulumi.set(__self__, "time_zone", time_zone)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def nickname(self) -> pulumi.Input[str]:
46
+ """
47
+ The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
48
+ """
49
+ return pulumi.get(self, "nickname")
50
+
51
+ @nickname.setter
52
+ def nickname(self, value: pulumi.Input[str]):
53
+ pulumi.set(self, "nickname", value)
54
+
55
+ @property
56
+ @pulumi.getter(name="quotaTimers")
57
+ def quota_timers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]]:
58
+ """
59
+ Time-Sharing configuration
60
+
61
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
62
+ See `quota_timer` below.
63
+ """
64
+ return pulumi.get(self, "quota_timers")
65
+
66
+ @quota_timers.setter
67
+ def quota_timers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]]):
68
+ pulumi.set(self, "quota_timers", value)
69
+
70
+ @property
71
+ @pulumi.getter(name="timeZone")
72
+ def time_zone(self) -> Optional[pulumi.Input[str]]:
73
+ """
74
+ Time zone, reference: Asia/Shanghai
75
+ In general, the system will automatically generate the time zone according to the region without configuration.
76
+ """
77
+ return pulumi.get(self, "time_zone")
78
+
79
+ @time_zone.setter
80
+ def time_zone(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "time_zone", value)
82
+
83
+
84
+ @pulumi.input_type
85
+ class _TunnelQuotaTimerState:
86
+ def __init__(__self__, *,
87
+ nickname: Optional[pulumi.Input[str]] = None,
88
+ quota_timers: Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]] = None,
89
+ time_zone: Optional[pulumi.Input[str]] = None):
90
+ """
91
+ Input properties used for looking up and filtering TunnelQuotaTimer resources.
92
+ :param pulumi.Input[str] nickname: The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
93
+ :param pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]] quota_timers: Time-Sharing configuration
94
+
95
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
96
+ See `quota_timer` below.
97
+ :param pulumi.Input[str] time_zone: Time zone, reference: Asia/Shanghai
98
+ In general, the system will automatically generate the time zone according to the region without configuration.
99
+ """
100
+ if nickname is not None:
101
+ pulumi.set(__self__, "nickname", nickname)
102
+ if quota_timers is not None:
103
+ pulumi.set(__self__, "quota_timers", quota_timers)
104
+ if time_zone is not None:
105
+ pulumi.set(__self__, "time_zone", time_zone)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def nickname(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
112
+ """
113
+ return pulumi.get(self, "nickname")
114
+
115
+ @nickname.setter
116
+ def nickname(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "nickname", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="quotaTimers")
121
+ def quota_timers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]]:
122
+ """
123
+ Time-Sharing configuration
124
+
125
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
126
+ See `quota_timer` below.
127
+ """
128
+ return pulumi.get(self, "quota_timers")
129
+
130
+ @quota_timers.setter
131
+ def quota_timers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TunnelQuotaTimerQuotaTimerArgs']]]]):
132
+ pulumi.set(self, "quota_timers", value)
133
+
134
+ @property
135
+ @pulumi.getter(name="timeZone")
136
+ def time_zone(self) -> Optional[pulumi.Input[str]]:
137
+ """
138
+ Time zone, reference: Asia/Shanghai
139
+ In general, the system will automatically generate the time zone according to the region without configuration.
140
+ """
141
+ return pulumi.get(self, "time_zone")
142
+
143
+ @time_zone.setter
144
+ def time_zone(self, value: Optional[pulumi.Input[str]]):
145
+ pulumi.set(self, "time_zone", value)
146
+
147
+
148
+ class TunnelQuotaTimer(pulumi.CustomResource):
149
+ @overload
150
+ def __init__(__self__,
151
+ resource_name: str,
152
+ opts: Optional[pulumi.ResourceOptions] = None,
153
+ nickname: Optional[pulumi.Input[str]] = None,
154
+ quota_timers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TunnelQuotaTimerQuotaTimerArgs', 'TunnelQuotaTimerQuotaTimerArgsDict']]]]] = None,
155
+ time_zone: Optional[pulumi.Input[str]] = None,
156
+ __props__=None):
157
+ """
158
+ ## Import
159
+
160
+ Max Compute Tunnel Quota Timer can be imported using the id, e.g.
161
+
162
+ ```sh
163
+ $ pulumi import alicloud:maxcompute/tunnelQuotaTimer:TunnelQuotaTimer example <id>
164
+ ```
165
+
166
+ :param str resource_name: The name of the resource.
167
+ :param pulumi.ResourceOptions opts: Options for the resource.
168
+ :param pulumi.Input[str] nickname: The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
169
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TunnelQuotaTimerQuotaTimerArgs', 'TunnelQuotaTimerQuotaTimerArgsDict']]]] quota_timers: Time-Sharing configuration
170
+
171
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
172
+ See `quota_timer` below.
173
+ :param pulumi.Input[str] time_zone: Time zone, reference: Asia/Shanghai
174
+ In general, the system will automatically generate the time zone according to the region without configuration.
175
+ """
176
+ ...
177
+ @overload
178
+ def __init__(__self__,
179
+ resource_name: str,
180
+ args: TunnelQuotaTimerArgs,
181
+ opts: Optional[pulumi.ResourceOptions] = None):
182
+ """
183
+ ## Import
184
+
185
+ Max Compute Tunnel Quota Timer can be imported using the id, e.g.
186
+
187
+ ```sh
188
+ $ pulumi import alicloud:maxcompute/tunnelQuotaTimer:TunnelQuotaTimer example <id>
189
+ ```
190
+
191
+ :param str resource_name: The name of the resource.
192
+ :param TunnelQuotaTimerArgs args: The arguments to use to populate this resource's properties.
193
+ :param pulumi.ResourceOptions opts: Options for the resource.
194
+ """
195
+ ...
196
+ def __init__(__self__, resource_name: str, *args, **kwargs):
197
+ resource_args, opts = _utilities.get_resource_args_opts(TunnelQuotaTimerArgs, pulumi.ResourceOptions, *args, **kwargs)
198
+ if resource_args is not None:
199
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
200
+ else:
201
+ __self__._internal_init(resource_name, *args, **kwargs)
202
+
203
+ def _internal_init(__self__,
204
+ resource_name: str,
205
+ opts: Optional[pulumi.ResourceOptions] = None,
206
+ nickname: Optional[pulumi.Input[str]] = None,
207
+ quota_timers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TunnelQuotaTimerQuotaTimerArgs', 'TunnelQuotaTimerQuotaTimerArgsDict']]]]] = None,
208
+ time_zone: Optional[pulumi.Input[str]] = None,
209
+ __props__=None):
210
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
211
+ if not isinstance(opts, pulumi.ResourceOptions):
212
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
213
+ if opts.id is None:
214
+ if __props__ is not None:
215
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
216
+ __props__ = TunnelQuotaTimerArgs.__new__(TunnelQuotaTimerArgs)
217
+
218
+ if nickname is None and not opts.urn:
219
+ raise TypeError("Missing required property 'nickname'")
220
+ __props__.__dict__["nickname"] = nickname
221
+ __props__.__dict__["quota_timers"] = quota_timers
222
+ __props__.__dict__["time_zone"] = time_zone
223
+ super(TunnelQuotaTimer, __self__).__init__(
224
+ 'alicloud:maxcompute/tunnelQuotaTimer:TunnelQuotaTimer',
225
+ resource_name,
226
+ __props__,
227
+ opts)
228
+
229
+ @staticmethod
230
+ def get(resource_name: str,
231
+ id: pulumi.Input[str],
232
+ opts: Optional[pulumi.ResourceOptions] = None,
233
+ nickname: Optional[pulumi.Input[str]] = None,
234
+ quota_timers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TunnelQuotaTimerQuotaTimerArgs', 'TunnelQuotaTimerQuotaTimerArgsDict']]]]] = None,
235
+ time_zone: Optional[pulumi.Input[str]] = None) -> 'TunnelQuotaTimer':
236
+ """
237
+ Get an existing TunnelQuotaTimer resource's state with the given name, id, and optional extra
238
+ properties used to qualify the lookup.
239
+
240
+ :param str resource_name: The unique name of the resulting resource.
241
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
242
+ :param pulumi.ResourceOptions opts: Options for the resource.
243
+ :param pulumi.Input[str] nickname: The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
244
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TunnelQuotaTimerQuotaTimerArgs', 'TunnelQuotaTimerQuotaTimerArgsDict']]]] quota_timers: Time-Sharing configuration
245
+
246
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
247
+ See `quota_timer` below.
248
+ :param pulumi.Input[str] time_zone: Time zone, reference: Asia/Shanghai
249
+ In general, the system will automatically generate the time zone according to the region without configuration.
250
+ """
251
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
252
+
253
+ __props__ = _TunnelQuotaTimerState.__new__(_TunnelQuotaTimerState)
254
+
255
+ __props__.__dict__["nickname"] = nickname
256
+ __props__.__dict__["quota_timers"] = quota_timers
257
+ __props__.__dict__["time_zone"] = time_zone
258
+ return TunnelQuotaTimer(resource_name, opts=opts, __props__=__props__)
259
+
260
+ @property
261
+ @pulumi.getter
262
+ def nickname(self) -> pulumi.Output[str]:
263
+ """
264
+ The nickname of the exclusive Resource Group (Tunnel Quota) for the level - 1 data transmission service.
265
+ """
266
+ return pulumi.get(self, "nickname")
267
+
268
+ @property
269
+ @pulumi.getter(name="quotaTimers")
270
+ def quota_timers(self) -> pulumi.Output[Optional[Sequence['outputs.TunnelQuotaTimerQuotaTimer']]]:
271
+ """
272
+ Time-Sharing configuration
273
+
274
+ > **NOTE:** -- The same reserved Quota resource group supports up to 48 time intervals. The minimum duration of a time interval is 30 minutes. -- After the current data transmission service is configured for time-sharing, if you need to perform a downgrade operation on the data transmission service (package year and month), please reduce the time-sharing concurrency first. -- The effective time of the time-sharing configuration is 0 to 5 minutes, and the billing will be calculated according to the actual effective time. -- Please make sure to set the time range completely from 00:00 to 24:00
275
+ See `quota_timer` below.
276
+ """
277
+ return pulumi.get(self, "quota_timers")
278
+
279
+ @property
280
+ @pulumi.getter(name="timeZone")
281
+ def time_zone(self) -> pulumi.Output[Optional[str]]:
282
+ """
283
+ Time zone, reference: Asia/Shanghai
284
+ In general, the system will automatically generate the time zone according to the region without configuration.
285
+ """
286
+ return pulumi.get(self, "time_zone")
287
+