pulumi-alicloud 3.79.0a1747891356__py3-none-any.whl → 3.79.0a1748578459__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 (48) hide show
  1. pulumi_alicloud/__init__.py +40 -0
  2. pulumi_alicloud/alb/_inputs.py +21 -105
  3. pulumi_alicloud/alb/get_load_balancers.py +169 -18
  4. pulumi_alicloud/alb/listener.py +28 -56
  5. pulumi_alicloud/alb/outputs.py +150 -105
  6. pulumi_alicloud/cs/_inputs.py +54 -0
  7. pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
  8. pulumi_alicloud/cs/managed_kubernetes.py +129 -7
  9. pulumi_alicloud/cs/outputs.py +49 -0
  10. pulumi_alicloud/ecs/__init__.py +1 -0
  11. pulumi_alicloud/ecs/_inputs.py +40 -0
  12. pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
  13. pulumi_alicloud/ecs/get_instances.py +4 -3
  14. pulumi_alicloud/ecs/instance.py +94 -0
  15. pulumi_alicloud/ecs/outputs.py +129 -39
  16. pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
  17. pulumi_alicloud/eflo/__init__.py +1 -0
  18. pulumi_alicloud/eflo/vsc.py +433 -0
  19. pulumi_alicloud/elasticsearch/instance.py +7 -7
  20. pulumi_alicloud/ess/outputs.py +226 -4
  21. pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
  22. pulumi_alicloud/fc/__init__.py +1 -0
  23. pulumi_alicloud/fc/get_v3_triggers.py +277 -0
  24. pulumi_alicloud/fc/outputs.py +192 -0
  25. pulumi_alicloud/lindorm/__init__.py +1 -0
  26. pulumi_alicloud/lindorm/public_network.py +288 -0
  27. pulumi_alicloud/maxcompute/project.py +2 -4
  28. pulumi_alicloud/oos/get_parameters.py +72 -28
  29. pulumi_alicloud/oos/outputs.py +10 -10
  30. pulumi_alicloud/pai/__init__.py +1 -0
  31. pulumi_alicloud/pai/workspace_user_config.py +356 -0
  32. pulumi_alicloud/polardb/cluster.py +155 -0
  33. pulumi_alicloud/pulumi-plugin.json +1 -1
  34. pulumi_alicloud/pvtz/get_zone_records.py +66 -35
  35. pulumi_alicloud/pvtz/get_zones.py +49 -32
  36. pulumi_alicloud/pvtz/outputs.py +60 -56
  37. pulumi_alicloud/ram/policy.py +21 -35
  38. pulumi_alicloud/ram/role_attachment.py +6 -2
  39. pulumi_alicloud/rds/__init__.py +1 -0
  40. pulumi_alicloud/rds/db_proxy_public.py +512 -0
  41. pulumi_alicloud/rds/instance.py +35 -35
  42. pulumi_alicloud/sls/__init__.py +1 -0
  43. pulumi_alicloud/sls/get_alerts.py +463 -0
  44. pulumi_alicloud/sls/outputs.py +975 -0
  45. {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/METADATA +1 -1
  46. {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/RECORD +48 -41
  47. {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/WHEEL +1 -1
  48. {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,356 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = ['WorkspaceUserConfigArgs', 'WorkspaceUserConfig']
19
+
20
+ @pulumi.input_type
21
+ class WorkspaceUserConfigArgs:
22
+ def __init__(__self__, *,
23
+ category_name: pulumi.Input[builtins.str],
24
+ config_key: pulumi.Input[builtins.str],
25
+ config_value: pulumi.Input[builtins.str],
26
+ scope: Optional[pulumi.Input[builtins.str]] = None):
27
+ """
28
+ The set of arguments for constructing a WorkspaceUserConfig resource.
29
+ :param pulumi.Input[builtins.str] category_name: The category. Valid values: `DataPrivacyConfig`.
30
+ :param pulumi.Input[builtins.str] config_key: The key of the configuration.
31
+ :param pulumi.Input[builtins.str] config_value: The value of the configuration.
32
+ :param pulumi.Input[builtins.str] scope: The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
33
+ """
34
+ pulumi.set(__self__, "category_name", category_name)
35
+ pulumi.set(__self__, "config_key", config_key)
36
+ pulumi.set(__self__, "config_value", config_value)
37
+ if scope is not None:
38
+ pulumi.set(__self__, "scope", scope)
39
+
40
+ @property
41
+ @pulumi.getter(name="categoryName")
42
+ def category_name(self) -> pulumi.Input[builtins.str]:
43
+ """
44
+ The category. Valid values: `DataPrivacyConfig`.
45
+ """
46
+ return pulumi.get(self, "category_name")
47
+
48
+ @category_name.setter
49
+ def category_name(self, value: pulumi.Input[builtins.str]):
50
+ pulumi.set(self, "category_name", value)
51
+
52
+ @property
53
+ @pulumi.getter(name="configKey")
54
+ def config_key(self) -> pulumi.Input[builtins.str]:
55
+ """
56
+ The key of the configuration.
57
+ """
58
+ return pulumi.get(self, "config_key")
59
+
60
+ @config_key.setter
61
+ def config_key(self, value: pulumi.Input[builtins.str]):
62
+ pulumi.set(self, "config_key", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="configValue")
66
+ def config_value(self) -> pulumi.Input[builtins.str]:
67
+ """
68
+ The value of the configuration.
69
+ """
70
+ return pulumi.get(self, "config_value")
71
+
72
+ @config_value.setter
73
+ def config_value(self, value: pulumi.Input[builtins.str]):
74
+ pulumi.set(self, "config_value", value)
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def scope(self) -> Optional[pulumi.Input[builtins.str]]:
79
+ """
80
+ The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
81
+ """
82
+ return pulumi.get(self, "scope")
83
+
84
+ @scope.setter
85
+ def scope(self, value: Optional[pulumi.Input[builtins.str]]):
86
+ pulumi.set(self, "scope", value)
87
+
88
+
89
+ @pulumi.input_type
90
+ class _WorkspaceUserConfigState:
91
+ def __init__(__self__, *,
92
+ category_name: Optional[pulumi.Input[builtins.str]] = None,
93
+ config_key: Optional[pulumi.Input[builtins.str]] = None,
94
+ config_value: Optional[pulumi.Input[builtins.str]] = None,
95
+ scope: Optional[pulumi.Input[builtins.str]] = None):
96
+ """
97
+ Input properties used for looking up and filtering WorkspaceUserConfig resources.
98
+ :param pulumi.Input[builtins.str] category_name: The category. Valid values: `DataPrivacyConfig`.
99
+ :param pulumi.Input[builtins.str] config_key: The key of the configuration.
100
+ :param pulumi.Input[builtins.str] config_value: The value of the configuration.
101
+ :param pulumi.Input[builtins.str] scope: The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
102
+ """
103
+ if category_name is not None:
104
+ pulumi.set(__self__, "category_name", category_name)
105
+ if config_key is not None:
106
+ pulumi.set(__self__, "config_key", config_key)
107
+ if config_value is not None:
108
+ pulumi.set(__self__, "config_value", config_value)
109
+ if scope is not None:
110
+ pulumi.set(__self__, "scope", scope)
111
+
112
+ @property
113
+ @pulumi.getter(name="categoryName")
114
+ def category_name(self) -> Optional[pulumi.Input[builtins.str]]:
115
+ """
116
+ The category. Valid values: `DataPrivacyConfig`.
117
+ """
118
+ return pulumi.get(self, "category_name")
119
+
120
+ @category_name.setter
121
+ def category_name(self, value: Optional[pulumi.Input[builtins.str]]):
122
+ pulumi.set(self, "category_name", value)
123
+
124
+ @property
125
+ @pulumi.getter(name="configKey")
126
+ def config_key(self) -> Optional[pulumi.Input[builtins.str]]:
127
+ """
128
+ The key of the configuration.
129
+ """
130
+ return pulumi.get(self, "config_key")
131
+
132
+ @config_key.setter
133
+ def config_key(self, value: Optional[pulumi.Input[builtins.str]]):
134
+ pulumi.set(self, "config_key", value)
135
+
136
+ @property
137
+ @pulumi.getter(name="configValue")
138
+ def config_value(self) -> Optional[pulumi.Input[builtins.str]]:
139
+ """
140
+ The value of the configuration.
141
+ """
142
+ return pulumi.get(self, "config_value")
143
+
144
+ @config_value.setter
145
+ def config_value(self, value: Optional[pulumi.Input[builtins.str]]):
146
+ pulumi.set(self, "config_value", value)
147
+
148
+ @property
149
+ @pulumi.getter
150
+ def scope(self) -> Optional[pulumi.Input[builtins.str]]:
151
+ """
152
+ The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
153
+ """
154
+ return pulumi.get(self, "scope")
155
+
156
+ @scope.setter
157
+ def scope(self, value: Optional[pulumi.Input[builtins.str]]):
158
+ pulumi.set(self, "scope", value)
159
+
160
+
161
+ @pulumi.type_token("alicloud:pai/workspaceUserConfig:WorkspaceUserConfig")
162
+ class WorkspaceUserConfig(pulumi.CustomResource):
163
+ @overload
164
+ def __init__(__self__,
165
+ resource_name: str,
166
+ opts: Optional[pulumi.ResourceOptions] = None,
167
+ category_name: Optional[pulumi.Input[builtins.str]] = None,
168
+ config_key: Optional[pulumi.Input[builtins.str]] = None,
169
+ config_value: Optional[pulumi.Input[builtins.str]] = None,
170
+ scope: Optional[pulumi.Input[builtins.str]] = None,
171
+ __props__=None):
172
+ """
173
+ Provides a PAI Workspace User Config resource.
174
+
175
+ For information about PAI Workspace User Config and how to use it, see [What is User Config](https://www.alibabacloud.com/help/en/pai/developer-reference/api-aiworkspace-2021-02-04-setuserconfigs).
176
+
177
+ > **NOTE:** Available since v1.250.0.
178
+
179
+ ## Example Usage
180
+
181
+ Basic Usage
182
+
183
+ ```python
184
+ import pulumi
185
+ import pulumi_alicloud as alicloud
186
+
187
+ config = pulumi.Config()
188
+ name = config.get("name")
189
+ if name is None:
190
+ name = "terraform_example"
191
+ default = alicloud.pai.WorkspaceUserConfig("default",
192
+ category_name="DataPrivacyConfig",
193
+ config_key="customizePAIAssumedRole",
194
+ config_value=name)
195
+ ```
196
+
197
+ ## Import
198
+
199
+ PAI Workspace User Config can be imported using the id, e.g.
200
+
201
+ ```sh
202
+ $ pulumi import alicloud:pai/workspaceUserConfig:WorkspaceUserConfig example <category_name>:<config_key>
203
+ ```
204
+
205
+ :param str resource_name: The name of the resource.
206
+ :param pulumi.ResourceOptions opts: Options for the resource.
207
+ :param pulumi.Input[builtins.str] category_name: The category. Valid values: `DataPrivacyConfig`.
208
+ :param pulumi.Input[builtins.str] config_key: The key of the configuration.
209
+ :param pulumi.Input[builtins.str] config_value: The value of the configuration.
210
+ :param pulumi.Input[builtins.str] scope: The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
211
+ """
212
+ ...
213
+ @overload
214
+ def __init__(__self__,
215
+ resource_name: str,
216
+ args: WorkspaceUserConfigArgs,
217
+ opts: Optional[pulumi.ResourceOptions] = None):
218
+ """
219
+ Provides a PAI Workspace User Config resource.
220
+
221
+ For information about PAI Workspace User Config and how to use it, see [What is User Config](https://www.alibabacloud.com/help/en/pai/developer-reference/api-aiworkspace-2021-02-04-setuserconfigs).
222
+
223
+ > **NOTE:** Available since v1.250.0.
224
+
225
+ ## Example Usage
226
+
227
+ Basic Usage
228
+
229
+ ```python
230
+ import pulumi
231
+ import pulumi_alicloud as alicloud
232
+
233
+ config = pulumi.Config()
234
+ name = config.get("name")
235
+ if name is None:
236
+ name = "terraform_example"
237
+ default = alicloud.pai.WorkspaceUserConfig("default",
238
+ category_name="DataPrivacyConfig",
239
+ config_key="customizePAIAssumedRole",
240
+ config_value=name)
241
+ ```
242
+
243
+ ## Import
244
+
245
+ PAI Workspace User Config can be imported using the id, e.g.
246
+
247
+ ```sh
248
+ $ pulumi import alicloud:pai/workspaceUserConfig:WorkspaceUserConfig example <category_name>:<config_key>
249
+ ```
250
+
251
+ :param str resource_name: The name of the resource.
252
+ :param WorkspaceUserConfigArgs args: The arguments to use to populate this resource's properties.
253
+ :param pulumi.ResourceOptions opts: Options for the resource.
254
+ """
255
+ ...
256
+ def __init__(__self__, resource_name: str, *args, **kwargs):
257
+ resource_args, opts = _utilities.get_resource_args_opts(WorkspaceUserConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
258
+ if resource_args is not None:
259
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
260
+ else:
261
+ __self__._internal_init(resource_name, *args, **kwargs)
262
+
263
+ def _internal_init(__self__,
264
+ resource_name: str,
265
+ opts: Optional[pulumi.ResourceOptions] = None,
266
+ category_name: Optional[pulumi.Input[builtins.str]] = None,
267
+ config_key: Optional[pulumi.Input[builtins.str]] = None,
268
+ config_value: Optional[pulumi.Input[builtins.str]] = None,
269
+ scope: Optional[pulumi.Input[builtins.str]] = None,
270
+ __props__=None):
271
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
272
+ if not isinstance(opts, pulumi.ResourceOptions):
273
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
274
+ if opts.id is None:
275
+ if __props__ is not None:
276
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
277
+ __props__ = WorkspaceUserConfigArgs.__new__(WorkspaceUserConfigArgs)
278
+
279
+ if category_name is None and not opts.urn:
280
+ raise TypeError("Missing required property 'category_name'")
281
+ __props__.__dict__["category_name"] = category_name
282
+ if config_key is None and not opts.urn:
283
+ raise TypeError("Missing required property 'config_key'")
284
+ __props__.__dict__["config_key"] = config_key
285
+ if config_value is None and not opts.urn:
286
+ raise TypeError("Missing required property 'config_value'")
287
+ __props__.__dict__["config_value"] = config_value
288
+ __props__.__dict__["scope"] = scope
289
+ super(WorkspaceUserConfig, __self__).__init__(
290
+ 'alicloud:pai/workspaceUserConfig:WorkspaceUserConfig',
291
+ resource_name,
292
+ __props__,
293
+ opts)
294
+
295
+ @staticmethod
296
+ def get(resource_name: str,
297
+ id: pulumi.Input[str],
298
+ opts: Optional[pulumi.ResourceOptions] = None,
299
+ category_name: Optional[pulumi.Input[builtins.str]] = None,
300
+ config_key: Optional[pulumi.Input[builtins.str]] = None,
301
+ config_value: Optional[pulumi.Input[builtins.str]] = None,
302
+ scope: Optional[pulumi.Input[builtins.str]] = None) -> 'WorkspaceUserConfig':
303
+ """
304
+ Get an existing WorkspaceUserConfig resource's state with the given name, id, and optional extra
305
+ properties used to qualify the lookup.
306
+
307
+ :param str resource_name: The unique name of the resulting resource.
308
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
309
+ :param pulumi.ResourceOptions opts: Options for the resource.
310
+ :param pulumi.Input[builtins.str] category_name: The category. Valid values: `DataPrivacyConfig`.
311
+ :param pulumi.Input[builtins.str] config_key: The key of the configuration.
312
+ :param pulumi.Input[builtins.str] config_value: The value of the configuration.
313
+ :param pulumi.Input[builtins.str] scope: The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
314
+ """
315
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
316
+
317
+ __props__ = _WorkspaceUserConfigState.__new__(_WorkspaceUserConfigState)
318
+
319
+ __props__.__dict__["category_name"] = category_name
320
+ __props__.__dict__["config_key"] = config_key
321
+ __props__.__dict__["config_value"] = config_value
322
+ __props__.__dict__["scope"] = scope
323
+ return WorkspaceUserConfig(resource_name, opts=opts, __props__=__props__)
324
+
325
+ @property
326
+ @pulumi.getter(name="categoryName")
327
+ def category_name(self) -> pulumi.Output[builtins.str]:
328
+ """
329
+ The category. Valid values: `DataPrivacyConfig`.
330
+ """
331
+ return pulumi.get(self, "category_name")
332
+
333
+ @property
334
+ @pulumi.getter(name="configKey")
335
+ def config_key(self) -> pulumi.Output[builtins.str]:
336
+ """
337
+ The key of the configuration.
338
+ """
339
+ return pulumi.get(self, "config_key")
340
+
341
+ @property
342
+ @pulumi.getter(name="configValue")
343
+ def config_value(self) -> pulumi.Output[builtins.str]:
344
+ """
345
+ The value of the configuration.
346
+ """
347
+ return pulumi.get(self, "config_value")
348
+
349
+ @property
350
+ @pulumi.getter
351
+ def scope(self) -> pulumi.Output[builtins.str]:
352
+ """
353
+ The scope. Default value: `owner`. Valid values: `owner`, `subUser`.
354
+ """
355
+ return pulumi.get(self, "scope")
356
+