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.
- pulumi_alicloud/__init__.py +40 -0
- pulumi_alicloud/alb/_inputs.py +21 -105
- pulumi_alicloud/alb/get_load_balancers.py +169 -18
- pulumi_alicloud/alb/listener.py +28 -56
- pulumi_alicloud/alb/outputs.py +150 -105
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
- pulumi_alicloud/cs/managed_kubernetes.py +129 -7
- pulumi_alicloud/cs/outputs.py +49 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +40 -0
- pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
- pulumi_alicloud/ecs/get_instances.py +4 -3
- pulumi_alicloud/ecs/instance.py +94 -0
- pulumi_alicloud/ecs/outputs.py +129 -39
- pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
- pulumi_alicloud/eflo/__init__.py +1 -0
- pulumi_alicloud/eflo/vsc.py +433 -0
- pulumi_alicloud/elasticsearch/instance.py +7 -7
- pulumi_alicloud/ess/outputs.py +226 -4
- pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
- pulumi_alicloud/fc/__init__.py +1 -0
- pulumi_alicloud/fc/get_v3_triggers.py +277 -0
- pulumi_alicloud/fc/outputs.py +192 -0
- pulumi_alicloud/lindorm/__init__.py +1 -0
- pulumi_alicloud/lindorm/public_network.py +288 -0
- pulumi_alicloud/maxcompute/project.py +2 -4
- pulumi_alicloud/oos/get_parameters.py +72 -28
- pulumi_alicloud/oos/outputs.py +10 -10
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/workspace_user_config.py +356 -0
- pulumi_alicloud/polardb/cluster.py +155 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_zone_records.py +66 -35
- pulumi_alicloud/pvtz/get_zones.py +49 -32
- pulumi_alicloud/pvtz/outputs.py +60 -56
- pulumi_alicloud/ram/policy.py +21 -35
- pulumi_alicloud/ram/role_attachment.py +6 -2
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/db_proxy_public.py +512 -0
- pulumi_alicloud/rds/instance.py +35 -35
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_alerts.py +463 -0
- pulumi_alicloud/sls/outputs.py +975 -0
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/RECORD +48 -41
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
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__ = ['PublicNetworkArgs', 'PublicNetwork']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class PublicNetworkArgs:
|
|
22
|
+
def __init__(__self__, *,
|
|
23
|
+
engine_type: pulumi.Input[builtins.str],
|
|
24
|
+
instance_id: pulumi.Input[builtins.str],
|
|
25
|
+
enable_public_network: Optional[pulumi.Input[builtins.int]] = None):
|
|
26
|
+
"""
|
|
27
|
+
The set of arguments for constructing a PublicNetwork resource.
|
|
28
|
+
:param pulumi.Input[builtins.str] engine_type: Engine type, value:
|
|
29
|
+
:param pulumi.Input[builtins.str] instance_id: Instance ID
|
|
30
|
+
:param pulumi.Input[builtins.int] enable_public_network: Open or close the public connection. Value:
|
|
31
|
+
"""
|
|
32
|
+
pulumi.set(__self__, "engine_type", engine_type)
|
|
33
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
34
|
+
if enable_public_network is not None:
|
|
35
|
+
pulumi.set(__self__, "enable_public_network", enable_public_network)
|
|
36
|
+
|
|
37
|
+
@property
|
|
38
|
+
@pulumi.getter(name="engineType")
|
|
39
|
+
def engine_type(self) -> pulumi.Input[builtins.str]:
|
|
40
|
+
"""
|
|
41
|
+
Engine type, value:
|
|
42
|
+
"""
|
|
43
|
+
return pulumi.get(self, "engine_type")
|
|
44
|
+
|
|
45
|
+
@engine_type.setter
|
|
46
|
+
def engine_type(self, value: pulumi.Input[builtins.str]):
|
|
47
|
+
pulumi.set(self, "engine_type", value)
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter(name="instanceId")
|
|
51
|
+
def instance_id(self) -> pulumi.Input[builtins.str]:
|
|
52
|
+
"""
|
|
53
|
+
Instance ID
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "instance_id")
|
|
56
|
+
|
|
57
|
+
@instance_id.setter
|
|
58
|
+
def instance_id(self, value: pulumi.Input[builtins.str]):
|
|
59
|
+
pulumi.set(self, "instance_id", value)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter(name="enablePublicNetwork")
|
|
63
|
+
def enable_public_network(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
64
|
+
"""
|
|
65
|
+
Open or close the public connection. Value:
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "enable_public_network")
|
|
68
|
+
|
|
69
|
+
@enable_public_network.setter
|
|
70
|
+
def enable_public_network(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
71
|
+
pulumi.set(self, "enable_public_network", value)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
@pulumi.input_type
|
|
75
|
+
class _PublicNetworkState:
|
|
76
|
+
def __init__(__self__, *,
|
|
77
|
+
enable_public_network: Optional[pulumi.Input[builtins.int]] = None,
|
|
78
|
+
engine_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
79
|
+
instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
80
|
+
status: Optional[pulumi.Input[builtins.str]] = None):
|
|
81
|
+
"""
|
|
82
|
+
Input properties used for looking up and filtering PublicNetwork resources.
|
|
83
|
+
:param pulumi.Input[builtins.int] enable_public_network: Open or close the public connection. Value:
|
|
84
|
+
:param pulumi.Input[builtins.str] engine_type: Engine type, value:
|
|
85
|
+
:param pulumi.Input[builtins.str] instance_id: Instance ID
|
|
86
|
+
:param pulumi.Input[builtins.str] status: Instance status, returns:_EXPANDING`: Capacity-based cloud storage is being expanded._version_transing`: The minor version is being upgraded._CHANGING`: The specification is being upgraded or downgraded._SWITCHING`:SSL is being changed._OPENING`: The data subscription function is being activated._TRANSFER`: migrates data to the database._CREATING`: in the production disaster recovery instance._RECOVERING`: The backup is being restored._IMPORTING`: Data is being imported._MODIFYING`: The network is being changed._SWITCHING`: The internal network and the external network are being switched._CREATING`: creates a network link._DELETING`: deletes a network link.
|
|
87
|
+
"""
|
|
88
|
+
if enable_public_network is not None:
|
|
89
|
+
pulumi.set(__self__, "enable_public_network", enable_public_network)
|
|
90
|
+
if engine_type is not None:
|
|
91
|
+
pulumi.set(__self__, "engine_type", engine_type)
|
|
92
|
+
if instance_id is not None:
|
|
93
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
94
|
+
if status is not None:
|
|
95
|
+
pulumi.set(__self__, "status", status)
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="enablePublicNetwork")
|
|
99
|
+
def enable_public_network(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
100
|
+
"""
|
|
101
|
+
Open or close the public connection. Value:
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "enable_public_network")
|
|
104
|
+
|
|
105
|
+
@enable_public_network.setter
|
|
106
|
+
def enable_public_network(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
107
|
+
pulumi.set(self, "enable_public_network", value)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="engineType")
|
|
111
|
+
def engine_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
112
|
+
"""
|
|
113
|
+
Engine type, value:
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "engine_type")
|
|
116
|
+
|
|
117
|
+
@engine_type.setter
|
|
118
|
+
def engine_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
119
|
+
pulumi.set(self, "engine_type", value)
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="instanceId")
|
|
123
|
+
def instance_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
124
|
+
"""
|
|
125
|
+
Instance ID
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "instance_id")
|
|
128
|
+
|
|
129
|
+
@instance_id.setter
|
|
130
|
+
def instance_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
131
|
+
pulumi.set(self, "instance_id", value)
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
136
|
+
"""
|
|
137
|
+
Instance status, returns:_EXPANDING`: Capacity-based cloud storage is being expanded._version_transing`: The minor version is being upgraded._CHANGING`: The specification is being upgraded or downgraded._SWITCHING`:SSL is being changed._OPENING`: The data subscription function is being activated._TRANSFER`: migrates data to the database._CREATING`: in the production disaster recovery instance._RECOVERING`: The backup is being restored._IMPORTING`: Data is being imported._MODIFYING`: The network is being changed._SWITCHING`: The internal network and the external network are being switched._CREATING`: creates a network link._DELETING`: deletes a network link.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "status")
|
|
140
|
+
|
|
141
|
+
@status.setter
|
|
142
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
143
|
+
pulumi.set(self, "status", value)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
@pulumi.type_token("alicloud:lindorm/publicNetwork:PublicNetwork")
|
|
147
|
+
class PublicNetwork(pulumi.CustomResource):
|
|
148
|
+
@overload
|
|
149
|
+
def __init__(__self__,
|
|
150
|
+
resource_name: str,
|
|
151
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
152
|
+
enable_public_network: Optional[pulumi.Input[builtins.int]] = None,
|
|
153
|
+
engine_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
154
|
+
instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
155
|
+
__props__=None):
|
|
156
|
+
"""
|
|
157
|
+
## Import
|
|
158
|
+
|
|
159
|
+
Lindorm Public Network can be imported using the id, e.g.
|
|
160
|
+
|
|
161
|
+
```sh
|
|
162
|
+
$ pulumi import alicloud:lindorm/publicNetwork:PublicNetwork example <id>
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
:param str resource_name: The name of the resource.
|
|
166
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
167
|
+
:param pulumi.Input[builtins.int] enable_public_network: Open or close the public connection. Value:
|
|
168
|
+
:param pulumi.Input[builtins.str] engine_type: Engine type, value:
|
|
169
|
+
:param pulumi.Input[builtins.str] instance_id: Instance ID
|
|
170
|
+
"""
|
|
171
|
+
...
|
|
172
|
+
@overload
|
|
173
|
+
def __init__(__self__,
|
|
174
|
+
resource_name: str,
|
|
175
|
+
args: PublicNetworkArgs,
|
|
176
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
177
|
+
"""
|
|
178
|
+
## Import
|
|
179
|
+
|
|
180
|
+
Lindorm Public Network can be imported using the id, e.g.
|
|
181
|
+
|
|
182
|
+
```sh
|
|
183
|
+
$ pulumi import alicloud:lindorm/publicNetwork:PublicNetwork example <id>
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
:param str resource_name: The name of the resource.
|
|
187
|
+
:param PublicNetworkArgs args: The arguments to use to populate this resource's properties.
|
|
188
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
189
|
+
"""
|
|
190
|
+
...
|
|
191
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
192
|
+
resource_args, opts = _utilities.get_resource_args_opts(PublicNetworkArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
193
|
+
if resource_args is not None:
|
|
194
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
195
|
+
else:
|
|
196
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
197
|
+
|
|
198
|
+
def _internal_init(__self__,
|
|
199
|
+
resource_name: str,
|
|
200
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
201
|
+
enable_public_network: Optional[pulumi.Input[builtins.int]] = None,
|
|
202
|
+
engine_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
203
|
+
instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
204
|
+
__props__=None):
|
|
205
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
206
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
207
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
208
|
+
if opts.id is None:
|
|
209
|
+
if __props__ is not None:
|
|
210
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
211
|
+
__props__ = PublicNetworkArgs.__new__(PublicNetworkArgs)
|
|
212
|
+
|
|
213
|
+
__props__.__dict__["enable_public_network"] = enable_public_network
|
|
214
|
+
if engine_type is None and not opts.urn:
|
|
215
|
+
raise TypeError("Missing required property 'engine_type'")
|
|
216
|
+
__props__.__dict__["engine_type"] = engine_type
|
|
217
|
+
if instance_id is None and not opts.urn:
|
|
218
|
+
raise TypeError("Missing required property 'instance_id'")
|
|
219
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
220
|
+
__props__.__dict__["status"] = None
|
|
221
|
+
super(PublicNetwork, __self__).__init__(
|
|
222
|
+
'alicloud:lindorm/publicNetwork:PublicNetwork',
|
|
223
|
+
resource_name,
|
|
224
|
+
__props__,
|
|
225
|
+
opts)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def get(resource_name: str,
|
|
229
|
+
id: pulumi.Input[str],
|
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
+
enable_public_network: Optional[pulumi.Input[builtins.int]] = None,
|
|
232
|
+
engine_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
233
|
+
instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
234
|
+
status: Optional[pulumi.Input[builtins.str]] = None) -> 'PublicNetwork':
|
|
235
|
+
"""
|
|
236
|
+
Get an existing PublicNetwork resource's state with the given name, id, and optional extra
|
|
237
|
+
properties used to qualify the lookup.
|
|
238
|
+
|
|
239
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
240
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
241
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
242
|
+
:param pulumi.Input[builtins.int] enable_public_network: Open or close the public connection. Value:
|
|
243
|
+
:param pulumi.Input[builtins.str] engine_type: Engine type, value:
|
|
244
|
+
:param pulumi.Input[builtins.str] instance_id: Instance ID
|
|
245
|
+
:param pulumi.Input[builtins.str] status: Instance status, returns:_EXPANDING`: Capacity-based cloud storage is being expanded._version_transing`: The minor version is being upgraded._CHANGING`: The specification is being upgraded or downgraded._SWITCHING`:SSL is being changed._OPENING`: The data subscription function is being activated._TRANSFER`: migrates data to the database._CREATING`: in the production disaster recovery instance._RECOVERING`: The backup is being restored._IMPORTING`: Data is being imported._MODIFYING`: The network is being changed._SWITCHING`: The internal network and the external network are being switched._CREATING`: creates a network link._DELETING`: deletes a network link.
|
|
246
|
+
"""
|
|
247
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
248
|
+
|
|
249
|
+
__props__ = _PublicNetworkState.__new__(_PublicNetworkState)
|
|
250
|
+
|
|
251
|
+
__props__.__dict__["enable_public_network"] = enable_public_network
|
|
252
|
+
__props__.__dict__["engine_type"] = engine_type
|
|
253
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
254
|
+
__props__.__dict__["status"] = status
|
|
255
|
+
return PublicNetwork(resource_name, opts=opts, __props__=__props__)
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
@pulumi.getter(name="enablePublicNetwork")
|
|
259
|
+
def enable_public_network(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
260
|
+
"""
|
|
261
|
+
Open or close the public connection. Value:
|
|
262
|
+
"""
|
|
263
|
+
return pulumi.get(self, "enable_public_network")
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
@pulumi.getter(name="engineType")
|
|
267
|
+
def engine_type(self) -> pulumi.Output[builtins.str]:
|
|
268
|
+
"""
|
|
269
|
+
Engine type, value:
|
|
270
|
+
"""
|
|
271
|
+
return pulumi.get(self, "engine_type")
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
@pulumi.getter(name="instanceId")
|
|
275
|
+
def instance_id(self) -> pulumi.Output[builtins.str]:
|
|
276
|
+
"""
|
|
277
|
+
Instance ID
|
|
278
|
+
"""
|
|
279
|
+
return pulumi.get(self, "instance_id")
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
@pulumi.getter
|
|
283
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
|
284
|
+
"""
|
|
285
|
+
Instance status, returns:_EXPANDING`: Capacity-based cloud storage is being expanded._version_transing`: The minor version is being upgraded._CHANGING`: The specification is being upgraded or downgraded._SWITCHING`:SSL is being changed._OPENING`: The data subscription function is being activated._TRANSFER`: migrates data to the database._CREATING`: in the production disaster recovery instance._RECOVERING`: The backup is being restored._IMPORTING`: Data is being imported._MODIFYING`: The network is being changed._SWITCHING`: The internal network and the external network are being switched._CREATING`: creates a network link._DELETING`: deletes a network link.
|
|
286
|
+
"""
|
|
287
|
+
return pulumi.get(self, "status")
|
|
288
|
+
|
|
@@ -464,8 +464,7 @@ class Project(pulumi.CustomResource):
|
|
|
464
464
|
default = alicloud.maxcompute.Project("default",
|
|
465
465
|
default_quota="默认后付费Quota",
|
|
466
466
|
project_name=name,
|
|
467
|
-
comment=name
|
|
468
|
-
product_type="PayAsYouGo")
|
|
467
|
+
comment=name)
|
|
469
468
|
```
|
|
470
469
|
|
|
471
470
|
## Import
|
|
@@ -521,8 +520,7 @@ class Project(pulumi.CustomResource):
|
|
|
521
520
|
default = alicloud.maxcompute.Project("default",
|
|
522
521
|
default_quota="默认后付费Quota",
|
|
523
522
|
project_name=name,
|
|
524
|
-
comment=name
|
|
525
|
-
product_type="PayAsYouGo")
|
|
523
|
+
comment=name)
|
|
526
524
|
```
|
|
527
525
|
|
|
528
526
|
## Import
|
|
@@ -95,6 +95,9 @@ class GetParametersResult:
|
|
|
95
95
|
@property
|
|
96
96
|
@pulumi.getter
|
|
97
97
|
def names(self) -> Sequence[builtins.str]:
|
|
98
|
+
"""
|
|
99
|
+
A list of Parameter names.
|
|
100
|
+
"""
|
|
98
101
|
return pulumi.get(self, "names")
|
|
99
102
|
|
|
100
103
|
@property
|
|
@@ -105,16 +108,25 @@ class GetParametersResult:
|
|
|
105
108
|
@property
|
|
106
109
|
@pulumi.getter(name="parameterName")
|
|
107
110
|
def parameter_name(self) -> Optional[builtins.str]:
|
|
111
|
+
"""
|
|
112
|
+
The name of the common parameter.
|
|
113
|
+
"""
|
|
108
114
|
return pulumi.get(self, "parameter_name")
|
|
109
115
|
|
|
110
116
|
@property
|
|
111
117
|
@pulumi.getter
|
|
112
118
|
def parameters(self) -> Sequence['outputs.GetParametersParameterResult']:
|
|
119
|
+
"""
|
|
120
|
+
A list of Oos Parameters. Each element contains the following attributes:
|
|
121
|
+
"""
|
|
113
122
|
return pulumi.get(self, "parameters")
|
|
114
123
|
|
|
115
124
|
@property
|
|
116
125
|
@pulumi.getter(name="resourceGroupId")
|
|
117
126
|
def resource_group_id(self) -> Optional[builtins.str]:
|
|
127
|
+
"""
|
|
128
|
+
The ID of the Resource Group.
|
|
129
|
+
"""
|
|
118
130
|
return pulumi.get(self, "resource_group_id")
|
|
119
131
|
|
|
120
132
|
@property
|
|
@@ -130,11 +142,17 @@ class GetParametersResult:
|
|
|
130
142
|
@property
|
|
131
143
|
@pulumi.getter
|
|
132
144
|
def tags(self) -> Optional[Mapping[str, builtins.str]]:
|
|
145
|
+
"""
|
|
146
|
+
The tags added to the common parameter.
|
|
147
|
+
"""
|
|
133
148
|
return pulumi.get(self, "tags")
|
|
134
149
|
|
|
135
150
|
@property
|
|
136
151
|
@pulumi.getter
|
|
137
152
|
def type(self) -> Optional[builtins.str]:
|
|
153
|
+
"""
|
|
154
|
+
The data type of the common parameter.
|
|
155
|
+
"""
|
|
138
156
|
return pulumi.get(self, "type")
|
|
139
157
|
|
|
140
158
|
|
|
@@ -173,7 +191,7 @@ def get_parameters(enable_details: Optional[builtins.bool] = None,
|
|
|
173
191
|
"""
|
|
174
192
|
This data source provides the Oos Parameters of the current Alibaba Cloud user.
|
|
175
193
|
|
|
176
|
-
> **NOTE:** Available
|
|
194
|
+
> **NOTE:** Available since v1.147.0.
|
|
177
195
|
|
|
178
196
|
## Example Usage
|
|
179
197
|
|
|
@@ -183,30 +201,43 @@ def get_parameters(enable_details: Optional[builtins.bool] = None,
|
|
|
183
201
|
import pulumi
|
|
184
202
|
import pulumi_alicloud as alicloud
|
|
185
203
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
204
|
+
config = pulumi.Config()
|
|
205
|
+
name = config.get("name")
|
|
206
|
+
if name is None:
|
|
207
|
+
name = "terraform-example"
|
|
208
|
+
default = alicloud.oos.Parameter("default",
|
|
209
|
+
parameter_name=name,
|
|
210
|
+
value="tf-testacc-oos_parameter",
|
|
211
|
+
type="String",
|
|
212
|
+
description=name,
|
|
213
|
+
constraints=\"\"\" {
|
|
214
|
+
"AllowedValues": [
|
|
215
|
+
"tf-testacc-oos_parameter"
|
|
216
|
+
],
|
|
217
|
+
"AllowedPattern": "tf-testacc-oos_parameter",
|
|
218
|
+
"MinLength": 1,
|
|
219
|
+
"MaxLength": 100
|
|
220
|
+
}
|
|
221
|
+
\"\"\",
|
|
194
222
|
tags={
|
|
195
223
|
"Created": "TF",
|
|
196
|
-
"For": "
|
|
224
|
+
"For": "Parameter",
|
|
197
225
|
})
|
|
198
|
-
|
|
226
|
+
ids = alicloud.oos.get_parameters_output(ids=[default.id])
|
|
227
|
+
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
199
228
|
```
|
|
200
229
|
|
|
201
230
|
|
|
202
|
-
:param builtins.bool enable_details:
|
|
203
|
-
:param Sequence[builtins.str] ids: A list of Parameter IDs.
|
|
231
|
+
:param builtins.bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
232
|
+
:param Sequence[builtins.str] ids: A list of Parameter IDs.
|
|
204
233
|
:param builtins.str name_regex: A regex string to filter results by Parameter name.
|
|
205
234
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
206
235
|
:param builtins.str parameter_name: The name of the common parameter. You can enter a keyword to query parameter names in fuzzy match mode.
|
|
207
236
|
:param builtins.str resource_group_id: The ID of the Resource Group.
|
|
237
|
+
:param builtins.str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
238
|
+
:param builtins.str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
208
239
|
:param Mapping[str, builtins.str] tags: A mapping of tags to assign to the resource.
|
|
209
|
-
:param builtins.str type: The data type of the common parameter. Valid values: `String
|
|
240
|
+
:param builtins.str type: The data type of the common parameter. Valid values: `String`, `StringList`.
|
|
210
241
|
"""
|
|
211
242
|
__args__ = dict()
|
|
212
243
|
__args__['enableDetails'] = enable_details
|
|
@@ -250,7 +281,7 @@ def get_parameters_output(enable_details: Optional[pulumi.Input[Optional[builtin
|
|
|
250
281
|
"""
|
|
251
282
|
This data source provides the Oos Parameters of the current Alibaba Cloud user.
|
|
252
283
|
|
|
253
|
-
> **NOTE:** Available
|
|
284
|
+
> **NOTE:** Available since v1.147.0.
|
|
254
285
|
|
|
255
286
|
## Example Usage
|
|
256
287
|
|
|
@@ -260,30 +291,43 @@ def get_parameters_output(enable_details: Optional[pulumi.Input[Optional[builtin
|
|
|
260
291
|
import pulumi
|
|
261
292
|
import pulumi_alicloud as alicloud
|
|
262
293
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
294
|
+
config = pulumi.Config()
|
|
295
|
+
name = config.get("name")
|
|
296
|
+
if name is None:
|
|
297
|
+
name = "terraform-example"
|
|
298
|
+
default = alicloud.oos.Parameter("default",
|
|
299
|
+
parameter_name=name,
|
|
300
|
+
value="tf-testacc-oos_parameter",
|
|
301
|
+
type="String",
|
|
302
|
+
description=name,
|
|
303
|
+
constraints=\"\"\" {
|
|
304
|
+
"AllowedValues": [
|
|
305
|
+
"tf-testacc-oos_parameter"
|
|
306
|
+
],
|
|
307
|
+
"AllowedPattern": "tf-testacc-oos_parameter",
|
|
308
|
+
"MinLength": 1,
|
|
309
|
+
"MaxLength": 100
|
|
310
|
+
}
|
|
311
|
+
\"\"\",
|
|
271
312
|
tags={
|
|
272
313
|
"Created": "TF",
|
|
273
|
-
"For": "
|
|
314
|
+
"For": "Parameter",
|
|
274
315
|
})
|
|
275
|
-
|
|
316
|
+
ids = alicloud.oos.get_parameters_output(ids=[default.id])
|
|
317
|
+
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
276
318
|
```
|
|
277
319
|
|
|
278
320
|
|
|
279
|
-
:param builtins.bool enable_details:
|
|
280
|
-
:param Sequence[builtins.str] ids: A list of Parameter IDs.
|
|
321
|
+
:param builtins.bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
322
|
+
:param Sequence[builtins.str] ids: A list of Parameter IDs.
|
|
281
323
|
:param builtins.str name_regex: A regex string to filter results by Parameter name.
|
|
282
324
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
283
325
|
:param builtins.str parameter_name: The name of the common parameter. You can enter a keyword to query parameter names in fuzzy match mode.
|
|
284
326
|
:param builtins.str resource_group_id: The ID of the Resource Group.
|
|
327
|
+
:param builtins.str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
328
|
+
:param builtins.str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
285
329
|
:param Mapping[str, builtins.str] tags: A mapping of tags to assign to the resource.
|
|
286
|
-
:param builtins.str type: The data type of the common parameter. Valid values: `String
|
|
330
|
+
:param builtins.str type: The data type of the common parameter. Valid values: `String`, `StringList`.
|
|
287
331
|
"""
|
|
288
332
|
__args__ = dict()
|
|
289
333
|
__args__['enableDetails'] = enable_details
|
pulumi_alicloud/oos/outputs.py
CHANGED
|
@@ -484,21 +484,21 @@ class GetParametersParameterResult(dict):
|
|
|
484
484
|
updated_date: builtins.str,
|
|
485
485
|
value: builtins.str):
|
|
486
486
|
"""
|
|
487
|
-
:param builtins.str constraints: The constraints of the common parameter.
|
|
487
|
+
:param builtins.str constraints: The constraints of the common parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
|
|
488
488
|
:param builtins.str create_time: The time when the common parameter was created.
|
|
489
489
|
:param builtins.str created_by: The user who created the common parameter.
|
|
490
490
|
:param builtins.str description: The description of the common parameter.
|
|
491
491
|
:param builtins.str id: The ID of the Parameter. Its value is same as `parameter_name`.
|
|
492
492
|
:param builtins.str parameter_id: The ID of the common parameter.
|
|
493
|
-
:param builtins.str parameter_name: The name of the common parameter.
|
|
493
|
+
:param builtins.str parameter_name: The name of the common parameter. You can enter a keyword to query parameter names in fuzzy match mode.
|
|
494
494
|
:param builtins.int parameter_version: The version number of the common parameter.
|
|
495
495
|
:param builtins.str resource_group_id: The ID of the Resource Group.
|
|
496
496
|
:param builtins.str share_type: The share type of the common parameter.
|
|
497
|
-
:param Mapping[str, builtins.str] tags:
|
|
498
|
-
:param builtins.str type: The data type of the common parameter.
|
|
497
|
+
:param Mapping[str, builtins.str] tags: A mapping of tags to assign to the resource.
|
|
498
|
+
:param builtins.str type: The data type of the common parameter. Valid values: `String`, `StringList`.
|
|
499
499
|
:param builtins.str updated_by: The user who updated the common parameter.
|
|
500
500
|
:param builtins.str updated_date: The time when the common parameter was updated.
|
|
501
|
-
:param builtins.str value: The value of the common parameter.
|
|
501
|
+
:param builtins.str value: (Available since v1.231.0) The value of the common parameter. **Note:** `value` takes effect only if `enable_details` is set to `true`.
|
|
502
502
|
"""
|
|
503
503
|
pulumi.set(__self__, "constraints", constraints)
|
|
504
504
|
pulumi.set(__self__, "create_time", create_time)
|
|
@@ -520,7 +520,7 @@ class GetParametersParameterResult(dict):
|
|
|
520
520
|
@pulumi.getter
|
|
521
521
|
def constraints(self) -> builtins.str:
|
|
522
522
|
"""
|
|
523
|
-
The constraints of the common parameter.
|
|
523
|
+
The constraints of the common parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
|
|
524
524
|
"""
|
|
525
525
|
return pulumi.get(self, "constraints")
|
|
526
526
|
|
|
@@ -568,7 +568,7 @@ class GetParametersParameterResult(dict):
|
|
|
568
568
|
@pulumi.getter(name="parameterName")
|
|
569
569
|
def parameter_name(self) -> builtins.str:
|
|
570
570
|
"""
|
|
571
|
-
The name of the common parameter.
|
|
571
|
+
The name of the common parameter. You can enter a keyword to query parameter names in fuzzy match mode.
|
|
572
572
|
"""
|
|
573
573
|
return pulumi.get(self, "parameter_name")
|
|
574
574
|
|
|
@@ -600,7 +600,7 @@ class GetParametersParameterResult(dict):
|
|
|
600
600
|
@pulumi.getter
|
|
601
601
|
def tags(self) -> Mapping[str, builtins.str]:
|
|
602
602
|
"""
|
|
603
|
-
|
|
603
|
+
A mapping of tags to assign to the resource.
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "tags")
|
|
606
606
|
|
|
@@ -608,7 +608,7 @@ class GetParametersParameterResult(dict):
|
|
|
608
608
|
@pulumi.getter
|
|
609
609
|
def type(self) -> builtins.str:
|
|
610
610
|
"""
|
|
611
|
-
The data type of the common parameter.
|
|
611
|
+
The data type of the common parameter. Valid values: `String`, `StringList`.
|
|
612
612
|
"""
|
|
613
613
|
return pulumi.get(self, "type")
|
|
614
614
|
|
|
@@ -632,7 +632,7 @@ class GetParametersParameterResult(dict):
|
|
|
632
632
|
@pulumi.getter
|
|
633
633
|
def value(self) -> builtins.str:
|
|
634
634
|
"""
|
|
635
|
-
The value of the common parameter.
|
|
635
|
+
(Available since v1.231.0) The value of the common parameter. **Note:** `value` takes effect only if `enable_details` is set to `true`.
|
|
636
636
|
"""
|
|
637
637
|
return pulumi.get(self, "value")
|
|
638
638
|
|
pulumi_alicloud/pai/__init__.py
CHANGED
|
@@ -16,6 +16,7 @@ from .workspace_member import *
|
|
|
16
16
|
from .workspace_model import *
|
|
17
17
|
from .workspace_model_version import *
|
|
18
18
|
from .workspace_run import *
|
|
19
|
+
from .workspace_user_config import *
|
|
19
20
|
from .workspace_workspace import *
|
|
20
21
|
from ._inputs import *
|
|
21
22
|
from . import outputs
|